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:
This will be fixed by https://github.com/kubevirt/kubevirt/pull/9137.
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
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