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

Always create opentofu_worker miq_workers record #68

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

agrare
Copy link
Member

@agrare agrare commented Jul 25, 2024

Eventually the goal is for MiqServer to create worker records for all worker types but for now it is simpler to do this specifically for the OpentofuWorker

This still depends on a change in core to assign a system_uid (pod_name) to the worker record that gets created, but simplifies everything else by not changing how existing Rails workers with run_single_worker.rb work.

Required for ManageIQ/manageiq#23112

Fixes #67

@miq-bot miq-bot added the wip label Jul 25, 2024
@miq-bot
Copy link
Member

miq-bot commented Jul 25, 2024

Checked commit agrare@25c64a1 with ruby 3.1.5, rubocop 1.56.3, haml-lint 0.51.0, and yamllint
1 file checked, 0 offenses detected
Everything looks fine. 👍

@agrare agrare changed the title [WIP] Always create opentofu_worker miq_workers record Always create opentofu_worker miq_workers record Aug 1, 2024
@agrare agrare added the bug Something isn't working label Aug 1, 2024
@miq-bot miq-bot removed the wip label Aug 1, 2024
@Fryguy Fryguy self-assigned this Aug 7, 2024
@Fryguy Fryguy merged commit d13296d into ManageIQ:master Aug 22, 2024
4 checks passed
@agrare agrare deleted the always_create_worker_record branch August 22, 2024 13:39
@Fryguy
Copy link
Member

Fryguy commented Aug 22, 2024

Backported to radjabov in commit fde903d.

commit fde903d81745c1210fefa78387df22728b14455a
Author: Jason Frey <[email protected]>
Date:   Thu Aug 22 09:34:44 2024 -0400

    Merge pull request #68 from agrare/always_create_worker_record
    
    Always create opentofu_worker miq_workers record
    
    (cherry picked from commit d13296d8ac4563dff4b912cf8352c8163a4dc432)

Fryguy added a commit that referenced this pull request Aug 22, 2024
Always create opentofu_worker miq_workers record

(cherry picked from commit d13296d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working radjabov/backported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpentofuWorker not restarted after changing settings on podified
3 participants