I was able to reproduce this bug following the steps provided with maas 2.2.2
After wiping the disk, I booted with gparted iso and verified a raid partition still existed.
I modified maas_wipe.py code to overwrite 2MB rather than 1MB of the beginning of the disk. After wiping the disk using 2MB gparted no longer sees any partitions. Deployment succeeds after wiping using 2MB.
Attaching a patch with the change from 1MB to 2MB.
I was able to reproduce this bug following the steps provided with maas 2.2.2
After wiping the disk, I booted with gparted iso and verified a raid partition still existed.
I modified maas_wipe.py code to overwrite 2MB rather than 1MB of the beginning of the disk. After wiping the disk using 2MB gparted no longer sees any partitions. Deployment succeeds after wiping using 2MB.
Attaching a patch with the change from 1MB to 2MB.