Launch instance failed using instances' snapshot created volume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Won't Fix
|
Undecided
|
Kimiya Yokoo | ||
OpenStack Compute (nova) |
Confirmed
|
Medium
|
omkar_telee |
Bug Description
Launching instance fails when using a volume that is created using a snapshot of a volume-backended instance.
How to reproduce:
Step 1:
Create an volume backended instance.
root@zheng-
root@zheng-
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| ef3c6074-
+------
Step 2:
Create a snapshot of this instance using nova image-create, this will create an image in glance.
root@zheng-
root@zheng-
+------
| ID | Name | Disk Format | Container Format | Size | Status |
+------
| 7bdff9a3-
| 2af2dce2-
| 60ea7020-
| ce7b2d17-
+------
Step 3:
Create a new volume using the previously created image.
root@zheng-
+------
| Property | Value |
+------
| attachments | [] |
| availability_zone | nova |
| bootable | false |
| consistencygroup_id | None |
| created_at | 2015-07-
| description | None |
| encrypted | False |
| id | cc21dc7d-
| metadata | {} |
| multiattach | False |
| name | test-volume |
| os-vol-
| os-vol-
| os-vol-
| os-vol-
| os-volume-
| os-volume-
| replication_status | disabled |
| size | 1 |
| snapshot_id | None |
| source_volid | None |
| status | creating |
| user_id | ed64bccd0227444
| volume_type | lvmdriver-1 |
+------
root@zheng-
+------
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+------
| cc21dc7d-
| daaddb77-
+------
Step 4:
Using this volume to boot an new instance.
root@zheng-
ERROR LOG:
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack [req-079d1169-
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack Traceback (most recent call last):
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/opt/stack/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack return req.get_
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/usr/local/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack application, catch_exc_
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/usr/local/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack app_iter = application(
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/usr/local/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack return resp(environ, start_response)
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/usr/local/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/usr/local/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack return self.func(req, *args, **kwargs)
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/usr/local/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack response = request.
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/usr/local/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack application, catch_exc_
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/usr/local/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack app_iter = application(
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/usr/local/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack return resp(environ, start_response)
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/usr/local/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack return resp(environ, start_response)
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/usr/local/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack response = self.app(environ, start_response)
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/usr/local/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack return resp(environ, start_response)
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/usr/local/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/usr/local/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack return self.func(req, *args, **kwargs)
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/opt/stack/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack content_type, body, accept)
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/opt/stack/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/opt/stack/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack return method(req=request, **action_args)
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/opt/stack/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack self._handle_
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/opt/stack/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack six.reraise(
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/opt/stack/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack check_server_
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/opt/stack/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack rv = f(*args, **kwargs)
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/opt/stack/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack check_server_
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/opt/stack/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack block_device_
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/opt/stack/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack base_options, instance_type, image_meta, root_device_name)
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/opt/stack/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack image_defined_bdms = image_propertie
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack File "/opt/stack/
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack bdm_dict.
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack AttributeError: 'unicode' object has no attribute 'update'
2015-07-20 14:45:27.450 12962 ERROR nova.api.openstack
2015-07-20 14:45:27.455 12962 INFO nova.api.openstack [req-079d1169-
Changed in nova: | |
assignee: | nobody → Zhenyu Zheng (zhengzhenyu) |
Changed in nova: | |
assignee: | Zhenyu Zheng (zhengzhenyu) → nobody |
status: | In Progress → Confirmed |
Changed in nova: | |
assignee: | nobody → Zhenyu Zheng (zhengzhenyu) |
Changed in cinder: | |
assignee: | nobody → Kimiya Yokoo (y-kimi) |
Changed in cinder: | |
status: | New → Confirmed |
Changed in cinder: | |
status: | Confirmed → In Progress |
Changed in nova: | |
assignee: | Zhenyu Zheng (zhengzhenyu) → nobody |
Changed in nova: | |
assignee: | nobody → omkar_telee (omkar-telee) |
Changed in cinder: | |
status: | In Progress → Won't Fix |
Fix proposed to branch: master /review. openstack. org/203500
Review: https:/