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.
On a RHEL9 VM where I have osbuild/ImageBuilder installed, I ran into a situation where my compose failed, but there were no logs available.
```
$ sudo composer-cli compose list
c4258562-b24b-49d7-8ed3-84e3e50db0b8 FAILED edge 0.0.4 edge-container
$ sudo composer-cli compose log c4258562-b24b-49d7-8ed3-84e3e50db0b8
The compose result is empty.
```
As an end user, this is very unhelpful. Without prior knowledge of osbuild, I would not know what to do next except for calling RHT support.
I was able to determine there was an error retrieving an RPM from a custom repo that I provided.
```
$ sudo journalctl -b
....
Aug 05 11:58:56 edgebuilder osbuild-worker[1061]: time="2022-08-05T11:58:56-04:00" level=info msg="Running job '15950085-5e50-4f89-aa09-afd08f4ef3d9' (osbuild)\n"
Aug 05 11:58:56 edgebuilder osbuild-composer[1060]: 2022/08/05 11:58:56 GET /api/v0/compose/types
Aug 05 11:58:56 edgebuilder osbuild-composer[1060]: 2022/08/05 11:58:56 GET /api/v1/compose/status/c4258562-b24b-49d7-8ed3-84e3e50db0b8
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: Traceback (most recent call last):
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/bin/osbuild", line 33, in <module>
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: sys.exit(load_entry_point('osbuild==53', 'console_scripts', 'osbuild')())
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/python3.9/site-packages/osbuild/main_cli.py", line 158, in osbuild_cli
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: manifest.download(object_store, monitor, args.libdir)
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/python3.9/site-packages/osbuild/pipeline.py", line 371, in download
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: source.download(mgr, store, libdir)
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/python3.9/site-packages/osbuild/sources.py", line 38, in download
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: reply = client.call_with_fds("download", args, fds)
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/python3.9/site-packages/osbuild/host.py", line 375, in call_with_fds
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: raise error
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: osbuild.host.RemoteError: RuntimeError: curl: error downloading {'url': 'http://brew-task-repos.usersys.redhat.com/repos/official/subscription-manager/1.29.26.1/1.el9_0/$basearch/subscription-manager-1.29.26.1-1.el9_0.x86_64.rpm'}: error code 22
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/python3.9/site-packages/osbuild/host.py", line 268, in serve
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: reply, reply_fds = self._handle_message(msg, fds)
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/python3.9/site-packages/osbuild/host.py", line 301, in _handle_message
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: ret, fds = self.dispatch(name, args, fds)
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/python3.9/site-packages/osbuild/sources.py", line 62, in dispatch
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: r = self.download(items,
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/osbuild/sources/org.osbuild.curl", line 172, in download
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: download(items, cache)
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/osbuild/sources/org.osbuild.curl", line 162, in download
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: for _ in results:
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib64/python3.9/concurrent/futures/process.py", line 559, in _chain_from_iterable_of_lists
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: for element in iterable:
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib64/python3.9/concurrent/futures/_base.py", line 609, in result_iterator
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: yield fs.pop().result()
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib64/python3.9/concurrent/futures/_base.py", line 446, in result
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: return self.__get_result()
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib64/python3.9/concurrent/futures/_base.py", line 391, in __get_result
Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: raise self._exception
Aug 05 11:59:00 edgebuilder osbuild-worker[1061]: time="2022-08-05T11:59:00-04:00" level=error msg="osbuild job failed: osbuild build failed" jobId=15950085-5e50-4f89-aa09-afd08f4ef3d9
Aug 05 11:59:00 edgebuilder osbuild-worker[1061]: time="2022-08-05T11:59:00-04:00" level=warning msg="Job '15950085-5e50-4f89-aa09-afd08f4ef3d9' (osbuild) failed: error decoding osbuild output: unexpected end of JSON input\nthe raw output:\n"
Aug 05 11:59:57 edgebuilder osbuild-composer[1060]: 2022/08/05 11:59:57 GET /api/v1/compose/status/c4258562-b24b-49d7-8ed3-84e3e50db0b8
```
In the custom source that I created, the URL had `$baseurl` in the path (which is typical in a yum repo definition), but this caused issues during the RPM download. I'll file another BZ about that, which seems like it should be caught as part of input validation or supported.
Comment 2RHEL Program Management
2023-09-18 12:39:41 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.
Comment 3RHEL Program Management
2023-09-18 12:41:58 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.
Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.
To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:
"Bugzilla Bug" = 1234567
In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.
On a RHEL9 VM where I have osbuild/ImageBuilder installed, I ran into a situation where my compose failed, but there were no logs available. ``` $ sudo composer-cli compose list c4258562-b24b-49d7-8ed3-84e3e50db0b8 FAILED edge 0.0.4 edge-container $ sudo composer-cli compose log c4258562-b24b-49d7-8ed3-84e3e50db0b8 The compose result is empty. ``` As an end user, this is very unhelpful. Without prior knowledge of osbuild, I would not know what to do next except for calling RHT support. I was able to determine there was an error retrieving an RPM from a custom repo that I provided. ``` $ sudo journalctl -b .... Aug 05 11:58:56 edgebuilder osbuild-worker[1061]: time="2022-08-05T11:58:56-04:00" level=info msg="Running job '15950085-5e50-4f89-aa09-afd08f4ef3d9' (osbuild)\n" Aug 05 11:58:56 edgebuilder osbuild-composer[1060]: 2022/08/05 11:58:56 GET /api/v0/compose/types Aug 05 11:58:56 edgebuilder osbuild-composer[1060]: 2022/08/05 11:58:56 GET /api/v1/compose/status/c4258562-b24b-49d7-8ed3-84e3e50db0b8 Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: Traceback (most recent call last): Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/bin/osbuild", line 33, in <module> Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: sys.exit(load_entry_point('osbuild==53', 'console_scripts', 'osbuild')()) Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/python3.9/site-packages/osbuild/main_cli.py", line 158, in osbuild_cli Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: manifest.download(object_store, monitor, args.libdir) Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/python3.9/site-packages/osbuild/pipeline.py", line 371, in download Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: source.download(mgr, store, libdir) Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/python3.9/site-packages/osbuild/sources.py", line 38, in download Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: reply = client.call_with_fds("download", args, fds) Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/python3.9/site-packages/osbuild/host.py", line 375, in call_with_fds Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: raise error Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: osbuild.host.RemoteError: RuntimeError: curl: error downloading {'url': 'http://brew-task-repos.usersys.redhat.com/repos/official/subscription-manager/1.29.26.1/1.el9_0/$basearch/subscription-manager-1.29.26.1-1.el9_0.x86_64.rpm'}: error code 22 Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/python3.9/site-packages/osbuild/host.py", line 268, in serve Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: reply, reply_fds = self._handle_message(msg, fds) Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/python3.9/site-packages/osbuild/host.py", line 301, in _handle_message Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: ret, fds = self.dispatch(name, args, fds) Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/python3.9/site-packages/osbuild/sources.py", line 62, in dispatch Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: r = self.download(items, Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/osbuild/sources/org.osbuild.curl", line 172, in download Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: download(items, cache) Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib/osbuild/sources/org.osbuild.curl", line 162, in download Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: for _ in results: Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib64/python3.9/concurrent/futures/process.py", line 559, in _chain_from_iterable_of_lists Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: for element in iterable: Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib64/python3.9/concurrent/futures/_base.py", line 609, in result_iterator Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: yield fs.pop().result() Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib64/python3.9/concurrent/futures/_base.py", line 446, in result Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: return self.__get_result() Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: File "/usr/lib64/python3.9/concurrent/futures/_base.py", line 391, in __get_result Aug 05 11:59:00 edgebuilder osbuild-worker[55232]: raise self._exception Aug 05 11:59:00 edgebuilder osbuild-worker[1061]: time="2022-08-05T11:59:00-04:00" level=error msg="osbuild job failed: osbuild build failed" jobId=15950085-5e50-4f89-aa09-afd08f4ef3d9 Aug 05 11:59:00 edgebuilder osbuild-worker[1061]: time="2022-08-05T11:59:00-04:00" level=warning msg="Job '15950085-5e50-4f89-aa09-afd08f4ef3d9' (osbuild) failed: error decoding osbuild output: unexpected end of JSON input\nthe raw output:\n" Aug 05 11:59:57 edgebuilder osbuild-composer[1060]: 2022/08/05 11:59:57 GET /api/v1/compose/status/c4258562-b24b-49d7-8ed3-84e3e50db0b8 ``` In the custom source that I created, the URL had `$baseurl` in the path (which is typical in a yum repo definition), but this caused issues during the RPM download. I'll file another BZ about that, which seems like it should be caught as part of input validation or supported.