share migration does not detect share-group-snapshots
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
High
|
Rodrigo Barbieri |
Bug Description
Share migration has 2 behaviors when it comes to snapshots:
1) host-assisted migration cannot migrate snapshots, so it should error-out.
2) driver-assisted migration, when driver supports it, can migrate snapshots.
Currently, if share is member of a group, and has a group snapshot, share migration is allowing the migration to start. In case of a host-assisted migration, it is not detecting the presence of any snapshots, and is proceeding with the migration.
Steps to reproduce:
1) create share group X in host W
2) create share Y in group X
3) create a group snapshot Z of group X
4) attempt to migrate share Y to host U
5) migration will succeed. If using the generic driver, it will fail to delete the source instance, as it has snapshots, but will delete anyway, leaving the group-snapshot inconsistent.
Changed in manila: | |
importance: | Undecided → High |
milestone: | none → ocata-rc1 |
Fix proposed to branch: master /review. openstack. org/427834
Review: https:/