Bug 676118

Summary: iscsi --target kickstart option not actually used
Product: Red Hat Enterprise Linux 6 Reporter: cruejones
Component: anacondaAssignee: Ales Kozumplik <akozumpl>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0CC: akozumpl, atodorov, das_deniz, jzeleny
Target Milestone: rc   
Target Release: 6.0   
Hardware: All   
OS: Linux   
Whiteboard: patch
Fixed In Version: anaconda-13.21.118-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 676114 Environment:
Last Closed: 2011-12-06 10:29:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description cruejones 2011-02-08 20:58:35 UTC
Description of problem:

kickstart iscsi root install does not use --target option even if specified. 
will use any target that may be available at --ipaddr.

iscsi --ipaddr <ip> --target <iqn>

also, when doing a manual install and selecting a specific target it will work
but will not correctly report in /root/anaconda-ks.cfg.  only reports:

isci --ipaddr <ip>

no --target, even though the manual installer works.


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

RHEL6
Fedora14

How reproducible:
always

1. setup an iscsi target server with more than one target exported
2. use "iscsi --ipaddr <ip> --target <target>" in kickstart file
3. install will work but not use actual target specified (unless your lucky) 

Actual results:
specified target not used

Expected results:
specified target used

Additional info:
--target= shouldn't be ignored in ks.cfg and that writeKS should include it.

Comment 2 Ales Kozumplik 2011-02-24 06:35:20 UTC
Related fedora bug: bug 676114.

Comment 3 RHEL Program Management 2011-05-13 23:09:25 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 4 Ales Kozumplik 2011-06-10 08:18:41 UTC
Fixed by e025eea49bc10b7c710048498846f3db2b846063.

Comment 6 Alexander Todorov 2011-08-18 15:50:44 UTC
Tested with anaconda-13.21.130 and 2 targets. ks.cfg specified only the second target. The first one was not used and data on it was intact. Moving to VERIFIED.

Comment 7 errata-xmlrpc 2011-12-06 10:29:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1565.html