Share groups created from snapshot can be created with different share group type

Bug #1781127 reported by Goutham Pacha Ravi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
In Progress
Low
Unassigned

Bug Description

How to reproduce:

1) Create a share group type GROUPTYPEA
2) Create a share group of this type, call it SG1
3) Take a share group snapshot SG1.1 (no shares in the group, this should be an empty snapshot)
4) Create a share group type GROUPTYPEB
5) Create a share group SG2 from SG1.1 and the group type GROUPTYPEB

Expected result: 400 Bad Request, since we know share groups from the same snapshot cannot be scheduled to a different host; for instance, take a look at how this works with shares.

Actual result: No API error, record is created, and possibly the share group is created successfully as well.

Tom Barron (tpb)
tags: added: share-groups
Changed in manila:
importance: Undecided → High
status: New → In Progress
assignee: nobody → Dustin Schoenbrun (dschoenb)
Tom Barron (tpb)
Changed in manila:
assignee: Dustin Schoenbrun (dschoenb) → nobody
importance: High → Medium
tags: added: low-hanging-fruit
Jason Grosso (jgrosso)
Changed in manila:
importance: Medium → Low
Changed in manila:
assignee: nobody → Fábio Oliveira (fabiooliveira1)
Revision history for this message
Vida Haririan (vhariria) wrote :
Changed in manila:
assignee: Fábio Oliveira (fabiooliveira1) → Goutham Pacha Ravi (gouthamr)
Changed in manila:
assignee: Goutham Pacha Ravi (gouthamr) → nobody
assignee: nobody → sneha gaddam (srgaddam08)
Changed in manila:
assignee: sneha gaddam (srgaddam08) → nobody
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.