summaryrefslogtreecommitdiffstats
path: root/fuel/prototypes
AgeCommit message (Collapse)AuthorFilesLines
2015-05-21New and corrected DEA templates for LF Pod 1Stefan K. Berg2-3/+972
- Renamed the HA DEA from dea.yaml to dea_ha.yaml. - Introduced a non HA DEA as dea_no-ha.yaml, having one controller and four computes. - Narrowed the Public IP range to just one IP address, 172.30.9.70, to assure that the public APIs always end up at the same IP. JIRA Change-Id: Iebbeb11f5a3ea1b69d9a616ddc8a7010fc0783aa Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-05-19Deployment corrections for FuelStefan K. Berg2-16/+28
The most important change is the introduction of support for a selectable temporary directory for ISO manipulations by setting the TMPDIR variable. Invoke deploy.sh as "sudo TMPDIR=/my/tmp/dir ./deploy.sh ..." to make use of this, otherwise the temporary directory defaults to that of the user running the script. Other improvements: - Added error check for when the patch-iso.sh gets an error from copying data with cpio (potentially indicating out of disk space) - Corrected typo in deploy.sh: error-exit -> error_exit JIRA Change-Id: I74966c3fe2bee0ac1923cfa9bd9ebfe1ca73a9da Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-05-12DHA hardware config for LF pod1Stefan K. Berg1-0/+66
Adding the dha.yaml for the lab setup. JIRA Change-Id: Ie9cb582dcd35256acd72ffed55f4a4db36662725 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-05-12Config and corrections for auto deployStefan K. Berg7-2/+2104
- Corrected create_templates in order to compensate for a malformed information depending when configuration is copied. - Made the DHA IPMI adapter repeat every IPMI command three times - for some reason needed with POD1 at LF, the reason is unknown. - Added DEA.yaml for Ericsson Montreal and LF POD1. The DHA.yaml contains IPMI passwords so I am not really eager to put it into Git without a discussion about the security implications. JIRA Change-Id: I667d73651c47c06d2ae17cc9c574bd021ff63a25 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-05-12Corrected directory nameStefan K. Berg60-0/+0
It was never meant for the first level to be called anything else than auto-deploy - really needed to get rid of the terrible .../deploy/deploy/deploy.sh! JIRA Change-Id: Ifa68e5922ca8da9cc72df963e8138a8fc0b8b63b Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-05-05libvirt/IPMI hybrid DHA for Fuel auto-deploymentStefan K. Berg15-17/+1657
An implementation of a hybrid IPMI/libvirt deployment hardware adapter (DHA). The Fuel master is deployed as a VM, controllers and computes are manipulated using IPMI. JIRA Change-Id: I21a889b14965ce3c431eccd48a919f6634d6b336 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-04-28Auto deploy prototype #2Stefan K. Berg62-826/+3695
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 <stefan.k.berg@ericsson.com>
2015-04-18Correction of the auto-kill during deployStefan K. Berg1-4/+9
Jenkins gets stuck until the safety-catch timer expires after three hours when the deploy is successfull. The result code is still correct, but it's an unnecessary delay. JIRA Change-Id: I4fae6b019174744894e223ccfd4502acece95768 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-04-16Correction of verification phase in deployStefan K. Berg1-5/+7
The finishing verification failed to correctly identify good deploys as such. JIRA Change-Id: I193d5cad977c3d004c8825036fa6fa375268de0b Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
2015-04-16Prototype of automated libvirt installationStefan K. Berg33-0/+2778
This is a prototype to experiment with the DEA concept and how to use it to automatically deploy a KVM environment using libvirt. It is now possible to perform a fully automated deploy from an ISO file. Highlights: - Fully automated Fuel deploy installing three controllers, two computes in full HA mode including Ceilometer - create_dea.sh will create a DEA YAML file with an existing deployment as template. - The install will configure settings, networks and the interface config of all nodes. JIRA: Change-Id: Icc8922afca8508c9062aa5be95e2482086a4f624 Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>