Adds Utility functions and failure logging 47/12447/1
authorTim Rozet <trozet@redhat.com>
Mon, 11 Apr 2016 18:22:27 +0000 (14:22 -0400)
committerDan Radez <dradez@redhat.com>
Tue, 19 Apr 2016 17:14:38 +0000 (13:14 -0400)
commit92e4b9310b8582bcd751ce0f8fe3fab98d195d71
tree8e45801af0a170213cc9adb7e5451a297acd1b55
parent9c61a258f48ab463bde4b06045b49a64de1d6336
Adds Utility functions and failure logging

Patch adds helpful utility functions and automatic parsing of heat
output into a readable format indicating where a failure is in a
deployment.  Example: http://fpaste.org/354210/

New opnfv-util function allows a user to interact with a deployment
easily:
 - opnfv-util undercloud <user> connects user to undercloud VM
 - opnfv-util debug-stack parses the heat failure output

Above arguments also accept partial matches.

JIRA: APEX-75

Change-Id: I5ccfee64ee2958de0d00a3b25cd9b29de60c9e20
Signed-off-by: Tim Rozet <trozet@redhat.com>
(cherry picked from commit 0717bc3c56ab294f860ef99116754c1fd786cae7)
build/opnfv-apex-common.spec
ci/deploy.sh
ci/util.sh [new file with mode: 0644]
lib/utility-functions.sh [new file with mode: 0644]