telepresenceio / telepresence

Local development against a remote Kubernetes or OpenShift cluster
https://www.telepresence.io
Other
6.63k stars 522 forks source link

Error swapping deployment on local kubernetes with docker #1378

Closed sanleon closed 3 months ago

sanleon commented 4 years ago

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.
github-actions[bot] commented 3 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment, or this will be closed in 7 days.

github-actions[bot] commented 3 months ago

This issue was closed because it has been stalled for 7 days with no activity.