Hi,

While I try to answer “N” to the overwrite this is what I get:

root@master:~/chef-repo# knife bootstrap external_ip –i /home/oss/chef_key.pem 
-x ash --sudo -V
INFO: Using configuration from /root/chef-repo/.chef/knife.rb
Node  exists, overwrite it? (Y/N) n
You said no, so I'm done here.
root@master:~/chef-repo#

My knife.rb reads like this:
log_level                                              :info
log_location                                       STDOUT
node_name                                       'ash'
client_key                                           
'/root/chef-repo/.chef/ash.pem'
validation_client_name                'chef-validator'
validation_key                                  
'/root/chef-repo/.chef/chef-validator.pem'
chef_server_url                               'https://master:443'
syntax_check_cache_path          '/root/chef-repo/.chef/syntax_check_cache'
cookbook_path [ '/root/chef-repo/cookbooks' ]

### Note: If you are not proxying HTTPS to the OpenStack auth port, the scheme 
should be HTTP
knife[:openstack_auth_url] = "http://controller:5000/v2.0/tokens";
knife[:openstack_username] = "admin"
knife[:openstack_password] = "admin "
knife[:openstack_tenant] = "admin"


root@master:~/chef-repo/.chef# ls
admin.pem  ash.pem  knife.rb  syntax_check_cache  trusted_certs







From: Abel Lopez [mailto:alopg...@gmail.com]
Sent: Tuesday, May 12, 2015 8:36 PM
To: Adyanthaya, Aishwarya
Cc: openstack-operators@lists.openstack.org
Subject: Re: [Openstack-operators] chef

I think the error comes from your chef server, not openstack API. Have you 
tried answering "N" to the overwrite?

On May 12, 2015, at 4:48 AM, 
aishwarya.adyanth...@accenture.com<mailto:aishwarya.adyanth...@accenture.com> 
wrote:

Hello,

I’m trying to integrate chef-server(version 11.0.10) with Ubuntu Openstack. I’m 
able to create an instance from the chef server in the openstack dashboard but 
I get an error while trying to bootstrap the node. The error is as described 
below:

root@master:~/chef-repo# knife bootstrap external_ip –i /home/oss/chef_key.pem 
-x ash --sudo -V
INFO: Using configuration from /root/chef-repo/.chef/knife.rb
Node  exists, overwrite it? (Y/N) y
INFO: HTTP Request Returned 405 Method Not Allowed:
ERROR: Method Not Allowed
Response:

I configured security rules in the dashboard by adding http, https, ssh but it 
doesn’t seem to work. Can someone tell me what I’m doing wrong? Thanks in 
advance!

Aishwarya Adyanthaya

________________________________

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise confidential information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the e-mail by you is prohibited. Where allowed by local law, electronic 
communications with Accenture and its affiliates, including e-mail and instant 
messaging (including content), may be scanned by our systems for the purposes 
of information security and assessment of internal compliance with Accenture 
policy.
______________________________________________________________________________________

www.accenture.com<http://www.accenture.com/>
_______________________________________________
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org<mailto:OpenStack-operators@lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

_______________________________________________
OpenStack-operators mailing list
OpenStack-operators@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

Reply via email to