Volume created with HA A/A cannot be deleted

Bug #1660734 reported by Gorka Eguileor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Gorka Eguileor

Bug Description

When running in HA A/A mode, if we create a volume then we have a problem when trying to delete it complaining that it's not local to the cluster:

  1032cf79-57bf-433b-a354-1ceb5b50d765 is not local to mycluster@ceph-1.

Gorka Eguileor (gorka)
Changed in cinder:
assignee: nobody → Gorka Eguileor (gorka)
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/427356

Changed in cinder:
status: New → In Progress
Changed in cinder:
importance: Undecided → Medium
milestone: none → ocata-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

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

commit 4cca67f82b833e07f85586b4c5097dcb5d64ea58
Author: Gorka Eguileor <email address hidden>
Date: Tue Jan 31 19:21:04 2017 +0100

    Fix host assignment when clustered

    When creating a volume or a group we set the host that is actually
    working on the resource on the volume service (this is not necessary,
    but it's useful for operators), but the check and assignment methods in
    manager's `_set_resource_host` are wrong, since we are comparing using =
    a host with a pool and one without.

    We are also incorrectly making the assignment because we are not adding
    the pool to the host.

    This patch fixes this by properly comparing the resource's host with our
    own without the backend, and the adding the pool to our host before
    doing the assignment.

    Closes-Bug: #1660734
    Change-Id: Id4c69f872135276e445d14fb36bc6bac0121a028

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 10.0.0.0rc1

This issue was fixed in the openstack/cinder 10.0.0.0rc1 release candidate.

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.