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, tru
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 13:19:59 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
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 15:37:30 EST
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 15:37:30 EST
Created attachment 283261 [details]
Patch to use the --target option for a iscsi target import
Comment 2 Tim Verhoeven 2007-12-10 15:38:12 EST
Created attachment 283271 [details]
Patch for pykickstart to use the --target option for a iscsi target import
Comment 3 Tim Verhoeven 2007-12-10 15:39:10 EST
Patch 283261 (for anaconda) also contains the iscsi authentication support that
I reported in bug 402431.
Comment 4 Tim Verhoeven 2007-12-12 03:41:20 EST
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 04:37:59 EST
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