Bug 2165943 - Error While applying Migration Policy
Summary: Error While applying Migration Policy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 4.13.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.13.0
Assignee: lpivarc
QA Contact: Akriti Gupta
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-31 14:21 UTC by Akriti Gupta
Modified: 2023-05-18 02:57 UTC (History)
1 user (show)

Fixed In Version: hco-bundle-registry-container-v4.13.0.rhel9-1639
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-18 02:57:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
migration_policy.yaml (326 bytes, text/plain)
2023-01-31 14:21 UTC, Akriti Gupta
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt kubevirt pull 9137 0 None Merged Remove PSASeccompAllowsUserfaultfd 2023-03-01 10:00:31 UTC
Red Hat Issue Tracker CNV-24895 0 None None None 2023-01-31 14:24:19 UTC
Red Hat Product Errata RHSA-2023:3205 0 None None None 2023-05-18 02:57:49 UTC

Description Akriti Gupta 2023-01-31 14:21:59 UTC
Created attachment 1941310 [details]
migration_policy.yaml

Description of problem:
unable to create migration policy on 4.13 setup

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


How reproducible:


Steps to Reproduce:
1.use the attached yaml to create migration Policy on 4.13 
2.
3.

Actual results:
[akrgupta@fedora auth]$ oc apply -f migration_policy.yaml
Error from server: error when creating "migration_policy.yaml": admission webhook "migration-policy-validator.kubevirt.io" denied the request: resource name may not be empty

Expected results:
Migration policy successfully applied

Additional info:

Comment 1 Antonio Cardace 2023-02-01 09:44:46 UTC
This will be fixed by https://github.com/kubevirt/kubevirt/pull/9137.

Comment 2 Akriti Gupta 2023-03-06 09:05:41 UTC
verified with  v4.13.0.rhel9-1689
[akriti@fedora ~]$ oc apply -f migration_policy.yaml 
migrationpolicy.migrations.kubevirt.io/policy2 created
[akriti@fedora ~]$ oc get migrationpolicy
NAME      AGE
policy2   71s

Migration policy gets created successfully

Comment 4 errata-xmlrpc 2023-05-18 02:57:02 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: OpenShift Virtualization 4.13.0 Images security, bug fix, and enhancement 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-2023:3205


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