You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
After configuring osbuild to build an edge-commit according to the downstream microshift install instructions, trying to compose the commit results in a traceback.
Environment
OS version (/etc/os-release and /etc/redhat-release):
$ cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="9.5 (Plow)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="9.5"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Red Hat Enterprise Linux 9.5 Beta (Plow)"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_BUGZILLA_PRODUCT_VERSION=9.5
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.5 Beta"
$ cat /etc/redhat-release
Red Hat Enterprise Linux release 9.5 Beta (Plow)
osbuild-composer version (rpm -qi osbuild-composer)
$ rpm -qi osbuild-composer
Name : osbuild-composer
Version : 101
Release : 1.el9
Architecture: x86_64
Install Date: Wed Apr 10 11:40:19 2024
Group : Unspecified
Size : 18399
License : Apache-2.0
Signature : RSA/SHA256, Tue Mar 5 05:12:56 2024, Key ID 199e2f91fd431d51
Source RPM : osbuild-composer-101-1.el9.src.rpm
Build Date : Mon Feb 26 07:26:12 2024
Build Host : x86-64-05.build.eng.rdu2.redhat.com
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 :
A service for building customized OS artifacts, such as VM images and OSTree
commits, that uses osbuild under the hood. Besides building images for local
usage, it can also upload images directly to cloud.
It is compatible with composer-cli and cockpit-composer clients.
To Reproduce
Follow the instructions to install microshift in an edge commit.
Expected behavior
Successful compose of edge-commit
Additional context
On my osbuild system, the microshift + fast-datapath sources I added were pointing at repos that are behind the Red Hat firewall/VPN, rather than using the CDN sources. It's possible (likely?) that I didn't configure the options in the TOML used for the sources correctly.
However, I would still expect that the compose would fail more gracefully.
That looks like it may be a gpg signature check failure (sorry it's so ugly). It looks like your sources have check_gpg on but no gpg key. If the packages are signed with a key the system doesn't know about it will fail. See https://osbuild.org/docs/on-premises/installation/managing-repositories -- although now that I look at that again it isn't clear that you can add gpg keys to the source. I'd first try turning off the check_gpg flag to see if that fixes things, then get the right key added.
Describe the bug
After configuring osbuild to build an
edge-commit
according to the downstream microshift install instructions, trying to compose the commit results in a traceback.Environment
/etc/os-release
and/etc/redhat-release
):rpm -qi osbuild-composer)
To Reproduce
composer-cli compose start-ostree <blueprint> edge-commit
Expected behavior
Successful compose of
edge-commit
Additional context
On my osbuild system, the
microshift
+fast-datapath
sources I added were pointing at repos that are behind the Red Hat firewall/VPN, rather than using the CDN sources. It's possible (likely?) that I didn't configure the options in the TOML used for the sources correctly.However, I would still expect that the compose would fail more gracefully.
See relevant
osbuild-composer
log snippet below:microshift source TOML
fast-datapath source TOML
microshift blueprint
The text was updated successfully, but these errors were encountered: