Names of custom boot-resources not visible in the web UI

Bug #1391421 reported by Daniel Manrique
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Blake Rouse

Bug Description

I have maas 1.7.0~rc3+bzr3299-0ubuntu1~trusty1 and I think there may be a bug with the boot-resource create functionality (uploading a custom image).

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=amd64/generic content@=hellokitty.tar.gz

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",
        "architecture": "amd64/hwe-t",
        "subarches": "generic,hwe-p,hwe-q,hwe-r,hwe-s,hwe-t",
        "type": "Synced",
        "id": 1,
        "resource_uri": "/MAAS/api/1.0/boot-resources/1/"
    },
    {
        "name": "hellokitty",
        "title": "",
        "architecture": "amd64/generic",
        "subarches": "generic",
        "type": "Uploaded",
        "id": 3,
        "resource_uri": "/MAAS/api/1.0/boot-resources/3/"
    },
    {
        "name": "ubuntudesktop",
        "title": "",
        "architecture": "amd64/generic",
        "subarches": "generic",
        "type": "Uploaded",
        "id": 2,
        "resource_uri": "/MAAS/api/1.0/boot-resources/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.

Tags: papercut ui

Related branches

Revision history for this message
Daniel Manrique (roadmr) wrote :
Changed in maas:
status: New → Triaged
importance: Undecided → High
tags: added: papercut ui
Christian Reis (kiko)
Changed in maas:
milestone: none → 1.7.1
Revision history for this message
Blake Rouse (blake-rouse) wrote :

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

Changed in maas:
assignee: nobody → Blake Rouse (blake-rouse)
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.