Can you try 'knife --version' and see if you're picking up knife from a different location than your omnibus chef install?On 4/22/14, 3:04 AM, Tomasz Chmielewski wrote:
On Mon, 21 Apr 2014 21:00:54 -0700
Lamont Granquist < " target="_blank"> > wrote:
On 4/21/14, 6:00 PM, Tomasz Chmielewski wrote:Hi,
ERROR: Chef::Exceptions::ContentLengthMismatch: Response bodytry updating chef on your desktop. if you're running 11.12.2 and
length 0 does not match HTTP Content-Length header 206.
seeing this, then you'd need to cut a bug report, but we'd need more
information like output of knife cookbook upload -V and as much
context as you can give.
I'm running 11.12.2 already:
$ dpkg -l|grep chef
ii chef 11.12.2-1 amd64 The full stack of chef
Here is the output with -V:
$ time knife cookbook upload mmaww-staging -V
Uploading mmaww-staging [1.0.0]
INFO: Validating ruby files
INFO: Validating templates
INFO: Syntax OK
INFO: Saving mmaww-staging
INFO: Uploading files
INFO: Uploading /home/tch/Desktop/.../chef-repo/cookbooks/mmaww-staging/files/default/mysql-setup.sh (checksum hex = 4160124bf8a905a0e5dc1aa419135909) to https://chef01.sys:443/bookshelf/organization-00000000000000000000000000000000/checksum-4160124bf8a905a0e5dc1aa419135909?AWSAccessKeyId=...&Expires=1398159865&Signature=YNVBVPwN82OPwmiOgy41VmQB1jw%3D
INFO: Uploading /home/tch/Desktop/.../chef-repo/cookbooks/mmaww-staging/files/default/mongo-setup.sh (checksum hex = 8abcd332a3bb0d3d284dbe0d83322fde) to https://chef01.sys:443/bookshelf/organization-00000000000000000000000000000000/checksum-8abcd332a3bb0d3d284dbe0d83322fde?AWSAccessKeyId...&Expires=1398159865&Signature=DBHn7Bp8fo16o9CQ%2Bg8gDdIQhH0%3D
INFO: Uploading /home/tch/Desktop/.../chef-repo/cookbooks/mmaww-staging/files/default/mongo-td_stage.tar.xz (checksum hex = 95d55edf3a75d5358a424d843c3e8463) to https://chef01.sys:443/bookshelf/organization-00000000000000000000000000000000/checksum-95d55edf3a75d5358a424d843c3e8463?AWSAccessKeyId=...&Expires=1398159865&Signature=kXJpijoKemcQZA96ZVJydQG1JVc%3D
INFO: Uploading /home/tch/Desktop/.../chef-repo/cookbooks/mmaww-staging/recipes/default.rb (checksum hex = 9cb5ef6dbb6db3811a1108ac5f990efc) to https://chef01.sys:443/bookshelf/organization-00000000000000000000000000000000/checksum-9cb5ef6dbb6db3811a1108ac5f990efc?AWSAccessKeyId=...&Expires=1398159865&Signature=GgeSQKQ373PW1lWTpWOE%2BC3RfkU%3D
INFO: HTTP Request Returned 403 Forbidden:
ERROR: Chef::Exceptions::ContentLengthMismatch: Response body length 0 does not match HTTP Content-Length header 206.
Archive powered by MHonArc 2.6.16.