Devstack Folsom: attaching volume in HpSanISCSIDriver failed with CliqObjectNotFound

Bug #1062508 reported by Gloria Gu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
High
Walt Boring

Bug Description

The cinder code for attaching volume using initialize_connnection in san.py. It just calls assignVolumeToServer ssh cliq. When the server is not available in leftHand, attaching volume failed with CliqObjectNotFound. Currently the server need to be manually added into LeftHand before attach.
The fix is to add the code to make sure the server is in LeftHand before attaching the volume. If the server is not there, create one in LeftHand (createServer).

This is more of enhancement request.

Tags: drivers
Changed in cinder:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Gloria Gu (gloria-gu) wrote :

it is regress from Essex, so don't think this is low priority.

Also when createServer, need to consider CHAP and CHAP related parameters

Revision history for this message
Gloria Gu (gloria-gu) wrote :

I mean it is a regression in cinder Folsom since it works fine in Essex.

tags: added: driver
Changed in cinder:
assignee: nobody → Walt Boring (walter-boring)
Revision history for this message
Fab-stark (m-fabe) wrote :

hi Walt Boring, I would like to know if you are interested if I take this bug, I am young in the community and for me it can be a good exemple to enter in the OpenStack source code. see you

Changed in cinder:
milestone: none → grizzly-rc1
importance: Low → High
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/23875

Changed in cinder:
status: Confirmed → In Progress
Mike Perez (thingee)
tags: added: drivers
removed: driver
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

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

commit a332cb941906557bb7e96706d3827e2cd1bd07f2
Author: Walter A. Boring IV <email address hidden>
Date: Thu Mar 7 16:19:14 2013 -0800

    Fix a few bugs for LeftHand Grizzly

    This patch fixes a few issues with the LH driver.
    1) attach wasn't working because there was no host
    created.
    2) get_volume_stats didn't exist.
    3) fixed the unit tests to work with the new config
    access.

    Bug 1062508
    Bug 1150663

    Change-Id: I6f80c3d5c70b64ca6496e50fedcb6b3ca0e2be43

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: grizzly-rc1 → 2013.1
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.