-
Notifications
You must be signed in to change notification settings - Fork 244
Closed
Labels
area/devIssues or PRs related to `odo dev`Issues or PRs related to `odo dev`area/odo-on-podmanIssues or PRs related to running odo against PodmanIssues or PRs related to running odo against Podmanpriority/HighImportant issue; should be worked on before any other issues (except priority/Critical issue(s)).Important issue; should be worked on before any other issues (except priority/Critical issue(s)).sprint demoIndicates an issue for which a demo should be recorded and presented at the end of the sprint.Indicates an issue for which a demo should be recorded and presented at the end of the sprint.
Milestone
Description
/kind bug
What versions of software are you using?
Operating System:
Fedora 35
Output of odo version:
odo v3.5.0 (da9a9ef)
How did you run odo exactly?
odo init --devfile go --name my-go-app --starter go-starterODO_EXPERIMENTAL_MODE=true odo dev --platform podmanwait for it to finish- In another tab
odo dev.
Actual behavior
Once odo dev starts, both the dev sessions continue to sync because of the changes in .odo/devstate.json and never reach a stable state.
Expected behavior
Both sessions should be able to run and reach a stable state.
Any logs, error output, etc?
I am not sure if this is a valid use case and if something like this is an ideal workflow but it still a nuisance as an odo developer when I want to build and test new features for both podman and cluster.
Acceptance criteria
- PID is added to the content of the devstate file
- Platform is added to the content of the devstate file
- Forwarded Ports are added to the content of the devstate file
- each
odo devsession creates its own devstate.$PID.json file - the first
odo devsession also creates adevstate.jsonfile, for compatibility. - each
odo devsession should check ifdevstate.jsonfile exists and references a PID not existing, it deletes it; this helps in cleaning any file lying around when the previous process was kill(9)-ed. Same for allodocommands reading this file (odo describe component, ...) -
odo describe componentdisplays forwarded ports from all devstate.$PID.json files -
odo describe component --platform <platform>displays forwarded ports from devstate.$PID.json file with platform=<platform> -
odo devcan run only once per platform, exit if a devstate.$PID.json file with the platform already exists.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/devIssues or PRs related to `odo dev`Issues or PRs related to `odo dev`area/odo-on-podmanIssues or PRs related to running odo against PodmanIssues or PRs related to running odo against Podmanpriority/HighImportant issue; should be worked on before any other issues (except priority/Critical issue(s)).Important issue; should be worked on before any other issues (except priority/Critical issue(s)).sprint demoIndicates an issue for which a demo should be recorded and presented at the end of the sprint.Indicates an issue for which a demo should be recorded and presented at the end of the sprint.
Type
Projects
Status
Done ✅