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

Re: anyone seen this error from ansible install?



See below.  I also have two issues that might be related:

1) This is a "reinstall", I've successfully installed using the "simple" interactive, remove and added rpms, and run ansible install

2) There is some issue on this cluster that makes ansible run slow, total 18m to fail vs. <8m for success on a VM cluster with identical config

Thanks for any insights you can give me!

Alan


[root pocsj41 ~]# rpm -qa | grep ansible

openshift-ansible-docs-3.0.94-1.git.0.67a822a.el7.noarch

openshift-ansible-lookup-plugins-3.0.94-1.git.0.67a822a.el7.noarch

openshift-ansible-filter-plugins-3.0.94-1.git.0.67a822a.el7.noarch

openshift-ansible-3.0.94-1.git.0.67a822a.el7.noarch

openshift-ansible-playbooks-3.0.94-1.git.0.67a822a.el7.noarch

openshift-ansible-roles-3.0.94-1.git.0.67a822a.el7.noarch

ansible-1.9.4-1.el7aos.noarch

[root pocsj41 ~]# rpm -qa | grep openshift

openshift-ansible-docs-3.0.94-1.git.0.67a822a.el7.noarch

openshift-ansible-lookup-plugins-3.0.94-1.git.0.67a822a.el7.noarch

atomic-openshift-node-3.2.0.44-1.git.0.a4463d9.el7.x86_64

openshift-ansible-filter-plugins-3.0.94-1.git.0.67a822a.el7.noarch

atomic-openshift-sdn-ovs-3.2.0.44-1.git.0.a4463d9.el7.x86_64

openshift-ansible-3.0.94-1.git.0.67a822a.el7.noarch

openshift-ansible-playbooks-3.0.94-1.git.0.67a822a.el7.noarch

atomic-openshift-clients-3.2.0.44-1.git.0.a4463d9.el7.x86_64

openshift-ansible-roles-3.0.94-1.git.0.67a822a.el7.noarch

atomic-openshift-3.2.0.44-1.git.0.a4463d9.el7.x86_64

tuned-profiles-atomic-openshift-node-3.2.0.44-1.git.0.a4463d9.el7.x86_64

atomic-openshift-master-3.2.0.44-1.git.0.a4463d9.el7.x86_64

atomic-openshift-utils-3.0.94-1.git.0.67a822a.el7.noarch

[root pocsj41 ~]# cat /etc/redhat-release 

Red Hat Enterprise Linux Server release 7.2 (Maipo)



On Wed, Jun 8, 2016 at 5:29 AM, Brenton Leanhardt <bleanhar redhat com> wrote:
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]