Did the configuration changes help?
On Tue, Apr 22, 2014 at 11:50 AM, Lamont Granquist
< >
wrote:
On 4/22/14, 3:04 AM, Tomasz Chmielewski wrote:Hi,
On Mon, 21 Apr 2014 21:00:54 -0700
Lamont Granquist
< >
wrote:
On 4/21/14, 6:00 PM, Tomasz Chmielewski wrote:
ERROR: Chef::Exceptions::ContentLengthMismatch: Response body
length 0 does not match HTTP Content-Length header 206.
try updating chef on your desktop. if you're running 11.12.2 and
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
[1]
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
[2]
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
[3]
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
[4]
INFO: HTTP Request Returned 403 Forbidden:
ERROR: Chef::Exceptions::ContentLengthMismatch: Response body length
0 does not match HTTP Content-Length header 206.
Can you try 'knife --version' and see if you're picking up knife from
a different location than your omnibus chef install?
--
Stephen Delano
Software Development Engineer
Opscode, Inc.
1008 Western Avenue
Suite 601
Seattle, WA 98104
Links:
------
[1]
https://chef01.sys:443/bookshelf/organization-00000000000000000000000000000000/checksum-4160124bf8a905a0e5dc1aa419135909?AWSAccessKeyId=...&Expires=1398159865&Signature=YNVBVPwN82OPwmiOgy41VmQB1jw%3D
[2]
https://chef01.sys:443/bookshelf/organization-00000000000000000000000000000000/checksum-8abcd332a3bb0d3d284dbe0d83322fde?AWSAccessKeyId...&Expires=1398159865&Signature=DBHn7Bp8fo16o9CQ%2Bg8gDdIQhH0%3D
[3]
https://chef01.sys:443/bookshelf/organization-00000000000000000000000000000000/checksum-95d55edf3a75d5358a424d843c3e8463?AWSAccessKeyId=...&Expires=1398159865&Signature=kXJpijoKemcQZA96ZVJydQG1JVc%3D
[4]
https://chef01.sys:443/bookshelf/organization-00000000000000000000000000000000/checksum-9cb5ef6dbb6db3811a1108ac5f990efc?AWSAccessKeyId=...&Expires=1398159865&Signature=GgeSQKQ373PW1lWTpWOE%2BC3RfkU%3D
Archive powered by MHonArc 2.6.16.