Bug 2136504
Summary: | osbuild-composer can't access /var/cache/osbuild-composer/rpmmd on package upgrade from 9.0 | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Tomáš Hozza <thozza> | |
Component: | osbuild-composer | Assignee: | Image Builder team <osbuilders> | |
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 9.0 | CC: | atodorov, obudai, osbuilders, release-test-team-automation | |
Target Milestone: | rc | Keywords: | Patch, Triaged, Upstream, ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | osbuild-composer-67-2.el9 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 2136503 | |||
: | 2136533 (view as bug list) | Environment: | ||
Last Closed: | 2023-05-09 07:32:45 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2136533 |
Description
Tomáš Hozza
2022-10-20 13:28:30 UTC
On a RHEL-9.0.0 system: # rpm -q osbuild-composer osbuild-composer-46.2-1.el9_0.x86_64 # systemctl start osbuild-composer.socket # cat py3.toml name = "py3" description = "A base ostree image with Python 3" version = "0.0.1" modules = [] groups = [] [[packages]] name = "python3" version = "*" # composer-cli blueprints push py3.toml # composer-cli blueprints list py3 # subscription-manager register # subscription-manager status +-------------------------------------------+ System Status Details +-------------------------------------------+ Overall Status: Disabled Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status. System Purpose Status: Disabled # subscription-manager list +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: Red Hat Enterprise Linux for x86_64 Product ID: 479 Version: 9.0 Arch: x86_64 # composer-cli blueprints depsolve py3 ERROR: BlueprintsError: py3: RHSM secrets not found on the host for this baseurl: https://cdn.redhat.com/content/dist/rhel9/9/x86_64/baseos/os blueprint: py3 v0.0.1 @Tomas, I am missing something here but not sure what. I can't depsolve in order to reproduce the bug. Any ideas ? Did you restart osbuild-composer / reboot after setting up the subscription? It only loads the cert at startup. (In reply to Brian Lane from comment #7) > Did you restart osbuild-composer / reboot after setting up the subscription? > It only loads the cert at startup. I didn't. That worked. Thanks. After restart and a successful depsolve/projects list I see: # ls -ld /var/cache/osbuild-composer/rpmmd/ drwxr-xr-x. 4 root root 4096 Feb 14 06:12 /var/cache/osbuild-composer/rpmmd/ After upgrade .... # rpm -qa | grep osbuild osbuild-composer-dnf-json-73-1.el9.x86_64 osbuild-composer-core-73-1.el9.x86_64 python3-osbuild-77-1.el9.noarch osbuild-77-1.el9.noarch osbuild-selinux-77-1.el9.noarch osbuild-luks2-77-1.el9.noarch osbuild-lvm2-77-1.el9.noarch osbuild-ostree-77-1.el9.noarch osbuild-composer-worker-73-1.el9.x86_64 osbuild-composer-73-1.el9.x86_64 # ls -ld /var/cache/osbuild-composer/rpmmd/ drwxr-xr-x. 20 _osbuild-composer _osbuild-composer 8192 Feb 14 06:23 /var/cache/osbuild-composer/rpmmd/ 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 (Moderate: Image Builder security, 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/RHSA-2023:2204 |