Description of problem: Te parsing logic in iscsi-linux must have all global settings set prior to the DiscoveryAddress stanza or the last target listed for the DiscoveryAddress will take on those parameters and all others will assume the defaults. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Last target has the changes but none of the others. Expected results: All global changes should be in affect on all targets. Additional info: If the /etc/iscsi.conf file in RHEL 4 has the following: #DiscoveryAddress=51.50.51.198 #DiscoveryAddress=51.51.51.198 #DiscoveryAddress=51.50.51.199 #DiscoveryAddress=51.51.51.199 #DiscoveryAddress=51.51.51.213 #DiscoveryAddress=51.50.51.212 DiscoveryAddress=51.50.51.231 DiscoveryAddress=51.51.51.231 DiscoveryAddress=51.50.51.232 DiscoveryAddress=51.51.51.232 # To globally enable R2T flow control (i.e., the initiator must wait for an R2T # command before sending any data), uncomment the following line: # InitialR2T=yes # # To globally disable R2T flow control (i.e., the initiator has an implied # initial R2T of "FirstBurstLength" at offset 0), uncomment the following line: # #InitialR2T=no The InitialR2T=yes will only be applied to 51.51.51.232. If the /etc/iscsi.conf file is as such: # To globally enable R2T flow control (i.e., the initiator must wait for an R2T # command before sending any data), uncomment the following line: # InitialR2T=yes # # To globally disable R2T flow control (i.e., the initiator has an implied # initial R2T of "FirstBurstLength" at offset 0), uncomment the following line: # #InitialR2T=no #DiscoveryAddress=51.50.51.198 #DiscoveryAddress=51.51.51.198 #DiscoveryAddress=51.50.51.199 #DiscoveryAddress=51.51.51.199 #DiscoveryAddress=51.51.51.213 #DiscoveryAddress=51.50.51.212 DiscoveryAddress=51.50.51.231 DiscoveryAddress=51.51.51.231 DiscoveryAddress=51.50.51.232 DiscoveryAddress=51.51.51.232 Then the InitialR2T=yes is applied globally to all the targets. Recommend document change that would inform the useer that all global parameters need to be applied to the beginning of the iscsi.conf before the global target list.
Adding devel_ack. Depending on time available for 4.7, I will either fix the code to handle the above situation or add documentation that we do not support it.
The correct way to define global values is in the iscsi.conf man page, so I just copied that to iscsi.conf example page.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0810.html