IPA ramdisk should support PXE driver

Bug #1394609 reported by Jim Rollenhagen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
Medium
Lucas Alvares Gomes

Bug Description

Today, Ironic has two deploy ramdisks that may be used; one for the PXE driver, one for the agent driver. Why not have one?

I propose that the IPA ramdisk should be built with two containers: one that runs IPA, and another that runs the PXE deploy ramdisk scripts.

Task: build a container into the IPA ramdisk that runs the PXE scripts. A kernel command line argument should be defined to switch between the two containers. I propose "deploy_method" as the parameter, and "iscsi" or "agent" for valid values.

Primarily, this will need to run:
https://github.com/openstack/diskimage-builder/blob/master/elements/ramdisk-base/init.d/20-init-variables
https://github.com/openstack/diskimage-builder/blob/master/elements/deploy-ironic/init.d/80-deploy-ironic

We'll also need to update Ironic to pass this kernel parameter when using the PXE driver; it should be a parameter that the DIB ramdisk ignores, and that the IPA ramdisk defaults to "agent", for backwards compatibility.

Tags: agent pxe
Dmitry Tantsur (divius)
Changed in ironic:
status: New → Triaged
importance: Undecided → Medium
tags: added: agent pxe
lokesh s (lokesh-s)
Changed in ironic:
assignee: nobody → lokesh s (lokesh-s)
aeva black (tenbrae)
Changed in ironic:
assignee: lokesh s (lokesh-s) → nobody
status: Triaged → Fix Committed
milestone: none → kilo-rc1
Thierry Carrez (ttx)
Changed in ironic:
status: Fix Committed → Fix Released
Revision history for this message
Lucas Alvares Gomes (lucasagomes) wrote :
Changed in ironic:
assignee: nobody → Lucas Alvares Gomes (lucasagomes)
Thierry Carrez (ttx)
Changed in ironic:
milestone: kilo-rc1 → 2015.1.0
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.