Introducing collection of all fuel and stack deployment logs. 45/13945/15
authorJonas Bjurel <jonas.bjurel@ericsson.com>
Wed, 11 May 2016 11:38:31 +0000 (13:38 +0200)
committerJonas Bjurel <jonas.bjurel@ericsson.com>
Thu, 16 Jun 2016 10:09:34 +0000 (10:09 +0000)
commit1fc07d1d0ad750e6d1049f5b763320db2de1b396
tree1528a92ca20bef6ad09721373c8bb7be5f15bbcc
parent3cddf277c5966c5cc584a493d5923cc5dcdc7820
Introducing collection of all fuel and stack deployment logs.

The purpose of this patch is to collect all available Fuel snapshots- and
stack/node ldeployment logs for later off-line troubleshooting.
The intention is that Jenkins, or other deployment robots will be able to
collect all logs from the deployment and store it at some repository where
developers can fetch it and perform off-line post deployment trouble-shooting.
Following script arguments have been added:

CI Arg changes:
Added an argument to ci/deploy.sh:
-L [Deploy log path and file name], E.g.
   -L ~/jenkins/deploy/deploy-888.log.tar.gz
   This will create an tar gzip archive at the path and filename pointed out.
   If -L is not specified, the log archive will be placed under the CI directory
   with the following name convention: deploy-YYMMDD-HHMMSS.log.tar.gz

Fuel Internal deploy changes:
Added an argument to ci/deploy.py
-log [Deploy log path and file name], E.g.
     -log ~/jenkins/deploy/deploy-888.log.tar.gz
     This will create an tar gzip archive at the path and filename pointed out.
     If -log is not specified, the log archive will be placed under the CI
     directory with the following name convention:
     deploy-YYMMDD-HHMMSS.log.tar.gz

READY TO MERGE!
VERIFIED!

Change-Id: Icb75d9d2e66bdd47f75dcca29071943444d5c823
Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
ci/deploy.sh
deploy/README
deploy/cloud/deployment.py
deploy/common.py
deploy/deploy.py
deploy/deploy_env.py
deploy/ssh_client.py