Bug 1258643

Summary: [RFE][cinder] Storage Policies - Standard Capabilities
Product: Red Hat OpenStack Reporter: Sean Cohen <scohen>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED ERRATA QA Contact: lkuchlan <lkuchlan>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ddomingo, dnavale, eharney, sgotliv, yeylon
Target Milestone: betaKeywords: FutureFeature
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-cinder-7.0.0-2.el7ost Doc Type: Enhancement
Doc Text:
To provide better flexibility for administrators on deployments with an assortment of storage backends, Block Storage now defines standard names for the capabilities, for example, QoS, compression, replication, bandwidth control, and thin provisioning. This means volume type specifications that will work with multiple drivers without modifications can be defined.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-07 21:05:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sean Cohen 2015-08-31 21:45:38 UTC
Goals:
Provide standard capabilities from drivers that the admins can specify from volume types.
Improve the visibility of what policies are possible with your storage solution via Cinder client and Horizon.
Capabilities need to be exposed to the admin from Cinder, so that Cinder is not limiting what storage backends can do.
These capabilities can include, but are not limited to QoS, replication factor, bandwidth control, etc.


http://specs.openstack.org/openstack/cinder-specs/specs/liberty/standard-capabilities.html

Comment 6 lkuchlan 2016-01-27 14:53:57 UTC
Tested using:
python-cinder-7.0.1-5.el7ost.noarch
openstack-cinder-7.0.1-5.el7ost.noarch
python-cinderclient-1.4.0-1.el7ost.noarch

[stack@instack ~]$ cinder get-capabilities overcloud-controller-0.localdomain@Netapp1
+---------------------+-----------------------------------------------------------------------+
|     Volume stats    |                                 Value                                 |
+---------------------+-----------------------------------------------------------------------+
|     description     |                                  None                                 |
|     display_name    |                                  None                                 |
|    driver_version   |                                 1.0.0                                 |
|      namespace      | OS::Storage::Capabilities::overcloud-controller-0.localdomain@Netapp1 |
|      pool_name      |                                  None                                 |
|   storage_protocol  |                                 iSCSI                                 |
|     vendor_name     |                                 NetApp                                |
|      visibility     |                                  None                                 |
| volume_backend_name |                                Netapp1                                |
+---------------------+-----------------------------------------------------------------------+
+--------------------+---------------------------------------------------------------------------------------------------+
| Backend properties |                                               Value                                               |
+--------------------+---------------------------------------------------------------------------------------------------+
|    compression     |      {u'type': u'boolean', u'description': u'Enables compression.', u'title': u'Compression'}     |
|        qos         |              {u'type': u'boolean', u'description': u'Enables QoS.', u'title': u'QoS'}             |
|    replication     |      {u'type': u'boolean', u'description': u'Enables replication.', u'title': u'Replication'}     |
| thin_provisioning  | {u'type': u'boolean', u'description': u'Sets thin provisioning.', u'title': u'Thin Provisioning'} |
+--------------------+---------------------------------------------------------------------------------------------------+

Comment 8 errata-xmlrpc 2016-04-07 21:05:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0603.html