Provide volume name, when create volume from image and boot instance

Bug #1497952 reported by Ritesh Paiboina
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Confirmed
Wishlist
Arvinder Singh

Bug Description

To create a bootable volume from an image and launch an instance from this volume, we uses the --block-device parameter.

For example:

$ nova boot --flavor FLAVOR --block-device
source=SOURCE,id=ID,dest=DEST,size=SIZE,shutdown=PRESERVE,bootindex=INDEX
NAME

The parameters are:

    --flavor FLAVOR. The flavor ID or name.

    --block-device source=SOURCE,id=ID,dest=DEST,size=SIZE,shutdown=PRESERVE,bootindex=INDEX

When you list the volumes to see the bootable volume , the display name will be blank.

For example,

nova boot --flavor 2 \
    --block-device source=image,id=484e05af-a14d-4567-812b-28122d1c2260,dest=volume,size=10,shutdown=preserve,bootindex=0 \
    myInstanceFromVolume

$ cinder list
+-------------+--------+--------------+------+-------------+----------+-------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+-------------+--------+--------------+------+-------------+----------+-------------+
| 2fff50ab... | in-use | | 10 | None | true | 2e65c854... |
+-------------+--------+--------------+------+-------------+----------+-------------+

Now if I want to update the Display Name of the bootable volumn,a user need to execute
following (rename option is not available in Horizon)

$ cinder rename 2fff50ab... bootableVolume

Proposal :

It would be good for a end user to have a optional argument, where he can provide
the name for the bootable volume going to create. A optional argument for --block-device name=VOLUME_NAME
i.e

$ nova boot --flavor FLAVOR --block-device
source=SOURCE,id=ID,dest=DEST,size=SIZE,shutdown=PRESERVE,bootindex=INDEX,name=VOLUME_NAME
NAME

Changed in python-novaclient:
assignee: nobody → Ritesh (rsritesh)
importance: Undecided → Wishlist
Changed in python-novaclient:
assignee: Ritesh (rsritesh) → Arvinder Singh (arvinder-singh)
Changed in python-novaclient:
status: New → Confirmed
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.