Small fixes to the deployment scenario framework: 19/6419/2
authorJonas Bjurel <jonas.bjurel@ericsson.com>
Sat, 9 Jan 2016 15:01:50 +0000 (16:01 +0100)
committerJonas Bjurel <jonas.bjurel@ericsson.com>
Tue, 12 Jan 2016 17:58:00 +0000 (17:58 +0000)
commit9e3ac0eac66bc1d323b430c06ede76592aadcc58
tree1fbd5b8cd0eba539d41e486d444eedf79b8e4734
parentcefa3fdadc8c1bd6d8b92c5976f76dbbebc87992
Small fixes to the deployment scenario framework:

- Added deploy.sh -d option for dryrun. With -d + all the other mandatory
  arguments, deploy.sh produces ci/config/dea.yaml and /ci/config/dha.yaml
  with out actually deploying the stack.
- Bugfix to exit with rc <> 0 if deployment fails.
- Don't delete the programatically constructed dea.yaml or dha.yaml
  under fuel/ci/config after deploy has finished.
  dea.yaml and dha.yaml are needed functest, therefore these files
  must not be deleted after deployment has finished. They will reside
  in fuel/ci/config/.
- Dont merge the dha-override section in deployment scenarios with the final
  dha.yaml unless the deployment is virtual. There is no way you can
  programatically override physicall resources, wireing, ipmi set-up, etc. -
  while you can for virtual environments.

VERIFIED
READY TO MERGE

Change-Id: If4dedc472e07ed60071ee34c73db29f3b9c45252
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
(cherry picked from commit c6a9f766792032a4cc84bc801e15b05a29f09e8e)
ci/deploy.sh
deploy/deploy-config.py