create a volume from image file

Registered by Cao ShuFeng on 2016-04-28

Now nova supports "nova boot --boot-volume", so we need bootable volumes.
However, user cannot upload a image file to volume directly.
If user can upload an image to cinder directly, it will be much more convenient.

Currently:
image.qcow2 ---------------> glance --------------> cinder

With this blueprint:
image.qcow2 -----------------> cinder

With this blueprint, user can upload a image file to cinder, just like upload a image file to glance.
User can create a bootable volume from glance image, and also a normal image file.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Cao ShuFeng
Direction:
Needs approval
Assignee:
Cao ShuFeng
Definition:
Discussion
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

We might need a little more clarification on what you are thinking of changing with this. I'm not sure I follow.

For reference in case this is a misunderstanding, here is an example of creating a bootable cinder volume:
https://kashyapc.fedorapeople.org/virt/openstack/nova-boot-from-volume-test.txt

Currently, to create a bootable volume, it would take two steps:
    1. upload the image file to glance.
    2. create a volume from glance image.
With this blueprint, user get another way to create a bootable volume which takes only one step:
    1. upload a image file to cinder directly.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.