kurtosis-tech / kurtosis

A platform for packaging and launching ephemeral backend stacks with a focus on approachability for the average developer.
https://docs.kurtosistech.com/
Apache License 2.0
384 stars 55 forks source link

Hangs forever trying to add service with a `--ports` flag #2478

Closed ArshanKhanifar closed 5 months ago

ArshanKhanifar commented 5 months ago

What's your CLI version?

0.89.16

Description & steps to reproduce

I remove one of my services using

kurtosis service rm $enclave $service

& then I start it again:

kurtosis service add $enclave $service --ports="service=http:3000/tcp"

My service is a quart app running on port 3000, this is the configuration to bring it up the first time:

        plan.add_service(
            name="myservice",
            config=ServiceConfig(
                image="myort/myservice:latest",
                ports={"service": PortSpec(number=3000, wait=None)},
            ),
        )

Desired behavior

The service should come up, but it stalls forever. Without the --ports flag it comes up fine.

What is the severity of this bug?

Painful; this is causing significant friction in my workflow.

What area of the product does this pertain to?

CLI: the Command Line Interface

ArshanKhanifar commented 5 months ago

Nevermind, it was an error on my side.