This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2251237 - VM's disk is deleted when backup is taken for its root disk
Summary: VM's disk is deleted when backup is taken for its root disk
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: ---
Assignee: Cinder Bugs List
QA Contact: Yosi Ben Shimon
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-11-23 14:50 UTC by Alex Stupnikov
Modified: 2025-05-23 04:25 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2025-01-22 13:30:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-30546 0 None None None 2023-11-23 14:52:03 UTC
Red Hat Issue Tracker OSP-33506 0 None None None 2025-01-22 13:30:42 UTC
Red Hat Issue Tracker   OSPRH-13253 0 None None None 2025-01-22 13:30:41 UTC

Description Alex Stupnikov 2023-11-23 14:50:13 UTC
Description of problem:
Backup process seem to be broken for active VM when Cinder when NFS backend is used for cinder-volume and cinder-backup services:

- at first a separate volume is created from VM's disk
- then separate CoW image is created on top of original disk
- then original disk is deleted
- then a separate volume created during first step is deleted as well

As a result, VM is left with CoW disk image without backing image and Nova generates the following error when instance is rebooted:

2023-11-16 17:52:16.219 2 ERROR nova.virt.libvirt.guest libvirt.libvirtError: Cannot access backing file '/var/lib/nova/mnt/MNT-ID/volume-UUID1' of storage file '/var/lib/nova/mnt/MNT-ID/volume-UUID1.UUID2' (as uid:107, gid:107): No such file or directory


Version-Release number of selected component (if applicable):
RHOSP 17.0 and RHOSP 17.1.1


How reproducible:
- ask cinder-backup to create a backup of running instance in environment with NFS backend used for cinder and cinder-backup


Actual results:
VM's original disk image is removed while CoW image created on top of it still points to original image.

Expected results:
Original image is either left or CoW image should point to another disk.


Additional info:
Log extracts will be provided privately.

Comment 14 Red Hat Bugzilla 2025-05-23 04:25:10 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.