Skip to content

Blueprint planner: gate zone adds and updates on boot disk host phase 2 being at a known version #8918

Open

Description

@sunshowers

Followup from #8726.

For the initial implementation we're just checking that all zone image sources are at known versions. In principle, we should also check that the boot disk's host phase 2 image is a known version. (We don't care as much about the non-boot disk.)

The problem with doing this check today is that:

  • The blueprint doesn't currently cache information about which disk is the boot disk.
  • Inventory does have this information, but if a sled isn't in inventory (due to, say, a transient network error), we won't have this information.

For now, we assume that if all zone image sources are at known versions, the host phase 2 image is also most likely at a known version. But this is a somewhat fragile assumption, so we should fix it properly at some point (maybe by caching the last known boot disk for a sled in the blueprint).

Note that the host phase 1 and phase 2 images are already coupled with each other, so checking that host phase 2 is known is equivalent to checking that both host OS phases are known.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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