Share type is created with snapshot_support=True by default

Bug #1685655 reported by Rodrigo Barbieri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
manila-ui
Fix Released
Medium
Maari Tamm

Bug Description

In latest microversion, manila server does not automatically assign snapshot_support=True by default when creating a share type, but manila-ui still does.

Tom Barron (tpb)
Changed in manila-ui:
assignee: nobody → Victoria Martinez de la Cruz (vkmc)
importance: Undecided → Medium
Changed in manila-ui:
status: New → Triaged
Maari Tamm (maaritamm)
Changed in manila-ui:
assignee: Victoria Martinez de la Cruz (vkmc) → Maari Tamm (maaritamm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila-ui (master)

Fix proposed to branch: master
Review: https://review.opendev.org/692081

Changed in manila-ui:
status: Triaged → In Progress
Changed in manila-ui:
milestone: none → ussuri-1
Changed in manila-ui:
assignee: Maari Tamm (maaritamm) → Goutham Pacha Ravi (gouthamr)
Changed in manila-ui:
assignee: Goutham Pacha Ravi (gouthamr) → Maari Tamm (maaritamm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila-ui (master)

Reviewed: https://review.opendev.org/692081
Committed: https://git.openstack.org/cgit/openstack/manila-ui/commit/?id=7d3eb82eb85b2cdd175b5091fe7b99f4547c6aae
Submitter: Zuul
Branch: master

commit 7d3eb82eb85b2cdd175b5091fe7b99f4547c6aae
Author: Maari Tamm <email address hidden>
Date: Tue Oct 29 21:35:10 2019 +0000

    Drop snapshot_support param from share_type_create

    This patch set drops the snapshot_support param from the
    share_type_create command. Considering that the manila scheduler
    works as follow:

    - If "snapshot_support" in a share type is set to True, the
      scheduler will only match backends that allow taking snapshots.
    - If "snapshot_support" in a share type is set to False, the
      scheduler will only match backends that do not support snapshots.
    - If "snapshot_support" is not set in a share type, the scheduler
      places the share on any backend irrespective of whether snapshots
      or supported or not. However, users will be prevented from taking
      snapshots of such shares.

    We want to mimic the third behavior of the scheduler. That means,
    we expect administrators to specify wheter the backend has or not
    snapshot_support.

    Change-Id: I0440bfa1b182330020f8cb3c37d33e226801f3e9
    Closes-Bug: #1685655

Changed in manila-ui:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.