The iscsid.conf values are the defaults one used to setup the port/node/target db. If you clear the iscsid.conf values, you would still need to update the db ones for it to take effect on existing targets you have already setup.
For the discovery values you can either delete the old discovery record: iscsiadm -m discoverydb -t st -p ip -o delete When you run the discovery command next, then it will use the iscsid.conf settings to create the discovery record. or if your tools does not support that command you can clear the chap settings iscsiadm -m discoverydb -t st -p ip -o update -n discovery.sendtargets.auth.username -v "" iscsiadm -m discoverydb -t st -p ip -o update -n discovery.sendtargets.auth.password -v "" iscsiadm -m discoverydb -t st -p ip -o update -n discovery.sendtargets.auth.authmethod -v none On 01/03/2013 01:46 PM, Jeff Bye wrote: > Hey! I've been out of town for a couple of weeks. Hope you had a > chance to take some time off as well :) > > It seems that the username and password I had initially set up is still > being used, however in iscsid.conf CHAP is set to "none" and any other > information has been commented. Does this only affect the target side? > > Jeff > > When I had it running on a windows machine (a temporary setup) we kept > it open and > On Fri, Dec 21, 2012 at 1:32 AM, Mike Christie <[email protected] > <mailto:[email protected]>> wrote: > > On 12/20/2012 06:54 PM, GGL wrote: > > deadlineserver@deadlineserver / $ sudo iscsiadm -m discovery -t > > sendtargets -p 10.10.0.1 > > iscsiadm: Login authentication failed with target > > Yeah, this is a CHAP failure. Is it turned off on the target too? > > Could you run > > sudo iscsiadm -m discovery -t sendtargets -p 10.10.0.1 -d 8 > > and send all the output? > > Also while running this command run: > > tcpdump -w iscsi.discovery.out -i your_eth_device > > and then send that iscsi.discovery.out file. It will show us what the > target is sending on the wire too. > > > Both of those files will have passwords in them if you have CHAP > settings still being used, so send me them in private or edit out the > values if you do not want them on the open. > > > > > -- > Jeff Bye > Graphics Coordinator > Liberty Post > 12910 Culver Blvd. Suite G > Los Angeles, CA 90066 > (310) 314-3900 x247 > > -- > You received this message because you are subscribed to the Google > Groups "open-iscsi" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/open-iscsi?hl=en. -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.
