Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1198904

Summary: [RFE][ironic]: IPA as default ramdisk
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-ironicAssignee: Lucas Alvares Gomes <lmartins>
Status: CLOSED ERRATA QA Contact: Toure Dunnon <tdunnon>
Severity: medium Docs Contact:
Priority: high    
Version: unspecifiedCC: ddomingo, markmc, sgordon, yeylon
Target Milestone: Upstream M3Keywords: FutureFeature, Triaged
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/ironic/+spec/ipa-as-default-ramdisk
Whiteboard: upstream_milestone_kilo-3 upstream_definition_approved upstream_status_implemented
Fixed In Version: openstack-ironic-2015.1.0-2.el7ost Doc Type: Enhancement
Doc Text:
All Ironic drivers now support deployment via IPA ramdisk. IPA is written in Python, supports more features than the BASH ramdisk, and runs as a service. For these reasons, nodes deployed through IPA are generally easier to deploy, debug, and manage.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:22:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RHOS Integration 2015-03-05 05:02:43 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/ironic/+spec/ipa-as-default-ramdisk.

Description:

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

Specification URL (additional information):

None

Comment 8 errata-xmlrpc 2015-08-05 13:22:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548