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 1982253 - osbuild not usable with Satellite
Summary: osbuild not usable with Satellite
Keywords:
Status: CLOSED DUPLICATE of bug 1896185
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: osbuild
Version: 8.4
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: beta
: ---
Assignee: Image Builder team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-14 14:28 UTC by Johannes Scheiber
Modified: 2021-07-14 14:40 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-14 14:40:02 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Johannes Scheiber 2021-07-14 14:28:45 UTC
Description of problem:
#### Environment ####
 - host registered and subscribed to a local Satellite
 - RHEL 8.4
 - Satellite 6.9

#### Problem ####
When trying to add packages to the blueprint while being connected, registered and subscribed to a Satellite, the package list cannot be retrieved.

Despite being registered to a Satellite server, osbuild is trying to get the package list from cdn.redhat.com

#### Errors ####
 - On the the cockpit integration this results in an endless waiting circle without error message.
 - In the logs, the following error appears:
   Jul 12 14:37:38 test5 osbuild-composer[70524]:  - Status code: 403 for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml (IP: 2.16.30.83)
- Status code: 403 for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml (IP: 2.16.30.83)
PRIORITY	6
SYSLOG_FACILITY	3
SYSLOG_IDENTIFIER	osbuild-composer

How reproducible:


#### Steps to Reproduce ####
1. provision host from Satellite (might also fail if only subscribed)
2. install cockpit-composer
3. try to add packages

Actual results:
- Status code: 403 for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml (IP: 2.16.30.83)

Expected results:
Package list is fetched from Satellite


Additional info:
### different approaches/workarounds tried ###
 - configured repo under /etc/osbuild-composer/repositories as described in https://www.osbuild.org/guides/user-guide/managing-repositories.html
    Result: same - fail


#### Package versions ####

[root@test5 ~]# rpm -qi osbuild-composer
Name        : osbuild-composer
Version     : 28.6
Release     : 1.el8_4
Architecture: x86_64
Install Date: Fri 09 Jul 2021 09:38:01 AM UTC
Group       : Unspecified
Size        : 17237
License     : ASL 2.0
Signature   : RSA/SHA256, Wed 12 May 2021 04:33:50 PM UTC, Key ID 199e2f91fd431d51
Source RPM  : osbuild-composer-28.6-1.el8_4.src.rpm
Build Date  : Wed 12 May 2021 02:31:14 PM UTC
Build Host  : x86-039.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : https://github.com/osbuild/osbuild-composer
Summary     : An image building service based on osbuild
Description :

An image building service based on osbuild
It is inspired by lorax-composer and exposes the same API.
As such, it is a drop-in replacement.

[root@test5 ~]# rpm -qi osbuild
Name        : osbuild
Version     : 27.2
Release     : 1.el8
Architecture: noarch
Install Date: Fri 09 Jul 2021 09:37:59 AM UTC
Group       : Unspecified
Size        : 215027
License     : ASL 2.0
Signature   : RSA/SHA256, Thu 08 Apr 2021 03:02:23 PM UTC, Key ID 199e2f91fd431d51
Source RPM  : osbuild-27.2-1.el8.src.rpm
Build Date  : Wed 07 Apr 2021 10:45:57 PM UTC
Build Host  : x86-039.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : https://github.com/osbuild/osbuild
Summary     : A build system for OS images
Description :
A build system for OS images

[root@test5 ~]# rpm -qi cockpit-composer
Name        : cockpit-composer
Version     : 29.1
Release     : 1.el8
Architecture: noarch
Install Date: Fri 09 Jul 2021 09:39:34 AM UTC
Group       : Unspecified
Size        : 13689769
License     : MIT
Signature   : RSA/SHA256, Mon 22 Mar 2021 07:31:10 PM UTC, Key ID 199e2f91fd431d51
Source RPM  : cockpit-composer-29.1-1.el8.src.rpm
Build Date  : Mon 22 Mar 2021 01:25:30 PM UTC
Build Host  : x86-037.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : http://weldr.io/
Summary     : Composer GUI for use with Cockpit
Description :
Composer generates custom images suitable for deploying systems or uploading to
the cloud. It integrates into Cockpit as a frontend for osbuild.

Comment 1 Johannes Scheiber 2021-07-14 14:40:02 UTC

*** This bug has been marked as a duplicate of bug 1896185 ***


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