manila/releasenotes/notes/bp-ocata-migration-improvements-c8c5675e266100da.yaml
Goutham Pacha Ravi 0970eb6e3a Add cast_rules_to_readonly to share instances
- Add Database migration to introduce the column on the
  share instances model.
- Set the field to True if creating read-only secondary
  replicas, unset while promoting them.
- Set the field to True if drivers don't support writable access
  to migrating shares, or if using host assisted migration.
  Unset if migration fails, or is canceled.
- Expose the field via share-instances and share-replicas
  APIs to administrators.

Supporting read only-access rules is part of the minimum
driver requirements in manila.

APIImpact
DocImpact

Implements: bp fix-and-improve-access-rules

Co-Authored-By: Rodrigo Barbieri <rodrigo.barbieri@fit-tecnologia.org.br>

Change-Id: Ie8425f36f02cbcede0aaa9f3fe1f5f3cf23df8b8
2017-01-20 22:49:56 +00:00

27 lines
1.1 KiB
YAML

---
prelude: >
The share migration feature was improved to support
migrating snapshots where possible and provide a more
deterministic user experience.
features:
- Added 'preserve_snapshots' parameter to share migration API.
upgrade:
- All share migration driver-assisted API parameters are
now mandatory.
- Improvements to the share migration API have been qualified
with the driver assisted migration support that exists in the
ZFSOnLinux driver. However, this driver does not currently
support preserving snapshots on migration.
- Snapshot restriction in share migration API has been
changed to return error only when parameter
force-host-assisted-migration is True.
deprecations:
- Support for the experimental share migration APIs has been
dropped for API microversions prior to 2.30.
fixes:
- Added check to validate that host assisted migration cannot
be forced while specifying driver assisted migration options.
- The share migration API can only be invoked when at least one
parameter within (host, share-network, share-type) is expected
to be changed.