Bug 2120171 - running "openstack undercloud install" makes subscription-manager unusable
Summary: running "openstack undercloud install" makes subscription-manager unusable
Keywords:
Status: CLOSED DUPLICATE of bug 2119239
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: James Slagle
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-22 03:45 UTC by Osama Elswah
Modified: 2022-08-22 04:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-22 04:36:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-18293 0 None None None 2022-08-22 03:46:46 UTC

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 ***


Note You need to log in before you can comment on or make changes to this bug.