Custom image without title shows as blank in UI when deploying

Bug #2044378 reported by Alberto Donato
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Medium
Unassigned
maas-ui
Triaged
Medium
Unassigned

Bug Description

Uploading a custom image without title causes the UI to show it as blank in the dropdown menu for deployment.

The image correctly shows with the title derived from the name in the images list:

E.g. (from bootresource.poll response):

{
 "2": {
  "id": 141,
  "rtype": 2,
  "name": "my-ubuntu-2",
  "title": "my-ubuntu-2",
  "arch": "amd64",
  "size": "1.8 GB",
  "complete": false,
  "status": "Waiting for rack controller(s) to sync",
  "icon": "waiting",
  "downloading": false,
  "canDeployToMemory": false,
  "numberOfNodes": 0,
  "machineCount": 0,
  "lastUpdate": "Thu, 23 Nov. 2023 13:20:34",
  "lastDeployed": null
 }
}

for an image created as:

maas $profile boot-resources create name=custom/my-ubuntu-2 architecture=amd64/generic filetype=ddgz content@=file.dd.gz

Alberto Donato (ack)
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 3.5.0
Changed in maas-ui:
milestone: none → 3.5.0
importance: Undecided → Medium
status: New → Triaged
Changed in maas:
milestone: 3.5.0 → 3.5.x
Changed in maas-ui:
milestone: 3.5.0 → 3.5.x
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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