os disk of instance was deleted when failed to evacaute

Bug #1644712 reported by fanzhicheng
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Expired
Undecided
Unassigned

Bug Description

nova-compute: 2:13.1.2-0ubuntu2~cloud0
libvirt-bin: 1.3.1-1
storage: ceph

1: create 10 vm in one compute-node1
2: poweroff compute-node1
3: nova evacaute vm compute-node-2 one by one
4: i find the vm state is error, use commant: rbd -p compute ls |grep vm_id ,return none , the os disk of vm was deleted, From the nova-compute.log I get info:Timeout waiting for vif plugging callback for instance ,I read the nova code: 4938 /nova/virt/libvirt/driver.py ,found the self.cleanup(context, instance, network_info=network_info,
                             block_device_info=block_device_info)
destroy the disk, I think it is not reasonable for destroy_disks=True

Revision history for this message
Lee Yarwood (lyarwood) wrote :

Do you have any logs showing nova-compute removing the rbd volumes in question?

Changed in nova:
status: New → Incomplete
Revision history for this message
fanzhicheng (fanzc2) wrote : Re:[Bug 1644712] Re: os disk of instance was deleted when failed to evacaute

no logs for removing the rbd volumes, in fact I can not found the LOG output in this piece of code
cleanup():
   ....
if destroy_disks:
# NOTE(haomai): destroy volumes if needed
if CONF.libvirt.images_type == 'lvm':
self._cleanup_lvm(instance, block_device_info)
if CONF.libvirt.images_type == 'rbd':
self._cleanup_rbd(instance)

_cleanup_rbd()
LibvirtDriver._get_rbd_driver().cleanup_volumes(instance)

At 2016-11-27 19:49:51, "Lee Yarwood" <email address hidden> wrote:
>Do you have any logs showing nova-compute removing the rbd volumes in
>question?
>
>** Changed in: nova
> Status: New => Incomplete
>
>--
>You received this bug notification because you are subscribed to the bug
>report.
>https://bugs.launchpad.net/bugs/1644712
>
>Title:
> os disk of instance was deleted when failed to evacaute
>
>Status in OpenStack Compute (nova):
> Incomplete
>
>Bug description:
> nova-compute: 2:13.1.2-0ubuntu2~cloud0
> libvirt-bin: 1.3.1-1
> storage: ceph
>
> 1: create 10 vm in one compute-node1
> 2: poweroff compute-node1
> 3: nova evacaute vm compute-node-2 one by one
> 4: i find the vm state is error, use commant: rbd -p compute ls |grep vm_id ,return none , the os disk of vm was deleted, From the nova-compute.log I get info:Timeout waiting for vif plugging callback for instance ,I read the nova code: 4938 /nova/virt/libvirt/driver.py ,found the self.cleanup(context, instance, network_info=network_info,
> block_device_info=block_device_info)
> destroy the disk, I think it is not reasonable for destroy_disks=True
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/nova/+bug/1644712/+subscriptions

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Compute (nova) because there has been no activity for 60 days.]

Changed in nova:
status: Incomplete → Expired
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.