Instance migration/Instance resize with lvm volumes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Triaged
|
Medium
|
Dr. Clemens Hardewig |
Bug Description
This bug was observed when investigating the issue described in Bug: #1755266 (see comments in fix proposal https:/
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/
Changed in nova: | |
assignee: | nobody → Dr. Clemens Hardewig (bringha1) |
Yup this is a known issue. Chris Friesen from WindRiver had an old patch (from Titanium Cloud and what is now StarlingX) for lvm resize support: https:/ /review. opendev. org/#/c/ 337334/