Comment 0 for bug 1969510

Revision history for this message
Andre Ruiz (andre-ruiz) wrote :

If you try to import a custom image in maas cli it fails with a cryptic error which turns out to be because of a non-existing architecture.

Upon further investigation, it seems that if you delete all images of a specific architecture the architecture itself disappears and then you cannot add a custom image, which will fail.

Workaround is to go back to the images section in the GUI, select some ubuntu image of that architecture, wait for it to download and then re-try adding the custom image which will then work.

This is very non-intuitive for end users, and also it's possible for an airgapped environment to erase all images and then get into a situation where they cannot recover.

My understanding is that this is a known behavior, which makes this is bug report a feature-request to 'fix' this to work in a more intuitive way.