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

Bug 2120171

Summary: running "openstack undercloud install" makes subscription-manager unusable
Product: Red Hat OpenStack Reporter: Osama Elswah <oelswah>
Component: openstack-tripleoAssignee: James Slagle <jslagle>
Status: CLOSED DUPLICATE QA Contact: Joe H. Rahme <jhakimra>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 17.0 (Wallaby)CC: mburns, 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: 2022-08-22 04:36:32 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 Osama Elswah 2022-08-22 03:45:30 UTC
Description of problem:
After running "openstack undercloud install" the undercloud installation fails with the following error: 
2022-08-22 05:31:45.462516 | 5254006b-5637-a588-52f3-000000000b8d |       TASK | ensure podman and deps are installed
2022-08-22 05:31:49.104810 | 5254006b-5637-a588-52f3-000000000b8d |      FATAL | ensure podman and deps are installed | director17 | error={"changed": false, "msg": "Failed to download metadata for repo 'rhel-9-for-x86_64-highavailability
-eus-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "results": []}

However I was able to run "dnf install" just fine before running the undercloud install

Then trying to run a subscription-manager command gives me the following error: 

subscription-manager is disabled when running inside a container. Please refer to your host system for subscription management. 

To solve this error I have to delete the link /etc/rhsm-host/ 

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

How reproducible:
always

Steps to Reproduce:
1. run openstack undercloud install

Comment 1 Takashi Kajinami 2022-08-22 04:36:32 UTC
This is duplicate of bz 2119239 .

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