Lefthand retains initiator names of servers even after last volume deleted.

Bug #1353137 reported by Sean Severson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Anthony Lee

Bug Description

When Cinder deletes the last volume on a Left Hand array, the array retains the initiator name of the associated host. This leads to authorization errors later down the road if the hostname is reused but the initiator changes, such as in the case of an OS reinstall.

Steps to reproduce:
1. Configure Cinder to use a LeftHand.
2. Create any number of volumes.
3. Delete all of the created volumes.
4. Log onto the array with the CMC.
5. Observe the list of servers under the array name.

Changed in cinder:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Walt Boring (walter-boring)
milestone: none → juno-3
Mike Perez (thingee)
tags: added: drivers
Thierry Carrez (ttx)
Changed in cinder:
milestone: juno-3 → juno-rc1
Changed in cinder:
milestone: juno-rc1 → kilo-1
Changed in cinder:
assignee: Walt Boring (walter-boring) → Anthony Lee (anthony-mic-lee)
Changed in cinder:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Revision history for this message
Mike Perez (thingee) wrote :

Tried pinging Walt and Kurt about this on IRC, but didn't get an answer. Going to retarget to k-2.

Changed in cinder:
milestone: kilo-1 → kilo-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/124145
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=891aa3c6024bc68a2434a24244b66b3dc9942bb3
Submitter: Jenkins
Branch: master

commit 891aa3c6024bc68a2434a24244b66b3dc9942bb3
Author: Anthony Lee <email address hidden>
Date: Thu Sep 25 05:10:05 2014 -0700

    Fixed server name being retained after detach in LeftHand

    There was an issue with the LeftHand driver where the
    initiator names of servers were not being removed when the last
    volume attached to that server was detached.

    This fix will now remove the server from the LeftHand backend
    when no more volumes are attached to it.

    Closes-Bug: #1353137
    Change-Id: I58be39d14979e1d3966232095cb49693c1424f8a

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: kilo-2 → 2015.1.0
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.