Bug 1905331 - openshift-multus initContainer multus-binary-copy, etc. are not requesting required resources: cpu, memory
Summary: openshift-multus initContainer multus-binary-copy, etc. are not requesting re...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.7
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: 4.8.0
Assignee: Douglas Smith
QA Contact: Weibin Liang
URL:
Whiteboard:
: 1938469 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-08 03:46 UTC by W. Trevor King
Modified: 2021-07-27 22:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 22:34:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-network-operator pull 1038 0 None open Bug 1905331: Set requests on multus components 2021-03-26 01:27:33 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:35:11 UTC

Description W. Trevor King 2020-12-08 03:46:42 UTC
This bug was initially created as a copy of Bug #1905298, but for multus.  Per Clayton, containers and initContainers must set both of these going forward [1], while [2] is showing:

openshift-multus/multus-8nksr container initContainers[0] (multus-binary-copy) is not requesting required resources: cpu, memory
openshift-multus/multus-8nksr container initContainers[1] (egress-router-binary-copy) is not requesting required resources: cpu, memory
openshift-multus/multus-8nksr container initContainers[2] (cni-plugins) is not requesting required resources: cpu, memory
openshift-multus/multus-8nksr container initContainers[3] (routeoverride-cni) is not requesting required resources: cpu, memory
openshift-multus/multus-8nksr container initContainers[4] (whereabouts-cni-bincopy) is not requesting required resources: cpu, memory
openshift-multus/multus-8nksr container initContainers[5] (whereabouts-cni) is not requesting required resources: cpu, memory
openshift-multus/multus-admission-controller-7g792 container containers[0] (multus-admission-controller) is not requesting required resources: memory
openshift-multus/multus-admission-controller-jlll5 container containers[0] (multus-admission-controller) is not requesting required resources: memory
openshift-multus/multus-admission-controller-khk5r container containers[0] (multus-admission-controller) is not requesting required resources: memory
openshift-multus/multus-f58zz container initContainers[0] (multus-binary-copy) is not requesting required resources: cpu, memory
openshift-multus/multus-f58zz container initContainers[1] (egress-router-binary-copy) is not requesting required resources: cpu, memory
openshift-multus/multus-f58zz container initContainers[2] (cni-plugins) is not requesting required resources: cpu, memory
openshift-multus/multus-f58zz container initContainers[3] (routeoverride-cni) is not requesting required resources: cpu, memory
openshift-multus/multus-f58zz container initContainers[4] (whereabouts-cni-bincopy) is not requesting required resources: cpu, memory
openshift-multus/multus-f58zz container initContainers[5] (whereabouts-cni) is not requesting required resources: cpu, memory
openshift-multus/multus-fgksb container initContainers[0] (multus-binary-copy) is not requesting required resources: cpu, memory
openshift-multus/multus-fgksb container initContainers[1] (egress-router-binary-copy) is not requesting required resources: cpu, memory
openshift-multus/multus-fgksb container initContainers[2] (cni-plugins) is not requesting required resources: cpu, memory
openshift-multus/multus-fgksb container initContainers[3] (routeoverride-cni) is not requesting required resources: cpu, memory
openshift-multus/multus-fgksb container initContainers[4] (whereabouts-cni-bincopy) is not requesting required resources: cpu, memory
openshift-multus/multus-fgksb container initContainers[5] (whereabouts-cni) is not requesting required resources: cpu, memory
openshift-multus/multus-h8qg5 container initContainers[0] (multus-binary-copy) is not requesting required resources: cpu, memory
openshift-multus/multus-h8qg5 container initContainers[1] (egress-router-binary-copy) is not requesting required resources: cpu, memory
openshift-multus/multus-h8qg5 container initContainers[2] (cni-plugins) is not requesting required resources: cpu, memory
openshift-multus/multus-h8qg5 container initContainers[3] (routeoverride-cni) is not requesting required resources: cpu, memory
openshift-multus/multus-h8qg5 container initContainers[4] (whereabouts-cni-bincopy) is not requesting required resources: cpu, memory
openshift-multus/multus-h8qg5 container initContainers[5] (whereabouts-cni) is not requesting required resources: cpu, memory
openshift-multus/multus-q8hz6 container initContainers[0] (multus-binary-copy) is not requesting required resources: cpu, memory
openshift-multus/multus-q8hz6 container initContainers[1] (egress-router-binary-copy) is not requesting required resources: cpu, memory
openshift-multus/multus-q8hz6 container initContainers[2] (cni-plugins) is not requesting required resources: cpu, memory
openshift-multus/multus-q8hz6 container initContainers[3] (routeoverride-cni) is not requesting required resources: cpu, memory
openshift-multus/multus-q8hz6 container initContainers[4] (whereabouts-cni-bincopy) is not requesting required resources: cpu, memory
openshift-multus/multus-q8hz6 container initContainers[5] (whereabouts-cni) is not requesting required resources: cpu, memory
openshift-multus/multus-qqdn4 container initContainers[0] (multus-binary-copy) is not requesting required resources: cpu, memory
openshift-multus/multus-qqdn4 container initContainers[1] (egress-router-binary-copy) is not requesting required resources: cpu, memory
openshift-multus/multus-qqdn4 container initContainers[2] (cni-plugins) is not requesting required resources: cpu, memory
openshift-multus/multus-qqdn4 container initContainers[3] (routeoverride-cni) is not requesting required resources: cpu, memory
openshift-multus/multus-qqdn4 container initContainers[4] (whereabouts-cni-bincopy) is not requesting required resources: cpu, memory
openshift-multus/multus-qqdn4 container initContainers[5] (whereabouts-cni) is not requesting required resources: cpu, memory

as part of failing:

  [sig-arch] Managed cluster should ensure control plane containers have requests set for cpu and memory [Suite:openshift/conformance/parallel]

origin/25747 is in flight to transition an existing, but overly relaxed, test-case to explicitly require both requests on all containers.  Any components which have not been fixed after an initial pass will have temporary exceptions linked to their tracking bugs when the stricter test lands.

[1]: https://github.com/openshift/enhancements/blob/master/CONVENTIONS.md#resources-and-limits
[2]: https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/25747/pull-ci-openshift-origin-master-e2e-gcp/1336048716389289984

Comment 1 W. Trevor King 2021-03-17 00:49:15 UTC
*** Bug 1938469 has been marked as a duplicate of this bug. ***

Comment 2 Clayton Coleman 2021-03-25 13:56:16 UTC
Duped off a high severity bug, increasing severity, please fix ASAP.

Comment 4 Weibin Liang 2021-04-01 19:19:21 UTC
Tested and verified in 4.8.0-0.nightly-2021-04-01-112916

"image": "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:e1a915c606e3f42e0c61c3364b99d856dca32ba189749c1166f51791fca32c9d",
    "imagePullPolicy": "IfNotPresent",
    "name": "multus-binary-copy",
    "resources": {
      "requests": {
        "cpu": "10m",
        "memory": "10Mi"
      }
    },

Comment 7 errata-xmlrpc 2021-07-27 22:34:40 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 Container Platform 4.8.2 bug fix and security 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:2438


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