Master real Baremetal job: Undercloud Base Centos image update fails with error: kexec-tools-2.0.24-3.el9.x86_64: install failed

Bug #1979206 reported by Sandeep Yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Medium
Unassigned

Bug Description

Master real Baremetal job: Undercloud Base Centos image update fails with error: kexec-tools-2.0.24-3.el9.x86_64: install failed

dnf update of base Centos image fails with below error:-

~~~
error: %prein(kexec-tools-2.0.24-3.el9.x86_64) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package kexec-tools
  Upgrading : kernel-tools-5.14.0-109.el9.x86_64 21/65
error: kexec-tools-2.0.24-3.el9.x86_64: install failed
~~~

Steps to reproduce the issue:-

* wget https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-20220606.0.x86_64.qcow2
* Create a script that will create a repo from where we can pull latest kxec-tools and dnf update.

repo_setup.sh

~~~
## * Construct repo file from arguments
## ::

cat<<EOF >/tmp/repo_role_tmp/quickstart-centos-base.repo
[quickstart-centos-base]
name=quickstart-centos-base
baseurl=${NODEPOOL_CENTOS_MIRROR}/9-stream/BaseOS/x86_64/os/
gpgcheck=0
enabled=1
EOF
sudo cp -f /tmp/repo_role_tmp/quickstart-centos-base.repo /etc/yum.repos.d/
.
.
sudo dnf update -y
~~~

* virt-customize -a CentOS-Stream-GenericCloud-9-20220606.0.x86_64.qcow2 --run repo_setup.sh

~~~
Failed:
  kexec-tools-2.0.24-2.el9.x86_64 kexec-tools-2.0.24-3.el9.x86_64

virt-customize: error: repo_setup.sh: command exited with an error

If reporting bugs, run virt-customize with debugging enabled and include
the complete output:

  virt-customize -v -x [...]

~~~

More debug details:-

~~~
<fs> command 'rpm -ivvvh kexec-tools-2.0.24-3.el9.x86_64.rpm'
libguestfs: error: command: ufdio: 1 reads, 17654 total bytes in 0.000743 secs
D: ============== kexec-tools-2.0.24-3.el9.x86_64.rpm
D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
D: loading keyring from rpmdb
D: PRAGMA secure_delete = OFF: 0
D: PRAGMA case_sensitive_like = ON: 0
warning: kexec-tools-2.0.24-3.el9.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
D: kexec-tools-2.0.24-3.el9.x86_64.rpm: Header SHA256 digest: OK
D: kexec-tools-2.0.24-3.el9.x86_64.rpm: Header SHA1 digest: OK
.
.

ufdio: 2 reads, 8892 total bytes in 0.000756 secs
ufdio: 2 reads, 2497 total bytes in 0.000615 secs
ufdio: 2 reads, 695 total bytes in 0.000647 secs
D: 0x00000801 4096 1739525 4060625 rotational:-1 /
D: Plugin: calling hook tsm_post in audit plugin
D: Plugin: calling hook tsm_post in selinux plugin
 file /etc/sysconfig/kdump from install of kexec-tools-2.0.24-3.el9.x86_64 conflicts with file from package kexec-tools-2.0.24-2.el9.x86_64
 file /usr/lib64/eppic_makedumpfile.so from install of kexec-tools-2.0.24-3.el9.x86_64 conflicts with file from package kexec-tools-2.0.24-2.el9.x86_64
 file /usr/sbin/kexec from install of kexec-tools-2.0.24-3.el9.x86_64 conflicts with file from package kexec-tools-2.0.24-2.el9.x86_64
 file /usr/sbin/makedumpfile from install of kexec-tools-2.0.24-3.el9.x86_64 conflicts with file from package kexec-tools-2.0.24-2.el9.x86_64
 file /usr/sbin/vmcore-dmesg from install of kexec-tools-2.0.24-3.el9.x86_64 conflicts with file from package kexec-tools-2.0.24-2.el9.x86_64
D: PRAGMA synchronous = FULL: 0
D: PRAGMA optimize: 0
D: PRAGMA wal_checkpoint = TRUNCATE: 0
D: Exit status: 1
~~~

Tags: ci
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart (master)

Change abandoned by "Sandeep Yadav <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/tripleo-quickstart/+/845692
Reason: Solved after we got new centos image

Changed in tripleo:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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