Bug 2151043
| Summary: | subscription-manager command doesn't work on a Controller node running cinder-volume container | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Takashi Kajinami <tkajinam> |
| Component: | openstack-tripleo-heat-templates | Assignee: | Takashi Kajinami <tkajinam> |
| Status: | CLOSED ERRATA | QA Contact: | Joe H. Rahme <jhakimra> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 17.1 (Wallaby) | CC: | drosenfe, jhakimra, mburns, ramishra, tkajinam, yatanaka |
| Target Milestone: | beta | Keywords: | Triaged |
| Target Release: | 17.1 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-heat-templates-14.3.1-1.20230224221431.eef23eb.el9ost | Doc Type: | Bug Fix |
| Doc Text: |
Before this update, the `openstack-cinder-volume-0` container, which is created by the Pacemaker bundle resource for the Block Storage service (cinder), mounted `/run` from the host. This mount path created the `.containerenv` file in the directory. When the `.containerenv` file exists, `subscription-manager` fails because it evaluates that the command is executed inside a container. With this update, the mount path is updated so that Podman disables the creation of the `.containerenv` file, and `subscription-manager` executes successfully in a host that is running the `openstack-cinder-volume-0` container.
|
Story Points: | --- |
| Clone Of: | 2138759 | Environment: | |
| Last Closed: | 2023-08-16 01:12: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: | |||
|
Description
Takashi Kajinami
2022-12-06 00:28:53 UTC
Subscription manager does execute on controller node running cinder-volume container:
[tripleo-admin@controller-2 ~]$ sudo podman ps |grep cinder-volume
bec7604add34 cluster.common.tag/cinder-volume:pcmklatest /bin/bash /usr/lo... 16 hours ago Up 16 hours openstack-cinder-volume-podman-0
[tripleo-admin@controller-2 ~]$ sudo subscription-manager list
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
Product Name: Red Hat Enterprise Linux for x86_64 Beta
Product ID: 486
Version: 9.2 Beta
Arch: x86_64
Status: Unknown
Status Details:
Starts:
Ends:
Product Name: Red Hat Enterprise Linux High Availability Beta
Product ID: 487
Version: 9.2 Beta
Arch: x86_64
Status: Unknown
Status Details:
Starts:
Ends:
[tripleo-admin@controller-2 ~]$
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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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/RHEA-2023:4577 |