get_docker_version_info is trying to look for a key by name "Server" and
failed to find as version_info variable is None here. version_info will be
None only if "/usr/bin/docker version" returns None. Can you please confirm
us the output of "/usr/bin/docker version" command in the
master.example.com?



From:   Jude Mwenda <[email protected]>
To:     [email protected]
Date:   10/06/2016 07:25 AM
Subject:        Ansible Centos Installation
Sent by:        [email protected]



Hey,

Hope this finds you well. I am running into the following problem when
installing on Centos7. the error I get is as follows

fatal: [master.example.com]: FAILED! => {"changed": false, "failed": true,
"module_stderr": "", "module_stdout": "Traceback (most recent call last):\r
\n  File \"/tmp/ansible_9Xx3oR/ansible_module_openshift_facts.py\", line
2214, in <module>\r\n    main()\r\n  File
\"/tmp/ansible_9Xx3oR/ansible_module_openshift_facts.py\", line 2195, in
main\r\n    protected_facts_to_overwrite)\r\n  File
\"/tmp/ansible_9Xx3oR/ansible_module_openshift_facts.py\", line 1645, in
__init__\r\n    protected_facts_to_overwrite)\r\n  File
\"/tmp/ansible_9Xx3oR/ansible_module_openshift_facts.py\", line 1683, in
generate_facts\r\n    defaults = self.get_defaults(roles, deployment_type,
deployment_subtype)\r\n  File
\"/tmp/ansible_9Xx3oR/ansible_module_openshift_facts.py\", line 1793, in
get_defaults\r\n    version_info = get_docker_version_info()\r\n  File
\"/tmp/ansible_9Xx3oR/ansible_module_openshift_facts.py\", line 1131, in
get_docker_version_info\r\n    if 'Server' in version_info:\r\nTypeError:
argument of type 'NoneType' is not iterable\r\n", "msg": "MODULE FAILURE"}

Anyone familiar or experiencing this error? My inventory is as follows

[OSEv3:children]
masters
nodes

[OSEv3:vars]
ansible_ssh_user=root
deployment_type=origin
containerized=true
openshift_release=v1.3
openshift_image_tag=v1.3.0
openshift_public_hostname=master.example.com
openshift_master_default_subdomain=master.example.com
openshift_hosted_metrics_deploy=true

[masters]
master.example.com openshift_schedulable=true openshift_public_hostname=
master.example.com openshift_hostname=192.168.0.12

[nodes]
master.example.com openshift_node_labels="{'region': 'infra', 'zone':
'default'}" openshift_schedulable=true openshift_public_hostname=
master.example.com openshift_hostname=192.168.0.12
_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev


_______________________________________________
dev mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Reply via email to