IPA as default ramdisk

Registered by Lucas Alvares Gomes

This blueprint suggests to add support for pxe_* drivers (using the iSCSI methodology) to be able to use IPA as their deployment ramdisk.

The current bash ramdisk is hard to extend (bash scripting!), hard to debug (you can't ssh, there's no ssh server), and works in a very primitive way (there's no init system, the deploy script runs as PID 1). And IPA[1] is written in python, it's easier to debug (you can ssh into it), it's easy to extend (you can write stevedore extensions for it, just like we do for drivers in Ironic) and it's already running in production.

Also, having 2 deployment ramdisks is not nice, it requires features to be coded on both, it requires operators to generate and maintain different deploy ramdisks if he uses different drivers mixed (and if the nodes have different architetures it get's even more hairy).

So,for this work we need to:
 * add a new extension(s) to IPA do what the bash ramdisk was doing
 * extend the pxe_* drivers in Ironic to be able to deploy with both ramdisks (We can't just drop the bash deploy ramdisk, it should be backward compatible)
 * extend devstack
 * add a job in gate to test pxe_* drivers being deployed with IPA

[1] https://wiki.openstack.org/wiki/Ironic-python-agent

Blueprint information

Status:
Complete
Approver:
John Stafford
Priority:
Medium
Drafter:
Lucas Alvares Gomes
Direction:
Approved
Assignee:
Lucas Alvares Gomes
Definition:
Approved
Series goal:
Accepted for kilo
Implementation:
Implemented
Milestone target:
milestone icon 2015.1.0
Started by
John Stafford
Completed by
John Stafford

Related branches

Sprints

Whiteboard

Still needs gate tests ~BadCub~

Gerrit topic: https://review.openstack.org/#q,topic:ipa-as-default-ramdisk,n,z

Addressed by: https://review.openstack.org/158644
    PXE driver: Deprecate pxe_deploy_{ramdisk, kernel}

Addressed by: https://review.openstack.org/159178
    Add support for using IPA with iSCSI

Addressed by: https://review.openstack.org/157469
    Add the image extension (for local boot)

Addressed by: https://review.openstack.org/157723
    Local boot support for IPA

Addressed by: https://review.openstack.org/155728
    PXE drivers support for IPA

Addressed by: https://review.openstack.org/155727
    Add iscsi extension

Addressed by: https://review.openstack.org/#/c/161790/
    Add non-voting tempest dsvm job for Ironic

Addressed by: https://review.openstack.org/163078
    Move _get_agent_params() to a common place

Addressed by: https://review.openstack.org/163079
    Add support for root device hints

03.11.2015 - Gate tests added and complete per Lucas ~BadCub~

Addressed by: https://review.openstack.org/163509
    Add node UUID to deprecated log message

Gerrit topic: https://review.openstack.org/#q,topic:bp/ipa-as-default-ramdisk,n,z

Addressed by: https://review.openstack.org/162449
    iscsi_ilo driver to support agent ramdisk

Addressed by: https://review.openstack.org/164596
    Cache agent parameters for later invocations

Addressed by: https://review.openstack.org/163739
    Add uefi support in image extension

Addressed by: https://review.openstack.org/181807
    Add IPA support for iscsi_irmc driver

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.