Bug 1980591 - Validation rules do not check placement policy affinity of RHV VMs
Summary: Validation rules do not check placement policy affinity of RHV VMs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Migration Toolkit for Virtualization
Classification: Red Hat
Component: Analytics
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 2.1.0
Assignee: Peter McGowan
QA Contact: kpunwatk
Avital Pinnick
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-09 00:35 UTC by Nandini Chandra
Modified: 2021-08-26 07:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-26 07:09:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screen shot of RHV VM edit pop up (104.50 KB, image/png)
2021-07-09 00:35 UTC, Nandini Chandra
no flags Details
Screenshot for Placement policy affinity. (126.33 KB, image/png)
2021-08-11 05:58 UTC, kpunwatk
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2021:3278 0 None None None 2021-08-26 07:09:38 UTC

Description Nandini Chandra 2021-07-09 00:35:16 UTC
Created attachment 1799837 [details]
screen shot of RHV VM edit pop up

Description of problem:
-----------------------
RHV VMs could have one of the following placement policy affinity types:
1)migratable 2)user_migratable 3)pinned .

The 'migratable' affinity type is not a valid policy affinity type and prevents Forklift migration. This type corresponds to "Allow manual and automatic migration" in VM's Host configuration in the RHV UI.As of MTV 2.1, when a VM with this affinity type is migrated, migration fails with this error:
MappingRulesVerificationFailed: VM has placement policy affinity set to `migratable`. See attached screen shot of a RHV VM with affinity type set to 
migratable - Allow manual and automatic migration.

It would be great if validation service could check placement policy affinity type for RHV VMs and report if a VM cannot be migrated.


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


How reproducible:
-----------------


Steps to Reproduce:
-------------------
1.
2.
3.


Actual results:
---------------


Expected results:
-----------------


Additional info:
----------------

Comment 2 kpunwatk 2021-08-11 05:58:18 UTC
Created attachment 1812986 [details]
Screenshot for Placement policy affinity.

Verified on MTV build 2.1.0-44 IIB 96817.

Comment 3 kpunwatk 2021-08-11 06:00:46 UTC
Comment on attachment 1812986 [details]
Screenshot for Placement policy affinity.

Validation service checks placement policy affinity type for RHV VMs and report a VM cannot be migrated.

Comment 6 errata-xmlrpc 2021-08-26 07:09:25 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 (Migration Toolkit for Virtualization 2.1.0), 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/RHEA-2021:3278


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