lxd remote cloud credential changes fail with: ERROR finalizing credential: Certificate already in trust store

Bug #1784721 reported by Heather Lanigan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Simon Richardson

Bug Description

Changes to juju credentials on an lxd remote cloud fail if the certificate has been added once.

$ juju version
2.5-beta1-bionic-amd64
$ which juju
/snap/bin/juju
$ cat ~/notes/lxd-cluster/creds.yaml
credentials:
  lxd-remote:
    admin:
      auth-type: interactive
      trust-password: xxxxxxx
$ juju add-credential lxd-remote -f ~/notes/lxd-cluster/creds.yaml --replace
Loaded client cert/key from "/home/heather/.local/share/juju/lxd"
ERROR finalizing credential: Certificate already in trust store
$ juju remove-credential lxd-remote admin
Local credential "admin" for cloud "lxd-remote" has been deleted.
$ juju add-credential lxd-remote -f ~/notes/lxd-cluster/creds.yaml
Loaded client cert/key from "/home/heather/.local/share/juju/lxd"
ERROR finalizing credential: Certificate already in trust store

Tags: lxd-provider
Changed in juju:
importance: Undecided → High
status: New → Triaged
milestone: none → 2.5-beta1
Changed in juju:
assignee: nobody → Heather Lanigan (hmlanigan)
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Simon Richardson (simonrichardson) wrote :
Changed in juju:
assignee: Heather Lanigan (hmlanigan) → Simon Richardson (simonrichardson)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
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.