While building the base container in RHEL-9 container build job, it is failing with following error in base/base-build.log.
```
Failed to set locale, defaulting to C.UTF-8
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.
Error: No matching repo to modify: ubi*.
time="2021-12-23T10:08:51-05:00" level=debug msg="\"/var/tmp/buildah366822098/mnt/buildah-bind-target-11\" is apparently not really mounted, skipping"
time="2021-12-23T10:08:51-05:00" level=debug msg="\"/var/tmp/buildah366822098/mnt/buildah-bind-target-5\" is apparently not really mounted, skipping"
time="2021-12-23T10:08:51-05:00" level=debug msg="\"/var/tmp/buildah366822098/mnt/buildah-bind-target-4\" is apparently not really mounted, skipping"
time="2021-12-23T10:08:51-05:00" level=debug msg="\"/var/tmp/buildah366822098/mnt/rootfs\" is apparently not really mounted, skipping"
time="2021-12-23T10:08:51-05:00" level=debug msg="\"/var/tmp/buildah366822098/mnt\" is apparently not really mounted, skipping"
time="2021-12-23T10:08:51-05:00" level=debug msg="error building at step {Env:[PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin container=oci LANG=en_US.UTF-8] Command:run Args:[if [ -f \"/etc/yum.repos.d/ubi.repo\" ]; then dnf config-manager --set-disabled \"ubi*\" && dnf clean all && rm -rf /var/cache/dnf; fi] Flags:[] Attrs:map[] Message:RUN if [ -f \"/etc/yum.repos.d/ubi.repo\" ]; then dnf config-manager --set-disabled \"ubi*\" && dnf clean all && rm -rf /var/cache/dnf; fi Original:RUN if [ -f \"/etc/yum.repos.d/ubi.repo\" ]; then dnf config-manager --set-disabled \"ubi*\" && dnf clean all && rm -rf /var/cache/dnf; fi}: error while running runtime: exit status 1"
```
While looking at RHEL-9 ubi9 beta image.
```
[chandankumar@ovpn-9-86 multi-node-firewall]$ podman run -it 28b0a4b69d9b bash
[root@64eae93864b8 /]# cd /etc/yum.repos.d/
[root@64eae93864b8 yum.repos.d]# cat ubi.repo
[root@64eae93864b8 yum.repos.d]# cat /etc/redhat-release
Red Hat Enterprise Linux release 9.0 Beta (Plow)
[root@64eae93864b8 yum.repos.d]#
```
It is failing at following step: https://opendev.org/openstack/tripleo-common/src/branch/master/container-images/tcib/base/base.yaml#L2
```
run: if [ -f "/etc/yum.repos.d/ubi.repo" ]; then dnf config-manager --set-disabled "ubi*" && dnf clean all && rm -rf /var/cache/dnf; fi
```
Solution: Since we are already disabling the ubi.repo. So it make sense to get rid of the ubi.repo file completely.
Fix proposed to branch: master /review. opendev. org/c/openstack /tripleo- common/ +/823370
Review: https:/