Bug 2062227 - sriovLiveMigration should not be enabled on sno clusters
Summary: sriovLiveMigration should not be enabled on sno clusters
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Installation
Version: 4.10.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.10.1
Assignee: Simone Tiraboschi
QA Contact: Debarati Basu-Nag
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-09 12:39 UTC by Debarati Basu-Nag
Modified: 2022-05-18 20:28 UTC (History)
3 users (show)

Fixed In Version: hco-bundle-registry-container-v4.10.1-6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-18 20:27:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt hyperconverged-cluster-operator pull 1819 0 None Merged Ignore sriovLiveMigration FG on SNO 2022-03-16 08:43:07 UTC
Github kubevirt hyperconverged-cluster-operator pull 1820 0 None Merged [release-1.6] Ignore sriovLiveMigration FG on SNO 2022-03-18 10:10:27 UTC
Red Hat Product Errata RHSA-2022:4668 0 None None None 2022-05-18 20:28:56 UTC

Description Debarati Basu-Nag 2022-03-09 12:39:00 UTC
Description of problem: sriovLiveMigration should not be enabled on sno clusters


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

How reproducible:
100% (checked two sno clusters)

Steps to Reproduce:
1. run command "kubectl get hco kubevirt-hyperconverged -n openshift-cnv -o json | jq ".spec"" against sno cluster
2. validate that spec.featureGates.sriovLiveMigration is True by default 
3.

Actual results:
==============
cnv-qe-jenkins@cnv-qe-infra-01:~$ kubectl get hco kubevirt-hyperconverged -n openshift-cnv -o json | jq ".spec"
{
  "certConfig": {
    "ca": {
      "duration": "48h0m0s",
      "renewBefore": "24h0m0s"
    },
    "server": {
      "duration": "24h0m0s",
      "renewBefore": "12h0m0s"
    }
  },
  "featureGates": {
    "enableCommonBootImageImport": true,
    "sriovLiveMigration": true,
    "withHostPassthroughCPU": false
  },


Expected results:
On a SNO cluster, by default it should be disabled.

Additional info:

Comment 1 Debarati Basu-Nag 2022-03-29 17:15:53 UTC
Validated against 4.10.1-36:
===========================
cnv-qe-jenkins@cnv-qe-infra-01:~$ oc explain hco.spec.featureGates.sriovLiveMigration
KIND:     HyperConverged
VERSION:  hco.kubevirt.io/v1beta1

FIELD:    sriovLiveMigration <boolean>

DESCRIPTION:
     Allow migrating a virtual machine with SRIOV interfaces. Ignored on single
     node clusters.
cnv-qe-jenkins@cnv-qe-infra-01:~$
==========================
Validated kubevirt.spec.configuration.developerConfiguration.featureGates does not show sriovLiveMigration.

Enabling/disabling via hco had no effect.

Comment 7 errata-xmlrpc 2022-05-18 20:27:26 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.10.1 Images security and bug fix 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-2022:4668


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