Bug 2166753

Summary: [RFE] osbuild should read the .repo files every time as opposed to only checking them at service start
Product: Red Hat Enterprise Linux 9 Reporter: jcastran
Component: osbuild-composerAssignee: Image Builder team <osbuilders>
Status: CLOSED MIGRATED QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.1CC: obudai
Target Milestone: rcKeywords: FutureFeature, MigratedToJIRA
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-03 08:45:29 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:

Description jcastran 2023-02-02 21:09:48 UTC
Right now if any changes are made to /etc/osbuild-composer/repositories/ a service restart is required since the repos are only read at service start.

If this were to read the repos each time, then we would not have to restart the service for each change.

This would allow users to change repository configurations easier.

It could potentially help another rfe for "composer-cli sources info" to show which .repo file its reading from

Comment 2 Ondřej Budai 2023-07-03 07:55:47 UTC
This bug will be migrated to Jira shortly. We were asked to migrate at least one bug to Jira before the mass-migration begins, so I've chosen this one.

Comment 3 Ondřej Budai 2023-07-03 08:45:29 UTC
Migrated to https://issues.redhat.com/browse/RHEL-707, the rest of this bug's lifecycle will happen there. Note that we don't plan to migrate any other bugs at the moment, this was just a test. Note that the mass-migration will happen later in 2023 if nothing changes.