Bug 1532870 - Meaningless validation message for suspended VM hibernation disks remove attempt
Summary: Meaningless validation message for suspended VM hibernation disks remove attempt
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.2.1
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.2.1
: ---
Assignee: Tal Nisan
QA Contact: Elad
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-09 23:11 UTC by Elad
Modified: 2018-02-12 11:57 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-02-12 11:57:51 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)
engine.log (1.41 MB, text/plain)
2018-01-09 23:11 UTC, Elad
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 86167 0 master MERGED core: Show proper error messages when attempting to remove memory disks 2018-01-10 16:52:14 UTC

Description Elad 2018-01-09 23:11:30 UTC
Created attachment 1379270 [details]
engine.log

Description of problem:
Suspended VM hibernation disks removal fails with the following:

2018-01-10 01:04:36,863+02 WARN  [org.ovirt.engine.core.bll.storage.disk.RemoveDiskCommand] (default task-17) [8f68473e-f35b-42a1-b7b6-4002fb75bdd7] Validation of action 'RemoveDisk' failed for user admin@internal-authz. Reasons: VAR__ACTION__REMOVE,VAR__TYPE__DISK

Version-Release number of selected component (if applicable):
rhvm-4.2.1-0.2.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1. Suspend a VM
2. Try to remove its hibernation_metadata or hibernation_memory newly created disks

Actual results:
Hibernation disks removal fails with the mentioned warning

Expected results:
Hibernation disks removal should succeed or blocked

Additional info:
engine.log

Comment 1 Elad 2018-01-21 16:03:09 UTC
Suspended VM's hibernation disks removal attempt is blocked with a proper message

2018-01-21 18:01:53,699+02 WARN  [org.ovirt.engine.core.bll.storage.disk.RemoveDiskCommand] (default task-28) [699d45b0-7aa5-438a-97cd-a0414264fc7c] Validation of action 'RemoveDisk' failed for user admin@internal-authz. Reasons: VAR__ACTION__REMOVE,VAR__TYPE__DISK,ACTION_TYPE_FAILED_CANNOT_REMOVE_HIBERNATION_DISK


Used:
rhvm-4.2.1.2-0.1.el7.noarch

Comment 2 Sandro Bonazzola 2018-02-12 11:57:51 UTC
This bugzilla is included in oVirt 4.2.1 release, published on Feb 12th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.1 release, it has been closed with a resolution of CURRENT RELEASE.

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


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