← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1831657] [NEW] Instance migration/Instance resize with lvm volumes

 

Public bug reported:

This bug was observed when investigating the issue described in Bug:
#1755266 (see comments in fix proposal
https://review.opendev.org/#/c/618621/)

When going to resize or migrate an instance whose storage is provided
via lvm, the lvm volumes on source node are not cleaned up but remain
with the node and fill up the volume group; currently they need to be
removed manually via lvremove. This affects pike, queens, rocky and
stein at least.

Steps to reproduce

1.) create an instance with lvm volumes (eg root/swap/...)
2.) Perform an instance resize
3.) after successful resizing, the instance is moved too a different node
4.) check the volumes in vg on source node

The lvm volumes from the old instance are still there

The delete function in /nova/virt/libvirt/driver.py, to _cleanup_resize
is not handling this.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1831657

Title:
  Instance migration/Instance resize with lvm volumes

Status in OpenStack Compute (nova):
  New

Bug description:
  This bug was observed when investigating the issue described in Bug:
  #1755266 (see comments in fix proposal
  https://review.opendev.org/#/c/618621/)

  When going to resize or migrate an instance whose storage is provided
  via lvm, the lvm volumes on source node are not cleaned up but remain
  with the node and fill up the volume group; currently they need to be
  removed manually via lvremove. This affects pike, queens, rocky and
  stein at least.

  Steps to reproduce

  1.) create an instance with lvm volumes (eg root/swap/...)
  2.) Perform an instance resize
  3.) after successful resizing, the instance is moved too a different node
  4.) check the volumes in vg on source node

  The lvm volumes from the old instance are still there

  The delete function in /nova/virt/libvirt/driver.py, to
  _cleanup_resize is not handling this.

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