Bug 1995895

Summary: Warning: postgresql.service changed on disk. Run 'systemctl daemon-reload' to reload units, when satellite-maintain stop/start/restart
Product: Red Hat Satellite Reporter: Ganesh Payelkar <gpayelka>
Component: Satellite MaintainAssignee: Anurag Patel <apatel>
Status: CLOSED DUPLICATE QA Contact: Gaurav Talreja <gtalreja>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.10.0CC: apatel, ekohlvan, kgaikwad
Target Milestone: Unspecified   
Target Release: Unused   
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: 2021-08-23 13:02:41 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 Ganesh Payelkar 2021-08-20 05:32:26 UTC
Description of problem:

Warning: postgresql.service changed on disk. Run 'systemctl daemon-reload' to reload units, when satellite-maintain stop/start/restart

Version-Release number of selected component (if applicable):
satellite-6.10.0-0.6.beta
rh-postgresql12-postgresql-12.7-1

How reproducible:
New installation of 6.10 Beta

Steps to Reproduce:
1. Install new 6.10 Beta
2. Try to stop / start service through satellite-maintain
3.

Actual results:

# satellite-maintain service stop
Running Stop Services
================================================================================
Check if command is run as root user:                                 [OK]
--------------------------------------------------------------------------------
Stop applicable services: 

Stopping the following service(s):
rh-redis5-redis, postgresql, pulpcore-api, pulpcore-content, rh-redis5-redis, pulpcore-api.socket, pulpcore-content.socket, pulpcore-worker, pulpcore-worker, pulpcore-worker, pulpcore-worker, tomcat, dynflow-sidekiq@orchestrator, foreman, httpd, puppetserver, foreman.socket, dynflow-sidekiq@worker-1, dynflow-sidekiq@worker-hosts-queue-1, foreman-proxy, foreman-cockpit
| stopping pulpcore-content.socket                                              
Warning: postgresql.service changed on disk. Run 'systemctl daemon-reload' to reload units.
/ All services stopped                                                [OK]      
--------------------------------------------------------------------------------

[root@vm251-249 ~]# satellite-maintain service start
Running Start Services
================================================================================
Check if command is run as root user:                                 [OK]
--------------------------------------------------------------------------------
Start applicable services: 

Starting the following service(s):
rh-redis5-redis, postgresql, pulpcore-api, pulpcore-content, rh-redis5-redis, pulpcore-worker, pulpcore-worker, pulpcore-worker, pulpcore-worker, tomcat, dynflow-sidekiq@orchestrator, foreman, httpd, puppetserver, dynflow-sidekiq@worker-1, dynflow-sidekiq@worker-hosts-queue-1, foreman-proxy, foreman-cockpit
- starting rh-redis5-redis                                                      
Warning: postgresql.service changed on disk. Run 'systemctl daemon-reload' to reload units.
/ All services started                                                [OK]      
--------------------------------------------------------------------------------


Expected results:

If it is required then it has to be added in satellite-maintain or if it is not required the add note below the warning.

Additional info:

Comment 1 Ewoud Kohl van Wijngaarden 2021-08-23 13:02:41 UTC

*** This bug has been marked as a duplicate of bug 1964394 ***