Skip to content

automate the planner #8244

@davepacheco

Description

@davepacheco

We're close to the point where we can start testing blueprint-driven upgrades, but there are way too many blueprints involved to do it manually. Here's a proposed MVP for automating this:

  • Create a new Nexus background task that runs, say, once/minute, does a planning run (same as what omdb nexus blueprints regenerate does today), and if the blueprint is different from the current target, saves it and attempts to make it the current target.
  • This background task would be disabled by default. (Presumably it'll run but do nothing.) It would be enabled by changing the Nexus config file.
  • This task should probably be activated automatically by a new inventory collection and any other operations that we know change the planning input (e.g., sled expungement, sled add, etc.).

Follow on work would be:

It'd be very valuable to have this sooner rather than later so I don't think we should put those follow-on bits into the first PR.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions