Bug 885574

Summary: Disabled iscsid by default on RHS2.0
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Jin Zhou <jzhou>
Component: buildAssignee: Bala.FA <barumuga>
Status: CLOSED CURRENTRELEASE QA Contact: Sachidananda Urs <surs>
Severity: low Docs Contact:
Priority: low    
Version: 2.0CC: ashetty, barumuga, bbuckley, cmosher, dpati, grajaiya, rhs-bugs, sac, vbellur
Target Milestone: ---Flags: sac: needinfo+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-10 07:43: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:
Embargoed:

Description Jin Zhou 2012-12-10 06:26:57 UTC
Description of problem:

iscsid service is currently started by default. Please consider disable it or remove it from the default installation. Because RHS2.0 does not support the use of iscsi targets.

Thanks

Comment 2 Bala.FA 2012-12-11 06:02:01 UTC
Fix for the patch is sent to aj and assigning him to examine the patch.

Comment 3 Anthony Towns 2013-01-16 11:16:34 UTC
Change included in RHS-2.0-20130115.0 iso

Comment 4 Gowrishankar Rajaiyan 2013-01-16 11:33:57 UTC
Default installation still has iscsid service as running.

[root@localhost ~]# /etc/init.d/iscsid status
iscsid (pid  1777) is running...
[root@localhost ~]# 

Tested RHS-2.0-20130115.0-RHS-x86_64-DVD1.iso

Comment 7 Bala.FA 2013-03-11 12:42:23 UTC
Please try RHS-2.0-20130219.3-RHS-x86_64-DVD1.iso which works for me.

Comment 8 Sachidananda Urs 2013-03-12 05:32:03 UTC
Tried with RHS-2.0-20130219.3-RHS-x86_64 I can still see iscsid running. I see that they are `on' on runlevelels 3,4,5

Comment 9 Bala.FA 2013-03-12 05:56:22 UTC
Have you used ISO with default installation method? How did you install it? kickstart/beaker/others?

Comment 10 Sachidananda Urs 2013-03-12 06:03:08 UTC
Yes, installed with default installation method. Tested by installing via beaker and via PXE. When installing with PXE it is next->next->next->install. No custom options are selected, so it is pretty much default.

I have a doubt, since I use the same ISO how does the installation method make it any different?

Comment 11 Sachidananda Urs 2013-03-12 06:42:29 UTC
[root@van ~]# chkconfig iscsid --list
iscsid          0:off   1:off   2:off   3:on    4:on    5:on    6:off
[root@van ~]#

Comment 12 Bala.FA 2013-03-12 06:54:29 UTC
(In reply to comment #10)
> Yes, installed with default installation method. Tested by installing via
> beaker and via PXE. When installing with PXE it is
> next->next->next->install. No custom options are selected, so it is pretty
> much default.
> 

As this bug is fixed in kickstart file which is used in ISO installation, I would like to check your kickstart file used in pxe.  You suppose to have something similar post

%post
sed -i -e 's/\(^SELINUX=\).*$/\1disabled/' /etc/selinux/config

# bz 885574
chkconfig iscsid off

# bz 920103
chkconfig tuned on

%end

Comment 13 Sachidananda Urs 2013-03-12 07:36:53 UTC
Tested by provisioning in the beaker and the ks file in the ISO. Works fine, can close.

[root@van ~]# service iscsid status
iscsid is stopped
[root@van ~]# chkconfig iscsid --list
iscsid          0:off   1:off   2:off   3:off   4:off   5:off   6:off
[root@van ~]# 


[root@dj tmp]# tail ks.cfg 
%post
sed -i -e 's/\(^SELINUX=\).*$/\1disabled/' /etc/selinux/config

# bz 885574
chkconfig iscsid off

# bz 920103
chkconfig tuned on

%end
[root@dj tmp]#