Tripleo needs to support full overcloud disk images

Bug #1630203 reported by Yolanda Robla
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

Description of problem:

Currently openstack image upload from tripleo, needs that 3 images are passed:

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:

Currently if you just provide the qcow2 image, the command fails complaining about missing initrd and vmlinuz.

Expected results:

tripleo shall just upload qcow2, and do not set kernel_id and ramdisk_id images, allowing for ironic to consider it as a full disk image.

Revision history for this message
Dmitry Tantsur (divius) wrote :

Important note: a whole disk image is not the same qcow2 image that we use. It is expected to have the whole partitioning built-in. When using DIB, you need to use "vm" element instead of "baremetal".

Changed in tripleo:
status: New → Confirmed
Revision history for this message
Yolanda Robla (yolanda.robla) wrote :

So talking from my experience, the steps needed to allow full disk images is:
1. Provide a new way of building images inside tripleo. Currentl, this basically needs to use vm (or other custom element) instead of baremetal element, in diskimage-builder config. Please not that this effort is also related.
2. Update TripleO "openstack image upload" call, to don't require overcloud-full.initrd and vmlinuz files, in the case of full disk images. If that's the case, no kernel and initrd flags need to be added as glance properties on overcloud-full.qcow2
3. Ensure that ironic supports iscsi deployment correctly. Currently this change is needed:

Luke Hinds (lhinds)
tags: added: security-hardening
Changed in tripleo:
status: Confirmed → Fix Committed
Changed in tripleo:
status: Fix Committed → Fix Released
milestone: none → ocata-2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.