Nectar cloud (openstack) and chef configuration

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

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 ifeanyeg@gmail.comwrote:

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 "Sign In - Chef Manage"
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

Interesting, could you expand on that a bit more so I can update the
knife-openstack docs to cover what the issue was?

Thanks,
Matt Ray
Cloud Integrations Product Lead :: Opscode
512.731.2218 :: matt@opscode.com
mattray :: GitHub :: IRC :: Twitter

On Sun, Sep 22, 2013 at 11:17 PM, Ifeanyi P. Egwutuoha
ifeanyeg@gmail.com wrote:

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 ifeanyeg@gmail.com
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 "Sign In - Chef Manage"
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

Here is the knife openstack sample configuration for Nectar Cloud.

knife[:openstack_username] = "Your OpenStack Dashboard username e.g.,
user@uws.edu.au"
knife[:openstack_password] = "API generated password; this is the
password generated by clicking on settings on dashboard > reset
password e.g., <267CTWY5618710HYTWVU>"

Note: If you are not proxying HTTPS to the OpenStack auth port,

the scheme should be HTTP
knife[:openstack_auth_url] = "http://cloud.mycompany.com:5000/v2.0/tokens"
knife[:openstack_tenant] = "Your OpenStack tenant name"

Regards, Ifeanyi.

On Mon, Sep 23, 2013 at 11:57 PM, Matt Ray matt@opscode.com wrote:

Interesting, could you expand on that a bit more so I can update the
knife-openstack docs to cover what the issue was?

Thanks,
Matt Ray
Cloud Integrations Product Lead :: Opscode
512.731.2218 :: matt@opscode.com
mattray :: GitHub :: IRC :: Twitter

On Sun, Sep 22, 2013 at 11:17 PM, Ifeanyi P. Egwutuoha
ifeanyeg@gmail.com wrote:

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 <
ifeanyeg@gmail.com>
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 "Sign In - Chef Manage"
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