manila/releasenotes/notes/fix-consistency-groups-api-dd9b5b99138e22eb.yaml
Goutham Pacha Ravi 118d440a90 Fix share server info in CGs created from CGs
Currently when a POST request is made to /consistency-groups
with a source cg-snapshot, the API does not register the share
network information (share_server_id and share_network_id) in
the database row newly created for the CG being created.

This information is essential to any shares that are being created
along with the consistency group.

- Disallow providing a share_network_id when using a source cg_snapshot_id
- Copy share network information from the parent CG
- Fix the share_server_id that was incorrect in the API response

 APIImpact

 Closes-Bug: #1571594
 Closes-Bug: #1572742

Change-Id: I1c3581c81e0b845f46eef3cd0acddb55850447a5
2016-05-09 16:58:44 +00:00

8 lines
309 B
YAML

---
fixes:
- Consistency Group APIs return share_server_id information correctly to
administrators.
- When using a consistency group snapshot to create another consistency
group, share server and network information is persisted from the source
consistency group to the new consistency group.