Volume detach fails via OSAPI: AmbiguousEndpoints
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Critical
|
Vish Ishaya | ||
python-cinderclient |
Invalid
|
High
|
Unassigned | ||
python-keystoneclient |
Invalid
|
Wishlist
|
Unassigned | ||
python-novaclient |
Fix Released
|
High
|
Unassigned |
Bug Description
Not sure if this is a cinderclient bug or nova. Attempting to detach a volume via the OSAPI ends with an AmbiguousEndpoints exception:
2013-03-13 17:30:40.314 ERROR nova.api.openstack [req-9dc2a448-
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack Traceback (most recent call last):
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack return req.get_
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack application, catch_exc_
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack app_iter = application(
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack return resp(environ, start_response)
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack return self.app(env, start_response)
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack return resp(environ, start_response)
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack return resp(environ, start_response)
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack return resp(environ, start_response)
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack response = self.app(environ, start_response)
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack return resp(environ, start_response)
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack content_type, body, accept)
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack return method(req=request, **action_args)
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack volume_
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack volume = self.volume_
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack self._reraise_
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack item = cinderclient(
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack endpoint_
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack File "/usr/lib/
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack endpoints=
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack AmbiguousEndpoints: AmbiguousEndpoints: [{u'url': u'http://
2013-03-13 17:30:40.314 8945 TRACE nova.api.openstack
The configured keystone services and catalog looks like:
adam@test-01:~$ keystone catalog
Service: compute
+------
| Property | Value |
+------
| adminURL | http://
| id | 10b0009cd95a45d
| internalURL | http://
| publicURL | http://
| region | RegionOne |
+------
Service: s3
+------
| Property | Value |
+------
| adminURL | http://
| id | 519b3206ab584bb
| internalURL | http://
| publicURL | http://
| region | RegionOne |
+------
Service: image
+------
| Property | Value |
+------
| adminURL | http://
| id | 5c870d37fdba4cf
| internalURL | http://
| publicURL | http://
| region | RegionOne |
+------
Service: volume
+------
| Property | Value |
+------
| adminURL | http://
| id | 3b41c544eb24440
| internalURL | http://
| publicURL | http://
| region | RegionOne |
+------
Service: ec2
+------
| Property | Value |
+------
| adminURL | http://
| id | 5dc0b588166f496
| internalURL | http://
| publicURL | http://
| region | RegionOne |
+------
Service: identity
+------
| Property | Value |
+------
| adminURL | http://
| id | 2469befa176047e
| internalURL | http://
| publicURL | http://
| region | RegionOne |
+------
adam@test-01:~$ keystone service-list
+------
| id | name | type | description |
+------
| 1a803d81a1754ab
| 30c39e60f05244b
| 57e567fc7af5404
| 7ad8e13d1cc2447
| 863bb1c4ce36485
| a89a355e152e48e
+------
adam@test-01:~$
Changed in nova: | |
importance: | Undecided → Critical |
milestone: | none → grizzly-rc1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-rc1 → 2013.1 |
Changed in python-novaclient: | |
assignee: | nobody → Melanie Witt (melwitt) |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in python-novaclient: | |
milestone: | none → 2.21.0 |
Changed in python-novaclient: | |
status: | Fix Committed → Fix Released |
I see the same when trying to attach volumes