Skip to content

Instantly share code, notes, and snippets.

@tknerr
Last active August 29, 2015 14:04
Show Gist options
  • Select an option

  • Save tknerr/dd4271e58e7c9b2996ad to your computer and use it in GitHub Desktop.

Select an option

Save tknerr/dd4271e58e7c9b2996ad to your computer and use it in GitHub Desktop.
upload to supermarket via stove fails
D:\Repos\_github\_cookbooks\sample-toplevel-cookbook>stove --category Other -l debug
DL is deprecated, please use Fiddle
Stove::Cli | ===> Options: {:endpoint=>nil, :username=>"tknerr", :key=>"C:\\Users\\tkn\\.chef\\tknerr.pem", :category=>"Other", :remote=>"origin", :branch=>"master", :sign=>false, :log_level=>"debug", :path=>"D:/Repos/_github/_cookbooks/sample-toplevel-cookbook", :version=>nil}
Stove::Cli | ===> ARGV: []
Stove::Runner | ===> Running plugin `:git'
Stove::Validator | ===> Running validations for `git.repository'
Stove::Validator | Validation repository passed!
Stove::Validator | ===> Running validations for `git.clean'
Stove::Plugin::Git | Running `git status -s 2>NUL', errors: false
Stove::Validator | Validation clean passed!
Stove::Validator | ===> Running validations for `git.up_to_date'
Stove::Plugin::Git | Running `git fetch 2>NUL', errors: false
Stove::Plugin::Git | Running `git rev-parse master 2>NUL', errors: false
Stove::Plugin::Git | Running `git rev-parse origin/master 2>NUL', errors: false
Stove::Plugin::Git | Local SHA: 390f080eda08179a6b3d904676f77efb86f8f9d2
Stove::Plugin::Git | Remote SHA: 390f080eda08179a6b3d904676f77efb86f8f9d2
Stove::Validator | Validation up_to_date passed!
Stove::Plugin::Git | ===> Tagging new release
Stove::Plugin::Git | Running `git tag -a v0.2.0 -m "Release v0.2.0"', errors: true
Stove::Plugin::Git | Running `git push origin master', errors: true
Username for 'https://github.com': tknerr
Password for 'https://tknerr@github.com':
Everything up-to-date
Stove::Plugin::Git | Running `git push origin v0.2.0', errors: true
Username for 'https://github.com': tknerr
Password for 'https://tknerr@github.com':
Counting objects: 1, done.
Writing objects: 100% (1/1), 163 bytes | 0 bytes/s, done.
Total 1 (delta 0), reused 0 (delta 0)
To https://github.com/tknerr/sample-toplevel-cookbook/
* [new tag] v0.2.0 -> v0.2.0
Stove::Runner | ===> Running plugin `:community'
Stove::Validator | ===> Running validations for `community.username'
Stove::Validator | Validation username passed!
Stove::Validator | ===> Running validations for `community.key'
Stove::Validator | Validation key passed!
Stove::Validator | ===> Running validations for `community.category'
Stove::Validator | Validation category passed!
Stove::Plugin::Community | ===> Publishing the release to the Chef community site
ChefAPI::Connection | ===> POST cookbooks...
ChefAPI::Connection | Chef flavor: :open_source
ChefAPI::Connection | ===> Building URI...
ChefAPI::Connection | Detected URI is relative
ChefAPI::Connection | Appending cookbooks to https://supermarket.getchef.com/api/v1
ChefAPI::Connection | ===> Adding request headers...
ChefAPI::Connection | Accept: application/json
ChefAPI::Connection | Content-Type: application/json
ChefAPI::Connection | Connection: keep-alive
ChefAPI::Connection | Keep-Alive: 30
ChefAPI::Connection | User-Agent: ChefAPI Ruby Gem 0.5.0
ChefAPI::Connection | X-Chef-Version: 11.4.0
ChefAPI::Connection | ===> Detected multipart body
ChefAPI::Connection | Content-Type: multipart/form-data; boundary=------ChefAPIMultipartBoundary
ChefAPI::Connection | Content-Length: 3361
ChefAPI::Connection | ===> Adding signed header authentication...
ChefAPI::Authentication | ===> Parsing private key...
ChefAPI::Authentication | Detected private key is the path to a file
ChefAPI::Connection | X-Ops-Sign: algorithm=sha1;version=1.0;
ChefAPI::Connection | X-Ops-Userid: tknerr
ChefAPI::Connection | X-Ops-Timestamp: 2014-07-15T15:00:19Z
ChefAPI::Connection | X-Ops-Content-Hash: k+830nBDLn2fdO2GxY8zG8yt8V0=
ChefAPI::Connection | X-Ops-Authorization-1: zfpfiPerGd1AKPPVCDorgoLfXrtSYBlCF+ndRPEOBSEEX91XuBFfR55BWxrx
ChefAPI::Connection | X-Ops-Authorization-2: 3vQutOQhXIcbTL3Lnu0Nx7t/zzNCf94lll/MO3pqSnuDq2V58NdGBJZPNFoa
ChefAPI::Connection | X-Ops-Authorization-3: qTLEecHUZriVza1cULUXrX2hT9pYv+IRh/UWTUwFO9Kvuo2KfRwZ+vFedfRE
ChefAPI::Connection | X-Ops-Authorization-4: OzxMPzgnI3aX8ua5yoRj7tLV4LUVzCWi2h/NV54p+iBg0XKQyL/epD3MXX2L
ChefAPI::Connection | X-Ops-Authorization-5: JnVZ95IJhIwSN9u9VC7ZO3OJCQuPkteEnUE8nInDGNSHojxuWuBJXiTLUz7J
ChefAPI::Connection | X-Ops-Authorization-6: MuVTm7H4vLNRnLRY411fEf4AJiz8QcYDqAr1gEp/tQ==
ChefAPI::Connection | Raw response:
ChefAPI::Connection | {"error_code":"UNAUTHORIZED","error_messages":["You're not authorized to upload this cookbook."]}
ChefAPI::Connection | ===> Parsing response as error...
ChefAPI::Connection | Detected error response as JSON
ChefAPI::Connection | Parsing error response as JSON
Stove::Cli | >>>> Stove experienced an error!
Stove::Cli | >>>> ChefAPI::Error::HTTPBadRequest
Stove::Cli | >>>> The Chef Server did not understand the request because it was malformed.
{"error_code"=>"UNAUTHORIZED", "error_messages"=>["You're not authorized to upload this cookbook."]}
Stove::Cli | >>>> X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/chef-api-0.5.0/lib/chef-api/connection.rb:411:in `error'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/chef-api-0.5.0/lib/chef-api/connection.rb:282:in `block in request'
X:/tools/ruby-2.0.0/lib/ruby/2.0.0/net/http.rb:852:in `start'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/chef-api-0.5.0/lib/chef-api/connection.rb:268:in `request'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/chef-api-0.5.0/lib/chef-api/connection.rb:122:in `post'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/stove-3.1.0/lib/stove/community.rb:54:in `upload'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/stove-3.1.0/lib/stove/mixins/instanceable.rb:20:in `method_missing'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/stove-3.1.0/lib/stove/plugins/community.rb:19:in `block in <class:Community>'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/stove-3.1.0/lib/stove/plugins/base.rb:12:in `instance_eval'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/stove-3.1.0/lib/stove/plugins/base.rb:12:in `block in run'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/stove-3.1.0/lib/stove/plugins/base.rb:44:in `call'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/stove-3.1.0/lib/stove/plugins/base.rb:44:in `block in run_actions'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/stove-3.1.0/lib/stove/plugins/base.rb:43:in `each'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/stove-3.1.0/lib/stove/plugins/base.rb:43:in `run_actions'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/stove-3.1.0/lib/stove/plugins/base.rb:33:in `run'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/stove-3.1.0/lib/stove/runner.rb:26:in `run_plugin'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/stove-3.1.0/lib/stove/runner.rb:15:in `run'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/stove-3.1.0/lib/stove/cli.rb:63:in `execute!'
X:/tools/ruby-2.0.0/lib/ruby/gems/2.0.0/gems/stove-3.1.0/bin/stove:4:in `<top (required)>'
X:/tools/ruby-2.0.0/bin/stove:23:in `load'
X:/tools/ruby-2.0.0/bin/stove:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment