Created
June 14, 2018 16:14
-
-
Save a1git/c95923bd2d6cc3e8d315a701b8ab0bef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# root @ deploy2 in /opt/openstack-ansible/playbooks on git:17.0.5 o [16:13:01] | |
$ openstack-ansible setup-hosts.yml >> output.txt 2>&1 | |
# root @ deploy2 in /opt/openstack-ansible/playbooks on git:17.0.5 x [16:13:28] | |
$ cat output.txt | |
Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml " | |
[WARNING]: * Failed to parse /opt/openstack-ansible/inventory/dynamic_inventory.py with script plugin: Inventory script (/opt/openstack- | |
ansible/inventory/dynamic_inventory.py) had an execution error: Traceback (most recent call last): File "/opt/openstack- | |
ansible/inventory/dynamic_inventory.py", line 80, in <module> output = generate.main(**all_args) File "/opt/openstack- | |
ansible/osa_toolkit/generate.py", line 1071, in main user_defined_config = filesys.load_user_configuration(config) File "/opt/openstack- | |
ansible/osa_toolkit/filesystem.py", line 302, in load_user_configuration user_defined_config.update(yaml.safe_load(f.read()) or {}) File "/opt | |
/ansible-runtime/local/lib/python2.7/site-packages/yaml/__init__.py", line 93, in safe_load return load(stream, SafeLoader) File "/opt/ansible- | |
runtime/local/lib/python2.7/site-packages/yaml/__init__.py", line 71, in load return loader.get_single_data() File "/opt/ansible- | |
runtime/local/lib/python2.7/site-packages/yaml/constructor.py", line 37, in get_single_data node = self.get_single_node() File "/opt/ansible- | |
runtime/local/lib/python2.7/site-packages/yaml/composer.py", line 36, in get_single_node document = self.compose_document() File "/opt/ansible- | |
runtime/local/lib/python2.7/site-packages/yaml/composer.py", line 55, in compose_document node = self.compose_node(None, None) File "/opt/ansible- | |
runtime/local/lib/python2.7/site-packages/yaml/composer.py", line 84, in compose_node node = self.compose_mapping_node(anchor) File "/opt/ansible- | |
runtime/local/lib/python2.7/site-packages/yaml/composer.py", line 133, in compose_mapping_node item_value = self.compose_node(node, item_key) File | |
"/opt/ansible-runtime/local/lib/python2.7/site-packages/yaml/composer.py", line 84, in compose_node node = self.compose_mapping_node(anchor) File | |
"/opt/ansible-runtime/local/lib/python2.7/site-packages/yaml/composer.py", line 133, in compose_mapping_node item_value = self.compose_node(node, | |
item_key) File "/opt/ansible-runtime/local/lib/python2.7/site-packages/yaml/composer.py", line 84, in compose_node node = | |
self.compose_mapping_node(anchor) File "/opt/ansible-runtime/local/lib/python2.7/site-packages/yaml/composer.py", line 133, in compose_mapping_node | |
item_value = self.compose_node(node, item_key) File "/opt/ansible-runtime/local/lib/python2.7/site-packages/yaml/composer.py", line 84, in compose_node | |
node = self.compose_mapping_node(anchor) File "/opt/ansible-runtime/local/lib/python2.7/site-packages/yaml/composer.py", line 133, in | |
compose_mapping_node item_value = self.compose_node(node, item_key) File "/opt/ansible-runtime/local/lib/python2.7/site-packages/yaml/composer.py", | |
line 84, in compose_node node = self.compose_mapping_node(anchor) File "/opt/ansible-runtime/local/lib/python2.7/site-packages/yaml/composer.py", | |
line 133, in compose_mapping_node item_value = self.compose_node(node, item_key) File "/opt/ansible-runtime/local/lib/python2.7/site- | |
packages/yaml/composer.py", line 84, in compose_node node = self.compose_mapping_node(anchor) File "/opt/ansible-runtime/local/lib/python2.7/site- | |
packages/yaml/composer.py", line 133, in compose_mapping_node item_value = self.compose_node(node, item_key) File "/opt/ansible- | |
runtime/local/lib/python2.7/site-packages/yaml/composer.py", line 82, in compose_node node = self.compose_sequence_node(anchor) File "/opt/ansible- | |
runtime/local/lib/python2.7/site-packages/yaml/composer.py", line 111, in compose_sequence_node node.value.append(self.compose_node(node, index)) | |
File "/opt/ansible-runtime/local/lib/python2.7/site-packages/yaml/composer.py", line 84, in compose_node node = self.compose_mapping_node(anchor) | |
File "/opt/ansible-runtime/local/lib/python2.7/site-packages/yaml/composer.py", line 127, in compose_mapping_node while not | |
self.check_event(MappingEndEvent): File "/opt/ansible-runtime/local/lib/python2.7/site-packages/yaml/parser.py", line 98, in check_event | |
self.current_event = self.state() File "/opt/ansible-runtime/local/lib/python2.7/site-packages/yaml/parser.py", line 428, in parse_block_mapping_key | |
if self.check_token(KeyToken): File "/opt/ansible-runtime/local/lib/python2.7/site-packages/yaml/scanner.py", line 116, in check_token | |
self.fetch_more_tokens() File "/opt/ansible-runtime/local/lib/python2.7/site-packages/yaml/scanner.py", line 257, in fetch_more_tokens % | |
ch.encode('utf-8'), self.get_mark()) yaml.scanner.ScannerError: while scanning for the next token found character '\t' that cannot start any token in | |
"<string>", line 751, column 1: share: "/cinder" ^ | |
[WARNING]: * Failed to parse /opt/openstack-ansible/inventory/dynamic_inventory.py with ini plugin: /opt/openstack- | |
ansible/inventory/dynamic_inventory.py:18: Expected key=value host variable assignment, got: argparse | |
[WARNING]: Unable to parse /opt/openstack-ansible/inventory/dynamic_inventory.py as an inventory source | |
[WARNING]: Unable to parse /etc/openstack_deploy/inventory.ini as an inventory source | |
[WARNING]: No inventory was parsed, only implicit localhost is available | |
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' | |
[DEPRECATION WARNING]: 'include' for playbook includes. You should use 'import_playbook' instead. This feature will be removed in version 2.8. | |
Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | |
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic | |
inclusions. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | |
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about | |
this rationale.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in | |
ansible.cfg. | |
[DEPRECATION WARNING]: The use of 'static' has been deprecated. Use 'import_tasks' for static inclusion, or 'include_tasks' for dynamic inclusion. This | |
feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. | |
[WARNING]: Could not match supplied host pattern, ignoring: hosts | |
PLAY [Install Ansible prerequisites] ********************************************************************************************************************* | |
skipping: no hosts matched | |
PLAY [Basic host setup] ********************************************************************************************************************************** | |
skipping: no hosts matched | |
PLAY [Apply security hardening configurations] *********************************************************************************************************** | |
skipping: no hosts matched | |
[WARNING]: Could not match supplied host pattern, ignoring: lxc_hosts | |
PLAY [Basic lxc host setup] ****************************************************************************************************************************** | |
skipping: no hosts matched | |
PLAY [Gather lxc container host facts] ******************************************************************************************************************* | |
skipping: no hosts matched | |
[WARNING]: Could not match supplied host pattern, ignoring: all_containers | |
PLAY [Create container(s)] ******************************************************************************************************************************* | |
skipping: no hosts matched | |
PLAY [Configure containers default software] ************************************************************************************************************* | |
skipping: no hosts matched | |
PLAY RECAP *********************************************************************************************************************************************** | |
Thursday 14 June 2018 16:13:10 +0000 (0:00:00.067) 0:00:00.067 ********* | |
=============================================================================== | |
EXIT NOTICE [Playbook execution success] ************************************** | |
=============================================================================== | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment