Bug 2211960

Summary: satellite-maintain service enable fails to enable all services previously disabled by satellite-maintain service disable
Product: Red Hat Satellite Reporter: Odilon Sousa <osousa>
Component: Satellite MaintainAssignee: Evgeni Golov <egolov>
Status: CLOSED ERRATA QA Contact: Griffin Sullivan <gsulliva>
Severity: high Docs Contact:
Priority: high    
Version: 6.10.2CC: ahumbe, apatel, dgupte, egolov, ehelms, gsulliva, jan3, jbreitwe, kgaikwad, pbadguja, pdwyer, pmoravec, rlavi, satellite6-bugs
Target Milestone: 6.13.2Keywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: All   
Whiteboard:
Fixed In Version: rubygem-foreman_maintain-1.2.9-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2055790 Environment:
Last Closed: 2023-07-12 15:37:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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