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

Changing cluster always fails if engine is not manually turned off #646

Closed
victorcolombo opened this issue May 26, 2023 · 0 comments
Closed
Assignees
Labels
bug Something isn't working k8s painful Painful bug

Comments

@victorcolombo
Copy link
Contributor

What's your CLI version?

0.77.0

Description & steps to reproduce

  1. kurtosis cluster set docker (this triggers an Engine start locally, that spins up a container that binds to port 9710)
  2. kurtosis cluster set minikube (this triggers an Engine start inside minikube)
  3. kurtosis gateway(this also triggers a bind to 9710, that is already on use)
  Caused by: An error occurred running the server using the interrupt channel for stopping
  Caused by: An error occurred creating the listener on tcp/9710
  Caused by: listen tcp :9710: bind: address already in use

So the user must either kill the running engine in docker manually or run:

  1. kurtosis cluster set docker
    2 kurtosis engine stop
  2. kurtosis cluster set kubernetes
  3. kurtosis gateway(works)

This process is laborious and error prone

Desired behavior

kurtosis cluster set X should not only start the engine on X, but also make sure that, if local, stops the local engine

What is the severity of this bug?

Painful; this is causing significant friction in my workflow.

@victorcolombo victorcolombo added bug Something isn't working k8s labels May 26, 2023
@gbouv gbouv self-assigned this May 31, 2023
@laurentluce laurentluce added the painful Painful bug label May 31, 2023
gbouv pushed a commit that referenced this issue Jun 2, 2023
## Description:
Closing #646  

## Is this change user facing?
NO
<!-- If yes, please add the "user facing" label to the PR -->
<!-- If yes, don't forget to include docs changes where relevant -->

## References (if applicable):
<!-- Add relevant Github Issues, Discord threads, or other helpful
information. -->
@gbouv gbouv closed this as completed Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working k8s painful Painful bug
Projects
None yet
Development

No branches or pull requests

3 participants