"nova image-create" doesn't work for rbd backed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Hi,
I did the following on our grizzly setup with RBD as the storage backend for both glance and cinder,
# nova image-create 21793c0b-
ERROR: The resource could not be found. (HTTP 404) (Request-ID: req-01064eff-
The nova-api log is showing as following,
2013-07-01 12:38:53.125 8177 INFO nova.osapi_
2013-07-01 12:38:53.209 INFO nova.osapi_
b29c9bb672decca472] 10.29.126.72 "GET /v2/3637769023e
08 time: 0.0827971
2013-07-01 12:38:53.210 8177 INFO nova.osapi_
2013-07-01 12:38:53.287 ERROR nova.api.openstack [req-01064eff-
ecca472] Caught error: Image could not be found.
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack Traceback (most recent call last):
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack return req.get_
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack application, catch_exc_
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack app_iter = application(
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack return resp(environ, start_response)
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
__call__
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack return self.app(env, start_response)
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack return resp(environ, start_response)
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack return resp(environ, start_response)
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack return resp(environ, start_response)
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack response = self.app(environ, start_response)
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack return resp(environ, start_response)
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack content_type, body, accept)
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack return method(req=request, **action_args)
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack return f(*args, **kwargs)
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack src_image = self.compute_
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack _reraise_
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack image = self._client.
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack return getattr(
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack % urllib.
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack return self._http_
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack File "/usr/lib/
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack raise exc.from_
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack ImageNotFound: Image could not be found.
2013-07-01 12:38:53.287 8177 TRACE nova.api.openstack
2013-07-01 12:38:53.289 INFO nova.api.openstack [req-01064eff-
2013-07-01 12:38:53.290 INFO nova.osapi_
Thanks. --weiguo
tags: | added: drivers rbd |
same as https:/ /bugs.launchpad .net/cinder/ +bug/1196666/