Bug 1979797 - Ask user for confirmation when the deleted storage domain has leases of VMs that has disk in other SDs
Summary: Ask user for confirmation when the deleted storage domain has leases of VMs t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.4.6
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: Bella Khizgiyaev
QA Contact: Ilia Markelov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-07 05:27 UTC by nijin ashok
Modified: 2022-05-26 16:22 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.5.0
Doc Type: Enhancement
Doc Text:
In this release, a new warning message displays in the removing storage domain window if the selected domain has leases for entities that were raised on a different storage domain.
Clone Of:
Environment:
Last Closed: 2022-05-26 16:22:29 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:4711 0 None None None 2022-05-26 16:22:55 UTC
oVirt gerrit 116932 0 master MERGED webadmin: add a warning on removing a Storage Domain with volume leases 2021-10-12 10:41:10 UTC

Description nijin ashok 2021-07-07 05:27:41 UTC
Description of problem:

This is a follow-up of https://bugzilla.redhat.com/show_bug.cgi?id=1976088#c17.

As a part of decommissioning a storage domain, users migrates all the disks and removed the SD from RHV-M. The lease volume is not migrated automatically when a user migrates a disk and they usually miss changing it manually. Although there is a warning in the events, it gets unnoticed. I think it would be great if there is a pop-up warning asking the user to confirm the removal of the storage domain when it still has a lease for VMs that are having disks in other SDs.


Version-Release number of selected component (if applicable):

rhvm-4.4.6.8-0.1.el8ev.noarch

Steps to Reproduce:

[1] Create a VM with the lease.
[2] Move the disk to another storage domain.
[3] Detach and remove the storage domain. There is only an audit log event that gets unnoticed.

Comment 1 Bella Khizgiyaev 2021-10-18 08:10:51 UTC
The warning message was added at the storage domain removal window.

It can be verified with the steps listed above.

Comment 10 Ilia Markelov 2022-03-25 09:26:09 UTC
Verified

Got the warning message in the "Detach Storage" window while removing the domain, that was set as the lease volume, after moving the VM's disk.

Version 4.5.0.1-601.f26e9ea8cac5.3.el8ev 
vdsm-4.50.0.10-1.el8ev.x86_64

Comment 15 errata-xmlrpc 2022-05-26 16:22:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.0] security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:4711


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