-
Bug
-
Resolution: Done-Errata
-
Critical
-
CentOS Stream 9
-
None
-
rpm-ostree-2024.4-3.el9
-
None
-
None
-
rhel-sst-rhcos
-
None
-
False
-
-
None
-
None
-
Pass
-
Needed
-
RegressionOnly
-
-
x86_64
-
None
What were you trying to do that didn't work?
On centos-stream9, osbuild-composer failed to build edge-container image, please find log in attachment.
Please provide the package NVR for which bug is seen:
[cloud-user@yih-c9-4323 rhel-edge]$ rpm -qa|grep osbuild
python3-osbuild-111-1.el9.noarch
osbuild-selinux-111-1.el9.noarch
osbuild-111-1.el9.noarch
osbuild-depsolve-dnf-111-1.el9.noarch
osbuild-composer-core-101-1.el9.x86_64
osbuild-ostree-111-1.el9.noarch
osbuild-lvm2-111-1.el9.noarch
osbuild-luks2-111-1.el9.noarch
osbuild-composer-worker-101-1.el9.x86_64
osbuild-composer-101-1.el9.x86_64
How reproducible:
100%
Steps to reproduce
- Provision a centos-stream9 machine in opentstack.
- Login and clone test repo: git clone https://github.com/virt-s1/rhel-edge.git
- Run any ostree test, all failed at edge-container step: DOWNLOAD_NODE=download-node-02.eng.bos.redhat.com ./ostree-simplified-installer.sh
- Found error messages in log (please see the full log in attachment):
Mar 18 22:17:15 yih-c9-4323 osbuild-worker[23299]: time="2024-03-18T22:17:15-04:00" level=info msg=" error: Postprocessing and committing: Finalizing rootfs: Hardlinking rpmdb to base location: Hardlinking /usr/share/rpm to /usr/lib/sysimage/rpm-ostree-base-db: Analyzing /usr/share/rpm/ content: File exists (os error 17)" jobId=6cf016b3-f610-4410-a7da-05550b3666db
Mar 18 22:17:15 yih-c9-4323 osbuild-worker[23299]: time="2024-03-18T22:17:15-04:00" level=info msg=" Traceback (most recent call last):" jobId=6cf016b3-f610-4410-a7da-05550b3666db
Mar 18 22:17:15 yih-c9-4323 osbuild-worker[23299]: time="2024-03-18T22:17:15-04:00" level=info msg=" File \"/run/osbuild/bin/org.osbuild.ostree.commit\", line 124, in <module>" jobId=6cf016b3-f610-4410-a7da-05550b3666db
Mar 18 22:17:15 yih-c9-4323 osbuild-worker[23299]: time="2024-03-18T22:17:15-04:00" level=info msg=" r = main(args[\"inputs\"]," jobId=6cf016b3-f610-4410-a7da-05550b3666db
Mar 18 22:17:15 yih-c9-4323 osbuild-worker[23299]: time="2024-03-18T22:17:15-04:00" level=info msg=" File \"/run/osbuild/bin/org.osbuild.ostree.commit\", line 111, in main" jobId=6cf016b3-f610-4410-a7da-05550b3666db
Mar 18 22:17:15 yih-c9-4323 osbuild-worker[23299]: time="2024-03-18T22:17:15-04:00" level=info msg=" subprocess.run(argv," jobId=6cf016b3-f610-4410-a7da-05550b3666db
Mar 18 22:17:15 yih-c9-4323 osbuild-worker[23299]: time="2024-03-18T22:17:15-04:00" level=info msg=" File \"/usr/lib64/python3.9/subprocess.py\", line 528, in run" jobId=6cf016b3-f610-4410-a7da-05550b3666db
Mar 18 22:17:15 yih-c9-4323 osbuild-worker[23299]: time="2024-03-18T22:17:15-04:00" level=info msg=" raise CalledProcessError(retcode, process.args," jobId=6cf016b3-f610-4410-a7da-05550b3666db
Mar 18 22:17:15 yih-c9-4323 osbuild-worker[23299]: time="2024-03-18T22:17:15-04:00" level=info msg=" subprocess.CalledProcessError: Command '['rpm-ostree', 'compose', 'commit', '--repo=/run/osbuild/tree/repo', '--add-metadata-string=version=9-stream', '--add-metadata-string=rpmostree.inputhash=98df5509e93f08976080b92dc9c298d701bd48c144faed033a8bc8ac01ec5099', '--write-composejson-to=/run/osbuild/tree/compose.json', '/tmp/tmp9j2j3j4w.json', '/run/osbuild/tree/tmpvcmr_q_b']' returned non-zero exit status 1." jobId=6cf016b3-f610-4410-a7da-05550b3666db
Mar 18 22:17:15 yih-c9-4323 osbuild-worker[23299]: time="2024-03-18T22:17:15-04:00" level=info msg=" " jobId=6cf016b3-f610-4410-a7da-05550b3666db
Mar 18 22:17:15 yih-c9-4323 osbuild-worker[23299]: time="2024-03-18T22:17:15-04:00" level=error msg="osbuild job failed: osbuild build failed" jobId=6cf016b3-f610-4410-a7da-05550b3666db
Expected results
test should pass
Actual results
test failed at edge-container step.
- links to
-
RHSA-2024:129124 rpm-ostree security update
- mentioned on