Maas was deployed with both Bionic and Focal images set as boot sources. maas then told that focal was a boot source selection, and to import the images. Maas reported that the images were synced but only the bionic image had finished syncing; so when maas was told to use focal as the commissioning series; it reported that focal was not valid/found:
maas root boot-source-selections create 1 os=ubuntu release=focal 'subarches=*' 'labels=*' arches=amd64
maas root boot-resources import
wait for:
maas root boot-resources is-importing
maas root rack-controller list-boot-images mq3fyp (and others)
{'synced'}
[{'images': [{'name': 'ubuntu/bionic', 'architecture': 'amd64', 'subarches': ['ga-18.04', 'ga-18.04-lowlatency', 'generic', 'hwe-18.04', 'hwe-18.04-edge', 'hwe-18.04-lowlatency', 'hwe-18.04-lowlatency-edge']}, {'name': 'bootloader/uefi', 'architecture': 'arm64', 'subarches': ['generic']}, {'name': 'bootloader/uefi', 'architecture': 'amd64', 'subarches': ['generic']}, {'name': 'bootloader/open-firmware', 'architecture': 'ppc64el', 'subarches': ['generic']}, {'name': 'bootloader/pxe', 'architecture': 'i386', 'subarches': ['generic']}], 'connected': True, 'status': 'synced'}, {'images': [{'name': 'ubuntu/bionic', 'architecture': 'amd64', 'subarches': ['ga-18.04', 'ga-18.04-lowlatency', 'generic', 'hwe-18.04', 'hwe-18.04-edge', 'hwe-18.04-lowlatency', 'hwe-18.04-lowlatency-edge']}, {'name': 'bootloader/uefi', 'architecture': 'arm64', 'subarches': ['generic']}, {'name': 'bootloader/uefi', 'architecture': 'amd64', 'subarches': ['generic']}, {'name': 'bootloader/open-firmware', 'architecture': 'ppc64el', 'subarches': ['generic']}, {'name': 'bootloader/pxe', 'architecture': 'i386', 'subarches': ['generic']}], 'connected': True, 'status': 'synced'}, {'images': [{'name': 'ubuntu/bionic', 'architecture': 'amd64', 'subarches': ['ga-18.04', 'ga-18.04-lowlatency', 'generic', 'hwe-18.04', 'hwe-18.04-edge', 'hwe-18.04-lowlatency', 'hwe-18.04-lowlatency-edge']}, {'name': 'bootloader/open-firmware', 'architecture': 'ppc64el', 'subarches': ['generic']}, {'name': 'bootloader/pxe', 'architecture': 'i386', 'subarches': ['generic']}, {'name': 'bootloader/uefi', 'architecture': 'amd64', 'subarches': ['generic']}, {'name': 'bootloader/uefi', 'architecture': 'arm64', 'subarches': ['generic']}], 'connected': True, 'status': 'synced'}]
maas root maas set-config name=commissioning_distro_series value=focal
{"commissioning_distro_series": ["'focal' is not a valid commissioning_distro_series. It should be one of: 'bionic'."]}
the run and logs can be found at:
https://solutions.qa.canonical.com/kubernetes/testRun/0cd0ab0b-e032-4f13-a07e-55be304121d4
This is causing sporadic failures during solutions QA runs, marking field-high.