Bug 2225409 - Capsule autosync settings requires service restart to take effect
Summary: Capsule autosync settings requires service restart to take effect
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Tasks Plugin
Version: 6.14.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: 6.14.0
Assignee: Adam Ruzicka
QA Contact: Vladimír Sedmík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-25 09:27 UTC by Vladimír Sedmík
Modified: 2023-08-03 14:15 UTC (History)
3 users (show)

Fixed In Version: rubygem-foreman-tasks-8.1.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36614 0 Normal New The middleware that reloads settings does not get called when execution plan hooks are being executed 2023-07-25 09:29:22 UTC
Red Hat Issue Tracker SAT-19128 0 None None None 2023-07-25 09:40:14 UTC

Description Vladimír Sedmík 2023-07-25 09:27:29 UTC
Description of problem:
While testing BZ#2173535 it seems there is still some issue pending which requires service restart for the settings change to take effect.


Version-Release number of selected component (if applicable):
6.14.0 snap 8


How reproducible:
always


Steps to Reproduce:
1. follow https://bugzilla.redhat.com/show_bug.cgi?id=2173535


Actual results:
1. After flipping the autosync to 'No', the first CV promotion is still synced, but consequent publish/promotes are not (which is expected).
2. After flipping the autosync back to 'Yes', the capsule isn't autosynced until the services are restarted. This behavior resembles https://bugzilla.redhat.com/show_bug.cgi?id=2157869 but needs different fix.


Expected results:
Proper behavior without need to restart services.

Comment 1 Vladimír Sedmík 2023-08-03 14:15:02 UTC
Verified in 6.14.0 snap 10.

Capsule is now synced properly according to settings (foreman_proxy_content_auto_sync) without need for service restart.


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