Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error swapping deployment on local kubernetes with docker #1378

Open
sanleon opened this issue Jun 5, 2020 · 0 comments
Open

Error swapping deployment on local kubernetes with docker #1378

sanleon opened this issue Jun 5, 2020 · 0 comments

Comments

@sanleon
Copy link

sanleon commented Jun 5, 2020

What were you trying to do?

swap deployment on local kubernetes with docker
(please tell us)

What did you expect to happen?

swapped deployment
(please tell us)

What happened instead?

(please tell us - the traceback is automatically included, see below.
use https://gist.github.com to pass along full telepresence.log)

Automatically included information

Command line: ['/usr/local/bin/telepresence', '--namespace', 'havana-local', '--swap-deployment', 'cdn', '--expose', '8080', '--docker-run', 'localhost:5000/havana-cdn:v0.0.11-100-ga98ba79b-dirty', 'server', '--port=8080', '--akamai-credential-file=/akamai-local.txt', '--log-level=debug']
Version: 0.105
Python version: 3.7.0 (default, Sep 13 2019, 11:49:08) [Clang 10.0.1 (clang-1001.0.46.4)]
kubectl version: Client Version: v1.16.6-beta.0 // Server Version: v1.16.6-beta.0
oc version: (error: [Errno 2] No such file or directory: 'oc': 'oc')
OS: Darwin CA-10016517 18.7.0 Darwin Kernel Version 18.7.0: Mon Feb 10 21:08:45 PST 2020; root:xnu-4903.278.28~1/RELEASE_X86_64 x86_64

Traceback (most recent call last):
  File "/usr/local/bin/telepresence/telepresence/cli.py", line 135, in crash_reporting
    yield
  File "/usr/local/bin/telepresence/telepresence/main.py", line 82, in main
    runner, remote_info, env, socks_port, ssh, mount_dir, pod_info
  File "/usr/local/bin/telepresence/telepresence/outbound/setup.py", line 169, in launch
    pod_info,
  File "/usr/local/bin/telepresence/telepresence/outbound/container.py", line 174, in run_docker_command
    raise RuntimeError("SSH to the network container failed to start.")
RuntimeError: SSH to the network container failed to start.

Logs:

oxy checking local liveness)
  77.9 125 | 2020-06-05T02:03:11+0000 [Poll#info] Checkpoint
  78.0 TEL | [238] Running: ssh -F /dev/null -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -q -p 54202 root@127.0.0.1 /bin/true
  78.0 TEL | [238] exit 255 in 0.02 secs.
  78.3 TEL | [239] Running: ssh -F /dev/null -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -q -p 54202 root@127.0.0.1 /bin/true
  78.3 TEL | [239] exit 255 in 0.02 secs.
  78.5 TEL | [240] Running: ssh -F /dev/null -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -q -p 54202 root@127.0.0.1 /bin/true
  78.6 TEL | [240] exit 255 in 0.02 secs.
  78.8 TEL | [241] Running: ssh -F /dev/null -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -q -p 54202 root@127.0.0.1 /bin/true
  78.8 TEL | [241] exit 255 in 0.03 secs.
  79.1 TEL | [242] Running: ssh -F /dev/null -oStrictHostKeyChecking=no -oUserKnownHostsFile=/dev/null -q -p 54202 root@127.0.0.1 /bin/true
  79.1 TEL | [242] exit 255 in 0.02 secs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant