Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-3182

iSCSI: Discovery authentication should be defined globally

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Backend, WebUI
    • Labels:

      Description

      Currently, discovery authentication is defined at the target level which may result in some inconsistent state as displayed below. Instead, discovery authentication should be defined "globally".

      How to reproduce:

      Starting with a clear configuration, create one iscsi target with discovery user = "c" and discovery password = "d".

      Check that everything is OK using targetcli:

      vagrant@node1:~> sudo targetcli
      targetcli 2.1-suse (rtslib 2.2-sle12)
      Copyright (c) 2011-2014 by Datera, Inc.
      All rights reserved.
      
      /iscsi> get discovery_auth
      DISCOVERY_AUTH CONFIG GROUP
      ===========================
      enable=1
      --------
      The enable discovery_auth parameter.
      
      mutual_password=
      ----------------
      The mutual_password discovery_auth parameter.
      
      mutual_userid=
      --------------
      The mutual_userid discovery_auth parameter.
      
      password=d
      ----------
      The password discovery_auth parameter.
      
      userid=c
      --------
      The userid discovery_auth parameter.
      

      Now create a second iscsi target with discovery user = "g" and discovery password = "h".

      Use targetcli again to verify that discovery authentication settings were ignored.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            rimarques Ricardo Marques
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: