Skip to content

Instantly share code, notes, and snippets.

@Chaitanya-Veluvolu-Randstad
Created April 5, 2019 17:37
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 Chaitanya-Veluvolu-Randstad/235b4fc6055f6fe09a09b3c73175ab86 to your computer and use it in GitHub Desktop.
Save Chaitanya-Veluvolu-Randstad/235b4fc6055f6fe09a09b3c73175ab86 to your computer and use it in GitHub Desktop.
0.0 TEL | Telepresence 0.98 launched at Fri Apr 5 13:34:54 2019
0.0 TEL | /usr/local/bin/telepresence --method vpn-tcp --namespace svc-edtest-stable-test --expose 9090
0.0 TEL | Platform: darwin
0.0 TEL | Python 3.7.3 (default, Apr 4 2019, 17:04:14)
0.0 TEL | [Clang 9.0.0 (clang-900.0.39.2)]
0.0 TEL | [1] Running: uname -a
0.0 1 | Darwin Chaitanya.bose.com 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:13:31 PDT 2017; root:xnu-3789.60.24~4/RELEASE_X86_64 x86_64
0.0 TEL | [1] ran in 0.01 secs.
0.0 TEL | BEGIN SPAN main.py:40(main)
0.0 TEL | BEGIN SPAN startup.py:74(__init__)
0.0 TEL | Found kubectl -> /usr/local/bin/kubectl
0.0 TEL | [2] Capturing: kubectl version --short
0.7 TEL | [2] captured in 0.64 secs.
0.7 TEL | [3] Capturing: kubectl config current-context
0.7 TEL | [3] captured in 0.08 secs.
0.7 TEL | [4] Capturing: kubectl config view -o json
0.8 TEL | [4] captured in 0.07 secs.
0.8 TEL | [5] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com get ns svc-edtest-stable-test
1.7 TEL | [5] captured in 0.84 secs.
1.7 TEL | Command: kubectl 1.9.6
1.7 TEL | Context: live-aws-useast1-chaitanya_veluvolu@bose.com, namespace: svc-edtest-stable-test, version: 1.8.15-1+9f66f5c998b397
1.7 TEL | END SPAN startup.py:74(__init__) 1.6s
1.7 TEL | Found ssh -> /usr/bin/ssh
1.7 TEL | [6] Capturing: ssh -V
1.7 TEL | [6] captured in 0.01 secs.
1.7 TEL | Found bash -> /bin/bash
1.7 TEL | Found sshuttle-telepresence -> /usr/local/Cellar/telepresence/0.98/libexec/sshuttle-telepresence
1.7 TEL | Found pfctl -> /sbin/pfctl
1.7 TEL | Found sudo -> /usr/bin/sudo
1.7 TEL | [7] Running: sudo -n echo -n
1.7 7 | sudo: a password is required
1.7 TEL | [7] exit 1 in 0.03 secs.
1.7 >>> | Invoking sudo. Please enter your sudo password.
1.7 TEL | [8] Running: sudo echo -n
5.8 TEL | [8] ran in 4.11 secs.
5.8 >>> | Starting proxy with method 'vpn-tcp', which has the following limitations: All processes are affected, only one telepresence can run per machine, and you can't use other VPNs. You may need to add cloud hosts and headless services with --also-proxy. For a full list of method limitations see https://telepresence.io/reference/methods.html
5.8 TEL | Found sshfs -> /usr/local/bin/sshfs
5.8 TEL | Found umount -> /sbin/umount
5.8 >>> | Volumes are rooted at $TELEPRESENCE_ROOT. See https://telepresence.io/howto/volumes.html for details.
5.8 TEL | [9] Running: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pods telepresence-connectivity-check --ignore-not-found
6.0 TEL | [9] ran in 0.20 secs.
6.3 TEL | Scout info: {'latest_version': '0.98', 'application': 'telepresence', 'notices': []}
6.3 TEL | BEGIN SPAN deployment.py:57(create_new_deployment)
6.3 >>> | Starting network proxy to cluster using new Deployment telepresence-1554485694-926721-18554
6.3 TEL | [10] Running: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test delete --ignore-not-found svc,deploy --selector=telepresence=70c4a92985ad46298aaffdff108a25a5
6.5 10 | No resources found
6.5 TEL | [10] ran in 0.21 secs.
6.5 TEL | [11] Running: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test run --restart=Always --limits=cpu=100m,memory=256Mi --requests=cpu=25m,memory=64Mi telepresence-1554485694-926721-18554 --image=datawire/telepresence-k8s:0.98 --labels=telepresence=70c4a92985ad46298aaffdff108a25a5 --port=9090 --expose
6.8 11 | service "telepresence-1554485694-926721-18554" created
6.8 11 | deployment "telepresence-1554485694-926721-18554" created
6.8 TEL | [11] ran in 0.36 secs.
6.8 TEL | END SPAN deployment.py:57(create_new_deployment) 0.6s
6.8 TEL | BEGIN SPAN remote.py:151(get_remote_info)
6.8 TEL | BEGIN SPAN remote.py:78(get_deployment_json)
6.8 TEL | [12] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get deployment -o json --selector=telepresence=70c4a92985ad46298aaffdff108a25a5
7.0 TEL | [12] captured in 0.19 secs.
7.0 TEL | END SPAN remote.py:78(get_deployment_json) 0.2s
7.0 TEL | Searching for Telepresence pod:
7.0 TEL | with name telepresence-1554485694-926721-18554-*
7.0 TEL | with labels {'telepresence': '70c4a92985ad46298aaffdff108a25a5'}
7.0 TEL | [13] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod -o json --selector=telepresence=70c4a92985ad46298aaffdff108a25a5
7.2 TEL | [13] captured in 0.17 secs.
7.2 TEL | Checking telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4
7.2 TEL | Looks like we've found our pod!
7.2 TEL | BEGIN SPAN remote.py:113(wait_for_pod)
7.2 TEL | [14] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
7.4 TEL | [14] captured in 0.18 secs.
7.6 TEL | [15] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
7.8 TEL | [15] captured in 0.18 secs.
8.1 TEL | [16] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
8.3 TEL | [16] captured in 0.18 secs.
8.5 TEL | [17] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
8.7 TEL | [17] captured in 0.18 secs.
8.9 TEL | [18] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
9.1 TEL | [18] captured in 0.16 secs.
9.4 TEL | [19] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
9.5 TEL | [19] captured in 0.18 secs.
9.8 TEL | [20] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
10.0 TEL | [20] captured in 0.20 secs.
10.2 TEL | [21] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
10.4 TEL | [21] captured in 0.17 secs.
10.7 TEL | [22] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
10.8 TEL | [22] captured in 0.17 secs.
11.1 TEL | [23] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
11.3 TEL | [23] captured in 0.17 secs.
11.5 TEL | [24] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
11.7 TEL | [24] captured in 0.19 secs.
12.0 TEL | [25] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
12.1 TEL | [25] captured in 0.17 secs.
12.4 TEL | [26] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
12.6 TEL | [26] captured in 0.17 secs.
12.8 TEL | [27] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
13.0 TEL | [27] captured in 0.17 secs.
13.2 TEL | [28] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
13.4 TEL | [28] captured in 0.17 secs.
13.7 TEL | [29] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get pod telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 -o json
13.9 TEL | [29] captured in 0.21 secs.
13.9 TEL | END SPAN remote.py:113(wait_for_pod) 6.7s
13.9 TEL | END SPAN remote.py:151(get_remote_info) 7.0s
13.9 TEL | BEGIN SPAN connect.py:36(connect)
13.9 TEL | [30] Launching kubectl logs: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test logs -f telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 --container telepresence-1554485694-926721-18554 --tail=10
13.9 TEL | [31] Launching kubectl port-forward: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test port-forward telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 52464:8022
13.9 TEL | [32] Running: ssh -F /dev/null -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -q -p 52464 telepresence@127.0.0.1 /bin/true
13.9 TEL | [32] exit 255 in 0.02 secs.
14.2 TEL | [33] Running: ssh -F /dev/null -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -q -p 52464 telepresence@127.0.0.1 /bin/true
14.2 TEL | [33] exit 255 in 0.01 secs.
14.3 31 | Forwarding from 127.0.0.1:52464 -> 8022
14.4 TEL | [34] Running: ssh -F /dev/null -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -q -p 52464 telepresence@127.0.0.1 /bin/true
14.4 31 | Handling connection for 52464
14.8 TEL | [34] ran in 0.42 secs.
14.8 >>> | Forwarding remote port 9090 to local port 9090.
14.8 TEL | [35] Launching SSH port forward (exposed ports): ssh -N -oServerAliveInterval=1 -oServerAliveCountMax=10 -F /dev/null -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -q -p 52464 telepresence@127.0.0.1 -R '*:9090:127.0.0.1:9090'
14.8 >>> |
14.8 TEL | Launching Web server for proxy poll
14.8 TEL | [36] Launching SSH port forward (socks and proxy poll): ssh -N -oServerAliveInterval=1 -oServerAliveCountMax=10 -F /dev/null -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -q -p 52464 telepresence@127.0.0.1 -L127.0.0.1:52475:127.0.0.1:9050 -R9055:127.0.0.1:52476
14.8 TEL | END SPAN connect.py:36(connect) 1.0s
14.8 TEL | BEGIN SPAN remote_env.py:28(get_remote_env)
14.8 TEL | [37] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test exec telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 --container telepresence-1554485694-926721-18554 -- python3 podinfo.py
14.8 31 | Handling connection for 52464
14.8 31 | Handling connection for 52464
17.0 TEL | [37] captured in 2.14 secs.
17.0 TEL | END SPAN remote_env.py:28(get_remote_env) 2.1s
17.0 TEL | BEGIN SPAN mount.py:32(mount_remote_volumes)
17.0 TEL | [38] Running: sshfs -p 52464 -F /dev/null -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null telepresence@127.0.0.1:/ /tmp/tel-9j4os1xc/fs
17.0 31 | Handling connection for 52464
17.7 TEL | [38] ran in 0.67 secs.
17.7 TEL | END SPAN mount.py:32(mount_remote_volumes) 0.7s
17.7 TEL | BEGIN SPAN vpn.py:245(connect_sshuttle)
17.7 TEL | BEGIN SPAN vpn.py:75(get_proxy_cidrs)
17.7 TEL | [39] Capturing: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test get nodes -o json
19.6 TEL | [39] captured in 1.93 secs.
20.7 30 | Listening...
20.7 30 | 2019-04-05T17:35:14+0000 [-] Loading ./forwarder.py...
20.7 30 | 2019-04-05T17:35:15+0000 [-] /etc/resolv.conf changed, reparsing
20.7 30 | 2019-04-05T17:35:15+0000 [-] Resolver added ('100.64.0.10', 53) to server list
20.7 30 | 2019-04-05T17:35:15+0000 [-] SOCKSv5Factory starting on 9050
20.7 30 | 2019-04-05T17:35:15+0000 [socks.SOCKSv5Factory#info] Starting factory <socks.SOCKSv5Factory object at 0x7fbecc5250f0>
20.7 30 | 2019-04-05T17:35:15+0000 [-] DNSDatagramProtocol starting on 9053
20.7 30 | 2019-04-05T17:35:15+0000 [-] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x7fbec907d080>
20.7 30 | 2019-04-05T17:35:15+0000 [-] Loaded.
20.7 30 | 2019-04-05T17:35:15+0000 [twisted.scripts._twistd_unix.UnixAppLogger#info] twistd 18.9.0 (/usr/bin/python3.6 3.6.5) starting up.
20.7 30 | 2019-04-05T17:35:15+0000 [twisted.scripts._twistd_unix.UnixAppLogger#info] reactor class: twisted.internet.epollreactor.EPollReactor.
21.6 TEL | CRASH: Extra data: line 1 column 7 (char 6)
21.6 TEL | Traceback (most recent call last):
21.6 TEL | File "/usr/local/bin/telepresence/telepresence/cli.py", line 130, in crash_reporting
21.6 TEL | yield
21.6 TEL | File "/usr/local/bin/telepresence/telepresence/main.py", line 77, in main
21.6 TEL | runner, remote_info, env, socks_port, ssh, mount_dir, pod_info
21.6 TEL | File "/usr/local/bin/telepresence/telepresence/outbound/setup.py", line 73, in launch
21.6 TEL | runner_, remote_info, command, args.also_proxy, env, ssh
21.6 TEL | File "/usr/local/bin/telepresence/telepresence/outbound/local.py", line 121, in launch_vpn
21.6 TEL | connect_sshuttle(runner, remote_info, also_proxy, ssh)
21.6 TEL | File "/usr/local/bin/telepresence/telepresence/outbound/vpn.py", line 256, in connect_sshuttle
21.6 TEL | ] + get_proxy_cidrs(runner, remote_info, hosts_or_ips),
21.6 TEL | File "/usr/local/bin/telepresence/telepresence/outbound/vpn.py", line 82, in get_proxy_cidrs
21.6 TEL | result.update(context_cache.lookup("podCIDRs", lambda: podCIDRs(runner)))
21.6 TEL | File "/usr/local/bin/telepresence/telepresence/runner/cache.py", line 105, in lookup
21.6 TEL | value = function()
21.6 TEL | File "/usr/local/bin/telepresence/telepresence/outbound/vpn.py", line 82, in <lambda>
21.6 TEL | result.update(context_cache.lookup("podCIDRs", lambda: podCIDRs(runner)))
21.6 TEL | File "/usr/local/bin/telepresence/telepresence/outbound/vpn.py", line 156, in podCIDRs
21.6 TEL | runner.get_output(runner.kubectl("get", "nodes", "-o", "json"))
21.6 TEL | File "/Users/chaitanyaveluvolu/.pyenv/versions/3.7.3/lib/python3.7/json/__init__.py", line 348, in loads
21.6 TEL | return _default_decoder.decode(s)
21.6 TEL | File "/Users/chaitanyaveluvolu/.pyenv/versions/3.7.3/lib/python3.7/json/decoder.py", line 340, in decode
21.6 TEL | raise JSONDecodeError("Extra data", s, end)
21.6 TEL | json.decoder.JSONDecodeError: Extra data: line 1 column 7 (char 6)
21.6 TEL | (calling crash reporter...)
25.5 >>> | Exit cleanup in progress
25.5 TEL | (Cleanup) Unmount remote filesystem
25.5 TEL | [40] Running: umount -f /tmp/tel-9j4os1xc/fs
25.6 TEL | [40] ran in 0.04 secs.
25.6 TEL | (Cleanup) Kill BG process [36] SSH port forward (socks and proxy poll)
25.6 TEL | [36] SSH port forward (socks and proxy poll): exit 0
25.6 TEL | (Cleanup) Kill Web server for proxy poll
25.9 TEL | (Cleanup) Kill BG process [35] SSH port forward (exposed ports)
25.9 TEL | [35] SSH port forward (exposed ports): exit 0
25.9 TEL | (Cleanup) Kill BG process [31] kubectl port-forward
25.9 TEL | [31] kubectl port-forward: exit -15
25.9 TEL | (Cleanup) Kill BG process [30] kubectl logs
25.9 TEL | [30] kubectl logs: exit -15
25.9 TEL | Background process (kubectl logs) exited with return code -15. Command was:
25.9 TEL | kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test logs -f telepresence-1554485694-926721-18554-5dd4cf5b57-6j4w4 --container telepresence-1554485694-926721-18554 --tail=10
25.9 TEL |
25.9 TEL | Recent output was:
25.9 TEL | 2019-04-05T17:35:14+0000 [-] Loading ./forwarder.py...
25.9 TEL | 2019-04-05T17:35:15+0000 [-] /etc/resolv.conf changed, reparsing
25.9 TEL | 2019-04-05T17:35:15+0000 [-] Resolver added ('100.64.0.10', 53) to server list
25.9 TEL | 2019-04-05T17:35:15+0000 [-] SOCKSv5Factory starting on 9050
25.9 TEL | 2019-04-05T17:35:15+0000 [socks.SOCKSv5Factory#info] Starting factory <socks.SOCKSv5Factory object at 0x7fbecc5250f0>
25.9 TEL | 2019-04-05T17:35:15+0000 [-] DNSDatagramProtocol starting on 9053
25.9 TEL | 2019-04-05T17:35:15+0000 [-] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x7fbec907d080>
25.9 TEL | 2019-04-05T17:35:15+0000 [-] Loaded.
25.9 TEL | 2019-04-05T17:35:15+0000 [twisted.scripts._twistd_unix.UnixAppLogger#info] twistd 18.9.0 (/usr/bin/python3.6 3.6.5) starting up.
25.9 TEL | 2019-04-05T17:35:15+0000 [twisted.scripts._twistd_unix.UnixAppLogger#info] reactor class: twisted.internet.epollreactor.EPollReactor.
25.9 TEL | (Cleanup) Delete new deployment
25.9 >>> | Cleaning up Deployment telepresence-1554485694-926721-18554
25.9 TEL | [41] Running: kubectl --context live-aws-useast1-chaitanya_veluvolu@bose.com --namespace svc-edtest-stable-test delete --ignore-not-found svc,deploy --selector=telepresence=70c4a92985ad46298aaffdff108a25a5
26.2 41 | service "telepresence-1554485694-926721-18554" deleted
29.5 41 | deployment "telepresence-1554485694-926721-18554" deleted
29.5 TEL | [41] ran in 3.59 secs.
29.5 TEL | (Cleanup) Kill sudo privileges holder
29.5 TEL | (Cleanup) Stop time tracking
29.5 TEL | END SPAN main.py:40(main) 29.5s
29.5 TEL | (Cleanup) Remove temporary directory
29.5 TEL | (Cleanup) Save caches
29.9 TEL | (sudo privileges holder thread exiting)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment