GitHub user Pearl1594 added a comment to the discussion: Is readyForShutdown predicated on existence of pendings jobs?
It seems like readyForShutdown is dependent on the value of pendingJobsCount : https://github.com/apache/cloudstack/blob/4.20/plugins/shutdown/src/main/java/org/apache/cloudstack/shutdown/ShutdownManagerImpl.java#L153 i.e., if pendingJobsCount is 0, readyForShutdown is true. But it will proceed to shutdown only if prepareForShutdown is initiated and shutdown is triggered https://github.com/apache/cloudstack/blob/4.20/plugins/shutdown/src/main/java/org/apache/cloudstack/shutdown/ShutdownManagerImpl.java#L246-L256 GitHub link: https://github.com/apache/cloudstack/discussions/10682#discussioncomment-12781217 ---- This is an automatically sent email for users@cloudstack.apache.org. To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org