[Openstack] [Opestack][Cinder] Private volume types

Davide Panarese dpanarese at enter.eu
Tue Nov 15 15:03:29 UTC 2016


Hello,
anyone of us have tried private volume types? How are they work?
I know that were introduced from Kilo release and you can use with Cinder API v2.

But who can define these? Just admins i guess, right? In API command you can choose only if is public or not and not the owner. 
In DB schema i don’t find anything about that:

CREATE TABLE `volume_types` (
    `created_at` datetime DEFAULT NULL,
    `updated_at` datetime DEFAULT NULL,
    `deleted_at` datetime DEFAULT NULL,
    `deleted` tinyint(1) DEFAULT NULL,
    `id` varchar(36) NOT NULL,
    `name` varchar(255) DEFAULT NULL,
    `qos_specs_id` varchar(36) DEFAULT NULL,
    `is_public` tinyint(1) DEFAULT NULL,
    `description` varchar(255) DEFAULT NULL,
    PRIMARY KEY (`id`),
    KEY `qos_specs_id` (`qos_specs_id`),
    CONSTRAINT `volume_types_ibfk_1` FOREIGN KEY (`qos_specs_id`) REFERENCES `quality_of_service_specs` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Do i need Keystone v3 with RBAC to define who can use a specific volume type?

Thanks for your help.
Davide





More information about the Openstack mailing list