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.
Created attachment 283261 [details] Patch to use the --target option for a iscsi target import
Created attachment 283271 [details] Patch for pykickstart to use the --target option for a iscsi target import
Patch 283261 (for anaconda) also contains the iscsi authentication support that I reported in bug 402431.
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.
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