Skip to content

Error " unable to save state file: a session with PID 25992 is already running on platform "cluster" " with odo v3.11.0 using Openshift local #6958

Closed Answered by rm3l
jochenr asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the detailed information!

But why does ODO try to use a PID that is already used by another program?

When starting, odo dev stores its own PID into an internal .odo/devstate* file (in the project working dir). Then if you try to run odo dev again against a same platform, it uses this file and checks whether there is already a running process with that PID. This file should be deleted when odo dev is stopped.
After discussing this with the rest of the team, the problem we suspect here is that the odo dev session might not be properly stopped by the VSCode Plugin on Windows, and the previous PID recorded was assigned to a different process by the operating system (but we'll nee…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jochenr
Comment options

@rm3l
Comment options

Answer selected by rm3l
@jochenr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants