Bug 1991691

Summary: Enable DownwardMetrics FeatureGate via HCO CR
Product: Container Native Virtualization (CNV) Reporter: Kedar Bidarkar <kbidarka>
Component: InstallationAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 4.9.0CC: cnv-qe-bugs, ibesso, kmajcher, stirabos
Target Milestone: ---Keywords: Reopened
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hco-bundle-registry-container-v4.9.0-153 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-02 15:59:51 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 Kedar Bidarkar 2021-08-09 17:41:00 UTC
Description of problem:

Creating a VM With vhostmd disks/volumes fails with the message "DownwardMetrics FeatureGate is not enabled"

The output from the below command shows no mention of the DownwardMetrics FeatureGate.

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

How reproducible:


Steps to Reproduce:
1. Create a VM with vhostmd disks/volumes
2.
3.

Actual results:
VM Creation fails with the message  "DownwardMetrics FeatureGate is not enabled"

Expected results:
VM Creation is successful

Additional info:

Works fine with enabling the featureGate via JSON Patch Annotation

Comment 1 sgott 2021-08-10 13:37:33 UTC
Re-assigning this to HCO as this appears to be related to installation. Please feel free to re-assign if you think this is in error.

Comment 2 Krzysztof Majcher 2021-08-17 10:29:27 UTC
Currently this feature gate is not enabled. 
Please provide us with business justification why you would need and we will then decide whether to implement it.
Without sound justification, this bug will be closed as 'not a bug'.

Comment 3 Krzysztof Majcher 2021-08-23 09:17:33 UTC
Closing as no justification for doing it was given.

Comment 5 Kedar Bidarkar 2021-08-30 17:11:17 UTC
[kbidarka@localhost fedora]$ oc get kubevirt kubevirt-kubevirt-hyperconverged -n openshift-cnv -o yaml | grep -A 13 developerConfiguration
         
--
    developerConfiguration:
      diskVerification:
        memoryLimit: 2G
      featureGates:
      - DataVolumes
      - SRIOV
      - LiveMigration
      - CPUManager
      - CPUNodeDiscovery
      - Snapshot
      - HotplugVolumes
      - GPU
      - HostDevices
      - DownwardMetrics

We now see the "DownwardMetrics" FeatureGate as seen above from the kubevirt-kubevirt-hyperconverged.

Comment 9 errata-xmlrpc 2021-11-02 15:59:51 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.9.0 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-2021:4104

Comment 10 errata-xmlrpc 2021-11-02 16:02:14 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.9.0 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-2021:4104