Can't override host in cinder-volume backend

Bug #1322366 reported by Vish Ishaya
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Wishlist
Vish Ishaya
Icehouse
Fix Released
Undecided
Unassigned

Bug Description

Backends for external storage devices can achieve HA by specifying the same host for multiple copies. This allows any of the copies to handle messages that are normally sent to the "owner" of the volume. Unfortunately host cannot be set per backend so you can't have multiple backends where one shares a hostname with other nodes and the other backend has a unique hostname.

You need to be able to override the host setting in the backend configuration to make this work.

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/95022

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

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

commit c0630419f45f0b34bae5702ccecedf0b398f91b0
Author: Vishvananda Ishaya <email address hidden>
Date: Thu May 22 14:49:20 2014 -0700

    Allow host config to be overriden in backend

    This allows you to specify host=XXX in your backend configuration
    to override the host value that is specified in the DEFAULT section,
    allowing for some backends to share a hostname while others can
    have unique names.

    Change-Id: Ie8894a7cebf350dc2d50567058a765482b9d97d7
    Closes-bug: #1322366

Changed in cinder:
status: In Progress → Fix Committed
Mike Perez (thingee)
Changed in cinder:
milestone: none → juno-1
importance: Undecided → Wishlist
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/icehouse)

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

tags: added: icehouse-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/icehouse)

Reviewed: https://review.openstack.org/103549
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=04c7431858157e19e42cad88e6197747063e7b86
Submitter: Jenkins
Branch: stable/icehouse

commit 04c7431858157e19e42cad88e6197747063e7b86
Author: Vishvananda Ishaya <email address hidden>
Date: Thu May 22 14:49:20 2014 -0700

    Allow host config to be overriden in backend

    This allows you to specify host=XXX in your backend configuration
    to override the host value that is specified in the DEFAULT section,
    allowing for some backends to share a hostname while others can
    have unique names.

    Closes-bug: #1322366
    DocImpact: When using multi-backend, each driver can now specify
               'host' parameter.
    (cherry picked from commit c0630419f45f0b34bae5702ccecedf0b398f91b0)
    Change-Id: Ie8894a7cebf350dc2d50567058a765482b9d97d7

tags: added: in-stable-icehouse
Chuck Short (zulcss)
tags: removed: icehouse-backport-potential
Thierry Carrez (ttx)
Changed in cinder:
milestone: juno-1 → 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.