cli icon indicating copy to clipboard operation
cli copied to clipboard

`app switch` doesn't work on macOS 10.15.7 (Telepresence)

Open blackappsolutions opened this issue 4 years ago • 2 comments

buzzword-counter (master) $ unikube app switch
? Please select a deck buzzword-counter
[INFO] Please wait while unikube prepares the switch.
[INFO] Building a Docker image for /Users/mschwarz/clients/blueshoe/buzzword-counter/Dockerfile with context /Users/mschwarz/clients/blueshoe/buzzword-counter
[INFO] Docker image successfully built: buzzy-buzzword-counter-buzzword-counter-web-telepresence:dev
[WARNING] No port specified although there are multiple ports available: ['9000']. Defaulting to port 9000 which might not be correct.
[INFO] Starting your container, this may take a while to become effective
An update of telepresence from version 2.4.5 to 2.4.6 is available. Please visit https://www.getambassador.io/docs/telepresence/latest/install/upgrade/ for more info.
telepresence: error: Failed to establish intercept: the agent install timed out.  The current timeout 2m0s can be configured as "timeouts.agentInstall" in "/Users/mschwarz/Library/Application Support/telepresence/config.yml"

See logs for details (771 errors found): "/Users/mschwarz/Library/Logs/telepresence/connector.log"
If you think you have encountered a bug, please run `telepresence gather-logs` and attach the telepresence_logs.zip to your github issue or create a new one: https://github.com/telepresenceio/telepresence/issues/new?template=Bug_report.md .
[INFO] Stopping the switch operation. It takes a few seconds to reset the cluster.
$ unikube system verify
[INFO] You are using unikube version 1.0.1.dev9; however, version 1.1.0.dev3 is available.
[INFO] Checking Homebrew  Ok (Version 3.3.3)
[INFO] Checking Docker  Ok (Version 20.10.8)
[INFO] Checking Docker Engine  Ok
[INFO] Checking Kubectl  Ok (Version 1.21.4)
[INFO] Checking k3d  Ok (Version 4.4.8)
[INFO] Checking Telepresence  Ok (Version 2.4.5)
[SUCCESS] Local dependencies verified.

blackappsolutions avatar Nov 16 '21 15:11 blackappsolutions

Hey @blackappsolutions - I'm really sorry for the inconvenience. The Unikube cli is using a sub software component called "Telepresence" under the hood. This seems to cause troubles from time to time. However it's somewhat random and unpredictable. We're currently working on a solution. We're also talking to the folks over at Ambassador Labs, the maintainers of Telepresence. We'll keep you posted on this.

SteinRobert avatar Nov 18 '21 20:11 SteinRobert

We do have a first draft of our own implementation for this part of the stack: https://github.com/Schille/gefyra This will be integrated with the CLI soon and greatly improve this part of the process.

Schille avatar Feb 22 '22 13:02 Schille