Can't manage "Private Volume Types" in MOS

Bug #1493364 reported by Oleksiy Butenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Medium
MOS Cinder

Bug Description

Can't manage "Private Volume Types" in MOS

python-cinderclient doesn't support command:

type-access-add --volume-type <type> --project-id <project_id>
   Add type access for the given project.

type-access-list --volume-type <type>
   Print access information about the given type.

type-access-remove --volume-type <type> --project-id <project_id>
   Remove type access for the given project.

root@node-1:~# cinder help |grep type-access
root@node-1:~# cinder help |grep type
              [--service-type <service-type>] [--service-name <service-name>]
              [--endpoint-type <endpoint-type>]
    encryption-type-create
                        Creates encryption type for a volume type. Admin only.
    encryption-type-delete
                        Deletes encryption type for a volume type. Admin only.
    encryption-type-list
                        Shows encryption type details for volume types. Admin
    encryption-type-show
                        Shows encryption type details for a volume type. Admin
    extra-specs-list Lists current volume types and extra specs.
    qos-associate Associates qos specs with specified volume type.
    qos-disassociate Disassociates qos specs from specified volume type.
    retype Changes the volume type for a volume.
    type-create Creates a volume type.
    type-delete Deletes a volume type.
    type-key Sets or unsets extra_spec for a volume type.
    type-list Lists available 'volume types'.
  --service-type <service-type>
                        Service type. For most actions, default is volume.
  --endpoint-type <endpoint-type>
                        Endpoint type, which is publicURL or internalURL.

Tags: cinder
Revision history for this message
Oleksiy Butenko (obutenko) wrote :

{u'build_id': u'286', u'build_number': u'286', u'auth_required': True, u'fuel-ostf_sha': u'1f08e6e71021179b9881a824d9c999957fcc7045', u'fuel-library_sha': u'ff63a0bbc93a3a0fb78215c2fd0c77add8dfe589', u'nailgun_sha': u'5c33995a2e6d9b1b8cdddfa2630689da5084506f', u'openstack_version': u'2015.1.0-7.0', u'fuel-nailgun-agent_sha': u'd7027952870a35db8dc52f185bb1158cdd3d1ebd', u'fuel-agent_sha': u'082a47bf014002e515001be05f99040437281a2d', u'api': u'1.0', u'python-fuelclient_sha': u'1ce8ecd8beb640f2f62f73435f4e18d1469979ac', u'astute_sha': u'8283dc2932c24caab852ae9de15f94605cc350c6', u'fuelmain_sha': u'9ab01caf960013dc882825dc9b0e11ccf0b81cb0', u'feature_groups': [u'mirantis'], u'release': u'7.0', u'release_versions': {u'2015.1.0-7.0': {u'VERSION': {u'build_id': u'286', u'build_number': u'286', u'fuel-library_sha': u'ff63a0bbc93a3a0fb78215c2fd0c77add8dfe589', u'nailgun_sha': u'5c33995a2e6d9b1b8cdddfa2630689da5084506f', u'fuel-ostf_sha': u'1f08e6e71021179b9881a824d9c999957fcc7045', u'fuel-nailgun-agent_sha': u'd7027952870a35db8dc52f185bb1158cdd3d1ebd', u'fuel-agent_sha': u'082a47bf014002e515001be05f99040437281a2d', u'api': u'1.0', u'python-fuelclient_sha': u'1ce8ecd8beb640f2f62f73435f4e18d1469979ac', u'astute_sha': u'8283dc2932c24caab852ae9de15f94605cc350c6', u'fuelmain_sha': u'9ab01caf960013dc882825dc9b0e11ccf0b81cb0', u'feature_groups': [u'mirantis'], u'release': u'7.0', u'openstack_version': u'2015.1.0-7.0', u'production': u'docker'}}}, u'production': u'docker'}

Changed in mos:
status: New → Won't Fix
Revision history for this message
Oleksiy Butenko (obutenko) wrote :

python-cinderclient for Kilo doesn't support "Private Volume Types". Fix will be landed in MOS 8 with upstream code sync

Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

Fix was merged with the latest stable/liberty code

no longer affects: mos/8.0.x
Changed in mos:
milestone: 7.0 → 8.0
Revision history for this message
Oleksiy Butenko (obutenko) wrote :

verified on MOS 8.0
{"fuel-createmirror_sha": "843736e50534d184f4b07744d68d0f2d27284cae", "api": "1.0", "fuelmain_sha": "eb669555ca18b0fb372c53857f1c7b2f10e669dd", "astute_sha": "7cea69bd021d6132cde473cdd25e5142fdddad95", "fuel-ostf_sha": "618eb749d78cce075c2b14664b59a06d92f142c2", "openstack_version": "2015.1.0-8.0", "build_id": "50", "build_number": "50", "auth_required": true, "fuel-library_sha": "1b5667d4093a7406367c02f94e8b84f40048ffa6", "fuel-nailgun-agent_sha": "abab45cf8c7344d43acd3858c02d7a648ef7fee6", "fuel-nailgun_sha": "491bff70fb5a05e97b9d1daaa706aa5d16cefef7", "fuel-agent_sha": "49e2e8a08a3cf39d1b38ee155015332aa84e47fd", "production": "docker", "python-fuelclient_sha": "952c9d9ba5ba31213328cc450dec54395cb580e1", "feature_groups": ["mirantis"], "release": "8.0", "release_versions": {"2015.1.0-8.0": {"VERSION": {"fuel-createmirror_sha": "843736e50534d184f4b07744d68d0f2d27284cae", "api": "1.0", "fuelmain_sha": "eb669555ca18b0fb372c53857f1c7b2f10e669dd", "astute_sha": "7cea69bd021d6132cde473cdd25e5142fdddad95", "fuel-ostf_sha": "618eb749d78cce075c2b14664b59a06d92f142c2", "openstack_version": "2015.1.0-8.0", "build_id": "50", "build_number": "50", "fuel-library_sha": "1b5667d4093a7406367c02f94e8b84f40048ffa6", "fuel-nailgun-agent_sha": "abab45cf8c7344d43acd3858c02d7a648ef7fee6", "fuel-nailgun_sha": "491bff70fb5a05e97b9d1daaa706aa5d16cefef7", "fuel-agent_sha": "49e2e8a08a3cf39d1b38ee155015332aa84e47fd", "production": "docker", "python-fuelclient_sha": "952c9d9ba5ba31213328cc450dec54395cb580e1", "feature_groups": ["mirantis"], "release": "8.0"}}}}

Changed in mos:
status: Fix Committed → 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.