Uploaded image for project: 'XenServer Org'
  1. XenServer Org
  2. XSO-848

PBD plug operation doesn't login to targets when PBD is attached

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 7.3
    • Fix Version/s: 7.6
    • Component/s: Storage
    • Labels:
      None
    • Environment:

      XenServer 7.3 with multipath enabled using 1 iSCSI target per SAN for a total of 2 targets.

    • Team:
    • Internal JIRA Reference:
      XSI-1, CP-27874

      Description

      The pbd-plug operation doesn't login to down iSCSI targets when PBD is attached.  You can see in ocaml/xapi/xapi_pbd.ml it only checks PBD status not each path.

      This is how you reproduce:

      xe pbd-unplug
      iptables -A OUTPUT -d 10.0.0.x -j REJECT
      xe pbd-plug
      service iptables restart
      xe pbd-plug
      xe pbd-unplug
      xe pbd-plug

      This doesn't reproduce:

      xe pbd-unplug
      iptables -A OUTPUT -d 10.0.0.x -j REJECT
      iptables -A OUTPUT -d 10.0.0.y -j REJECT
      xe pbd-plug
      service iptables restart
      xe pbd-plug

      The workaround is bring up iSCSI target manually:

      iscsiadm -m node -T iqn***REDACTED*** -p 10.11.0.16 -l
      iscsiadm -m node -T iqn***REDACTED*** -p 10.11.0.17 -l

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chandrikas Chandrika Srinivasan
                Reporter:
                arthurr Arthur Ramsey
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: