Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1954880

Summary: Marketplace extract container does not request CPU or memory
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: OLMAssignee: Kevin Rizza <krizza>
OLM sub component: OLM QA Contact: Salvatore Colangelo <scolange>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: ccoleman, jiazha, jlanford, nhale, scolange, tflannag, wking
Version: 4.8Keywords: Triaged
Target Milestone: ---   
Target Release: 4.6.z   
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-05-26 06:27:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1952851    
Bug Blocks:    

Comment 4 Salvatore Colangelo 2021-05-17 12:39:17 UTC
[scolange@scolange ~]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.6.0-0.nightly-2021-05-15-131411   True        False         17m     Cluster version is 4.6.0-0.nightly-2021-05-15-131411



1. Install an operator in a general namespaces


[scolange@scolange ~]$ oc -n scolange get sub
NAME                             PACKAGE                          SOURCE                CHANNEL
couchbase-enterprise-certified   couchbase-enterprise-certified   certified-operators   stable

[scolange@scolange ~]$ oc -n scolange get csv
NAME                        DISPLAY              VERSION   REPLACES                    PHASE
couchbase-operator.v2.1.0   Couchbase Operator   2.1.0     couchbase-operator.v2.0.2   Succeeded

[scolange@scolange ~]$ oc -n scolange get ip
NAME            CSV                         APPROVAL    APPROVED
install-hvm84   couchbase-operator.v2.1.0   Automatic   true

2. Verify the jobs from origin namespace in this case ( openshift-marketplace ) 

[scolange@scolange ~]$ oc -n openshift-marketplace get jobs
NAME                                                              COMPLETIONS   DURATION   AGE
5c410a08445875ef0dd1a81b992b068f3a86bd2f5a79c433ad9e0bc4d62ef09   1/1           25s        4m41s


[scolange@scolange ~]$ oc -n openshift-marketplace get jobs 5c410a08445875ef0dd1a81b992b068f3a86bd2f5a79c433ad9e0bc4d62ef09 -o yaml
apiVersion: batch/v1
kind: Job
metadata:
  creationTimestamp: "2021-05-17T12:33:00Z"
  labels:
    controller-uid: df5ffee9-0835-472d-9421-1a7977033b31
    job-name: 5c410a08445875ef0dd1a81b992b068f3a86bd2f5a79c433ad9e0bc4d62ef09
  managedFields:
  - apiVersion: batch/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:ownerReferences:
          .: {}
...
...
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /bundle
          name: bundle
      - command:
        - /util/cpb
        - /bundle
        image: registry.connect.redhat.com/couchbase/operator-bundle@sha256:78656ed0df41696e67429609e3262ec31f5ca9f5ca946300e6a4a6503c1bbd18
        imagePullPolicy: Always
        name: pull
        resources:
          requests:
            cpu: 10m
            memory: 50Mi
..
status:
  completionTime: "2021-05-17T12:33:25Z"
  conditions:
  - lastProbeTime: "2021-05-17T12:33:25Z"
    lastTransitionTime: "2021-05-17T12:33:25Z"
    status: "True"
    type: Complete
  startTime: "2021-05-17T12:33:00Z"
  succeeded: 1


LGMT

Comment 6 errata-xmlrpc 2021-05-26 06:27:55 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 (OpenShift Container Platform 4.6.30 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/RHBA-2021:1565