Bug 2211960 - satellite-maintain service enable fails to enable all services previously disabled by satellite-maintain service disable
Summary: satellite-maintain service enable fails to enable all services previously dis...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Foreman Maintain
Version: 6.10.2
Hardware: x86_64
OS: All
high
high
Target Milestone: 6.13.2
Assignee: Evgeni Golov
QA Contact: Griffin Sullivan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-02 18:42 UTC by Odilon Sousa
Modified: 2023-07-12 15:37 UTC (History)
14 users (show)

Fixed In Version: rubygem-foreman_maintain-1.2.9-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2055790
Environment:
Last Closed: 2023-07-12 15:37:22 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36464 0 High Closed satellite-maintain service enable fails to enable all services previously disabled by satellite-maintain service disable... 2023-06-02 18:42:45 UTC
Github theforeman foreman_maintain pull 730 0 None Merged Fix foreman service being enabled after disable 2023-06-02 18:42:45 UTC
Github theforeman foreman_maintain pull 736 0 None Merged Fixes #36464 - always manage pulpcore services 2023-06-02 18:42:45 UTC
Red Hat Issue Tracker SAT-18016 0 None None None 2023-06-02 18:42:45 UTC
Red Hat Issue Tracker SAT-18081 0 None None None 2023-06-02 18:46:51 UTC
Red Hat Knowledge Base (Solution) 6807641 0 None None None 2023-06-02 18:42:45 UTC
Red Hat Product Errata RHBA-2023:4043 0 None None None 2023-07-12 15:37:35 UTC

Comment 2 Griffin Sullivan 2023-06-22 13:37:12 UTC
Verified on 6.13.2 snap 2

satellite-maintain service enable is working correctly.

Steps to Reproduce:

1. # hammer ping

2. # satellite-maintain service disable

3. # satellite-maintain service enable

4. Reboot Satellite server

5. # hammer ping

Results:

All services return `Status: ok`


Note:
After reboot, if you run hammer ping too quickly you will see 

foreman_tasks:    
    Status:          FAIL
    Server Response: Message: some executors are not responding, check /foreman_tasks/dynflow/status

However, after a few more seconds if you rerun you will get status ok.

Comment 11 errata-xmlrpc 2023-07-12 15:37:22 UTC
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 (Satellite 6.13.2 Async 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/RHBA-2023:4043


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