You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This RFE would cover supporting an optional YAML template that lets QUADS admins define free-form commands that can be run during the M&R (move_and_rebuild) phase of QUADS. We wouldn't fail on these commands they should be best-effort, though we should log their results.
We'd define commands/actions to run in a YAML template and process them using asyncio-driven subprocess calls via Python.
Scope
Some thought should be put into providing the ability when to run certain commands against systems, e.g. before kickstart. To avoid overcomplication we might just support one or two markers here like pre_provision and post_provision and tag those to appropriate methods for their marker phases.
We might also want some rudimentary asyncio return status to support basic depends between asyncio subprocess commands.
I didn't include something like pre_release because our notify.py notification library takes care of this (it already sends webhooks for release for example) but this is moreso for actions to run during pre-release phases for things that are not fatal in non-execution for processing batches of systems.
Some Potential Usage
Run some arbitrary command that helps scoot systems out easier without having to develop and ship new M&R methods e.g. racadm remoteimage -d to unmount virtual media
Offload the lshw hardware collection process after a machine kickstarts (while we still have access to it, but before it gets assigned to tenants)
The text was updated successfully, but these errors were encountered:
This RFE would cover supporting an optional YAML template that lets QUADS admins define free-form commands that can be run during the M&R (move_and_rebuild) phase of QUADS. We wouldn't fail on these commands they should be best-effort, though we should log their results.
We'd define commands/actions to run in a YAML template and process them using asyncio-driven subprocess calls via Python.
Scope
Some thought should be put into providing the ability when to run certain commands against systems, e.g. before kickstart. To avoid overcomplication we might just support one or two markers here like
pre_provision
andpost_provision
and tag those to appropriate methods for their marker phases.We might also want some rudimentary asyncio return status to support basic
depends
between asyncio subprocess commands.e.g.
I didn't include something like
pre_release
because ournotify.py
notification library takes care of this (it already sends webhooks for release for example) but this is moreso for actions to run during pre-release phases for things that are not fatal in non-execution for processing batches of systems.Some Potential Usage
racadm remoteimage -d
to unmount virtual medialshw
hardware collection process after a machine kickstarts (while we still have access to it, but before it gets assigned to tenants)The text was updated successfully, but these errors were encountered: