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

Crash at launch #781

Closed
blackrez opened this Issue Sep 14, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@blackrez

blackrez commented Sep 14, 2018

What were you trying to do?

Just try to launch.

What did you expect to happen?

Just works

What happened instead?

crash

Automatically included information

Command line: ['/usr/bin/telepresence']
Version: 0.92
Python version: 3.6.6 (default, Jul 19 2018, 14:25:17) [GCC 8.1.1 20180712 (Red Hat 8.1.1-5)]
kubectl version: (error: Command '['kubectl', 'version', '--short']' returned non-zero exit status 1.)
oc version: oc v3.9.0 // kubernetes v1.9.1+cbc5b49 // features: Basic-Auth GSSAPI Kerberos SPNEGO
OS: Linux localhost.localdomain 4.17.14-202.fc28.x86_64 #1 SMP Wed Aug 15 12:29:25 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Traceback:

Traceback (most recent call last):
  File "/usr/bin/telepresence/telepresence/cli.py", line 129, in crash_reporting
    yield
  File "/usr/bin/telepresence/telepresence/main.py", line 43, in main
    runner.kubectl = KubeInfo(runner, args)
  File "/usr/bin/telepresence/telepresence/startup.py", line 135, in __init__
    self.in_local_vm = self._check_if_in_local_vm(runner)
  File "/usr/bin/telepresence/telepresence/startup.py", line 167, in _check_if_in_local_vm
    if ip and ip in runner.kubectl.server:
AttributeError: 'NoneType' object has no attribute 'server'

Logs:

Not available
@kaerimichi

This comment has been minimized.

kaerimichi commented Sep 17, 2018

Same here. Happening on macOS as well (version 0.92).

tellisnz added a commit to tellisnz/telepresence that referenced this issue Oct 8, 2018

fixes telepresenceio#781. Somewhere between 6b793 and 407ba the call …
…to check if in local vm moved from final checks inside KubeInfo instantiation, whereas runner.kubectl is the final output of KubeInfo instantiation.

tellisnz added a commit to tellisnz/telepresence that referenced this issue Oct 8, 2018

fixes telepresenceio#781. Somewhere between 6b793 and 407ba the call …
…to check if in local vm moved from final checks inside KubeInfo instantiation, whereas runner.kubectl is the final output of KubeInfo instantiation.

@ark3 ark3 closed this in #797 Oct 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment