glance-api raise an error "AttributeError: id" then try to create a VM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
High
|
Denis Puchkin | ||
6.1.x |
Fix Released
|
High
|
Denis Puchkin | ||
7.0.x |
Fix Released
|
High
|
Denis Puchkin | ||
8.0.x |
Invalid
|
High
|
Denis Puchkin | ||
9.x |
Invalid
|
High
|
MOS Glance |
Bug Description
MOS 7.0 cloud with HA.
On VM creation got an error in Horizon:
Error: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-3793cc48-
Error: Unable to launch instance named "vm".
nova-api.log:
2016-03-11 09:24:10.721 8829 INFO nova.api.openstack [req-3793cc48-
2016-03-11 09:24:10.722 8834 INFO nova.osapi_
2016-03-11 09:24:10.724 8829 INFO nova.osapi_
2016-03-11 09:24:10.751 8834 INFO nova.osapi_
2016-03-11 09:24:10.782 8827 INFO nova.osapi_
2016-03-11 09:24:10.850 8818 ERROR nova.api.openstack [req-2260596b-
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack Traceback (most recent call last):
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack return req.get_
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack application, catch_exc_
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack app_iter = application(
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack return resp(environ, start_response)
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack return self._call_app(env, start_response)
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack return self._app(env, _fake_start_
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack return resp(environ, start_response)
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack return resp(environ, start_response)
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack response = self.app(environ, start_response)
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack return resp(environ, start_response)
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack content_type, body, accept)
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack return method(req=request, **action_args)
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack image = self._image_
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack show_deleted=
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack include_
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack include_
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack queued = getattr(image, 'status') == 'queued'
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack self.get()
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack new = self.manager.
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack File "/usr/lib/
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack raise AttributeError(k)
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack AttributeError: id
2016-03-11 09:24:10.850 8818 TRACE nova.api.openstack
2016-03-11 09:24:10.852 8818 INFO nova.api.openstack [req-2260596b-
2016-03-11 09:24:10.854 8818 INFO nova.osapi_
Looks similar with a bug https:/
tags: | added: area-glance |
tags: | added: on-verification |
tags: | added: on-verification |
What is glance-client version you use?