Do not use prefix to find host in Storwize/SVC driver.

Bug #1149072 reported by Avishay Traeger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Avishay Traeger

Bug Description

Currently, the Storwize/SVC driver creates a host name prefix for host objects on the back-end, and uses that to look up hosts. However, if a host was already created with a different name (for example, manually by an admin), the host creation operation will fail, as a host with that connection information already exists.

Changed in cinder:
assignee: nobody → Avishay Traeger (avishay-il)
tags: added: drivers storwize-svc
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/23830

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

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

commit e342ff4b509a4184bfa984b467e9cd79b53ed9af
Author: Avishay Traeger <email address hidden>
Date: Thu Mar 7 19:18:54 2013 +0200

    Do not use prefix to lookup host in Storwize/SVC.

    Currently, the Storwize/SVC driver creates a host name prefix for host
    objects on the back-end, and uses that to look up hosts. However, if a
    host was already created with a different name (for example, manually
    by an admin), the host creation operation will fail, as a host with
    that connection information already exists. Instead, we look up a host
    based on available connection information.

    Fixes bug: 1149072

    Change-Id: I336dbea85bfaf928a550a15d177e2b9b0ffd38bf

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → grizzly-rc1
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.