Back to bug 2151043

Who When What Removed Added
Takashi Kajinami 2022-12-06 00:29:27 UTC Depends On 2138759
Takashi Kajinami 2022-12-06 00:29:45 UTC Assignee rhos-maint tkajinam
Status NEW ASSIGNED
Takashi Kajinami 2022-12-06 00:30:30 UTC Link ID OpenStack gerrit 863024 Launchpad 1995237
Takashi Kajinami 2022-12-06 00:32:48 UTC Target Release --- 17.1
Target Milestone --- beta
Takashi Kajinami 2022-12-06 00:33:16 UTC Status ASSIGNED POST
Red Hat One Jira (issues.redhat.com) 2022-12-06 00:37:56 UTC Link ID Red Hat Issue Tracker OSP-20708
Miguel Garcia 2023-03-21 13:47:38 UTC Status POST MODIFIED
Fixed In Version openstack-tripleo-heat-templates-14.3.1-1.20230224221431.eef23eb.el9ost
errata-xmlrpc 2023-03-22 13:02:34 UTC Status MODIFIED ON_QA
David Rosenfeld 2023-05-05 12:41:32 UTC Status ON_QA VERIFIED
CC drosenfe
Andy Stillman 2023-05-26 12:37:59 UTC Flags needinfo?(tkajinam)
Takashi Kajinami 2023-06-01 07:11:42 UTC Doc Text Cause:
The openstack-cinder-volume-0 container, created by the pacemaker bundle resource for cinder-volume service, mounts /run from host, which creates the .containerenv file in the directory. When this file exists, subscription-manager forcefully fails because it wrongly assumes the command is executed inside a container.

Consequence:
subscription-manager fails in the host where openstack-cinder-volume-0 container is running

Fix:
Updated the mount path so that podman disables creation of .containerenv file.

Result:
subscription-manager works even in the host with openstack-cinder-volume-0 container running
Doc Type If docs needed, set a value Bug Fix
Takashi Kajinami 2023-06-01 07:11:56 UTC Flags needinfo?(tkajinam)
Jenny-Anne Lynch 2023-06-02 11:36:55 UTC Doc Text Cause:
The openstack-cinder-volume-0 container, created by the pacemaker bundle resource for cinder-volume service, mounts /run from host, which creates the .containerenv file in the directory. When this file exists, subscription-manager forcefully fails because it wrongly assumes the command is executed inside a container.

Consequence:
subscription-manager fails in the host where openstack-cinder-volume-0 container is running

Fix:
Updated the mount path so that podman disables creation of .containerenv file.

Result:
subscription-manager works even in the host with openstack-cinder-volume-0 container running
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.
CC jelynch
Jenny-Anne Lynch 2023-07-18 14:40:56 UTC CC jelynch
errata-xmlrpc 2023-08-16 00:04:12 UTC Status VERIFIED RELEASE_PENDING
errata-xmlrpc 2023-08-16 01:12:55 UTC Resolution --- ERRATA
Status RELEASE_PENDING CLOSED
Last Closed 2023-08-16 01:12:55 UTC
errata-xmlrpc 2023-08-16 01:13:41 UTC Link ID Red Hat Product Errata RHEA-2023:4577

Back to bug 2151043