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.
Bug 1951192 - [Edge] RHEL for Edge Container Commit fails silently when Repo URL doesn't have a trailing slash [rhel-8.4.0.z]
Summary: [Edge] RHEL for Edge Container Commit fails silently when Repo URL doesn't ha...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: osbuild-composer
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: beta
: ---
Assignee: Achilleas Koutsou
QA Contact: Yi He
URL:
Whiteboard:
Depends On: 1942029
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-19 19:04 UTC by RHEL Program Management Team
Modified: 2021-06-29 16:07 UTC (History)
9 users (show)

Fixed In Version: osbuild-composer-28.6-1.el8_4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1942029
Environment:
Last Closed: 2021-06-29 16:02:20 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:2585 0 None None None 2021-06-29 16:02:30 UTC

Comment 8 Yi He 2021-05-18 03:15:31 UTC
Verified this bug with the composer build in Advisory RHBA-2021:75056, can NOT reproduce this bug. Composer can handle URL without trailing slash and work as expected.

My steps:
1. Download and install build from https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=1602480
[root@rhel84-iso1 demo]# rpm -qa|grep compose
osbuild-composer-core-28.6-1.el8_4.x86_64
osbuild-composer-worker-28.6-1.el8_4.x86_64
cockpit-composer-29.1-1.el8.noarch
osbuild-composer-28.6-1.el8_4.x86_64
composer-cli-28.14.58-1.el8.x86_64
2. Login cockpit UI, create an blueprint -> create an image -> select RHEL for Edge Container 
3. In Repository URL, provide an URL without trailing slash, like http://x.x.x.x/repo
4. UI shows an image is added to queue.
5. Checked the image queue, it shows the image is in process of building, and I checked with command line, it also shows the image is in process of building.
[root@rhel84-iso1 demo]# composer-cli compose status
113361cd-b3ff-49a1-be97-fdb8b4a57084 RUNNING  Mon May 17 23:03:33 2021 upgrade         0.0.2 rhel-edge-container
[root@rhel84-iso1 demo]# composer-cli compose status
113361cd-b3ff-49a1-be97-fdb8b4a57084 FINISHED Mon May 17 23:12:29 2021 upgrade         0.0.2 rhel-edge-container 2147483648

6. Try same steps with command line, found no errors, composer can successfully compose the image.
[root@rhel84-iso1 demo]# composer-cli compose start-ostree upgrade rhel-edge-container --url http://192.168.100.1/repo --ref rhel/8/x86_64/edge
Compose ee920a1d-a8fb-4c80-9c6f-7139b28bd762 added to the queue
[root@rhel84-iso1 demo]# composer-cli compose status
ee920a1d-a8fb-4c80-9c6f-7139b28bd762 FINISHED Mon May 17 22:53:43 2021 upgrade         0.0.2 rhel-edge-container 
[root@rhel84-iso1 demo]# composer-cli compose image ee920a1d-a8fb-4c80-9c6f-7139b28bd762 
ee920a1d-a8fb-4c80-9c6f-7139b28bd762-rhel84-container.tar: 782.84 MB

Comment 12 errata-xmlrpc 2021-06-29 16:02:20 UTC
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-composer bug fix 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/RHBA-2021:2585


Note You need to log in before you can comment on or make changes to this bug.