diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-09-16 11:56:47 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-09-16 11:56:47 +0000 |
| commit | 92c680216fa352448ed13fbc2ac73c0f0f68249d (patch) | |
| tree | 9ee43b37031f4070651cac8fa1c03ef0810bb9e8 /tools | |
| parent | 4b7b4c47e5d74387d6d71fbb0787a402596ed738 (diff) | |
| parent | cae4d364ad8808b8e650135638f3d443e8c35761 (diff) | |
| download | kolla-92c680216fa352448ed13fbc2ac73c0f0f68249d.tar.gz kolla-92c680216fa352448ed13fbc2ac73c0f0f68249d.zip | |
Merge "Add ara to collect ansible playbook running statics"
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/deploy_aio.sh | 1 | ||||
| -rwxr-xr-x | tools/setup_gate.sh | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tools/deploy_aio.sh b/tools/deploy_aio.sh index 60052e37f..7b617e2c0 100755 --- a/tools/deploy_aio.sh +++ b/tools/deploy_aio.sh @@ -23,6 +23,7 @@ function copy_logs { # NOTE(SamYaple): Fix permissions for log extraction in gate chmod -R 777 /tmp/logs/kolla /tmp/logs/kolla_configs /tmp/logs/system_logs + ara generate /tmp/logs/playbook_reports/ } function sanity_check { diff --git a/tools/setup_gate.sh b/tools/setup_gate.sh index 8afda3111..47fcadce2 100755 --- a/tools/setup_gate.sh +++ b/tools/setup_gate.sh @@ -122,6 +122,13 @@ function setup_ansible { # Record the running state of the environment as seen by the setup module ansible all -i ${RAW_INVENTORY} -m setup > /tmp/logs/ansible/initial-setup + + sudo pip install ara + sudo mkdir /etc/ansible + sudo tee /etc/ansible/ansible.cfg<<EOF +[defaults] +callback_plugins = /usr/lib/python2.7/site-packages/ara/callback:\$VIRTUAL_ENV/lib/python2.7/site-packages/ara/callback:/usr/local/lib/python2.7/dist-packages/ara/callback +EOF } function setup_node { |
