Names of custom boot-resources not visible in the web UI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Blake Rouse |
Bug Description
I have maas 1.7.0~rc3+
I pass a "name" parameter when doing boot-resources create, but this name is not visible anywhere in the web UI as a result, I just have e.g. 2 custom images with no name, so when selecting one to deploy, I can't tell which is which :/ so I'm doing it blind essentially.
To see this in action, upload a custom boot resource like so:
maas maas boot-resources create name=hellokitty architecture=
You can see the name if you do
maas maas boot-resources read
an example with 2 such boot resources:
[
{
"name": "ubuntu/trusty",
"kflavor": "generic",
"type": "Synced",
"id": 1,
},
{
"name": "hellokitty",
"title": "",
"type": "Uploaded",
"id": 3,
},
{
"name": "ubuntudesktop",
"title": "",
"type": "Uploaded",
"id": 2,
}
]
On the attached screenshot, see how the names of the custom resources aren't visible in the UI. This extends to the dropdowns used to select the release to deploy, making it hard to know which one I'm deploying.
Related branches
- Newell Jensen (community): Approve
-
Diff: 35 lines (+13/-1)2 files modifiedsrc/maasserver/views/images.py (+1/-1)
src/maasserver/views/tests/test_images.py (+12/-0)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: papercut ui |
Changed in maas: | |
milestone: | none → 1.7.1 |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
The issue is that a title was not given for the custom image. The title is optional, if no title is present then just the name should be visible.
maas maas boot-resources create name=hellokitty title="Hello Kitty" architecture= amd64/generic content@ =hellokitty. tar.gz