Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
kube2 | SUCCESS => {
"hostvars[inventory_hostname]": {
"access_ip": "10.246.5.162",
"ansible_all_ipv4_addresses": [
"10.246.5.162",
"10.100.186.64",
"172.17.0.1",
"10.100.176.1",
"10.100.176.20",
"10.100.176.3"
This file has been truncated, but you can view the full file.
4ubuntu2.8, OpenSSL 1.0.2g 1 Mar 2016\r\ndebug1: Reading configuration data /etc/ssh/ssh_config\r\ndebug1: /etc/ssh/ssh_config line 19: Applying options for *\r\ndebug1: auto-mux: Trying existing master\r\ndebug2: fd 3 setting O_NONBLOCK\r\ndebug2: mux_client_hello_exchange: master version 4\r\ndebug3: mux_client_forwards: request forwardings: 0 local, 0 remote\r\ndebug3: mux_client_request_session: entering\r\ndebug3: mux_client_request_alive: entering\r\ndebug3: mux_client_request_alive: done pid = 309315\r\ndebug3: mux_client_request_session: session request sent\r\ndebug1: mux_client_request_session: master session id: 2\r\ndebug3: mux_client_read_packet: read header failed: Broken pipe\r\ndebug2: Received exit status from master 0\r\n')
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py
<10.246.4.152> ESTABLISH SSH CONNECTION FOR USER: root
<10.246.4.152> SSH: EXEC sshpass -d13 ssh -vvv -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o Use
This file has been truncated, but you can view the full file.
avinetarch-anp1 | SUCCESS => {
"hostvars[inventory_hostname]": {
"ansible_all_ipv4_addresses": [
"10.100.176.1",
"10.246.4.158",
"172.17.0.1"
],
"ansible_all_ipv6_addresses": [
"fe80::d294:66ff:fe97:94d3"
],
This file has been truncated, but you can view the full file.
avinetarch-anp1 | SUCCESS => {
"hostvars[inventory_hostname]": {
"ansible_all_ipv4_addresses": [
"10.100.176.1",
"10.246.4.158",
"172.17.0.1"
],
"ansible_all_ipv6_addresses": [
"fe80::d294:66ff:fe97:94d3"
],
@mhabicht
mhabicht / gist:beff19f9f9bacf23273c3c0319b349cb
Created March 2, 2020 20:14
Broken Pipe - ansible 2.7.10 - kubespray 2.11.0
<10.246.4.152> (0, '\n{"src": "/root/.ansible/tmp/ansible-tmp-1583162073.43-202604563997072/source", "changed": true, "group": "root", "uid": 999, "dest": "/etc/cni/net.d/calico.conflist.template", "checksum": "547bfff1b59153eb16be5e44f75381f84ecafaa0", "md5sum": "e2664c7ca15329b31bf044481cd20a75", "owner": "kube", "state": "file", "gid": 0, "mode": "0644", "invocation": {"module_args": {"directory_mode": null, "force": true, "remote_src": null, "_original_basename": "cni-calico.conflist.j2", "owner": "kube", "follow": false, "local_follow": null, "group": null, "unsafe_writes": null, "setype": null, "content": null, "serole": null, "dest": "/etc/cni/net.d/calico.conflist.template", "selevel": null, "regexp": null, "validate": null, "src": "/root/.ansible/tmp/ansible-tmp-1583162073.43-202604563997072/source", "checksum": "547bfff1b59153eb16be5e44f75381f84ecafaa0", "seuser": null, "delimiter": null, "mode": null, "attributes": null, "backup": false}}, "size": 792}\n', 'OpenSSH_7.2p2 Ubuntu-4ubuntu2.8, OpenSSL
@mhabicht
mhabicht / CNI error
Created February 24, 2020 19:07
CNI Error, Kubespray 2.11.0 Kuberentes 15.3
<10.246.4.152> Failed to connect to the host via ssh: OpenSSH_7.2p2 Ubuntu-4ubuntu2.6, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: 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 = 29279