Bug 1899107
| Summary: | [4.6] ironic-api used by metal3 is over provisioned and consumes a lot of RAM | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Dmitry Tantsur <dtantsur> |
| Component: | Bare Metal Hardware Provisioning | Assignee: | Dmitry Tantsur <dtantsur> |
| Bare Metal Hardware Provisioning sub component: | ironic | QA Contact: | Lubov <lshilin> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | medium | ||
| Priority: | medium | CC: | augol, derekh, dhellmann, kiran, lshilin, tsedovic |
| Version: | 4.6 | Keywords: | Triaged |
| Target Milestone: | --- | ||
| Target Release: | 4.6.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Ironic API service embedded in baremetal IPI now uses 4 workers instead of 8 to reduce the RAM usage.
|
Story Points: | --- |
| Clone Of: | 1894146 | Environment: | |
| Last Closed: | 2021-02-08 13:50:51 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: | 1894146 | ||
| Bug Blocks: | |||
|
Description
Dmitry Tantsur
2020-11-18 14:27:15 UTC
Verified on 4.6.0-0.nightly-2021-01-28-083619
[kni@provisionhost-0-0 ~]$ oc exec -it metal3-86c9d47458-55tpg -c metal3-ironic-api -- bash
[root@master-0-2 /]# ps -o pid,user,%mem,rss,command -ax
PID USER %MEM RSS COMMAND
1 root 0.2 90956 /usr/bin/python3 /usr/bin/ironic-api --config-file /usr/share/ironic/ironic-dist.conf --config-file /etc/ironic/ironic.conf
31 root 0.2 91196 /usr/bin/python3 /usr/bin/ironic-api --config-file /usr/share/ironic/ironic-dist.conf --config-file /etc/ironic/ironic.conf
32 root 0.2 91208 /usr/bin/python3 /usr/bin/ironic-api --config-file /usr/share/ironic/ironic-dist.conf --config-file /etc/ironic/ironic.conf
33 root 0.2 93308 /usr/bin/python3 /usr/bin/ironic-api --config-file /usr/share/ironic/ironic-dist.conf --config-file /etc/ironic/ironic.conf
34 root 0.2 89480 /usr/bin/python3 /usr/bin/ironic-api --config-file /usr/share/ironic/ironic-dist.conf --config-file /etc/ironic/ironic.conf
35 root 0.0 3772 bash
56 root 0.0 3800 ps -o pid,user,%mem,rss,command -ax
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 (Important: OpenShift Container Platform 4.6.16 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:0308 |