From 0bf60004aea7359f10efc6d0133c88e5c4f40dda Mon Sep 17 00:00:00 2001 From: "Stefan K. Berg" Date: Thu, 23 Apr 2015 17:06:18 +0200 Subject: Auto deploy prototype #2 This is an evolvement of the libvirt deployer to make it fully general, and it also add the concept of Deploy Environment Adapter (dea), Deploy Hardware Adapter (dha) and a hardware adapter plugin. See the README.rst file for an introduction of how to start experimenting with this concept in a libvirt setting. Highlights: - Can "xerox" an existing Fuel deploy - Separates configuration for the deployment (DEA) and the configuration for the hardware (DHA) - Introduces an API to be implemented by hardware adapters (a libvirt example adapter is included) - Provides a verification tool "verify_dha.sh" to validate DHA adapters against the DHA API. See the TODO.txt file for things that can be worked on. JIRA Change-Id: I98ff665e6b63c6c3bc42bb6b65c1d2151359e374 Signed-off-by: Stefan K. Berg --- fuel/prototypes/deploy/TODO.txt | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 fuel/prototypes/deploy/TODO.txt (limited to 'fuel/prototypes/deploy/TODO.txt') diff --git a/fuel/prototypes/deploy/TODO.txt b/fuel/prototypes/deploy/TODO.txt new file mode 100644 index 0000000..3dcdfb7 --- /dev/null +++ b/fuel/prototypes/deploy/TODO.txt @@ -0,0 +1,34 @@ +*** FIXMEs can automatically be extracted from the code by running +*** list_fixmes.sh! + +In transplant2.sh, grafting can not operate on the DEA node ID but +must consider the DHA MAC address instead. It will work as long as +the interface setup on all nodes is identical or if the powerOnStrategy +of the dha.yaml is sequential but it needs to be fixed down the road. + +Fix the NTP server pointer on computes (currently fixed, needs to be +calculated - OPNFV clause). Alternatively, add data to feed into +pre-deploy in the dea.yaml. Or... Add the information requested from +the script into settings.yaml instead and make the pre-deploy script +only "refine" these settings? + +Move the network transformations out from the two compute: and +controller: clauses and add them to the individual nodes as well? +Potentially needed if e.g. a Cinder node is a separate node type! + +The release is currently hardcoded to Ubuntu, make in general. + +Investigate how to reliable detect that the kickstart has started - is +it possible to set the IP even when installation is made by cdrom and +trigger on that? See FIXME in install_iso.sh. + +The Fuel gateway in dea_getFuelGateway is always returning the .1 of +the Fuel IP - should be possible to use another scheme? + +Verify that nodes in DEA corresponds with nodes in DHA. + +Verify that API versions in DEA, DHA and API are aligned. + +Fix dhaParse and dheParse so they exit gracefully when parsing of YAML +file fails. + -- cgit 1.2.3-korg