403 Forbidden midway through convergence


#1

Hi,

While bootstrapping a node I received a 403 error. It was during the convergence of a template, so I’m quite sure that the problem was not related to the resource, but to the Chef Server.

This is an OSS Chef Server inside a VPC.

The error message can be seen here: http://pastebin.com/Z73NXiJL

How do I go about debugging this?

Thanks!

Cassiano Leal
http://cassianoleal.com
http://twitter.com/cassianoleal


#2

Cassiano,

When I’ve see that problem, it’s been because the chef-client run has taken
too long, usually over an hour. I have some nodes that when built from
scratch take a very long time because of compiling multiple versions of
ruby, node.js, and some other things. If I run a second time, it generally
completes without issue. I found a discussion of this somewhere, but I can’t
now remember where, probably on Opscode’s issue tracker.

Phillip

From: Cassiano Leal cassianoleal@gmail.com
Reply-To: chef@lists.opscode.com
Date: Friday, July 19, 2013 9:31 AM
To: chef@lists.opscode.com
Subject: [chef] 403 Forbidden midway through convergence

Hi,

While bootstrapping a node I received a 403 error. It was during the
convergence of a template, so I¹m quite sure that the problem was not
related to the resource, but to the Chef Server.

This is an OSS Chef Server inside a VPC.

The error message can be seen here: http://pastebin.com/Z73NXiJL

How do I go about debugging this?

Thanks!


Cassiano Leal
http://cassianoleal.com
http://twitter.com/cassianoleal


#3

Here’s a link with a potential solution:

http://tickets.opscode.com/browse/CHEF-4253

Phillip

From: Cassiano Leal cassianoleal@gmail.com
Reply-To: chef@lists.opscode.com
Date: Friday, July 19, 2013 9:31 AM
To: chef@lists.opscode.com
Subject: [chef] 403 Forbidden midway through convergence

Hi,

While bootstrapping a node I received a 403 error. It was during the
convergence of a template, so I¹m quite sure that the problem was not
related to the resource, but to the Chef Server.

This is an OSS Chef Server inside a VPC.

The error message can be seen here: http://pastebin.com/Z73NXiJL

How do I go about debugging this?

Thanks!


Cassiano Leal
http://cassianoleal.com
http://twitter.com/cassianoleal


#4

This workaround did solve my issue.

Jared Russel had already pointed me to this same ticket, but he replied in private (mail client’s default reply option, I guess).

Thanks guys for the help! :slight_smile:

Cassiano Leal
http://cassianoleal.com
http://twitter.com/cassianoleal

On July 19, 2013 at 16:22:09, Phillip Koebbe (fidelity@phillipkoebbe.com) wrote:

Here’s a link with a potential solution:

http://tickets.opscode.com/browse/CHEF-4253

Phillip

From: Cassiano Leal cassianoleal@gmail.com
Reply-To: chef@lists.opscode.com
Date: Friday, July 19, 2013 9:31 AM
To: chef@lists.opscode.com
Subject: [chef] 403 Forbidden midway through convergence

Hi,

While bootstrapping a node I received a 403 error. It was during the convergence of a template, so I’m quite sure that the problem was not related to the resource, but to the Chef Server.

This is an OSS Chef Server inside a VPC.

The error message can be seen here: http://pastebin.com/Z73NXiJL

How do I go about debugging this?

Thanks!

Cassiano Leal
http://cassianoleal.com
http://twitter.com/cassianoleal