easy way to determine whats going on. OP please post the content of your vmid.conf for your ubuntu vm.
If you ARE passing the drives to your VM, this behavior is consistent. mdadm is picking up the drive at pve boot, and then cutting them off when the vm is started for the passthrough, leading...