- From: David Montgomery <
>
- To:
- Subject: [chef] Re: Re: Re: Re: You authenticated successfully to https://api.opscode.com/organizations/mycomapyasmynode but you are not authorized for this action
- Date: Wed, 18 Jul 2012 23:08:05 +0800
Here is the knife file I use. I am using the nodes key and I have a
template for the below.
log_level :info
log_location STDOUT
node_name "<%= node.name %>"
client_key "/etc/chef/client.pem"
validation_client_name "mycomany-validator"
validation_key "#{current_dir}/mycomanyi-validator.pem"
chef_server_url "
https://api.opscode.com/organizations/adhui"
cache_type 'BasicFile'
cache_options( :path => "#{ENV['HOME']}/.chef/checksums" )
I can list nodes e.g.. That works.
knife node list
Yay! it works
I cant list clients.
knife client list
ERROR: You authenticated successfully to
https://api.opscode.com/organizations/adhui as dev_tokyo_monitor but
you are not authorized for this action
Response: Merb::ControllerExceptions::Forbidden
On Wed, Jul 18, 2012 at 10:19 PM, Bryan McLellan
<
>
wrote:
>
On Wed, Jul 18, 2012 at 10:01 AM, David Montgomery
>
<
>
>
wrote:
>
> In hosted chef, I went to clients and edited permissions for the
>
> node. I gave all clients in groups to CRUD.I tried the individual
>
> node but that did not help as well. I still get the error.
>
> So....from hosted chef UI, for my monitoring server, what is the
>
> proper way?
>
>
You can get support from Opscode for Hosted Chef at
>
http://www.opscode.com/support/.
>
>
What credentials are you using with knife? Are you using the node's
>
client key, or your own?
>
>
It'd help if you provided steps to reproduce that showed what commands
>
you were running as well.
>
>
Bryan
Archive powered by MHonArc 2.6.16.