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

unable to use private docker image repository #967

arroo opened this issue Mar 28, 2019 · 0 comments

unable to use private docker image repository #967

arroo opened this issue Mar 28, 2019 · 0 comments


Copy link

@arroo arroo commented Mar 28, 2019

What were you trying to do?

run telepresence using an image from an internally-hosted image repository

export TELEPRESENCE_REGISTRY=<internal repo url>:5000/public/datawire
telepresence --expose 3000 --swap-deployment todo-api --run go run main.go

What did you expect to happen?

it would run as normal

What happened instead?

it crashed

Automatically included information

Command line: ['/usr/bin/telepresence', '--expose', '3000', '--swap-deployment', 'todo-api', '--run', 'go', 'run', 'main.go']
Version: 0.97
Python version: 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0]
kubectl version: Client Version: v1.12.3 // Server Version: v1.9.5
oc version: (error: [Errno 2] No such file or directory: 'oc': 'oc')
OS: Linux midge 4.18.0-041800-lowlatency #201808122131 SMP PREEMPT Sun Aug 12 21:36:03 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Traceback (most recent call last):
  File "/usr/bin/telepresence/telepresence/", line 130, in crash_reporting
  File "/usr/bin/telepresence/telepresence/", line 60, in main
    remote_info = start_proxy(runner)
  File "/usr/bin/telepresence/telepresence/proxy/", line 104, in start_proxy
  File "/usr/bin/telepresence/telepresence/proxy/", line 195, in get_remote_info
    remote_version = remote_info.remote_telepresence_version()
  File "/usr/bin/telepresence/telepresence/proxy/", line 60, in remote_telepresence_version
    name, version = self.container_config["image"].split(":")
ValueError: too many values to unpack (expected 2)


D SPAN   10.1s
  15.2 TEL | [13] Capturing: kubectl --context lw2 --namespace default get deployment -o json --export --selector=telepresence=c40269ad1bd747c48ee541609bb28e85
  17.3 TEL | [13] captured in 2.07 secs.
  17.3 TEL | END SPAN    2.1s
  17.3 TEL | Searching for Telepresence pod:
  17.3 TEL |   with name todo-api-c40269ad1bd747c48ee541609bb28e85-*
  17.3 TEL |   with labels {'app': 'todo', 'component': 'api', 'release': 'todo', 'telepresence': 'c40269ad1bd747c48ee541609bb28e85'}
  17.3 TEL | [14] Capturing: kubectl --context lw2 --namespace default get pod -o json --export --selector=telepresence=c40269ad1bd747c48ee541609bb28e85
  19.3 TEL | [14] captured in 1.99 secs.
  19.3 TEL | Checking todo-api-c40269ad1bd747c48ee541609bb28e85-5cb687959b-9dtnb
  19.3 TEL | Looks like we've found our pod!

@ark3 ark3 closed this in 3922845 Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant