Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2160821

Summary: Cinder pods leave /run/.containerenv on controllers, causing problems for subsequent deployments.
Product: Red Hat OpenStack Reporter: Matthew Secaur <msecaur>
Component: rhosp-directorAssignee: OSP Team <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: David Rosenfeld <drosenfe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17.0 (Wallaby)CC: mburns, morazi, tkajinam
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-01-16 00:13:26 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 Matthew Secaur 2023-01-13 20:10:00 UTC
Description of problem:
After initial installation of RHOSP 17.0, controllers where Cinder pods (openstack-cinder-volume-podman-0 or openstack-cinder-backup-podman-0) run have the file /run/.containerenv. This file interferes with DNF commands, such as during a subsequent deployment (e.g. to change a configuration option). This results in a fatal error such as this during the subsequent deployment run:

2023-01-13 08:47:05.342948 | 525400da-4473-8f91-f112-000000000a74 |      FATAL | Install tuned | overcloud-controller-2 | error={"changed": false, "msg": "Failed to download metadata for repo 'rhel-9-for-x86_64-appstream-eus-rpms': Cannot download repomd.xml: Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://cdn.redhat.com/content/eus/rhel9/9/x86_64/appstream/os/repodata/repomd.xml [error setting certificate file: %(ca_cert_dir)sredhat-uep.pem]", "rc": 1, "results": []}

Version-Release number of selected component (if applicable):
RHOSP 17.0

How reproducible:
Install a RHOSP 17 environment that includes oepnstack-cinder-volume or openstack-cinder-backup and then run a second deployment. (Or, conversely, just run 'dnf install <package>' and the error will show up.

Actual results:
The second deployment fails.

Expected results:
The second deployment succeeds.

Additional info:
This appears to be the same problem as in [1], but that is fixed already. Maybe this fix just needs pushed to our code?

[1] https://bugs.launchpad.net/tripleo/+bug/1995237

Comment 1 Takashi Kajinami 2023-01-16 00:13:26 UTC
This seems to be a duplicate of bz 2138759 .

*** This bug has been marked as a duplicate of bug 2138759 ***