Cannot use LXD password auth in UI (3.1)

Bug #1952482 reported by Anton Smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Undecided
Unassigned
maas-ui
Fix Released
Unknown

Bug Description

It's possible to add a LXD VM host using password auth via CLI, but no longer via GUI.
Version 3.1.0

To reproduce:

Click KVM page-> Add LXD Host
Fill in details (in my case, it is an LXD host I've previously added, but previously I have been able to add the same host multiple times).

From the authentication screen, select password and enter a valid password. Proceed, and will be thrown back to the first screen, with the following error displayed:

"Error:

Failed talking to pod: VM Host 0: No certificates available"

Furthermore, from this screen, it is no longer possible to proceed by clicking "next", and I have to exit and go back to the KVM page to try again (with the same results).

(Note: this LXD host is added once and working with password authentication, and was added via CLI).

Tags: ui
Anton Smith (anton5mith)
description: updated
description: updated
Revision history for this message
Alberto Donato (ack) wrote :

The UI is not passing certificates when getting projects for a LXD with the password:

{
 "method":"pod.get_projects",
 "type":0,"params":
 "password":"maas",
 "power_address":"localhost",
 "type":"lxd"
}

tags: added: ui
Changed in maas:
milestone: none → next
Changed in maas-ui:
importance: Undecided → Unknown
Changed in maas-ui:
status: New → Fix Released
Changed in maas:
status: New → Fix Committed
Changed in maas:
milestone: next → 3.2.0-beta1
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

Remote bug watches

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