Bug 1962429

Summary: Cannot create windows vm because kubemacpool.io denied the request
Product: OpenShift Container Platform Reporter: Guohua Ouyang <gouyang>
Component: Console Kubevirt PluginAssignee: Matan Schatzman <mschatzm>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: high Docs Contact:
Priority: high    
Version: 4.8CC: aos-bugs, gouyang, mschatzm, yzamir
Target Milestone: ---Keywords: TestBlocker
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:09:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
error on create windows vm none

Description Guohua Ouyang 2021-05-20 03:32:56 UTC
Created attachment 1785010 [details]
error on create windows vm

Description of problem:
Cannot create windows vm because kubemacpool.io denied the request:

admission webhook "mutatevirtualmachines.kubemacpool.io" denied the request: v1.VirtualMachine.Spec: v1.VirtualMachineSpec.Template: v1.VirtualMachineInstanceTemplateSpec.Spec: v1.VirtualMachineInstanceSpec.Volumes: []v1.Volume: v1.Volume.VolumeSource: ContainerDisk: v1.ContainerDiskSource.Image: ReadString: expects " or n, but found {, error found in #10 byte of ...|{"image":{}},"name":|..., bigger context ...|conds":3600,"volumes":[{"containerDisk":{"image":{}},"name":"windows-guest-tools"},{"dataVolume":{"n|...

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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Matan Schatzman 2021-05-25 08:37:14 UTC
@gouyang I tried to reproduce it on uit03 but it's working for me. can you confirm it still going on? if so please send me server details.

Comment 2 Guohua Ouyang 2021-05-25 10:36:33 UTC
(In reply to Matan Schatzman from comment #1)
> @gouyang I tried to reproduce it on uit03 but it's working for
> me. can you confirm it still going on? if so please send me server details.

Clear the needinfo as Matan already find that it only happens when branding is openshift, not okd.

Comment 5 Guohua Ouyang 2021-06-21 06:30:44 UTC
verified on 4.8.0-fc.9.

Comment 7 errata-xmlrpc 2021-07-27 23:09:30 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 Container Platform 4.8.2 bug fix and 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-2021:2438