multi-user credential handling on lxd broken

Bug #1867838 reported by Ian Booth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

If you bootstrap a local lxd controller and add a new user, that user cannot add a model because they don't have a credential.

So you want to reuse the original user's credential and copy that across to the new user's juju home. But that fails because the original credential refers to "lxd" whereas the new user needs to refer to the cloud as "localhost" (as seen in list-clouds. So you replace lxd with localhost in the credential file but that still doesn't work as the "lxd" credential is missing. So you end up having to duplicate the credential and have an "lxd" version and a "localhost" version and then it works.

All very messy and needs fixing.

Ian Booth (wallyworld)
tags: added: lxd
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.8-beta1 → 2.8.1
Tim Penhey (thumper)
Changed in juju:
milestone: 2.8.1 → 2.8-next
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.8-next → 2.8.10
Changed in juju:
milestone: 2.8.10 → 2.8.11
John A Meinel (jameinel)
Changed in juju:
importance: High → Medium
milestone: 2.8.11 → none
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This Medium-priority bug has not been updated in 60 days, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
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.