Skip to content

Conversation

pdmars
Copy link
Contributor

@pdmars pdmars commented Aug 27, 2025

No description provided.

Description=Run Chameleon Periodic Inspector daily

[Timer]
OnCalendar=daily
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we'll probably want to play with this timing in practice
running more frequently allows the script to attempt to "fix" nodes that failed to inspect a previous time.


# Periodic Inspector
[chameleon-periodic-inspector:children]
control
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all this script needs is access to the ironic API.

in practice "control" is fine, longer term we may want explicitly target the "deployment" group, and/or something like "control[0]" to avoid running it multiple times in the multinode case.

tldr leaving it as "control" is ok because we'll have to fix all sorts of other things before that assumption becomes invalid.

Copy link
Contributor

@msherman64 msherman64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me, thanks!

FYI, this can be tested without the timer by executing systemctl start <unitname> instead of having the timer do it.

Once deployed, we'll also want to remove my scripts from the "rally-executor" vm so that we're not doubling up on it

@pdmars pdmars merged commit ef2cd74 into stable/2023.1 Aug 28, 2025
1 check passed
@pdmars pdmars deleted the rd/collector-timer branch August 28, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants