EBS volume info saving at chef-server permission bug

Hi,

The code at ebs_volume
https://github.com/opscode/cookbooks/blob/master/database/recipes/ebs_volume.rb#L81-90
tries to store the volume_id info in a databag.

But the client running won’t have the write permission on the chef-server (open
source chef-server, not the opscode hosted one) so the databag_item.save
fails with 403 Unauthorized error.

How can this be resolved?

You can make the client an admin to give it write privileges. (unfortunately)

--AJ

On 12 March 2012 20:21, Millisami millisami@gmail.com wrote:

Hi,

The code at ebs_volume
https://github.com/opscode/cookbooks/blob/master/database/recipes/ebs_volume.rb#L81-90
tries to store the volume_id info in a databag.

But the client running won't have the write permission on the chef-server (open
source chef-server, not the opscode hosted one) so the databag_item.save
fails with 403 Unauthorized error.

How can this be resolved?