Giter VIP home page Giter VIP logo

awesome_customers_delivery's People

Contributors

tpetchel avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

awesome_customers_delivery's Issues

Unable to run delivery init

Getting error while trying to setup chef for the first time, please advise

C:\Users\Administrator\delivery-demo\awesome_customers_delivery [master ≡]> delivery init
Chef Delivery
Loading configuration from C:\Users\Administrator\delivery-demo\awesome_customers_delivery
Is C:\Users\Administrator\delivery-demo\awesome_customers_delivery a git repo? yes
adding remote delivery: ssh://anjanm@[email protected]:8989/delivery-demo/delivery-demo/awesome_customers_deliver

Remote 'delivery' added to git config!
Creating project: awesome_customers_delivery 404 Not Found {"error":"not_found"}
Checking for content on the git remote delivery: got error DeliveryError { kind: GitFailed, detail: Some("STDOUT: \nSTD
RR: DELIVERY: ERROR: Unauthorized action\nfatal: Could not read from remote repository.\n\nPlease make sure you have th
correct access rights\nand the repository exists.\n\n") }
No upstream content; pushing local content to server.
Creating master pipeline for project: awesome_customers_delivery ... 404 Not Found {"error":"not_found"}
Generating build cookbook skeleton
Cached copy of build cookbook generator exists; skipping git clone.
PCB generate: "powershell.exe" "-noprofile" "-nologo" "-command" "chef" "generate" "cookbook" ".delivery/build-cookbook
"-g" "C:\Users\Administrator.delivery/cache/generator-cookbooks/pcb"
Git add and commit of build-cookbook
Writing configuration to C:\Users\Administrator\delivery-demo\awesome_customers_delivery.delivery\config.json

New delivery configuration

{
"version": "2",
"build_cookbook": {
"path": ".delivery/build-cookbook",
"name": "build-cookbook"
},
"skip_phases": [],
"build_nodes": {},
"dependencies": []
}
Chef Delivery
Loading configuration from C:\Users\Administrator\delivery-demo\awesome_customers_delivery
Review for change add-delivery-config targeted for pipeline master
Git command failed!
STDOUT:
STDERR: Pushing to ssh://anjanm@[email protected]:8989/delivery-demo/delivery-demo/awesome_customers_delivery
DELIVERY: ERROR: Unauthorized action
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Failed: awesome_customers_delivery-acceptance

I am experience an issue with this cookbook during the chef delivery tutorial on learn.chef.io at this section.

https://learn.chef.io/delivery/get-started/create-the-project/

Here is the output and the failure. It happens in the deploy portion of the acceptance section. I have run into this on 2 different aws stacks using the chef provided cloudformation stack.

Recipe: delivery-truck::deploy
  * delivery_push_job[deploy_awesome_customers_delivery] action dispatch

    ================================================================================
    Error executing action `dispatch` on resource 'delivery_push_job[deploy_awesome_customers_delivery]'
    ================================================================================

    DeliverySugar::Exceptions::PushJobFailed
    ----------------------------------------
    The push-job b3f9efc18c5030e50dbd99df1bd9eead failed to complete successfully.

    Command: chef-client
    Nodes:
       failed: awesome_customers_delivery-acceptance


    Cookbook Trace:
    ---------------
    /var/opt/delivery/workspace/10.0.0.12/delivery-demo/delivery-demo/awesome_customers_delivery/master/acceptance/deploy/cache/cookbooks/delivery-sugar/libraries/delivery_push_job.rb:75:in `block in wait'
    /var/opt/delivery/workspace/10.0.0.12/delivery-demo/delivery-demo/awesome_customers_delivery/master/acceptance/deploy/cache/cookbooks/delivery-sugar/libraries/delivery_push_job.rb:72:in `loop'
    /var/opt/delivery/workspace/10.0.0.12/delivery-demo/delivery-demo/awesome_customers_delivery/master/acceptance/deploy/cache/cookbooks/delivery-sugar/libraries/delivery_push_job.rb:72:in `wait'
    /var/opt/delivery/workspace/10.0.0.12/delivery-demo/delivery-demo/awesome_customers_delivery/master/acceptance/deploy/cache/cookbooks/delivery-sugar/libraries/delivery_push_job_provider.rb:59:in `block in action_dispatch'
    /var/opt/delivery/workspace/10.0.0.12/delivery-demo/delivery-demo/awesome_customers_delivery/master/acceptance/deploy/cache/cookbooks/delivery-sugar/libraries/delivery_push_job_provider.rb:56:in `action_dispatch'

    Resource Declaration:
    ---------------------
    # In /var/opt/delivery/workspace/10.0.0.12/delivery-demo/delivery-demo/awesome_customers_delivery/master/acceptance/deploy/cache/cookbooks/delivery-truck/recipes/deploy.rb

     34:   delivery_push_job "deploy_#{node['delivery']['change']['project']}" do
     35:     command 'chef-client'
     36:     nodes my_nodes
     37:   end
     38: end

    Compiled Resource:
    ------------------
    # Declared in /var/opt/delivery/workspace/10.0.0.12/delivery-demo/delivery-demo/awesome_customers_delivery/master/acceptance/deploy/cache/cookbooks/delivery-truck/recipes/deploy.rb:34:in `from_file'

    delivery_push_job("deploy_awesome_customers_delivery") do
      provider Chef::Provider::DeliveryPushJob
      action :dispatch
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      command "chef-client"
      timeout 1800
      nodes ["awesome_customers_delivery-acceptance"]
      change #<DeliverySugar::Change:0x000000043a27e0 @workspace_repo="/var/opt/delivery/workspace/10.0.0.12/delivery-demo/delivery-demo/awesome_customers_delivery/master/acceptance/deploy/repo", @workspace_cache="/var/opt/delivery/workspace/10.0.0.12/delivery-demo/delivery-demo/awesome_customers_delivery/master/acceptance/deploy/cache", @workspace_chef="/var/opt/delivery/workspace/10.0.0.12/delivery-demo/delivery-demo/awesome_customers_delivery/master/acceptance/deploy/chef", @workspace_path="/var/opt/delivery/workspace", @enterprise="delivery-demo", @organization="delivery-demo", @stage="acceptance", @project="awesome_customers_delivery", @pipeline="master", @change_id="8dc2c1a8-3761-4b4f-a077-a74c85410b7b", @merge_sha="4bbd81025d8f58dcab0afed7e68b6bc155a85e2f", @patchset_branch="">
      chef_config_file "/var/opt/delivery/workspace/.chef/knife.rb"
      declared_type :delivery_push_job
      cookbook_name "delivery-truck"
      recipe_name "deploy"
    end


Running handlers:
[2016-05-04T18:21:27+00:00] ERROR: Running exception handlers
Running handlers complete
[2016-05-04T18:21:27+00:00] ERROR: Exception handlers complete
Chef Client failed. 0 resources updated in 11 seconds
[2016-05-04T18:21:27+00:00] FATAL: Stacktrace dumped to /var/opt/delivery/workspace/10.0.0.12/delivery-demo/delivery-demo/awesome_customers_delivery/master/acceptance/deploy/cache/chef-stacktrace.out
[2016-05-04T18:21:27+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-05-04T18:21:27+00:00] ERROR: The push-job b3f9efc18c5030e50dbd99df1bd9eead failed to complete successfully.

Command: chef-client
Nodes:
   failed: awesome_customers_delivery-acceptance


[2016-05-04T18:21:28+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Chef Client failed�
�STDOUT: 
STDERR: 
�
�
Job ended at 2016-05-04T18:21:28+00:00 (ran in 24 seconds)
Chef Stacktrace
Generated at 2016-05-04 18:21:27 +0000
DeliverySugar::Exceptions::PushJobFailed: The push-job b3f9efc18c5030e50dbd99df1bd9eead failed to complete successfully.

Command: chef-client
Nodes:
   failed: awesome_customers_delivery-acceptance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.