Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When a VM is being deleted attached extra disks also get deleted and does not show up as available disk in VM #746

Open
ajaybso opened this issue Jun 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ajaybso
Copy link

ajaybso commented Jun 26, 2024

SUMMARY

Disks created externally but attached to VM ( in addition to system disk) also gets deleted when vm is deleted by Ansible.

COMPONENT NAME
STEPS TO REPRODUCE

Create external disk.
Attach the disk to VM using disk name to the VM being instantiated in same script after VM creation tasks is completed.
Check the VM status , showing disk attached to the VM as specified.
Log in to VM on console.
do fdisk -l to see available disks.
It only shows system disk though console displays vm has disk attached.
Destroy the VM with ovirt_vms using absent state.
VM is destroyed along with the attached disk. (Check in Storage -Disks in Ovirt console)

EXPECTED RESULTS

Non OS(data) attached disks should not be destroyed with VM deletion.

ACTUAL RESULTS

Disks disappear from Ovirt Disk console.


@ajaybso ajaybso added the bug Something isn't working label Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant