rebuild vm not with the specified image

Bug #1640415 reported by zhaolihui
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Undecided
Unassigned

Bug Description

Description
===========
rebuild vm not with the specified image

Steps to reproduce
==================
1.create volume with image
cinder create --image cirros --name vol_image 1
follow command as above, the vol_image id is 469b36df-c8fe-40fc-aa6c-e973c27f2294

2.create vm from vol_image
nova boot vm_name --boot-volume 469b36df-c8fe-40fc-aa6c-e973c27f2294 --flavor xxxxxx --nic net-name=xxxxxx
login the vm and create some files.

3.rebuild vm with specified image
nova rebuild vm_name new_image_id

Expected result
===============
There will be a vm with new image

Actual result
=============
The vm is still original vm, the image not changed,and the files are still there

Environment
===========
1. Devstack with newton version

zhaolihui (zhaolh)
Changed in nova:
assignee: nobody → zhaolihui (zhaolh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/395908

Changed in nova:
status: New → In Progress
zhaolihui (zhaolh)
Changed in nova:
assignee: zhaolihui (zhaolh) → nobody
Changed in nova:
status: In Progress → New
Changed in nova:
status: New → Confirmed
Revision history for this message
Anusha Unnam (anusha-unnam) wrote :

I reproduced this bug, when I did rebuild it is actually showing the new image in 'nova show' but it is actually booting from volume not the new image and the volume is not detached and is still associated to the vm. So vm remains same.

Revision history for this message
Anusha Unnam (anusha-unnam) wrote :

Looks like there are several bugs reported on this issue. Hence marking this bug as duplicate.

https://bugs.launchpad.net/nova/+bug/1378689
https://bugs.launchpad.net/nova/+bug/1482040

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Michael Still (<email address hidden>) on branch: master
Review: https://review.openstack.org/395908
Reason: This patch has been sitting unchanged for more than 12 weeks. I am therefore going to abandon it to keep the review queue sane. Please feel free to restore the change if you're still working on it.

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.