-
Bug
-
Resolution: Done-Errata
-
None
-
False
-
-
False
-
RELEASE_PENDING
-
---
-
---
-
-
-
High
-
No
Description of problem:
Can't create a snapshot for VM with containerDisk and mounted PVC disk
> $ oc get vmsnapshot --watch
> NAME SOURCEKIND SOURCENAME PHASE READYTOUSE CREATIONTIME ERROR
> snapshot-uninterested-cheetah VirtualMachine vm-fedora-with-pvc InProgress false
> snapshot-uninterested-cheetah VirtualMachine vm-fedora-with-pvc Failed false
> $ oc get vmsnapshot snapshot-uninterested-cheetah -o json | jq .status.conditions
>[
>.
>
>]
With unmounted second disk the snapshot succesfully completed:
> $ oc get vmsnapshot
> NAME SOURCEKIND SOURCENAME PHASE READYTOUSE CREATIONTIME ERROR
> snapshot-recent-flyingfish VirtualMachine vm-fedora-with-pvc Succeeded true 8s
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. create VM with containerDisk (root) and PVC (second)
2. go to the VM console
3. create ext4 filesystem on the second disk -
mkfs.ext4 /dev/vdb
4. mount second disk -
mkdir /mnt/test
mount /dev/vdb /mnt/test
5. create new file inside that folder with some text - e.g. vi /mnt/test/TEST_FILE
6. try to make a snapshot
Actual results:
failed to create snapshot
Expected results:
snapshot created succesfully
Additional info:
- external trackers
- links to
-
RHEA-2023:124054 OpenShift Virtualization 4.14.1 Images