403 "Forbidden" around 30 minutes after bootstrapping


#1

Are there any time limits which would interrupt bootstrapping with 403
"Forbidden" error?

After I bootstrap, the cookbooks are deployed fine, after around 30
minutes passes - then, knife exits with 403 “Forbidden”.
The longish time (>30 mins) is normal here - database imports etc.

I don’t get any valuable info from Chef server logs, as the only entry
when the error happens is nginx/access.log showing the request which
ends with 403 code.

If I run knife bootstrap again, it goes to the end successfully.


Tomasz Chmielewski
http://wpkg.org


#2

Sounds like you might be hitting
https://tickets.opscode.com/browse/CHEF-3045

The Oracle cookbook mentions setting erchef['s3_url_ttl'] = 9999 in your
chef-server’s configuration file. Hope this helps!


Cameron Cope | Systems Engineer
Brightcove, Inc
290 Congress Street, 4th Floor, Boston, MA 02110
ccope@brightcove.com
On Apr 26, 2014 9:36 PM, “Tomasz Chmielewski” tch@wpkg.org wrote:

Are there any time limits which would interrupt bootstrapping with 403
"Forbidden" error?

After I bootstrap, the cookbooks are deployed fine, after around 30
minutes passes - then, knife exits with 403 “Forbidden”.
The longish time (>30 mins) is normal here - database imports etc.

I don’t get any valuable info from Chef server logs, as the only entry
when the error happens is nginx/access.log showing the request which ends
with 403 code.

If I run knife bootstrap again, it goes to the end successfully.


Tomasz Chmielewski
http://wpkg.org