stx-libvirt container fails to build on pkg qemu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Critical
|
Scott Little |
Bug Description
Brief Description
-----------------
stx-libvirt container fails to build when it can't install package 'qemu'.
The package 'qemu' was recently upgraded to package qemu 7.3 from 5.2.
Qemu 7.2 no longer produces a dummy 'qemu' deb package.
Even in qemu 5.2 it was an empty deb package.
The container build instructions for stx-libvirt need to be updated,
removing the reference to package 'qemu'.
Old build environments, those that predate the qemu upgrade, are still providing
the qemu 5.2 deb, masking the error.
Severity
--------
Critical: container build failure in new/clean build environments.
Steps to Reproduce
------------------
Attempt container build in a new build environment
Expected Behavior
------------------
all containers build
Actual Behavior
----------------
stx-libvirt container fails to build
Reproducibility
---------------
100% in new build environments.
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
Jan 30, 2024
Last Pass
---------
Jan 7, 2024
Timestamp/Logs
--------------
03:04:02 Step 7/8 : RUN apt-get -y update && apt-get -y install ceph-common dmidecode iptables iproute2 cgroup-tools libcgroup1 libnss-libvirt libvirt0 libvirt-clients libvirt-daemon libvirt-
03:04:02 ---> Running in 951ec82884b1
03:04:02 Ign:1 https:/
03:04:02 Ign:2 https:/
03:04:02 Get:3 https:/
03:04:02 Get:4 https:/
03:04:02 Ign:5 https:/
03:04:03 Ign:6 https:/
03:04:03 Get:7 https:/
03:04:03 Get:8 https:/
03:04:04 Fetched 762 kB in 4s (203 kB/s)
03:04:04 Reading package lists...
03:04:04 Reading package lists...
03:04:04 Building dependency tree...
03:04:04 Reading state information...
03:04:04 [91mE: Unable to locate package qemu
03:04:05 [0mThe command '/bin/sh -c apt-get -y update && apt-get -y install ceph-common dmidecode iptables iproute2 cgroup-tools libcgroup1 libnss-libvirt libvirt0 libvirt-clients libvirt-daemon libvirt-
03:04:05 Command (docker) failed, attempt 3 of 3.
03:04:05 Max command attempts reached. Aborting...
03:04:05 Failed to build stx-libvirt... Aborting
03:04:05 #######
...
03:04:05 There were 1 build failures:
03:04:05 stx-libvirt
03:04:05 command terminated with exit code 1
Test Activity
-------------
build
Workaround
----------
remove 'qemu' from apt-get install command within cgcs-root/
description: | updated |
tags: | added: stx.build |
Changed in starlingx: | |
assignee: | nobody → Scott Little (slittle1) |
status: | In Progress → Fix Released |
tags: | added: stx.10.0 stx.9.0 |
Fix proposed to branch: f/kernel-6.6 /review. opendev. org/c/starlingx /virt/+ /907355
Review: https:/