Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.4.4, 4.4.5
-
None
-
None
Description
Originally reported as "Karaf slave instance does not write pid or port file until it becomes master" KARAF-5798
Testing and a look at the code only the issue with the pid file was fixed. The port file is still only written (InstanceHelper#setupShutdown) from org.apache.karaf.main.Main - KarafLockCallback#lockAcquired
The impact of this is that the "stop" command fails with the error "shutdown port file doesn't exist. The container is not running" if the node doesn't have the lock.