[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: anyone seen this error from ansible install?



Can you provide the version of ansible you are using as well as the
RPM or git checkout ref of the playbooks you're using?

Thanks,
Brenton

On Tue, Jun 7, 2016 at 9:01 PM, Alan Jones <ajones diamanti com> wrote:
> Error followed by /etc/ansible/hosts below.
> Alan
> ---
> TASK: [openshift_facts | Verify Ansible version is greater than or equal to
> 1.9.4] ***
> fatal: [pocsj41] => Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line
> 586, in _executor
>     exec_rc = self._executor_internal(host, new_stdin)
>   File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line
> 789, in _executor_internal
>     return self._executor_internal_inner(host, self.module_name,
> self.module_args, inject, port, complex_args=complex_args)
>   File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line
> 869, in _executor_internal_inner
>     if not utils.check_conditional(cond, self.basedir, inject,
> fail_on_undefined=self.error_on_undefined_vars):
>   File "/usr/lib/python2.7/site-packages/ansible/utils/__init__.py", line
> 269, in check_conditional
>     conditional = template.template(basedir, presented, inject)
>   File "/usr/lib/python2.7/site-packages/ansible/utils/template.py", line
> 124, in template
>     varname = template_from_string(basedir, varname, templatevars,
> fail_on_undefined)
>   File "/usr/lib/python2.7/site-packages/ansible/utils/template.py", line
> 382, in template_from_string
>     res = jinja2.utils.concat(rf)
>   File "<template>", line 6, in root
>   File "/usr/lib/python2.7/site-packages/jinja2/runtime.py", line 153, in
> resolve
>     return self.parent[key]
>   File "/usr/lib/python2.7/site-packages/ansible/utils/template.py", line
> 205, in __getitem__
>     return template(self.basedir, var, self.vars,
> fail_on_undefined=self.fail_on_undefined)
>   File "/usr/lib/python2.7/site-packages/ansible/utils/template.py", line
> 124, in template
>     varname = template_from_string(basedir, varname, templatevars,
> fail_on_undefined)
>   File "/usr/lib/python2.7/site-packages/ansible/utils/template.py", line
> 382, in template_from_string
>     res = jinja2.utils.concat(rf)
>   File "<template>", line 10, in root
>   File "/usr/share/ansible_plugins/filter_plugins/oo_filters.py", line 742,
> in oo_persistent_volumes
>     if len(groups['oo_nfs_to_config']) > 0:
> KeyError: 'oo_nfs_to_config'
>
>
> FATAL: all hosts have already failed -- aborting
>
> --- /etc/ansible/hosts
> [OSEv3:children]
> masters
> nodes
> [OSEv3:vars]
> ansible_ssh_user=root
> deployment_type=openshift-enterprise
> openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login':
> 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider',
> 'filename': '/etc/origin/master/htpasswd'}]
> [masters]
> pocsj41
> [nodes]
> pocsj41 openshift_node_labels="{'region': 'primary', 'zone': 'default'}"
> openshift_hostname=pocsj41 openshift_public_hostname=pocsj41
> openshift_ip=172.16.51.2 openshift_public_ip=172.16.51.2
> pocsj42 openshift_node_labels="{'region': 'primary', 'zone': 'default'}"
> openshift_hostname=pocsj42 openshift_public_hostname=pocsj42
> openshift_ip=172.16.51.4 openshift_public_ip=172.16.51.4
> pocsj43 openshift_node_labels="{'region': 'primary', 'zone': 'default'}"
> openshift_hostname=pocsj43 openshift_public_hostname=pocsj43
> openshift_ip=172.16.51.7 openshift_public_ip=172.16.51.7
>
>
> _______________________________________________
> users mailing list
> users lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]