Bug 2138759
| Summary: | subscription-manager command doesn't work on a Controller node running cinder-volume container | |||
|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | yatanaka | |
| 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.0 (Wallaby) | CC: | cjeanner, drosenfe, iconichsp, jschluet, mburns, msecaur, ramishra, tkajinam | |
| Target Milestone: | z1 | Keywords: | Triaged | |
| Target Release: | 17.0 | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | openstack-tripleo-heat-templates-14.3.1-0.20221208160327.feca772.el9ost | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
cinder-volume container bind-mounted /var/run from host instead of /run, and this results in creating /run/.containerenv in host file system.
The /run/.containerenv file made subscription-manager ignore its settings such as associated subscriptions.
Consequence:
The subscriptoon-manager command does not work in the node with cinder-volume container running
Fix:
Fixed the path used for bind-mount so that /run/.containerenv is not created in host file system.
Result:
The subscriptoon-manager command works even in the node with cinder-volume container running
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 2151043 (view as bug list) | Environment: | ||
| Last Closed: | 2023-01-25 12:29:56 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
|
Description
yatanaka
2022-10-31 06:22:41 UTC
subscription manager now works on a controller running a cinder volume container:
[tripleo-admin@controller-0 ~]$ sudo podman ps |grep cinder-volume
8987c2dc9caa undercloud-0.ctlplane.redhat.local:8787/rh-osbs/rhosp17-openstack-cinder-volume:pcmklatest /bin/bash /usr/lo... 40 minutes ago Up 40 minutes ago openstack-cinder-volume-podman-0
[tripleo-admin@controller-0 ~]$ sudo subscription-manager list
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
Product Name: Red Hat Enterprise Linux Fast Datapath
Product ID: 329
Version: 9
Arch: x86_64
Status: Unknown
Status Details:
Starts:
Ends:
Product Name: Red Hat Enterprise Linux for x86_64
Product ID: 479
Version: 9.0
Arch: x86_64
Status: Unknown
Status Details:
Starts:
Ends:
Product Name: Red Hat Enterprise Linux for x86_64 - Extended Update Support
Product ID: 70
Version: 9.0
Arch: x86_64
Status: Unknown
Status Details:
Starts:
Ends:
Product Name: Red Hat Enterprise Linux High Availability for x86_64 - Extended Update Support
Product ID: 84
Version: 9.0
Arch: x86_64
Status: Unknown
Status Details:
Starts:
Ends:
*** Bug 2160821 has been marked as a duplicate of this bug. *** 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 (Red Hat OpenStack Platform 17.0.1 bug fix and enhancement advisory), 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-2023:0271 |