Non-consumer tripleo standalone centos9 job fails to build containers

Bug #1960308 reported by Sagi (Sergey) Shnaidman
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

CentOS 9 job which is not consumer/provider fails to build containers:

https://c106cf3af9ca4f51a783-1cafd076f450cb80ac8475c61645ee98.ssl.cf1.rackcdn.com/828265/1/check/tripleo-ci-centos-9-standalone-build/7a3274f/logs/undercloud/home/zuul/container-builds/d52f1815-bd11-4aac-97a0-a8aaf856d3c9/base/base-build.log

time="2022-02-08T10:28:11Z" level=debug msg="closing stdin"
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-manager to register.

warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend.
Last metadata expiration check: 0:00:15 ago on Tue Feb 8 10:27:57 2022.
Dependencies resolved.
==========================================================================================================
 Package Arch Version Repository Size
==========================================================================================================
Installing:
 openstack-tripleo-common-containers noarch 16.3.1-0.20220203092303.3eae6a0.el9 delorean-current 67 k

Transaction Summary
==========================================================================================================
Install 1 Package

Total download size: 67 k
Installed size: 120 k
Downloading Packages:
openstack-tripleo-common-containers-16.3.1-0.20 17 MB/s | 67 kB 00:00
--------------------------------------------------------------------------------
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.

Changed in tripleo:
status: Triaged → In Progress
Ronelle Landy (rlandy)
tags: added: promotion-blocker
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ci (master)

Reviewed: https://review.opendev.org/c/openstack/tripleo-ci/+/828736
Committed: https://opendev.org/openstack/tripleo-ci/commit/615e8055ec0fc63736a5d6139f0b6b3b9161d933
Submitter: "Zuul (22348)"
Branch: master

commit 615e8055ec0fc63736a5d6139f0b6b3b9161d933
Author: Takashi Kajinami <email address hidden>
Date: Fri Feb 11 00:45:39 2022 +0900

    Fix image used in c9 standalone job with container builds

    Currently when tripleo-ci-centos-9-standalone template is used with
    build_container_images: true, it by default uses ubi8 image and we
    always need to set the containers_base_image var.

    This change adds that var in the base job so that we no longer need to
    define the var in standalone jobs inheriting that template.

    Closes-Bug: #1960308
    Change-Id: I42092ee8633a5dfe041af8cd12f15c24b995eaf1

Changed in tripleo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.