Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpentofuWorker preventing system startup on podified if role enabled at boot #81

Open
agrare opened this issue Oct 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@agrare
Copy link
Member

agrare commented Oct 28, 2024

If the Embedded Terraform role is enabled at boot the OpentofuWorker prevents podified from reaching "server started"

{"@timestamp":"2024-10-28T17:23:21.283454","hostname":"orchestrator-7d77dfcf4-zn9bl","pid":7,"tid":"9718","service":"evm","level":"info","message":"MIQ(MiqServer::WorkerManagement::Kubernetes#wait_for_started_workers) Waiting for the following workers to start: OpentofuWorker (1)"}
{"@timestamp":"2024-10-28T17:32:02.448525","hostname":"orchestrator-7d77dfcf4-zn9bl","pid":7,"tid":"9718","service":"evm","level":"info","message":"MIQ(MiqServer::WorkerManagement::Kubernetes#wait_for_started_workers) All workers have been started"}
{"@timestamp":"2024-10-28T17:32:02.458488","hostname":"orchestrator-7d77dfcf4-zn9bl","pid":7,"tid":"9718","service":"evm","level":"info","message":"MIQ(EvmServer#start_server) Server starting...Complete"}
** Server starting...Complete

I manually marked the OpentofuWorker as started with a system_uid and is unblocked the server startup.

@agrare agrare added the bug Something isn't working label Oct 28, 2024
@agrare
Copy link
Member Author

agrare commented Oct 28, 2024

Essentially the issue is the fix from this PR ManageIQ/manageiq#23112 isn't running before the MiqServer startup process is completed, the Kubernetes#start_kube_monitor pod / deployment monitor threads aren't running yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant