CentOS 9 standalone jobs fail because of failing container build
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Description
===========
We are currently replacing CentOS 8 TripleO jobs in puppet repos by CentOS 9 TripleO jobs.
The base change in p-o-i:
https:/
Actual job update in individual repos:
https:/
During migration we noticed CentOS 9 jobs are frequently (>80%) failing, because of a failure with container build process.
https:/
https:/
~~~
...
Failed to set locale, defaulting to C.UTF-8
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
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-
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Last metadata expiration check: 0:00:14 ago on Thu Feb 10 07:33:18 2022.
Dependencies resolved.
=======
Package Arch Version Repository Size
=======
Installing:
openstack-
Transaction Summary
=======
Install 1 Package
Total download size: 67 k
Installed size: 120 k
Downloading Packages:
openstack-
-------
Total 6.5 MB/s | 67 kB 00:00
Running transaction check
warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
RPM: warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
RPM: error: cannot open Packages index using bdb_ro - Operation not permitted (1)
RPM: error: cannot open Packages database in /var/lib/rpm
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Could not run transaction.
~~~
Looking at logs from tcib it seems the build process is using ubi8, which seems incorrect.
https:/
~~~
START with options: tripleo container image build --base ubi8 --debug --distro centos --exclude neutron-mlnx-agent --namespace tripleomasterce
~~~
It might be a problem caused by wrong job definition but I've not yet found what is wrong.
I'd appreciate any help to dig into this.
Fix proposed to branch: master /review. opendev. org/c/openstack /tripleo- ci/+/828736
Review: https:/