[MacOS] Cannot run 2 dev sessions simultaneously on cluster #6744
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/*` and requires one.
/kind bug
What versions of software are you using?
Operating System:
MacOS
$ uname -a Darwin pvala-mac 22.4.0 Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 arm64
Output of
odo version
:How did you run odo exactly?
Actual behavior
odo dev
from backend fails to fetch correct local port.Expected behavior
Any logs, error output, etc?
This is only an issue for cluster on MacOS; it works as expected on podman for MacOS.
It works as expected for both cluster and podman on Linux.
This problem was not present in v3.8.0, and I believe I have traced the origin to 86b271d. This problem does not exist before this commit, and reverting the commit also seemed to make the problem go away for cluster, but brings it back for podman.
Workaround: Using custom port mapping for cluster can work as a workaround, but the problem still exists, i.e. it does not correctly detect free port.
Note:This might be specific to a local K8s cluster created by docker-desktop that I am using because it appears to be working as expected for OpenShift cluster.
The text was updated successfully, but these errors were encountered: