Skip to content

Instantly share code, notes, and snippets.

@buggtb
Created October 26, 2017 15:15
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 buggtb/d85fbf00cd45c9e3b72251dd3fc619e4 to your computer and use it in GitHub Desktop.
Save buggtb/d85fbf00cd45c9e3b72251dd3fc619e4 to your computer and use it in GitHub Desktop.
jujucontroller@JenkinsContinuousIntegration:/data/certs$ /snap/bin/juju --debug ssh 5
16:14:34 INFO juju.cmd supercommand.go:63 running juju [2.2.6 gc go1.8]
16:14:34 DEBUG juju.cmd supercommand.go:64 args: []string{"/snap/juju/2739/bin/juju", "--debug", "ssh", "5"}
16:14:34 INFO juju.juju api.go:67 connecting to API addresses: [10.10.1.84:17070 10.10.10.114:17070 10.10.40.75:17070 172.17.0.1:17070]
16:14:34 DEBUG juju.api apiclient.go:863 successfully dialed "wss://10.10.10.114:17070/model/8484bbd3-420d-42db-83dd-fb172fa3ed81/api"
16:14:34 INFO juju.api apiclient.go:617 connection established to "wss://10.10.10.114:17070/model/8484bbd3-420d-42db-83dd-fb172fa3ed81/api"
16:14:34 DEBUG juju.api apiclient.go:863 successfully dialed "wss://10.10.1.84:17070/model/8484bbd3-420d-42db-83dd-fb172fa3ed81/api"
16:14:34 INFO juju.juju api.go:308 API endpoints changed from [10.10.1.84:17070 10.10.10.114:17070 10.10.40.75:17070 172.17.0.1:17070] to [10.10.10.114:17070 10.10.1.84:17070 10.10.40.75:17070 172.17.0.1:17070]
16:14:34 DEBUG juju.cmd.juju.commands ssh_common.go:261 proxy-ssh is false
16:14:34 DEBUG juju.network.ssh reachable.go:150 dialing 172.17.0.1:22 to check host keys
16:14:34 DEBUG juju.network.ssh reachable.go:150 dialing 10.1.100.1:22 to check host keys
16:14:34 DEBUG juju.network.ssh reachable.go:150 dialing 10.10.1.81:22 to check host keys
16:14:34 DEBUG juju.network.ssh reachable.go:150 dialing 10.10.10.111:22 to check host keys
16:14:34 DEBUG juju.network.ssh reachable.go:150 dialing 10.10.40.72:22 to check host keys
16:14:34 DEBUG juju.network.ssh reachable.go:163 connected to 10.10.40.72:22, initiating ssh handshake
16:14:34 DEBUG juju.network.ssh reachable.go:163 connected to 10.10.10.111:22, initiating ssh handshake
16:14:34 DEBUG juju.network.ssh reachable.go:163 connected to 10.10.1.81:22, initiating ssh handshake
16:14:34 DEBUG juju.network.ssh reachable.go:163 connected to 172.17.0.1:22, initiating ssh handshake
16:14:34 DEBUG juju.network.ssh reachable.go:97 accepted host key for: 10.10.1.81:22
16:14:34 INFO juju.network.ssh reachable.go:216 found 10.10.1.81:22 has an acceptable ssh key
16:14:34 DEBUG juju.cmd.juju.commands ssh_common.go:382 using target "5" address "10.10.1.81"
16:14:34 DEBUG juju.network.ssh reachable.go:97 accepted host key for: 172.17.0.1:22
16:14:34 DEBUG juju.utils.ssh ssh.go:305 using OpenSSH ssh client
16:14:34 DEBUG juju.network.ssh reachable.go:97 accepted host key for: 10.10.40.72:22
16:14:34 DEBUG juju.network.ssh reachable.go:175 ssh: handshake failed: host key was accepted, but search was stopped
16:14:34 DEBUG juju.network.ssh reachable.go:97 accepted host key for: 10.10.10.111:22
16:14:34 DEBUG juju.network.ssh reachable.go:175 ssh: handshake failed: host key was accepted, but search was stopped
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-97-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
0 packages can be updated.
0 updates are security updates.
Last login: Thu Oct 26 15:12:58 2017 from 10.10.40.75
16:14:35 DEBUG juju.network.ssh reachable.go:153 dial 10.1.100.1:22 failed with: dial tcp 10.1.100.1:22: i/o timeout
ubuntu@KuberneteWorker01:~$ logout
Connection to 10.10.1.81 closed.
16:14:39 DEBUG juju.api monitor.go:35 RPC connection died
16:14:39 INFO cmd supercommand.go:465 command finished
jujucontroller@JenkinsContinuousIntegration:/data/certs$ /snap/bin/juju --debug ssh 5
16:14:40 INFO juju.cmd supercommand.go:63 running juju [2.2.6 gc go1.8]
16:14:40 DEBUG juju.cmd supercommand.go:64 args: []string{"/snap/juju/2739/bin/juju", "--debug", "ssh", "5"}
16:14:40 INFO juju.juju api.go:67 connecting to API addresses: [10.10.10.114:17070 10.10.1.84:17070 10.10.40.75:17070 172.17.0.1:17070]
16:14:40 DEBUG juju.api apiclient.go:863 successfully dialed "wss://10.10.10.114:17070/model/8484bbd3-420d-42db-83dd-fb172fa3ed81/api"
16:14:40 INFO juju.api apiclient.go:617 connection established to "wss://10.10.10.114:17070/model/8484bbd3-420d-42db-83dd-fb172fa3ed81/api"
16:14:40 DEBUG juju.api apiclient.go:863 successfully dialed "wss://10.10.1.84:17070/model/8484bbd3-420d-42db-83dd-fb172fa3ed81/api"
16:14:40 DEBUG juju.cmd.juju.commands ssh_common.go:261 proxy-ssh is false
16:14:40 DEBUG juju.network.ssh reachable.go:150 dialing 172.17.0.1:22 to check host keys
16:14:40 DEBUG juju.network.ssh reachable.go:150 dialing 10.10.40.72:22 to check host keys
16:14:40 DEBUG juju.network.ssh reachable.go:150 dialing 10.10.1.81:22 to check host keys
16:14:40 DEBUG juju.network.ssh reachable.go:150 dialing 10.10.10.111:22 to check host keys
16:14:40 DEBUG juju.network.ssh reachable.go:150 dialing 10.1.100.1:22 to check host keys
16:14:40 DEBUG juju.network.ssh reachable.go:163 connected to 172.17.0.1:22, initiating ssh handshake
16:14:40 DEBUG juju.network.ssh reachable.go:163 connected to 10.10.40.72:22, initiating ssh handshake
16:14:40 DEBUG juju.network.ssh reachable.go:163 connected to 10.10.10.111:22, initiating ssh handshake
16:14:40 DEBUG juju.network.ssh reachable.go:163 connected to 10.10.1.81:22, initiating ssh handshake
16:14:40 DEBUG juju.network.ssh reachable.go:97 accepted host key for: 172.17.0.1:22
16:14:40 INFO juju.network.ssh reachable.go:216 found 172.17.0.1:22 has an acceptable ssh key
16:14:40 DEBUG juju.cmd.juju.commands ssh_common.go:382 using target "5" address "172.17.0.1"
16:14:40 DEBUG juju.utils.ssh ssh.go:305 using OpenSSH ssh client
16:14:40 DEBUG juju.network.ssh reachable.go:97 accepted host key for: 10.10.1.81:22
16:14:40 DEBUG juju.network.ssh reachable.go:97 accepted host key for: 10.10.10.111:22
16:14:40 DEBUG juju.network.ssh reachable.go:97 accepted host key for: 10.10.40.72:22
16:14:40 DEBUG juju.network.ssh reachable.go:175 ssh: handshake failed: host key was accepted, but search was stopped
16:14:40 DEBUG juju.network.ssh reachable.go:175 ssh: handshake failed: host key was accepted, but search was stopped
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-97-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
7 packages can be updated.
1 update is a security update.
Last login: Thu Oct 26 16:14:15 2017 from 10.10.1.84
16:14:41 DEBUG juju.network.ssh reachable.go:153 dial 10.1.100.1:22 failed with: dial tcp 10.1.100.1:22: i/o timeout
ubuntu@JenkinsContinuousIntegration:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment