Today, if you use the planner to provision a new zone, it'll provision a new zone in the constructed blueprint, and then invoke sled_ensure_datasets, which will create necessary records for that zone to exist.
However, if you use the reconfigurator-cli to provision a new zone, it'll make a new zone in the blueprint, but it will be missing a corresponding dataset (see also: #6987 , where we could catch this!). I believe our live-tests are also suffering from the same defect.
This issue tracks two things:
FYI @jgallagher
Today, if you use the planner to provision a new zone, it'll provision a new zone in the constructed blueprint, and then invoke
sled_ensure_datasets, which will create necessary records for that zone to exist.However, if you use the
reconfigurator-clito provision a new zone, it'll make a new zone in the blueprint, but it will be missing a corresponding dataset (see also: #6987 , where we could catch this!). I believe ourlive-testsare also suffering from the same defect.This issue tracks two things:
FYI @jgallagher