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

Automatically release and power-off maas nodes at the end of a job #382

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

plars
Copy link
Collaborator

@plars plars commented Oct 16, 2024

Description

Some maas-deployed systems use a lot of power. Rather than leaving them on between jobs, we should power them off automatically when the job is complete. The cleanup step is currently only used to ensure the agent container is removed, but can also be used for operations specific to the device connector.

Resolved issues

CERTTF-427

Documentation

There are some new log messages saying that the node was released. But there's nothing the user needs to do to activate this, it will happen automatically once the job is complete or cancelled.

Web service API changes

N/A

Tests

Tested on a maas deployed node. Attached images on jira card show the job being run, and then the maas screen showing that the device was released and powered off.

@plars plars requested review from bladernr and a team October 16, 2024 22:13
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.

1 participant