[chef] Re: Nectar cloud (openstack) and chef configuration


Chronological Thread 
  • From: "Ifeanyi P. Egwutuoha" < >
  • To: " " < >
  • Subject: [chef] Re: Nectar cloud (openstack) and chef configuration
  • Date: Mon, 23 Sep 2013 14:17:59 +1000

Hi,

I have resolve this issue.

The password must be CLI api generated password, you can get this password from settings > password reset

Regards, Ifeanyi


On Fri, Sep 20, 2013 at 3:41 PM, Ifeanyi P. Egwutuoha < " target="_blank"> > wrote:
Hi,

Please can someone assist me.

I have installed chef client having issue in connecting to Nectar cloud.

this is the error I got when the following is executed:

~/chef-repo$ knife openstack flavor list
FATAL: Connection failure, please check your OpenStack username and password.

this is my knife.rb
~/chef-repo$ cat .chef/knife.rb
current_dir = File.dirname(__FILE__)
log_level                :info
log_location             STDOUT
node_name                "ifeanyi"
client_key               "#{current_dir}/ifeanyi.pem"
validation_client_name   "uws-validator"
validation_key           "#{current_dir}/uws-validator.pem"
chef_server_url          "https://api.opscode.com/organizations/uws"
cache_type               'BasicFile'
cache_options( :path => "#{ENV['HOME']}/.chef/checksums" )
cookbook_path            ["#{current_dir}/../cookbooks"]


knife[:openstack_username] = "xxxxxx46"
knife[:openstack_password] = "password"
### Note: If you are not proxying HTTPS to the OpenStack auth port, the scheme should be HTTP
knife[:openstack_auth_url] = "https://keystone.rc.nectar.org.au:5000/v2.0/tokens"
knife[:openstack_tenant] = "pt-2739"

Regards, Ifeanyi




Archive powered by MHonArc 2.6.16.

§