Bug 2015327

Summary: hostpath-provisioner pods do not have any resources.requests values set up
Product: Container Native Virtualization (CNV) Reporter: Debarati Basu-Nag <dbasunag>
Component: StorageAssignee: Alexander Wels <awels>
Status: CLOSED ERRATA QA Contact: Yan Du <yadu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.10.0CC: cnv-qe-bugs, ngavrilo, yadu
Target Milestone: ---   
Target Release: 4.10.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: 2022-03-16 15:56:11 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 Debarati Basu-Nag 2021-10-18 23:24:56 UTC
Description of problem: Hostpath provisioner pods are missing resources.requests values


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

How reproducible:
100%

Steps to Reproduce:
1. Run kubectl get pod <hostpath-provisioner_pod_name> -n openshift-cnv -o yaml
2. Check spec.containers[0].resources is empty
3.

Actual results:
 name: hostpath-provisioner
    resources: {}


Expected results:
Appropriate resources.requests fields should be populated

Additional info:

Comment 1 Yan Du 2021-12-08 03:13:21 UTC
Test on CNV-4.10.0-431, hostpath provisioner v4.10.0-38, issue have been fixed.

$ oc get pod hostpath-provisioner-wkspv -n openshift-cnv -o yaml
--------8<-------------
    resources:
      requests:
        cpu: 10m
        memory: 150Mi

Comment 6 errata-xmlrpc 2022-03-16 15:56:11 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.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-2022:0947