Hi Folks,
I've been walking through some of the documentations on building and deploying 
the Metron development image.
I am building Metron version 0.7.  The deployment appears to go OK up until the 
Ambari deployment stage, and then I get the following error:


SyntaxError: invalid syntax

 INFO interface: detail: The full traceback is:

Traceback (most recent call last):

  File 
"/usr/local/Cellar/ansible/2.7.9/libexec/lib/python3.7/site-packages/ansible/executor/task_executor.py",
 line 140, in run

    res = self._execute()

  File 
"/usr/local/Cellar/ansible/2.7.9/libexec/lib/python3.7/site-packages/ansible/executor/task_executor.py",
 line 612, in _execute

    result = self._handler.run(task_vars=variables)

  File 
"/usr/local/Cellar/ansible/2.7.9/libexec/lib/python3.7/site-packages/ansible/plugins/action/normal.py",
 line 46, in run

    result = merge_hash(result, self._execute_module(task_vars=task_vars, 
wrap_async=wrap_async))

  File 
"/usr/local/Cellar/ansible/2.7.9/libexec/lib/python3.7/site-packages/ansible/plugins/action/__init__.py",
 line 742, in _execute_module

    (module_style, shebang, module_data, module_path) = 
self._configure_module(module_name=module_name, module_args=module_args, 
task_vars=task_vars)

  File 
"/usr/local/Cellar/ansible/2.7.9/libexec/lib/python3.7/site-packages/ansible/plugins/action/__init__.py",
 line 178, in _configure_module

    environment=final_environment)

  File 
"/usr/local/Cellar/ansible/2.7.9/libexec/lib/python3.7/site-packages/ansible/executor/module_common.py",
 line 973, in modify_module

    environment=environment)

  File 
"/usr/local/Cellar/ansible/2.7.9/libexec/lib/python3.7/site-packages/ansible/executor/module_common.py",
 line 791, in _find_module_utils

    recursive_finder(module_name, b_module_data, py_module_names, 
py_module_cache, zf)

  File 
"/usr/local/Cellar/ansible/2.7.9/libexec/lib/python3.7/site-packages/ansible/executor/module_common.py",
 line 538, in recursive_finder

    tree = ast.parse(data)

  File 
"/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ast.py",
 line 35, in parse

    return compile(source, filename, mode, PyCF_ONLY_AST)

  File "<unknown>", line 230

    except requests.ConnectionError, e:

                                   ^

MacOS Mojava (Version 10.14.3)
VirtualBox version 5.2.26
Vagrant version 2.2.4

ansible 2.7.9
  config file = 
/Users/user/work/metron/metron-deployment/development/centos6/ansible.cfg
  ansible python module location = 
/usr/local/Cellar/ansible/2.7.9/libexec/lib/python3.7/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.7.2 (default, Feb 12 2019, 08:15:36) [Clang 10.0.0 
(clang-1000.11.45.5)]



Python2 version is 2.7.16

commit 2263983761e77b7eec52f70f5e8f8001bac83125 (HEAD, tag: 
apache-metron_0.7.0-release, tag: apache-metron-0.7.0-rc1, origin/Metron_0.7.0)

Does anybody have any suggestions on how to proceed?

Thanks,
Dale.









Reply via email to