Hyper-V cannot attach volumes when the host is an AD member

Bug #1328870 reported by Lucian Petrut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Lucian Petrut
Havana
Fix Released
Undecided
Unassigned
Icehouse
Fix Released
Undecided
Unassigned

Bug Description

The domain name gets added to the initiator name used by the host when it's an AD member. The method which automatically gets the initiator name when this is not set in the registry does not take this into account. Trying to use a wrong initiator name will lead to an exception when trying to log in to the according iSCSI target.

Changed in nova:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Lucian Petrut (petrutlucian94) wrote :
Changed in nova:
assignee: nobody → Petrut Lucian (petrutlucian94)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/99367
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0a7527c71228c8e776ad40cedd2cf137fd99f43d
Submitter: Jenkins
Branch: master

commit 0a7527c71228c8e776ad40cedd2cf137fd99f43d
Author: Lucian Petrut <email address hidden>
Date: Wed Jun 11 16:24:06 2014 +0300

    Fixes hyper-v volume attach when host is AD member

    The domain name gets added to the initiator name used by the host
    if it's an Active Directory member.

    Currently the method which gets the initiator name does not take
    this into account when retrieving the default initiator name.

    Trying to use a wrong initiator name will lead to an exception when
    trying to log in to the according iSCSI target.

    This patch simply appends the domain name (when the host is an AD
    member) to the initiator name used to log in to iSCSI targets.

    Closes-Bug: #1328870

    Change-Id: Ifbe762c685e46081059a01043431b2c4ac5473fc

Changed in nova:
status: Triaged → Fix Committed
Changed in nova:
milestone: none → juno-2
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/110265

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/icehouse)

Reviewed: https://review.openstack.org/110265
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=0d9419f2b36561bf50bbe0f720c8dd8ad4e96660
Submitter: Jenkins
Branch: stable/icehouse

commit 0d9419f2b36561bf50bbe0f720c8dd8ad4e96660
Author: Lucian Petrut <email address hidden>
Date: Wed Jun 11 16:24:06 2014 +0300

    Fixes hyper-v volume attach when host is AD member

    The domain name gets added to the initiator name used by the host
    if it's an Active Directory member.

    Currently the method which gets the initiator name does not take
    this into account when retrieving the default initiator name.

    Trying to use a wrong initiator name will lead to an exception when
    trying to log in to the according iSCSI target.

    This patch simply appends the domain name (when the host is an AD
    member) to the initiator name used to log in to iSCSI targets.

    Closes-Bug: #1328870
    (cherry-picked from commit 0a7527c71228c8e776ad40cedd2cf137fd99f43d)

    Change-Id: Ifbe762c685e46081059a01043431b2c4ac5473fc

tags: added: in-stable-icehouse
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/111787

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/havana)

Reviewed: https://review.openstack.org/111787
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=8c4049c882a9396db7bbca1190d5e1599d46617b
Submitter: Jenkins
Branch: stable/havana

commit 8c4049c882a9396db7bbca1190d5e1599d46617b
Author: Zsolt Dudás <email address hidden>
Date: Wed Jun 11 16:24:06 2014 +0300

    Fixes hyper-v volume attach when host is AD member

    The domain name gets added to the initiator name used by the host
    if it's an Active Directory member.

    Currently the method which gets the initiator name does not take
    this into account when retrieving the default initiator name.

    Trying to use a wrong initiator name will lead to an exception when
    trying to log in to the according iSCSI target.

    This patch simply appends the domain name (when the host is an AD
    member) to the initiator name used to log in to iSCSI targets.

    Closes-Bug: #1328870
    (cherry-picked from commit 0d9419f2b36561bf50bbe0f720c8dd8ad4e96660)

    Change-Id: Ifbe762c685e46081059a01043431b2c4ac5473fc

tags: added: in-stable-havana
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-2 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.