An historical note on why MAAS skips the verification step. When we were implementing Bootstrap() in the MAAS provider, we were told that this verification step was needed specifically to deal with lazily-consistent storage — and since MAAS storage is immediately consistent, it wasn't needed in that case.
So that's why we did not duplicate this bit of code in the MAAS provider. Replacing the duplicated code with a generic function that applies to all cases makes it a whole different ballgame, of course.
An historical note on why MAAS skips the verification step. When we were implementing Bootstrap() in the MAAS provider, we were told that this verification step was needed specifically to deal with lazily-consistent storage — and since MAAS storage is immediately consistent, it wasn't needed in that case.
So that's why we did not duplicate this bit of code in the MAAS provider. Replacing the duplicated code with a generic function that applies to all cases makes it a whole different ballgame, of course.