group-create-from-src doesn't work in active/active mode

Bug #1867906 reported by Ivan Kolodyazhny
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Ivan Kolodyazhny

Bug Description

Steps to reproduce:

1. Deploy cinder with Ceph in A/A mode
2. Run tempest.api.volume.admin.test_group_snapshots.GroupSnapshotsTest.test_create_group_from_group_snapshot failed test

The bug is reproducible via CLI too using `cinder group-create-from-src` command if you try to create a volume group from volume group snapshot.

Expected results:
Volume group is created

Actual resultes:
Scheduler fails to find a valid host and API returns an erros:
Invalid Group: No valid host to create group 8b1c5e42-161b-4fd7-8254-7992782a9f1a.'

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.opendev.org/713649

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

Reviewed: https://review.opendev.org/713649
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=8d67562831606d048f6f381a5b94814216664fbe
Submitter: Zuul
Branch: master

commit 8d67562831606d048f6f381a5b94814216664fbe
Author: Ivan Kolodyazhny <email address hidden>
Date: Wed Mar 18 15:10:39 2020 +0200

    Set cluster name for volume groups

    In Active/Active HA mode we need to store not only worker hostname but
    cluster name too. This patch saves cluster name for groups created from other
    groups or snaphshots.

    Change-Id: I6f160cc44350f0d378fdddb7943e8cdcc15be1b8
    Closes-Bug: #1867906

Changed in cinder:
status: In Progress → Fix Released
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.