Merge "Make Gather Playbook work in venv"

This commit is contained in:
Jenkins 2016-08-30 13:58:56 +00:00 committed by Gerrit Code Review
commit b93c7f0355
2 changed files with 2 additions and 3 deletions

View File

@ -212,8 +212,7 @@ Run the gather playbook to gather metadata about how the OpenStack cloud is
currently configured. This playbook writes hardware(No. of CPUs etc), currently configured. This playbook writes hardware(No. of CPUs etc),
software(OpenStack Configuration), environment(No. of controllers etc) metadata software(OpenStack Configuration), environment(No. of controllers etc) metadata
files into the metadata directory which are transported to ElasticSearch along files into the metadata directory which are transported to ElasticSearch along
with test results to provide context for the result data. Make sure you do not with test results to provide context for the result data.
run this playbook from a python virtual environment or it would fail.
:: ::

View File

@ -28,6 +28,6 @@
- hosts: undercloud - hosts: undercloud
tasks: tasks:
- name: Dump all vars - name: Dump all vars
local_action: template src=dump_facts.j2 dest={{ browbeat_path }}/metadata/machine_facts.json template: src=dump_facts.j2 dest={{ browbeat_path }}/metadata/machine_facts.json
- name: Generate metadata jsons - name: Generate metadata jsons
shell : python {{ browbeat_path }}/lib/Metadata.py {{ browbeat_path }}/metadata shell : python {{ browbeat_path }}/lib/Metadata.py {{ browbeat_path }}/metadata