no validation when creating share group type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
In Progress
|
Low
|
Ashley Rodriguez |
Bug Description
Description
===========
Administrators currently are able to create a share-group-type,
using incompatible share-types.
For example, Admin creates a share-group-type with group_spec snapshot_support = True.
In creating this share-group-type, they list share_types that are configured with
snapshot_support = False.
There is no error message, or at the least a warning message, informing Admin of this
incompatibility.
Steps to reproduce
==================
* manila type-create sharetype1 true --create_
* manila share-group-
Expected result
===============
Perhaps a user message with message_
"Warning: creating a share-group-type with incompatible share-type extra specs"
or something along those lines.
It shouldn't necessarily stop the admin from doing this, in case a configuration like this
was intentional based on intended end-user experience.
Environment
===========
developing on master
python-manilaclient = 2.7.1
clouds.yaml includes "shared_
tags: | added: share-groups |
Changed in manila: | |
assignee: | nobody → Ashley Rodriguez (ashrod98) |
Changed in manila: | |
assignee: | Ashley Rodriguez (ashrod98) → Ashley Rodriguez (ashrodri) |
milestone: | none → xena-rc1 |
importance: | Undecided → Low |
Changed in manila: | |
milestone: | xena-rc1 → yoga-1 |
Changed in manila: | |
milestone: | yoga-1 → yoga-2 |
Changed in manila: | |
milestone: | yoga-2 → yoga-3 |
Changed in manila: | |
milestone: | yoga-3 → zed-1 |
Changed in manila: | |
milestone: | zed-1 → zed-2 |
Changed in manila: | |
milestone: | zed-2 → zed-3 |
Changed in manila: | |
milestone: | zed-3 → zed-rc1 |
Changed in manila: | |
milestone: | zed-rc1 → antelope-1 |
Changed in manila: | |
milestone: | antelope-1 → antelope-2 |
Changed in manila: | |
milestone: | antelope-2 → antelope-3 |
Changed in manila: | |
milestone: | antelope-3 → antelope-rc1 |
Changed in manila: | |
milestone: | antelope-rc1 → bobcat-1 |
Changed in manila: | |
milestone: | bobcat-1 → bobcat-2 |
Changed in manila: | |
milestone: | bobcat-2 → bobcat-3 |
Changed in manila: | |
milestone: | bobcat-3 → bobcat-rc1 |
Changed in manila: | |
assignee: | Ashley Rodriguez (ashrodri) → Ashley Rodriguez (ashrod98) |
Changed in manila: | |
milestone: | bobcat-rc1 → caracal-1 |
Changed in manila: | |
milestone: | caracal-1 → caracal-2 |
Changed in manila: | |
milestone: | caracal-2 → caracal-3 |
Changed in manila: | |
milestone: | caracal-3 → dalmation-1 |
Changed in manila: | |
milestone: | dalmatian-1 → dalmatian-3 |
Changed in manila: | |
milestone: | dalmatian-3 → dalmatian-rc1 |
Changed in manila: | |
milestone: | dalmatian-rc1 → epoxy-1 |
Fix proposed to branch: master /review. opendev. org/c/openstack /manila/ +/809004
Review: https:/