Can't launch a VM by AmbiguousEndpoints [closed]

asked 2013-12-18 06:07:31 -0500

rg3 gravatar image

updated 2013-12-18 06:33:03 -0500

dheeru gravatar image

Hello, Sorry for bother you again. I have a question about launch VM. I have two region, that do the autentication by one keystone(region one). I defined the endpoints to each service of both regions. I try to launch a VM in the region two using the command line: nova --os-region-name RegionTwo boot --flavor 1 --image image_id --security_group default --nic net-id=id_network vm1

The instance is created with error. Looking on the logs I found this message: 
Neutron client authentication failed: AmbiguousEndpoints: [{u'adminURL': u'http://controller:9696', u'region': u'regionOne', u'publicURL': u'http://controller:9696', u'internalURL': u'http://controller:9696', u'id': u'2c1bd1d9961e4ea290a1fd413cdba5a0'}, {u'adminURL': u'http://192.168.122.136:9696', u'region': u'RegionTwo', u'publicURL': u'http://192.168.122.136:9696', u'internalURL': u'http://192.168.122.136:9696', u'id': u'24a5e85089674fc2ab485deeb84f60b4'}]

I would to know two things, if possible indicate the endpoint to use when I choose the network? If not what can I do to this work. Best Regards, Rafael

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dheeru
close date 2013-12-23 20:38:10.318050

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-12-18 06:52:59 -0500

dheeru gravatar image

updated 2013-12-18 06:54:35 -0500

Try settting the following in nova.conf

neutron_region_name=regionOne or RegionOne

edit flag offensive delete link more

Comments

Hope your problem is solved. Please do let us know if you need help.

dheeru gravatar imagedheeru ( 2013-12-22 11:17:45 -0500 )edit

Sorry, I answered in the same day from my email, but on Friday I saw a postmaster message. Ya this work for by. Thanks so a lot for you help, and sorry for the inconvenient.

rg3 gravatar imagerg3 ( 2013-12-23 08:15:33 -0500 )edit

That is good news. Need your help. I would like to close this request. Can you accept my answer by click on right tick mark next to my answer. Please click only once. If you need any further help any time, do come back. You can drop me an email to dheerendra.madhusudhana@gmail.com

dheeru gravatar imagedheeru ( 2013-12-23 08:20:36 -0500 )edit

Thanks so much for your disponibility. And If I can help you anything tell me :). Best regards, Rafael.

rg3 gravatar imagerg3 ( 2013-12-23 14:40:57 -0500 )edit

Hi Rafael rg3, i am also setting up devstack on two regions. How is your project? can you share the rc files. thanks antonio

Ancibug gravatar imageAncibug ( 2015-01-12 07:14:18 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-12-18 06:07:31 -0500

Seen: 493 times

Last updated: Dec 18 '13