Bug 1952851
Summary: | Marketplace extract container does not request CPU or memory | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Kevin Rizza <krizza> |
Component: | OLM | Assignee: | 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.8 | ||
Target Milestone: | --- | ||
Target Release: | 4.7.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1938492 | Environment: | |
Last Closed: | 2021-05-19 15:16:26 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: | 1938492 | ||
Bug Blocks: | 1954880 |
Comment 3
Salvatore Colangelo
2021-04-29 11:05:23 UTC
Can you try again in a 4.7 cluster? Is it possible that this was run before the commit landed as part of the build? I just stood up a 4.7 cluster and definitely saw that the pod spec included the resource requests: image: registry.connect.redhat.com/jetstack/cert-manager-operator-bundle@sha256:a7cb0f2a1b263c432727d1ffe7ec8d0be470fcca26e1b568eb9d0dc64e96373e imagePullPolicy: Always name: pull resources: requests: cpu: 10m memory: 50Mi Checking a recent nightly's [1] CI job [2]: $ curl -s https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.7-e2e-aws/1389895746400030720/artifacts/e2e-aws/gather-extra/artifacts/pods.json | jq -r '.items[] | select(.metadata.namespace == "openshift-marketplace").spec.containers[] | select(.name == "extract").resources' { "requests": { "cpu": "10m", "memory": "50Mi" } } So that looks good to me. [1]: https://amd64.ocp.releases.ci.openshift.org/releasestream/4.7.0-0.nightly/release/4.7.0-0.nightly-2021-05-05-092347 [2]: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-nightly-4.7-e2e-aws/1389895746400030720 [scolange@scolange ~]$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.7.0-0.nightly-2021-05-12-004740 True False 8h Cluster version is 4.7.0-0.nightly-2021-05-12-004740 1. Install an operator in a general namespaces [scolange@scolange ~]$ oc -n openshift-operators get sub NAME PACKAGE SOURCE CHANNEL couchbase-enterprise-certified couchbase-enterprise-certified certified-operators stable [scolange@scolange ~]$ oc -n openshift-operators get csv NAME DISPLAY VERSION REPLACES PHASE couchbase-operator.v2.1.0 Couchbase Operator 2.1.0 couchbase-operator.v2.0.2 Succeeded elasticsearch-operator.5.0.4-9 OpenShift Elasticsearch Operator 5.0.4-9 Succeeded [scolange@scolange ~]$ oc -n openshift-operators get ip NAME CSV APPROVAL APPROVED install-zjfx9 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 1f71898d96a4756ed395c3b4cf532fd1fda9cdcfde32fe57eb6c73403b5d94a 1/1 62s 8h 58af419fc0a4e011e2f58ecd210d580cc53dc0cf38cac40f2dafcf09a2dd1ab 1/1 12s 94m 5c410a08445875ef0dd1a81b992b068f3a86bd2f5a79c433ad9e0bc4d62ef09 1/1 11s 81m c2a111c4993d0edd8d96e702f4e99548c343ab56acc2bda3b5d467e2aba9a01 1/1 72s 8h d27259f2e04c71151553b7a119210c18a60a14b4e7784aabb18e768f55f3ab0 1/1 33s 8h [scolange@scolange ~]$ oc -n openshift-marketplace get jobs 5c410a08445875ef0dd1a81b992b068f3a86bd2f5a79c433ad9e0bc4d62ef09 -o yaml apiVersion: batch/v1 kind: Job metadata: creationTimestamp: "2021-05-13T11:04:26Z" labels: controller-uid: 56da81ed-0ddb-451c-8170-123a9e44845a job-name: 5c410a08445875ef0dd1a81b992b068f3a86bd2f5a79c433ad9e0bc4d62ef09 managedFields: - apiVersion: batch/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:ownerReferences: .: {} k:{"uid":"0553fc5d-1f34-4a90-b312-bf70aae3d731"}: .: {} ... ... - -n - openshift-marketplace - -c - 5c410a08445875ef0dd1a81b992b068f3a86bd2f5a79c433ad9e0bc4d62ef09 - 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-13T11:04:37Z" conditions: - lastProbeTime: "2021-05-13T11:04:37Z" lastTransitionTime: "2021-05-13T11:04:37Z" status: "True" type: Complete startTime: "2021-05-13T11:04:26Z" succeeded: 1 Info regarding : resources: requests: cpu: 10m memory: 50Mi Now are present!! LGMT!! 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.7.11 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:1550 |