Skip to content

Instantly share code, notes, and snippets.

@FlorianOtel
Created May 4, 2015 09:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FlorianOtel/e48fbb0b7b017d05c7bb to your computer and use it in GitHub Desktop.
Save FlorianOtel/e48fbb0b7b017d05c7bb to your computer and use it in GitHub Desktop.
OpenShift-v3 beta3 -- BYO ansible playbook failure -- 20150504--1135
<master1.nuage-vpc253.internal> ConnectTimeout=10 PasswordAuthentication=no 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1430732251.22-269682302466348/os_firewall_manage_iptables; rm -rf /root/.ansible/tmp/ansible-tmp-1430732251.22-269682302466348/ >/dev/null 2>&1' KbdInteractiveAuthentication=no ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey ControlMaster=auto Port=22 ControlPersist=60s
ok: [master1.nuage-vpc253.internal] => (item={'port': '8444/tcp', 'service': 'former OpenShift web console port'}) => {"changed": false, "item": {"port": "8444/tcp", "service": "former OpenShift web console port"}, "output": []}
<master1.nuage-vpc253.internal>
<master1.nuage-vpc253.internal> action=remove protocol=tcp port=7001 name=former etcd peer port
<master1.nuage-vpc253.internal> ConnectTimeout=10 PasswordAuthentication=no KbdInteractiveAuthentication=no ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey ControlMaster=auto Port=22 ControlPersist=60s
<master1.nuage-vpc253.internal>
<master1.nuage-vpc253.internal> ConnectTimeout=10 PasswordAuthentication=no 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1430732251.5-44689583707976/os_firewall_manage_iptables; rm -rf /root/.ansible/tmp/ansible-tmp-1430732251.5-44689583707976/ >/dev/null 2>&1' KbdInteractiveAuthentication=no ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey ControlMaster=auto Port=22 ControlPersist=60s
ok: [master1.nuage-vpc253.internal] => (item={'port': '7001/tcp', 'service': 'former etcd peer port'}) => {"changed": false, "item": {"port": "7001/tcp", "service": "former etcd peer port"}, "output": []}
TASK: [openshift_facts | Gather OpenShift facts] ******************************
<master1.nuage-vpc253.internal>
<master1.nuage-vpc253.internal>
<master1.nuage-vpc253.internal> ConnectTimeout=10 PasswordAuthentication=no KbdInteractiveAuthentication=no ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey ControlMaster=auto Port=22 ControlPersist=60s
<master1.nuage-vpc253.internal>
<master1.nuage-vpc253.internal> ConnectTimeout=10 PasswordAuthentication=no 'LANG=C LC_CTYPE=C /usr/bin/python /root/.ansible/tmp/ansible-tmp-1430732251.8-74072282264480/openshift_facts; rm -rf /root/.ansible/tmp/ansible-tmp-1430732251.8-74072282264480/ >/dev/null 2>&1' KbdInteractiveAuthentication=no ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey ControlMaster=auto Port=22 ControlPersist=60s
failed: [master1.nuage-vpc253.internal] => {"failed": true, "parsed": false}
Traceback (most recent call last):
File "/root/.ansible/tmp/ansible-tmp-1430732251.8-74072282264480/openshift_facts", line 4981, in <module>
main()
File "/root/.ansible/tmp/ansible-tmp-1430732251.8-74072282264480/openshift_facts", line 461, in main
openshift_facts = OpenShiftFacts(role, fact_file, local_facts)
File "/root/.ansible/tmp/ansible-tmp-1430732251.8-74072282264480/openshift_facts", line 36, in __init__
self.facts = self.generate_facts(local_facts)
File "/root/.ansible/tmp/ansible-tmp-1430732251.8-74072282264480/openshift_facts", line 44, in generate_facts
facts = self.apply_provider_facts(defaults, provider_facts, roles)
File "/root/.ansible/tmp/ansible-tmp-1430732251.8-74072282264480/openshift_facts", line 142, in apply_provider_facts
facts['common'][h_var] = self.choose_hostname([provider_facts['network'].get(h_var)], facts['common'][ip_var])
File "/root/.ansible/tmp/ansible-tmp-1430732251.8-74072282264480/openshift_facts", line 164, in choose_hostname
ips = [ i for i in hostnames if i is not None and re.match(r'\A\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\Z', i) ]
File "/usr/lib64/python2.7/re.py", line 137, in match
return _compile(pattern, flags).match(string)
TypeError: expected string or buffer
OpenSSH_6.6.1, OpenSSL 1.0.1e-fips 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 56: Applying options for *
debug1: auto-mux: Trying existing master
debug2: fd 3 setting O_NONBLOCK
debug2: mux_client_hello_exchange: master version 4
debug3: mux_client_forwards: request forwardings: 0 local, 0 remote
debug3: mux_client_request_session: entering
debug3: mux_client_request_alive: entering
debug3: mux_client_request_alive: done pid = 2084
debug3: mux_client_request_session: session request sent
debug1: mux_client_request_session: master session id: 2
debug3: mux_client_read_packet: read header failed: Broken pipe
debug2: Received exit status from master 0
Shared connection to master1.nuage-vpc253.internal closed.
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/config.retry
localhost : ok=1 changed=0 unreachable=0 failed=0
master1.nuage-vpc253.internal : ok=14 changed=4 unreachable=0 failed=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment