oxidecomputer / oxidecomputer/omicron

support_bundle_fail_expunged should not look at expunged datasets, zones

Open
#7,319 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
572
Forks
97
Avg merge
2d 12h
Merged PRs (30d)
96

Description

          Sorry for the drive-by comment - I don't have much context here, but I skimmed over `support_bundle_fail_expunged` and had a question. It looks like that's checking the current blueprint for _expunged_ zones/datasets specifically. How will that interact with dropping expunged entities from the blueprint altogether?

Originally posted by @jgallagher in https://github.com/oxidecomputer/omicron/pull/7063#discussion_r1906039997

support_bundle_fail_expunged could be implemented without looking at explicitly expunged datasets and zones -- it could consider the set of "all zones and datasets that are in-service", and consider anything outside of that (whether expunged, or pruned, or whatever) as "gone".

Related: I should take a look at other checks for BlueprintZoneFilter::Expunged, and see if anyone else has fallen into this expunged vs pruned issue.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating support_bundle_fail_expunged and the other checks using BlueprintZoneFilter::Expunged. Read how the current blueprint represents in-service, expunged, and pruned zones and datasets. Done means the support-bundle check treats entities outside the in-service set as gone without depending on explicitly expunged entries, and related checks have been reviewed.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.