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

Bug #1781127 reported by Goutham Pacha Ravi on 2018-07-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Manila
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) on 2018-07-19
tags: added: share-groups
Changed in manila:
importance: Undecided → High
status: New → In Progress
assignee: nobody → Dustin Schoenbrun (dschoenb)
Tom Barron (tpb) on 2019-03-17
Changed in manila:
assignee: Dustin Schoenbrun (dschoenb) → nobody
importance: High → Medium
tags: added: low-hanging-fruit
Jason Grosso (jgrosso) on 2019-08-22
Changed in manila:
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers