We tried to just delete it previously and there was an error message stating we needed to first move (or remove) these assets before it could be deleted.
I can’t provide instructions without knowing your topology and what “hosts” you have on that rack. Are these physical machines? Virsh machines? LXD vms?
Once you add a new rack controller MAAS will detect all its vlans depending on its network settings. So you probably want to create a new rack and then start moving things to the other.
The rackd controller in question manager has many physical hosts, as well as many Virsh nodes, with many VMs on them. We don’t use LXD.
I assume the process is something like:
Create a new Ubuntu host for rackd.
Set it up with the same version of rackd software as every other host.
Ensure it has the same network configuration as the previous rackd controller.
Connect it as a rackd controller to regiond.
Move the physical hosts/Virsh hosts/VMs to the new rackd controller.
It’s step 5 that’s a bit of a mystery to me. Do all these hosts just need to be deleted and enlisted on the new controller? Or is there a ‘move’ command? Do the VLANs managed by the previous rackd controller need to also be moved and if so, how would that work?