yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05915
[Bug 1244331] Re: need to sepcify region_name when multi region is available
** Changed in: nova
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1244331
Title:
need to sepcify region_name when multi region is available
Status in OpenStack Compute (Nova):
Invalid
Bug description:
in a multi region environment, all regions share the keystone auth service to provide unified user credentials.
there can be multi endpoints for the same type to be used by different region. in this case. when requesting a endpoint, region_name must be specified or the follow error occurs
cinder endpoints
Found more than one valid endpoint. Use a more restrictive filter
ERROR: AmbiguousEndpoints: [{u'adminURL': u'http://127.0.0.1:8776/v1/79792bbe14ee4d35b2d0e72e03398fa5', u'region': u'RegionOne', u'id': u'01a9b35765b54047b013da6a3dcc2d58', 'serviceName': u'cinder', u'internalURL': u'http://127.0.0.1:8776/v1/79792bbe14ee4d35b2d0e72e03398fa5', u'publicURL': u'http://127.0.0.1:8776/v1/79792bbe14ee4d35b2d0e72e03398fa5'}, {u'region': u'RegionTwo', 'serviceName': u'cinder', u'id': u'01a9b35765b54047b013da6a3dcc2d50', u'publicURL': u'http://127.0.0.1:8776/v1/79792bbe14ee4d35b2d0e72e03398fa5'}]
ubuntu@moon:~$ nova volume-list
Found more than one valid endpoint. Use a more restrictive filter
ERROR: AmbiguousEndpoints: [{u'adminURL': u'http://58.83.209.156:8776/v1/79792bbe14ee4d35b2d0e72e03398fa5', u'region': u'RegionOne', u'id': u'01a9b35765b54047b013da6a3dcc2d58', 'serviceName': u'cinder', u'internalURL': u'http://127.0.0.1:8776/v1/79792bbe14ee4d35b2d0e72e03398fa5', u'publicURL': u'http://127.0.0.1:8776/v1/79792bbe14ee4d35b2d0e72e03398fa5'}, {u'region': u'RegionTwo', 'serviceName': u'cinder', u'id': u'01a9b35765b54047b013da6a3dcc2d50', u'publicURL': u'http://127.0.0. 1:8776/v1/79792bbe14ee4d35b2d0e72e03398fa5'}]
note that not only user who use a python-* client need to specify a
region_name when create a request but also we should add such
parameter in nova.conf.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1244331/+subscriptions