The result is not correct when retype storwize volume after replication promote
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-
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.
Adding Tao.