Ability to growpart of created volume from volume/image

Registered by Maxim Monin

Nova server-create api with block_device_mapping_v2 option can create new cinder volume from source image and resize (growpart) partitions to size of volume. When use directly cinder volume-create api from image source, created volume consists all image partitions and small sizes (= image virtual size). For example, when creating 20G Volume, root partition will be 2.1Gb for current ubuntu image instead 19.9Gb. If I create ext4 empty volume with formatted ext4 partiotion of size 1Gb and upload this volume to glance repo, creating 20Gb volume from this image creates volume with partiotion = 1Gb and manual growpart /dev/vdb 1 required to adopt this volume.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Maxim Monin
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.