Bug 418781

Summary: The --target option for iSCSI targets does not work for kickstart installs
Product: Red Hat Enterprise Linux 5 Reporter: Tim Verhoeven <tim.verhoeven.be>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED INSUFFICIENT_DATA QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 5.1CC: k.georgiou, pasteur
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-27 17:19:59 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:
Bug Depends On:    
Bug Blocks: 472555    
Attachments:
Description Flags
Patch to use the --target option for a iscsi target import
none
Patch for pykickstart to use the --target option for a iscsi target import
none
Updates images containing the patches files none

Description Tim Verhoeven 2007-12-10 20:37:30 UTC
Description of problem:
The --target option (as documented) for a iscsi import does not function.
Anaconda will try to login to all discovered targets even if a --target has been
specified.

Version-Release number of selected component (if applicable):
11.1.2.87-1.el5

How reproducible:
Always

Steps to Reproduce:
1. Do a kickstart install specifing iscsi with the --target option
  
Actual results:
Anaconda tries to login to all discoverd targets for the IP (node) given

Expected results:
Anaconda tries to login to the target specified.

Additional info:
Attached is a patch for anaconda and pykickstart that fixes this.

Comment 1 Tim Verhoeven 2007-12-10 20:37:30 UTC
Created attachment 283261 [details]
Patch to use the --target option for a iscsi target import

Comment 2 Tim Verhoeven 2007-12-10 20:38:12 UTC
Created attachment 283271 [details]
Patch for pykickstart to use the --target option for a iscsi target import

Comment 3 Tim Verhoeven 2007-12-10 20:39:10 UTC
Patch 283261 (for anaconda) also contains the iscsi authentication support that
I reported in bug 402431.

Comment 4 Tim Verhoeven 2007-12-12 08:41:20 UTC
Created attachment 285331 [details]
Updates images containing the patches files

Attached a updates images that can be used to do installations with the patched
code. See the anaconda docs on how to use a updates image.

Comment 5 Hans de Goede 2009-11-30 09:37:59 UTC
Hi Tim,

Thanks for the patches, and sorry for not responding to this bug for such a long long time. I'm a (relatively) new anaconda developer, and I'm responsible for anaconda's iscsi support now a days.

For 5.4 the iscsi code has been completely rewritten, so I'm pretty sure your patches no longer apply.

Given the long silence, and that no one else has requested the same feature. I wonder if you are still interested in having a working --target option for the iscsi kickstart command ?

Regards,

Hans