manage API ignores snapshot_support in the share_type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
High
|
Rodrigo Barbieri |
Bug Description
Manila's manage API can manage shares with an existing share_type. However, when managing a share with a share_type that has the required/
Steps to reproduce:
obiwan@
+------
| ID | Name | all_extra_specs |
+------
| f60ca4df-
| | | snapshot_support : False |
| | | driver_
+------
obiwan@
+------
| Property | Value |
+------
| status | manage_starting |
| share_type_name | tempest-
| description | None |
| availability_zone | None |
| share_network_id | None |
| share_server_id | None |
| host | openstack5@
| access_rules_status | active |
| snapshot_id | None |
| is_public | False |
| task_state | None |
| snapshot_support | True |
| id | 5701a47c-
| size | None |
| name | None |
| share_type | f60ca4df-
| has_replicas | False |
| replication_type | None |
| created_at | 2016-02-
| share_proto | NFS |
| consistency_
| source_
| project_id | 8ea2e614ae0e498
| metadata | {} |
+------
obiwan@
| snapshot_support | True |
Try taking a snapshot:
obiwan@
+------
| Property | Value |
+------
| status | creating |
| share_id | 5701a47c-
| name | test_snapshot |
| created_at | 2016-02-
| share_proto | NFS |
| id | 22011ab7-
| size | 1 |
| share_size | 1 |
| description | None |
+------
obiwan@
+------
| Property | Value |
+------
| status | available |
| share_id | 5701a47c-
| name | test_snapshot |
| created_at | 2016-02-
| share_proto | NFS |
| id | 22011ab7-
| size | 1 |
| share_size | 1 |
| description | None |
+------
This makes for bad user experience
Changed in manila: | |
assignee: | nobody → Goutham Pacha Ravi (gouthamr) |
description: | updated |
Changed in manila: | |
importance: | Undecided → High |
milestone: | none → mitaka-rc1 |
Changed in manila: | |
assignee: | Goutham Pacha Ravi (gouthamr) → nobody |
Changed in manila: | |
assignee: | nobody → Rodrigo Barbieri (rodrigo-barbieri2010) |
Fix proposed to branch: master /review. openstack. org/294269
Review: https:/