[chef] 403 "Forbidden" when uploading cookbooks with large files


Chronological Thread 
  • From: Tomasz Chmielewski < >
  • To: " " < >
  • Subject: [chef] 403 "Forbidden" when uploading cookbooks with large files
  • Date: Tue, 22 Apr 2014 01:13:11 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=wpkg.org; h=date:from:to :subject:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=HIH6ho0FpGfcNgvr abPZcUjN+g5pZBNIbBlzxSKzSrcTz+CVJcdgN3yHnAabXOn2iiV9Uqk+FG+m9Ucd sEpZDSKsT5Co9IyB/kGDQc+DMvlgIW+hxLv7OsjAOYGHM4mFCkbtRrSYBkYYbJjp Wu5c3D6xEoyA8mQIOFw+gq19a0k=

I'm unable to upload a cookbook with a large file (~160 MB):

$ knife cookbook upload --all

Uploading mmaww-staging  [1.0.0]
(...)
ERROR: Failed to upload 
/home/tch/Desktop/chef-repo/cookbooks/mmaww-staging/files/default/mongo-db.tar.xz
 (95d55edf3a75d5358a424d843c3e8463) to 
https://chef01.sys:443/bookshelf/organization-00000000000000000000000000000000/checksum-95d55edf3a75d5358a424d843c3e8463?AWSAccessKeyId=...&Expires=1398124259&Signature=...Unk%3D
 : 403 "Forbidden"
<?xml version="1.0" 
encoding="UTF-8"?><Error><Code>AccessDenied</Code><Message>Access 
Denied</Message><RequestId>g2gCZAATYm9va3NoZWxmQDEyNy4wLjAuMWgDYgAABXZiAAHoHmIAAf01</RequestId><HostId></HostId></Error>
ERROR: You authenticated successfully to https://192.168.11.34 as tch but you ;
are not authorized for this action
Response:  <?xml version="1.0" 
encoding="UTF-8"?><Error><Code>AccessDenied</Code><Message>Access 
Denied</Message><RequestId>g2gCZAATYm9va3NoZWxmQDEyNy4wLjAuMWgDYgAABXZiAAHoHmIAAf01</RequestId><HostId></HostId></Error>

$ echo $?
100

Any advice?

# dpkg -l|grep chef
ii  chef-server                      11.0.12-1.ubuntu.12.04            The 
full stack of chef-server

-- 
Tomasz Chmielewski
http://wpkg.org



Archive powered by MHonArc 2.6.16.

§