[DOC]Add cast_rules_to_readonly to share instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Goutham Pacha Ravi |
Bug Description
https:/
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
Your project "openstack/manila" is set up so that we directly report the documentation bugs against it. If this needs changing, the docimpact-group option needs to be added for the project. You can ask the OpenStack infra team (#openstack-infra on freenode) for help if you need to.
commit 0970eb6e3aee8f7
Author: Goutham Pacha Ravi <email address hidden>
Date: Thu Dec 1 16:50:39 2016 +0530
Add cast_rules_
- 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-
Co-Authored-By: Rodrigo Barbieri <email address hidden>
Change-Id: Ie8425f36f02cbc
summary: |
- Add cast_rules_to_readonly to share instances + [DOC]Add cast_rules_to_readonly to share instances |
Changed in manila: | |
assignee: | nobody → Goutham Pacha Ravi (gouthamr) |
importance: | Undecided → Medium |
Changed in manila: | |
status: | New → Confirmed |
The change https:/ /review. opendev. org/419163 introduced a property on the share instance model called "cast_rules_ to_readonly" . This property is available in the JSON response of APIs:
GET /v2/{project_ id}/share- replicas/ {share_ replica_ id} id}/share- replicas/ id}/share- instances/ {instance- id} id}/share- instances
GET /v2/{project_
GET /v2/{project_
GET /v2/{project_
The API Reference has been updated for share replica APIs in https:/ /review. opendev. org/494143/ and for share instance APIs in https:/ /review. opendev. org/648005
No further documentation is necessary.