Bug 1838066

Summary: [CNV deployment] kubevirt failing to create cpu-plugin-configmap obsoleteCPUs
Product: Container Native Virtualization (CNV) Reporter: Lukas Bednar <lbednar>
Component: SSPAssignee: Karel Šimon <ksimon>
Status: CLOSED ERRATA QA Contact: Israel Pinto <ipinto>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 2.4.0CC: cnv-qe-bugs, lbednar, ncredi, oyahud, rnetser, stirabos
Target Milestone: ---Keywords: TestBlocker
Target Release: 2.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kubevirt-ssp-operator-container-v2.4.0-33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-28 19:10:07 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:

Description Lukas Bednar 2020-05-20 12:38:45 UTC
Description of problem:

    - lastHeartbeatTime: "2020-05-20T12:26:32Z"
      lastTransitionTime: "2020-05-20T11:48:54Z"
      message: |-
        KubeVirt is not available: An error occurred during deployment: unable to create config map &ConfigMap{ObjectMeta:{kubevirt-cpu-plugin-configmap  openshift-cnv    0 0001-01-01 00:00:00 +0000 UTC <nil> <nil> map[app.kubernetes.io/managed-by:kubevirt-operator] map[kubevirt.io/install-strategy-identifier:8b96556cbfff6161782480cef7f5eb410d65be18 kubevirt.io/install-strategy-registry:registry-proxy.engineering.redhat.com/rh-osbs kubevirt.io/install-strategy-version:sha256:6935af5e1b7464190254b9b8f86d6af0afefe987b670eb0050cb73883cbbf132] [] []  []},Data:map[string]string{cpu-plugin-configmap.yaml: obsoleteCPUs:
        - "486"
        - "pentium"
        - "pentium2"
        - "pentium3"
        - "pentiumpro"
        - "coreduo"
        - "n270"
        - "core2duo"
        - "Conroe"
        - "athlon"
        - "phenom"
        minCPU: "Penryn",},BinaryData:map[string][]byte{},}: configmaps "kubevirt-cpu-plugin-configmap" already exists
      reason: KubeVirtNotAvailable
      status: "False"
      type: Available


Version-Release number of selected component (if applicable):
registry-proxy.engineering.redhat.com/rh-osbs/container-native-virtualization-hco-bundle-registry:v2.3.0-226

OCP-4.5


How reproducible: 100%


Steps to Reproduce:
1. Try to deploy CNV
2.
3.

Actual results:
Seeing above error


Expected results: CNV deployed successfully 


Additional info:

Comment 1 Simone Tiraboschi 2020-05-20 14:32:30 UTC
This probably comes from https://github.com/kubevirt/kubevirt/pull/3133 that adds to virt-operator the code to create kubevirt-cpu-plugin-configmap which was previously on ssp-operator.
Now the question is if we have to change something on the HCO side regarding how we trigger ssp-operator or if we are simply consuming a wrong version of ssp-operator.

Comment 2 Karel Šimon 2020-05-21 04:31:21 UTC
We are working on a fix which deletes labeller from ssp operator.

Comment 3 Karel Šimon 2020-05-21 07:16:08 UTC
Fixed by: https://github.com/MarSik/kubevirt-ssp-operator/pull/156

Comment 7 Ruth Netser 2020-06-25 13:43:34 UTC
Verified on CNV-2.4.0, OCP: 4.5.0-rc.2, SSP build 58:
CNV is deployed, kubevirt-cpu-plugin-configmap is successfully created.

Comment 10 errata-xmlrpc 2020-07-28 19:10:07 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, 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-2020:3194