[doc] Allow configuring availability_zones in share types

Bug #1816486 reported by OpenStack Infra on 2019-02-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Goutham Pacha Ravi

Bug Description

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 4249e94c6bb7f5efb1a2095c925398277046936d
Author: Goutham Pacha Ravi <email address hidden>
Date: Tue Jan 15 15:44:40 2019 -0800

    Allow configuring availability_zones in share types

    Administrators configure share types and make them
    available to projects within an OpenStack cloud.
    These share types will define capabilities to match
    back-end storage pools that manila provisions shares
    within. Administrators may want to limit share types
    to specific Availability zones, given they may have
    different classes of storage in different availability
    zones in the cloud. A major use case of this is edge
    computing, where, provisioning can be driven to specific
    edge locations with the help of share types.

    This commit will:

    - Introduce 'availability_zones' as a new common share type
      extra spec that is user visible when configured.
    - In and beyond microversion 2.48, validate that the AZ
      chosen in the POST /shares API is supported by the configured
      availability zones for the share type being used.
    - Share types can be filtered by AZs through extra-specs:

      $ manila type-list --extra-specs availability_zone=nova

      now gives you all types that explicitly (and implicitly)
      are supported within the AZ 'nova'.

    - Improve experimental APIs:
      - Add validation of AZ to POST /share-replicas
      - Add validation of AZ to POST /share-groups
      - Add validation of AZ to
        POST /shares/id {'action': 'migration_start'}

    - Also fix old unit tests by using a helper method to
      generate appropriate mock values.

    Change-Id: Idf274cd73e3b1b33f49668fca768ae676ca30164
    Implements: bp share-type-supported-azs

summary: - Allow configuring availability_zones in share types
+ [doc] Allow configuring availability_zones in share types
Changed in manila:
assignee: nobody → Goutham Pacha Ravi (gouthamr)
Jason Grosso (jgrosso) on 2019-03-22
Changed in manila:
status: New → Incomplete
status: Incomplete → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers