tripleo-repos on ubi9 generates wrong dlrn repos
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Unassigned |
Bug Description
While running tripleo-repos on ubi9, it generates following errors:
```
(testing_repos) [root@dc18ffdd1a6b tripleo-repos]# tripleo-repos --stream -b master current-tripleo ceph
WARNING: Centos9 Base and AppStream will be installed for this UBI distro
Traceback (most recent call last):
File "/tmp/tripleo-
sys.
File "/tmp/tripleo-
_install_
File "/tmp/tripleo-
content = _get_repo(base_path + 'current-
File "/tmp/tripleo-
r.raise_
File "/tmp/tripleo-
raise HTTPError(
requests.
```
Below is the steps to reproduce it.
1. podman pull ubi9
2. git clone https:/
3. podman run --privileged -v <full path to tripleo-
4. cd /tmp/tripleo-repos
5. python3 -m venv testing_repos
6. source testing_repos
7. pip install requests
8. PBR_VERSION=1.2.3 python3 setup.py install
9. tripleo-repos --stream -b master current-tripleo ceph
above error comes.
The current tripleo-repos lacks the support for the same.
Changed in tripleo: | |
status: | Triaged → In Progress |
After applying this patch: https:/ /review. opendev. org/c/openstack /tripleo- repos/+ /844361 it fixes the issue
``` repos.d/ delorean. repo master- testing to /etc/yum. repos.d/ delorean- master- testing. repo centos- ceph-pacific to /etc/yum. repos.d/ tripleo- centos- ceph-pacific. repo centos- appstream to /etc/yum. repos.d/ tripleo- centos- appstream. repo centos- baseos to /etc/yum. repos.d/ tripleo- centos- baseos. repo centos- highavailabilit y to /etc/yum. repos.d/ tripleo- centos- highavailabilit y.repo centos- powertools to /etc/yum. repos.d/ tripleo- centos- powertools. repo centos- appstream to /etc/yum. repos.d/ tripleo- centos- appstream. repo centos- baseos to /etc/yum. repos.d/ tripleo- centos- baseos. repo
[root@84147bec40a7 tripleo-repos]# tripleo-repos --stream -b master current-tripleo ceph
WARNING: Centos9 Base and AppStream will be installed for this UBI distro
Installed repo delorean to /etc/yum.
Installed repo delorean-
Installed repo tripleo-
WARNING: For UBI it is recommended to create /etc/distro.repos.d and rerun!
Installed repo tripleo-
Installed repo tripleo-
Installed repo tripleo-
Installed repo tripleo-
Installed repo tripleo-
Installed repo tripleo-
Updating Subscription Management repositories.
Unable to read consumer identity
Subscription Manager is operating in container mode.
This system is not registered with an entitlement server. You can use subscription- manager to register.
Cache was expired
0 files removed
```