Bug 1047422 - [RFE][cinder]: Ability to create multiple volumes at the same time
Summary: [RFE][cinder]: Ability to create multiple volumes at the same time
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Upstream M3
: 5.0 (RHEL 7)
Assignee: RHOS Maint
QA Contact: Dafna Ron
URL: https://blueprints.launchpad.net/cind...
Whiteboard: upstream_milestone_icehouse-3 upstrea...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-31 05:03 UTC by RHOS Integration
Modified: 2016-04-27 04:20 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-23 16:19:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description RHOS Integration 2013-12-31 05:03:37 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/cinder/+spec/create-multiple-volume-from-cli.

Description:

The goal of the blueprint is to allow the creation of more volumes at the same time (of sequentially) from the cinder create command. The idea is the same as nova, thus a new option (new parameter of 'create') should be added like so:

$ cinder create --num-volumes 3 --display-name volume <size>

The display name will be required attribute to identify the volumes created. It can either be kept required in case --num-volumes are created or can be created dynamically based on current timestamp

e.g.

$cinder create --num-volumes 3 --display-name testvolume 1

volume display names will be
testvolume-1
testvolume-2
testvolume-3

$cinder create --num-volumes 3 1

volume display names will be
20131230060056-1
20131230060056-2
20131230060056-3


This will also need additional input parameters on dashboard for number of volumes.

As per review comments from Duncan, the code changes will be in python-cinderclient. No code in cinder will be touched.

Specification URL (additional information):

https://wiki.openstack.org/wiki/Ability_to_create_more_than_one_volume_at_the_same_time


Note You need to log in before you can comment on or make changes to this bug.