manageiq icon indicating copy to clipboard operation
manageiq copied to clipboard

[WIP] Touch a worker.started file after worker initialization

Open agrare opened this issue 2 years ago • 2 comments

Currently when workers are running under Systemd we use SD_NOTIFY to signal that a worker has started, Kubernetes also has a "startup probe" which waits for an indication that the worker is started before starting the readiness probe.

We can touch a startup file that a k8s startup probe can check when we mark the worker as "STARTED"

agrare avatar Mar 10 '22 20:03 agrare

@jrafanie where are you eager loading the API constants? Want to ensure it is before this

agrare avatar Mar 10 '22 21:03 agrare

Checked commit https://github.com/agrare/manageiq/commit/131aefbcc772f887d011e1c2e63dd38c9cf51e86 with ruby 2.6.7, rubocop 1.19.1, haml-lint 0.35.0, and yamllint 4 files checked, 1 offense detected

lib/container_orchestrator/object_definition.rb

miq-bot avatar Mar 10 '22 23:03 miq-bot

This pull request is not mergeable. Please rebase and repush.

miq-bot avatar Sep 22 '22 21:09 miq-bot

Going to close this as we don't currently have a requirement for it

agrare avatar Oct 03 '22 14:10 agrare