[chef] Nectar cloud (openstack) and chef configuration


Chronological Thread 
  • From: "Ifeanyi P. Egwutuoha" < >
  • To: " " < >
  • Subject: [chef] Nectar cloud (openstack) and chef configuration
  • Date: Fri, 20 Sep 2013 15:41:39 +1000

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.

§