Bug 1367373

Summary: Service skynetd should be stopped during uninstallation process
Product: Red Hat Storage Console Reporter: Daniel Horák <dahorak>
Component: distributionAssignee: Nishanth Thomas <nthomas>
Status: CLOSED WONTFIX QA Contact: sds-qe-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2CC: sankarshan
Target Milestone: ---   
Target Release: 3   
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: 2017-03-23 04:05:50 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:

Description Daniel Horák 2016-08-16 09:48:09 UTC
Description of problem:
  Service skynetd remains running, when rhscon-core is uninstalled.

Version-Release number of selected component (if applicable):
  rhscon-agent-0.0.18-1.el7scon.noarch

How reproducible:
  100%

Steps to Reproduce:
1. Install rhscon-core with all required dependences.
  # yum install collectd collectd-debuginfo collectd-ping liboping liboping-debuginfo libstoraged openpgm openpgm-debuginfo python-cpopen python-cpopen-debuginfo python-crypto python-crypto-debuginfo python-daemon python-lockfile python-msgpack python-msgpack-debuginfo python-zmq python-zmq-debuginfo rhscon-agent rhscon-core-selinux salt salt-minion salt-selinux storaged storaged-debuginfo storaged-lvm2 zeromq3 zeromq3-debuginfo

2. Start skynetd service and check if it is running.
  # systemctl start skynetd
  # systemctl status skynetd

3. Uninstall rhscon-core package (and all other previously installed packages).
  # yum remove collectd collectd-debuginfo collectd-ping liboping liboping-debuginfo libstoraged openpgm openpgm-debuginfo python-cpopen python-cpopen-debuginfo python-crypto python-crypto-debuginfo python-daemon python-lockfile python-msgpack python-msgpack-debuginfo python-zmq python-zmq-debuginfo rhscon-agent rhscon-core-selinux salt salt-minion salt-selinux storaged storaged-debuginfo storaged-lvm2 zeromq3 zeromq3-debuginfo
  
4. Check the status of skynetd service
  # systemctl status skynetd
  
Actual results:
  # systemctl status skynetd.service
  ● skynetd.service
     Loaded: not-found (Reason: No such file or directory)
     Active: active (running) since Tue 2016-08-16 11:17:11 CEST; 28min ago
   Main PID: 6222 (skynetd)
     CGroup: /system.slice/skynetd.service
             └─6222 /usr/bin/python /usr/bin/skynetd
  
  Aug 16 11:17:11 dhcp-126-125.lab.eng.brq.redhat.com systemd[1]: Started SkyRing Node Eventing Daemon to push signals to SkyRing.
  Aug 16 11:17:11 dhcp-126-125.lab.eng.brq.redhat.com systemd[1]: Starting SkyRing Node Eventing Daemon to push signals to SkyRing...
  
Expected results:
  Service skynetd should be stopped during uninstallation process.

Additional info: