Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
sha256 string is apparently prepended to sha1 checksums, leading to a "Unknown source reference(s)" error message from the osbuild-worker logs.
Version-Release number of selected component (if applicable):
osbuild-81-1.el8.noarch
osbuild-composer-75-1.el8.x86_64
How reproducible:
Always for the customer, not tested internally.
Steps to Reproduce:
Customer uses custom repos. Build works with Red Hat repos.
Actual results:
Jun 22 07:05:22 engage osbuild-worker[3678]: time="2023-06-22T07:05:22-04:00" level=info msg="Running job 'fe91b48e-4d60-4dfb-a814-3488c7311d9b' (osbuild)\n"
Jun 22 07:05:23 engage osbuild-worker[3720]: Traceback (most recent call last):
Jun 22 07:05:23 engage osbuild-worker[3720]: File "/usr/bin/osbuild", line 11, in <module>
Jun 22 07:05:23 engage osbuild-worker[3720]: load_entry_point('osbuild==81', 'console_scripts', 'osbuild')()
Jun 22 07:05:23 engage osbuild-worker[3720]: File "/usr/lib/python3.6/site-packages/osbuild/main_cli.py", line 119, in osbuild_cli
Jun 22 07:05:23 engage osbuild-worker[3720]: manifest = fmt.load(desc, index)
Jun 22 07:05:23 engage osbuild-worker[3720]: File "/usr/lib/python3.6/site-packages/osbuild/formats/v2.py", line 369, in load
Jun 22 07:05:23 engage osbuild-worker[3720]: load_pipeline(desc, index, manifest, source_refs)
Jun 22 07:05:23 engage osbuild-worker[3720]: File "/usr/lib/python3.6/site-packages/osbuild/formats/v2.py", line 348, in load_pipeline
Jun 22 07:05:23 engage osbuild-worker[3720]: load_stage(desc, index, pl, manifest, source_refs)
Jun 22 07:05:23 engage osbuild-worker[3720]: File "/usr/lib/python3.6/site-packages/osbuild/formats/v2.py", line 317, in load_stage
Jun 22 07:05:23 engage osbuild-worker[3720]: load_input(name, desc, index, stage, manifest, source_refs)
Jun 22 07:05:23 engage osbuild-worker[3720]: File "/usr/lib/python3.6/site-packages/osbuild/formats/v2.py", line 273, in load_input
Jun 22 07:05:23 engage osbuild-worker[3720]: raise ValueError(f"Unknown source reference(s) {unknown_refs}")
Jun 22 07:05:23 engage osbuild-worker[3720]: ValueError: Unknown source reference(s) {'sha256:sha1:8690e1630d166993982f2f70357f1a94b863a487', 'sha256:sha1:42affa70485aa6eff462c6bd0894f83b25380062', 'sha256:sha1:2442288093424d972f6034d27bae90da7eaf4c91', 'sha256:sha1:40778aac9da5bc14acad5f142cc5ab153e29f1c0', 'sha256:sha1:c828b451023a1adfc47b43337175509c6285a78d',
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (osbuild, osbuild-composer, and cockpit-composer bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHEA-2023:6906
Description of problem: sha256 string is apparently prepended to sha1 checksums, leading to a "Unknown source reference(s)" error message from the osbuild-worker logs. Version-Release number of selected component (if applicable): osbuild-81-1.el8.noarch osbuild-composer-75-1.el8.x86_64 How reproducible: Always for the customer, not tested internally. Steps to Reproduce: Customer uses custom repos. Build works with Red Hat repos. Actual results: Jun 22 07:05:22 engage osbuild-worker[3678]: time="2023-06-22T07:05:22-04:00" level=info msg="Running job 'fe91b48e-4d60-4dfb-a814-3488c7311d9b' (osbuild)\n" Jun 22 07:05:23 engage osbuild-worker[3720]: Traceback (most recent call last): Jun 22 07:05:23 engage osbuild-worker[3720]: File "/usr/bin/osbuild", line 11, in <module> Jun 22 07:05:23 engage osbuild-worker[3720]: load_entry_point('osbuild==81', 'console_scripts', 'osbuild')() Jun 22 07:05:23 engage osbuild-worker[3720]: File "/usr/lib/python3.6/site-packages/osbuild/main_cli.py", line 119, in osbuild_cli Jun 22 07:05:23 engage osbuild-worker[3720]: manifest = fmt.load(desc, index) Jun 22 07:05:23 engage osbuild-worker[3720]: File "/usr/lib/python3.6/site-packages/osbuild/formats/v2.py", line 369, in load Jun 22 07:05:23 engage osbuild-worker[3720]: load_pipeline(desc, index, manifest, source_refs) Jun 22 07:05:23 engage osbuild-worker[3720]: File "/usr/lib/python3.6/site-packages/osbuild/formats/v2.py", line 348, in load_pipeline Jun 22 07:05:23 engage osbuild-worker[3720]: load_stage(desc, index, pl, manifest, source_refs) Jun 22 07:05:23 engage osbuild-worker[3720]: File "/usr/lib/python3.6/site-packages/osbuild/formats/v2.py", line 317, in load_stage Jun 22 07:05:23 engage osbuild-worker[3720]: load_input(name, desc, index, stage, manifest, source_refs) Jun 22 07:05:23 engage osbuild-worker[3720]: File "/usr/lib/python3.6/site-packages/osbuild/formats/v2.py", line 273, in load_input Jun 22 07:05:23 engage osbuild-worker[3720]: raise ValueError(f"Unknown source reference(s) {unknown_refs}") Jun 22 07:05:23 engage osbuild-worker[3720]: ValueError: Unknown source reference(s) {'sha256:sha1:8690e1630d166993982f2f70357f1a94b863a487', 'sha256:sha1:42affa70485aa6eff462c6bd0894f83b25380062', 'sha256:sha1:2442288093424d972f6034d27bae90da7eaf4c91', 'sha256:sha1:40778aac9da5bc14acad5f142cc5ab153e29f1c0', 'sha256:sha1:c828b451023a1adfc47b43337175509c6285a78d',