Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
>>>
Multiple services missing after "satellite-maintain service disable" command executed and can not be enabled the same services by "satellite-maintain service enable" command.
Once the issue occurs (disable/enable) the Capsule services can't be started with satellite-maintain due to services missing.
Issue is not reproducible on Satellite Capsule 6.9.7 version.
Version-Release number of selected component (if applicable):
>>>
satellite-capsule-6.9.8-1.el7sat.noarch
Steps to Reproduce:
>>>
On Satellite Capsule 6.9.8 version,
# satellite-maintain service list <--- Check enabled services
# satellite-maintain service stop
# satellite-maintain service disable
# satellite-maintain service enable
# satellite-maintain service list <--- Multiple services missing
# satellite-maintain service start
Actual results:
>>>
Multiple services missing after "satellite-maintain service disable" command executed.
Expected results:
>>>
Discrepancy in services when 'satellite-maintain' disable then enable command executed.
Should enable all the required services.
Additional info:
>>>
[root@dhcp130-157 ~]# rpm -qa | grep satellite-cap
satellite-capsule-6.9.8-1.el7sat.noarch
[root@dhcp130-157 ~]# satellite-maintain service list
Running Service List
================================================================================
List applicable services:
foreman-proxy.service enabled
goferd.service enabled
httpd.service enabled
pulp_celerybeat.service enabled
pulp_resource_manager.service enabled
pulp_streamer.service enabled
pulp_workers.service enabled
puppetserver.service enabled
qdrouterd.service enabled
qpidd.service enabled
rh-mongodb34-mongod.service enabled
smart_proxy_dynflow_core.service enabled
squid.service enabled
All services listed [OK]
--------------------------------------------------------------------------------
[root@dhcp130-157 ~]# 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-mongodb34-mongod, qdrouterd, qpidd, squid, pulp_celerybeat, pulp_resource_manager, pulp_streamer, pulp_workers, smart_proxy_dynflow_core, goferd, httpd, puppetserver, foreman-proxy
- All services stopped [OK]
--------------------------------------------------------------------------------
[root@dhcp130-157 ~]# satellite-maintain service disable
Running Disable Services
================================================================================
Check if command is run as root user: [OK]
--------------------------------------------------------------------------------
Disable applicable services:
Disabling the following service(s):
rh-mongodb34-mongod, qdrouterd, qpidd, squid, pulp_celerybeat, pulp_resource_manager, pulp_streamer, pulp_workers, smart_proxy_dynflow_core, goferd, httpd, puppetserver, foreman-proxy
\ disabling rh-mongodb34-mongod
Removed symlink /etc/systemd/system/multi-user.target.wants/rh-mongodb34-mongod.service.
- disabling squid
Removed symlink /etc/systemd/system/multi-user.target.wants/qdrouterd.service.
Removed symlink /etc/systemd/system/multi-user.target.wants/qpidd.service.
Removed symlink /etc/systemd/system/multi-user.target.wants/squid.service.
| disabling smart_proxy_dynflow_core
Removed symlink /etc/systemd/system/multi-user.target.wants/pulp_celerybeat.service.
Removed symlink /etc/systemd/system/multi-user.target.wants/pulp_resource_manager.service.
Removed symlink /etc/systemd/system/multi-user.target.wants/pulp_streamer.service.
Removed symlink /etc/systemd/system/multi-user.target.wants/pulp_workers.service.
Removed symlink /etc/systemd/system/multi-user.target.wants/smart_proxy_dynflow_core.service.
- disabling puppetserver
Removed symlink /etc/systemd/system/multi-user.target.wants/goferd.service.
Removed symlink /etc/systemd/system/multi-user.target.wants/httpd.service.
Removed symlink /etc/systemd/system/multi-user.target.wants/puppetserver.service.
\ disabling foreman-proxy
Removed symlink /etc/systemd/system/multi-user.target.wants/foreman-proxy.service.
| All services disabled [OK]
--------------------------------------------------------------------------------
[root@dhcp130-157 ~]# satellite-maintain service list
Running Service List
================================================================================
List applicable services:
foreman-proxy.service disabled
httpd.service disabled
puppetserver.service disabled
smart_proxy_dynflow_core.service disabled
All services listed [OK]
--------------------------------------------------------------------------------
[root@dhcp130-157 ~]#
[root@dhcp130-157 ~]# satellite-maintain service enable
Running Enable Services
================================================================================
Check if command is run as root user: [OK]
--------------------------------------------------------------------------------
Enable applicable services:
Enabling the following service(s):
smart_proxy_dynflow_core, httpd, puppetserver, foreman-proxy
- enabling smart_proxy_dynflow_core
Created symlink from /etc/systemd/system/multi-user.target.wants/smart_proxy_dynflow_core.service to /usr/lib/systemd/system/smart_proxy_dynflow_core.service.
| enabling puppetserver
Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/puppetserver.service to /usr/lib/systemd/system/puppetserver.service.
/ enabling foreman-proxy
Created symlink from /etc/systemd/system/multi-user.target.wants/foreman-proxy.service to /usr/lib/systemd/system/foreman-proxy.service.
- All services enabled [OK]
--------------------------------------------------------------------------------
[root@dhcp130-157 ~]# satellite-maintain service list
Running Service List
================================================================================
List applicable services:
foreman-proxy.service enabled
httpd.service enabled
puppetserver.service enabled
smart_proxy_dynflow_core.service enabled
All services listed [OK]
[root@dhcp130-157 ~]# satellite-maintain service start
Running Start Services
================================================================================
Check if command is run as root user: [OK]
--------------------------------------------------------------------------------
Start applicable services:
Starting the following service(s):
smart_proxy_dynflow_core, httpd, puppetserver, foreman-proxy
/ All services started [OK]
--------------------------------------------------------------------------------