I think I see where the bug is. When setting custom repositories you must of deselected armhf, arm64, ppc64el, and s390x from the Ubuntu extra architectures repository. Try reselecting those, MAAS won't use them unless you're booting one of those architectures.
The bug is in PackageRepository.get_ports_archive(). If armhf, arm64, ppc64el, s390x isn't selected anywhere the query failures and the error above is seen. MAAS should ensure there is always a repository configured for all architectures.
I think I see where the bug is. When setting custom repositories you must of deselected armhf, arm64, ppc64el, and s390x from the Ubuntu extra architectures repository. Try reselecting those, MAAS won't use them unless you're booting one of those architectures.
The bug is in PackageReposito ry.get_ ports_archive( ). If armhf, arm64, ppc64el, s390x isn't selected anywhere the query failures and the error above is seen. MAAS should ensure there is always a repository configured for all architectures.