Support for full disk images

Registered by Yolanda Robla on 2016-10-31

TripleO only support using flat partitioned images, it means that qcow2, initrd and vmlinuz needs to be provided and uploaded.
But there can be another use case, that is supported in Ironic, and that is the ability to use full disk images, as documented on:

http://docs.openstack.org/project-install-guide/baremetal/draft/configure-integration.html#configure-the-image-service
Currently if you just provide the qcow2 image, the command fails complaining about missing initrd and vmlinuz.

TripleO shall allow to upload just qcow2, detecting that we try to provide a full disk image, and do not setting kernel_id and ramdisk_id on the glance properties for the qcow2 image. This will enable support for full disk images that ironic provides.

In order to generate the full disk images, the "vm" element needs to be used on diskimage-builder elements , instead of relying on "baremetal" one. If customers choose to use full disk images, they would need to use this element (or customized ones) to generate those.

In parallel, there is a refactor of diskimage-builder going on, to be able to compose images with partitions, volumes, etc... This will allow to create images with partitions, volumes, etc... that will fit the customer needs: https://review.openstack.org/#/c/336946/ . However work on TripleO is not depending on that, but will benefit of that features when they land.

Blueprint information

Status:
Complete
Approver:
Emilien Macchi
Priority:
Medium
Drafter:
Yolanda Robla
Direction:
Approved
Assignee:
Yolanda Robla
Definition:
Approved
Series goal:
Accepted for ocata
Implementation:
Implemented
Milestone target:
milestone icon ocata-2
Started by
Yolanda Robla on 2016-11-14
Completed by
Emilien Macchi on 2016-11-30

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/support-full-disk-images,n,z

Addressed by: https://review.openstack.org/394426
    Support full disk images in TripleO

Addressed by: https://review.openstack.org/397075
    Add documentation on how to use whole disk images

Addressed by: https://review.openstack.org/450651
    Support whole disk images in TripleO

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.