Image import does not work via CLI
Bug #1886243 reported by
Peter Matulis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Medium
|
Unassigned |
Bug Description
On a fresh install of the snap on Ubuntu 20.04 LTS I am trying to import images:
$ maas admin boot-source-
$ maas admin boot-resources import
This does not appear to work at all. Waiting does not help. I get no output for the following:
$ maas admin boot-resources read | grep 20.04
When I go to the web UI I see that Focal is selected but it is waiting for the green button to be pressed. When I do so the download commences. See attachment.
MAAS version: 2.8.1~rc1 (8566-g.e2cce5b2f)
Changed in maas: | |
milestone: | 2.9.0b1 → 2.9.0b2 |
Changed in maas: | |
milestone: | 2.9.0b2 → 2.9.0b3 |
milestone: | 2.9.0b3 → 2.9.0b4 |
Changed in maas: | |
milestone: | 2.9.0b4 → 2.9.0b7 |
Changed in maas: | |
status: | Triaged → Invalid |
To post a comment you must log in.
You have to tell MAAS which subarches and labels to download as well through the API. Try
maas admin boot-source- selections create 1 os="ubuntu" release="focal" arches="amd64" subarches='*' labels='*'
The subarches and labels options should be optional. Really we should remove them. The label can only be daily currently. While the subarches can be filtered it will break selecting a kernel.