Cannot run cinder-volume with SolidFire driver in active/active

Bug #1179671 reported by Mathieu Gagné
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
High
Mathieu Gagné
Grizzly
Fix Released
High
Mathieu Gagné

Bug Description

When using SolidFire driver, cinder-volume cannot be run in active/active mode.

If the SolidFire account is created by the host "cinder01", we see this exception on the host "cinder02":
SfAccountNotFound: Unable to locate account cinder01-b3e8fa2d437e4befbd4e30f64e743c55 on Solidfire device

The SolidFire account is created with a prefix based on the hostname of the host running cinder-volume. We should be able to disable or override the prefix with our own to be able to run in active/active mode.

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

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

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

commit f9fd91e05e7d8d4a7d3a4659ba3c0ebd483732e1
Author: Mathieu Gagné <email address hidden>
Date: Mon May 13 17:05:21 2013 -0400

    solidfire: Add ability to override account prefix

    The SolidFire account is created with a prefix based on the hostname
    of the host running cinder-volume. This prevents cinder-volume from
    being run in an active/active setup.

    This patch introduces a new configuration option sf_account_prefix
    to override the prefix used when a SolidFire account is created.

    If sf_account_prefix is empty, no prefix will be added to
    the SolidFire account name when created.

    The default value is still the hostname.

    Change-Id: I3b974789ea3e749cc8696b69754023ad76155179
    Fixes: bug #1179671

Changed in cinder:
status: In Progress → Fix Committed
Revision history for this message
Mathieu Gagné (mgagne) wrote :

I would like this fix backported to Grizzly. Is it possible?

Thierry Carrez (ttx)
Changed in cinder:
milestone: none → havana-1
status: Fix Committed → Fix Released
Changed in cinder:
importance: Undecided → High
tags: added: grizzly-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/grizzly)

Fix proposed to branch: stable/grizzly
Review: https://review.openstack.org/35406

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/grizzly)

Reviewed: https://review.openstack.org/35406
Committed: http://github.com/openstack/cinder/commit/f857b9630c54288064646ed446188f373671973b
Submitter: Jenkins
Branch: stable/grizzly

commit f857b9630c54288064646ed446188f373671973b
Author: Mathieu Gagné <email address hidden>
Date: Mon May 13 17:05:21 2013 -0400

    solidfire: Add ability to override account prefix

    The SolidFire account is created with a prefix based on the hostname
    of the host running cinder-volume. This prevents cinder-volume from
    being run in an active/active setup.

    This patch introduces a new configuration option sf_account_prefix
    to override the prefix used when a SolidFire account is created.

    If sf_account_prefix is empty, no prefix will be added to
    the SolidFire account name when created.

    The default value is still the hostname.

    Change-Id: I3b974789ea3e749cc8696b69754023ad76155179
    Fixes: bug #1179671
    (cherry picked from commit f9fd91e05e7d8d4a7d3a4659ba3c0ebd483732e1)

Thierry Carrez (ttx)
Changed in cinder:
milestone: havana-1 → 2013.2
Alan Pevec (apevec)
tags: removed: grizzly-backport-potential
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.