Bug 920458

Summary: The 'iscsid' service set to start up at boot-time on Red Hat Storage (RHS) server installed through Red Hat Satellite server
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Rejy M Cyriac <rcyriac>
Component: distributionAssignee: Anthony Towns <atowns>
Status: CLOSED NOTABUG QA Contact: Rejy M Cyriac <rcyriac>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.0CC: flanagan, rhs-bugs, sac, shaines
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-09 02:07:00 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:
Bug Depends On: 986229    
Bug Blocks:    

Description Rejy M Cyriac 2013-03-12 07:12:45 UTC
Description of problem:

The 'iscsi-initiator-utils' package would be installed as a dependency package of 'vdsm-gluster' package, if the fetch failure of the 'fence-agents' package is fixed (Bug 918896). However, if the 'iscsi-initiator-utils' package is installed, the 'iscsid' service would be automatically set to start at boot-time, which is not expected for a Red Hat Storage server, as per Bug 885574 .

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Install RHS server through Red Hat Satellite server
2.The 'iscsi-initiator-utils' package would be installed as a dependency package of 'vdsm-gluster' package, if the fetch failure of the 'fence-agents' package is fixed (Bug 918896).
3.The 'chkconfig --list iscsid' command shows that the 'iscsid' service is set to start at boot-time.
  
Actual results:

If the 'iscsi-initiator-utils' package is installed due to being a dependent package, the 'iscsid' service would be automatically set to start at boot-time, which is not expected for a Red Hat Storage server.

Expected results:

If the 'iscsi-initiator-utils' package is installed due to being a dependent package, the Red Hat Storage packages/configuration must ensure that the 'iscsid' service should not be automatically set to start at boot-time.

Additional info:

Comment 1 Anthony Towns 2013-07-25 04:19:43 UTC
This should be resolved with installation of the redhat-storage-server package.

Comment 2 Rejy M Cyriac 2013-08-07 05:37:01 UTC
The new redhat-storage-server rpm does set iscsid to not start up at boot, but it is still running on a freshly installed RHS 2.1, off RH Satellite server.

----------------------------------------------------------------

# rpm -q --scripts redhat-storage-server | grep iscsi
chkconfig iscsi off
chkconfig iscsid off

# chkconfig --list iscsid
iscsid         	0:off	1:off	2:off	3:off	4:off	5:off	6:off

# service iscsid status
iscsid (pid  2337) is running...

# ps aux | grep iscsid | grep -v grep
root      2336  0.0  0.0   4876   512 ?        Ss   05:20   0:00 iscsid
root      2337  0.0  0.0   5376  3328 ?        S<Ls 05:20   0:00 iscsid

----------------------------------------------------------------

This is probably being started up by vdsmd (BZ 986229)

----------------------------------------------------------------

# grep iscsid /etc/init.d/vdsmd
NEEDED_SERVICES="iscsid multipathd ntpd wdmd sanlock"
    /sbin/service iscsid force-start

----------------------------------------------------------------

Failed to qualify since iscsid still gets to be running on RHS 2.1, installed off RH Satellite.

Comment 3 Anthony Towns 2013-08-09 02:07:00 UTC
Closing as per 986229