The result is not correct when retype storwize volume after replication promote

Bug #1370311 reported by yixuan zhang
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Undecided
TaoBai

Bug Description

Test step:
1.SVC with Pool-1 and Pool-2 ,configure as stretched cluster.
2.Create volume type-1 backend is Pool-1, without replication.
3.Create volume type-2 backend is Pool-1, target pool for stretched cluster is Pool-2. with replication=TRUE.
4.Create a volume with type-2.there are copy0 and copy1 on Pool-1 and Pool-2.
5.Do "Cinder replication-promote", the primary volume change to Pool-2.
6.Retype volume from type-2 to type-1 to disable replication.
7.Check the volume from SVC, it was found the volume was in Pool-2.
8.Retype volume from type-1 to type-2 to enable replication again.
9.Check the SVC, it was found there are copy0 and copy1 on Pool-2, no copy on Pool-1.
We can never create a copy on Pool-1 from cinder after that.

Expected Result:
On step6, when retype volume from type-2 to type-1,the replication was disable, and the volume should go back to Pool-1.

Revision history for this message
Jay Bryant (jsbryant) wrote :

Adding Tao.

tags: added: drivers storwize
summary:
Revision history for this message
TaoBai (baitao2020) wrote :

This is complicate user case, I need to discuss with Ronen. I am wondering whether we really need to migrate to another pool after replica-promote

Changed in cinder:
assignee: nobody → TaoBai (baitao2020)
Revision history for this message
TaoBai (baitao2020) wrote :

To perfect solve this issue, we need to implement "multi-pool schedular awareness" first. This feature will be K task for storwize.So I will also postpone this ticket to K

Revision history for this message
TaoBai (baitao2020) wrote :

This is a feature:
Storwize should support
1. Mulipool with in one backend
2. Multipool scheduler awareness
3.Replica-promote pools change

Revision history for this message
TaoBai (baitao2020) wrote :

I create a bp for this https://blueprints.launchpad.net/cinder/+spec/storwize-support-muli-pool-within-one-backend-relative-features
Storwize should support
1. Mulipool with in one backend
2. Multipool scheduler awareness
3.Replica-promote pools change

K release no plan to work on this feature

Changed in cinder:
status: New → Invalid
Revision history for this message
TaoBai (baitao2020) wrote :

BTW, point 3 should depend on point 1,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.