← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1444581] [NEW] Rebuild of a volume-backed instance fails

 

Public bug reported:

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/

** Affects: nova
     Importance: Undecided
     Assignee: Roman Podoliaka (rpodolyaka)
         Status: New


** Tags: volumes

** Changed in: nova
     Assignee: (unassigned) => Roman Podoliaka (rpodolyaka)

** Summary changed:

- Rebuild of volume-backed instance fails
+ Rebuild of a volume-backed instance fails

** Tags added: volumes

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1444581

Title:
  Rebuild of a volume-backed instance fails

Status in OpenStack Compute (Nova):
  New

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/

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1444581/+subscriptions


Follow ups

References