Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-103255

Fix issue with multiple iSCSI Authorized Accesses




      My iSCSI authorized access list looks like this:

      GroupID User
      3 iqn.1998-01.com.vmware:esx1-5031e118
      3 iqn.1998-01.com.vmware:esx2-778be28c
      3 iqn.1998-01.com.vmware:esx3-3400a5e9
      3 iqn.1998-01.com.vmware:esx4-2c16863b

      I re-installed esx1 today, and wanted to update the iqn in the group access list above with the new value. When I try to do this, it won't save and returns an error of "Tag 3 is already in use." I then tried to add it as a new entry in group 3, and got the same error. If I add it to a new group, say 5, it adds it without issue; however, if I then try adding another test entry into the same group, I get the same error about the new group. This is an existing configuration that I have used for many years. I tried this both with the new interface and the legacy interface with the same result. It looks like U5 is only allowing one entry per-group, which kind of negates the whole point of having a group. I don't know if this broke in U5 or in some earlier version since I haven't needed to update my groups in a long time. I am still on FreeNAS-11.2-U5; I will try U6 as soon as I can take the downtime. I read the release notes and did not see this listed under the fixes.  I noticed there was a recent fix to this section of the code from bug FreeNAS / TrueNASNAS-102158; perhaps this issue was introduced there?

      I worked around this issue for now by renaming the IQN in VMWare to match the old IQN I already have in the configuration. Very soon now I will need to add a new member to another group, and that I can't really work around with this. I am hoping I can just create a new group and use the same password; ugly, but should work.


        1. debug-riva-20190927104539.tgz
          733 kB
        2. debug-riva-20190930003258.tgz
          765 kB
        3. Screenshot (1).png
          Screenshot (1).png
          244 kB
        4. Screenshot (2).png
          Screenshot (2).png
          208 kB
        5. Screenshot (3).png
          Screenshot (3).png
          207 kB
        6. Screenshot (4).png
          Screenshot (4).png
          247 kB
        7. Screenshot (5).png
          Screenshot (5).png
          250 kB
        8. Screenshot (6).png
          Screenshot (6).png
          200 kB
        9. Screenshot (7).png
          Screenshot (7).png
          212 kB



            Issue Links



                  waqar Waqar Ahmed
                  eshwayri Edmond Shwayri
                  0 Vote for this issue
                  3 Start watching this issue