Share is writable during host-assisted migration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
High
|
Rodrigo Barbieri |
Bug Description
Share should remain read-only during migration. For drivers which update access rules always in recovery mode, the share access is being reverted to RW during migration.
Steps to reproduce:
1) Create a share on a backend running a driver that implements update_access always in recovery mode
2) Add a RW rule to give access to a VM
3) Mount the share in that VM
4) Write some data, confirming it is writable
5) Start a migration of that share
6) If you are quick enough, try to write some data in the share to confirm it is read only
7) During copy (watch m-dat or share's task_state through 'share show' or 'migration-
Changed in manila: | |
assignee: | nobody → Rodrigo Barbieri (rodrigo-barbieri2010) |
importance: | Undecided → High |
milestone: | none → ocata-1 |
tags: | added: newton-backport-potential |
Changed in manila: | |
milestone: | ocata-1 → ocata-2 |
Fix proposed to branch: master /review. openstack. org/375047
Review: https:/