Rebuild of a volume-backed instance fails

Bug #1444581 reported by Roman Podoliaka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Low
Roman Podoliaka

Bug Description

If you try to rebuild a volume-backed instance, it fails.

malor@ubuntu:~/devstack$ nova image-list
+--------------------------------------+---------------------------------+--------+--------+
| ID | Name | Status | Server |
+--------------------------------------+---------------------------------+--------+--------+
| 889d4783-de7f-4277-a2ff-46e6542a7c54 | cirros-0.3.2-x86_64-uec | ACTIVE | |
| 867aa81c-ddc3-45e3-9067-b70166c9b2e3 | cirros-0.3.2-x86_64-uec-kernel | ACTIVE | |
| b8db9175-1368-4b45-a914-3ba5edcc044a | cirros-0.3.2-x86_64-uec-ramdisk | ACTIVE | |
| b92c34bb-91ee-426f-b945-8e341a0c8bdb | testvm | ACTIVE | |
+--------------------------------------+---------------------------------+--------+--------+
malor@ubuntu:~/devstack$ neutron net-list
+--------------------------------------+---------+--------------------------------------------------+
| id | name | subnets |
+--------------------------------------+---------+--------------------------------------------------+
| 243fbe0a-3be7-453b-9884-7df837461769 | private | dde8f0cc-6db0-4d6e-8e72-470535791055 10.0.0.0/24 |
| f4e4436c-27e5-4411-83d2-611f8d9af45c | public | d753749d-0e14-4927-b9a3-cfccd6d21e09 |
+--------------------------------------+---------+--------------------------------------------------+

Steps to reproduce:

1) build a volume-backed instance

nova boot --flavor m1.nano --nic net-id=243fbe0a-3be7-453b-9884-7df837461769 --block-device source=image,id=889d4783-de7f-4277-a2ff-46e6542a7c54,dest=volume,size=1,shutdown=preserve,bootindex=0 demo

2) rebuild it with a new image

nova rebuild demo b92c34bb-91ee-426f-b945-8e341a0c8bdb

Expected result:

   instance is rebuilt using the new image and is in ACTIVE state

Actual result:

  instance is in ERROR state

  Traceback from nova-compute http://paste.openstack.org/show/204014/

Tags: volumes
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :
Changed in nova:
assignee: nobody → Roman Podoliaka (rpodolyaka)
summary: - Rebuild of volume-backed instance fails
+ Rebuild of a volume-backed instance fails
tags: added: volumes
Changed in nova:
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.