create_share_from_snapshot does not work as expected from first attempt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
manila-ui |
Fix Released
|
High
|
Valeriy Ponomaryov |
Bug Description
Creating a new share from snapshot does not detect the source snapshot, thus the snapshot is empty (like a brand new share) in case we send request setting all required fields from first time. In case we fail first attempt and are forced to update required fields then it works as expected.
Steps to reproduce:
1. Create a share X, add access rule, mount and add some files
2. Create a snapshot Y of share X
3. Proceed to create a share Z from snapshot Y (from snapshots screen "=> create share" in snapshot Y's row)
3.1. Fill all mandatory fields of the "Create Share" form before clicking "OK". Failing to do so and causing the form to reload will avoid the problem.
4. Add access rule to share Z, mount and check if files are there <== files are not there
summary: |
- create_share_from_snapshot does not work + create_share_from_snapshot does not work as expected from first attempt |
description: | updated |
Changed in manila-ui: | |
status: | Invalid → Triaged |
importance: | Undecided → High |
Changed in manila-ui: | |
assignee: | nobody → Valeriy Ponomaryov (vponomaryov) |
status: | Triaged → In Progress |
tags: | added: ocata-backport-potential |
"Steps to reproduce" show that we have share with specified snapshot as a source.
If you have problems with some backends losing files, it is not Manila UI problem.