Add 'host' name to initialize/terminate volume connection

Bug #992729 reported by Nirmal Ranganathan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Huang Zhiteng
OpenStack Compute (nova)
Fix Released
Medium
Nirmal Ranganathan

Bug Description

The volume connector information currently has {'ip', 'initiator'}. Some drivers require a hostname or a host identifier for the initialize and terminate compute-volume connections.

It should instead have {'ip', 'initiator', 'host'} and update the HpSanIscsiDriver to use the new connection information to assign/unassign the volume to a specific host.

Changed in nova:
assignee: nobody → Nirmal Ranganathan (rnirmal)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/7027

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

Reviewed: https://review.openstack.org/7027
Committed: http://github.com/openstack/nova/commit/d14ac4bf38f23e429572f210f7b0560493968b15
Submitter: Jenkins
Branch: master

commit d14ac4bf38f23e429572f210f7b0560493968b15
Author: Nirmal Ranganathan <email address hidden>
Date: Tue May 1 14:02:16 2012 -0500

    Adding 'host' info to volume-compute connection information.

    Added a new key 'host' for the initialize/terminate volume connection
    information. Updated the HpSanISCSIDriver to use teh initialize and
    terminate methods. Added missing unit tests for the HpSanISCSIDriver.
    Fixes bug 992729.

    Change-Id: I09fad6b5328cbfb860ab2c7ae5d206010f3dd45d

Changed in nova:
status: In Progress → Fix Committed
Devin Carlen (devcamcar)
Changed in nova:
milestone: none → folsom-1
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Revision history for this message
Huang Zhiteng (zhiteng-huang) wrote :

Fix to the part Cinder affected by this bug is proposed here: https://review.openstack.org/#/c/9348/

Changed in cinder:
assignee: nobody → Huang Zhiteng (zhiteng-huang)
status: New → Confirmed
status: Confirmed → In Progress
Changed in cinder:
milestone: none → folsom-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/9348
Committed: http://github.com/openstack/cinder/commit/c7690fc53dba8ce7221c5f7afd93238be1ea0498
Submitter: Jenkins
Branch: master

commit c7690fc53dba8ce7221c5f7afd93238be1ea0498
Author: Zhiteng Huang <email address hidden>
Date: Thu Jul 5 15:08:34 2012 +0800

    Updated HpSanISCSIDriver to use initialize/terminate methods.

    This is based on Nirmal Ranganathan's patch for Nova-volume, which
    added a new key 'host' for initialize/terminate volume connection
    information in nova to fix bug 992729.

    HpSanISCSIDriver should adopt the change in order to work properly.
    Also added missing unit tests for the HpSanISCSIDriver.

    Fixes bug 992729.

    Change-Id: I9584811a340799161d8c9ae88b1def282380c9ad
    Signed-off-by: Zhiteng Huang <email address hidden>

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: folsom-3 → 2012.2
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-1 → 2012.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.