Dmitry Tantsur (Principal Software Engineer, Red Hat)
Twitter: @creepy_owlet
Original ironic deployment:
The goal of the deploy steps work is to make Boom! Magic!! understandable and extensible.
The idea: split the monolithic and opaque
deploy
function into several steps.
Two step kinds:
Ordered according to their priorities.
deploy.deploy
(100) start the ramdiskdeploy.write_image
(80)deploy.prepare_instance_boot
(60)deploy.tear_down_agent
(40)deploy.switch_to_tenant_network
(30)deploy.boot_instance
(20)deploy.write_image
is in-band, the rest - out-of-band
Coming from:
In-band steps are provided by an IPA hardware manager and must use priorities 99 to 41.
A way to associate a trait with a list of deploy steps.
Can modify priorities and provide arguments!
Blog post: owlet.today/posts/deploy-steps-tutorial
Example code: github.com/dtantsur/ironic-inject-files