show-credentials doesn't work without an active controller

Bug #1786862 reported by Heather Lanigan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Anastasia

Bug Description

heather@ubuntu:~/notes/lxd-cluster$ juju show-credential lxd-cloud
ERROR both cloud and credential name are needed
heather@ubuntu:~/notes/lxd-cluster$ juju show-credential lxd-cloud heather
ERROR there is no active controller

heather@ubuntu:~/notes/lxd-cluster$ juju version
2.5-beta1-bionic-amd64

heather@ubuntu:~/notes/lxd-cluster$ snap info juju
name: juju
summary: juju client
publisher: canonical
contact: http://jujucharms.com
license: unknown
description: |
  Through the use of charms, juju provides you with shareable, re-usable, and repeatable expressions
  of devops best practices.
commands:
  - juju
snap-id: e2CPHpB1fUxcKtCyJTsm5t3hN9axJ0yj
tracking: edge
refresh-date: today at 11:41 EDT
channels:
  stable: 2.4.1 (4768) 55MB classic
  candidate: 2.4.2+2.4-f7ab37f (4944) 63MB classic
  beta: 2.4-rc3 (4583) 55MB classic
  edge: 2.5-beta1+develop-185e530 (4924) 66MB classic
  2.3/stable: 2.3.8 (4423) 55MB classic
  2.3/candidate: ↑
  2.3/beta: ↑
  2.3/edge: ↑
  2.4/stable: 2.4.1 (4768) 55MB classic
  2.4/candidate: ↑
  2.4/beta: ↑
  2.4/edge: ↑
installed: 2.5-beta1+develop-185e530 (4924) 66MB classic

Tags: credentials
Changed in juju:
status: New → Triaged
milestone: none → 2.5-beta1
importance: Undecided → Medium
Revision history for this message
Anastasia (anastasia-macmood) wrote :

show-credential was designed to be used on the controllers only - on a local system, you can look up credentials.yaml. It says so fairly explicitly in the command help.

However, there is future work lined up where there will no longer be a distinction between a credential command that operates on local store - 'add-credential', 'set-default-credential', 'remove-credential', 'credentials' - and a command that operates on the controller.

I am removing this from a milestone as it may not make this cut.

Changed in juju:
milestone: 2.5-beta1 → none
tags: added: credentials
Revision history for this message
Anastasia (anastasia-macmood) wrote :
Changed in juju:
assignee: nobody → Anastasia (anastasia-macmood)
status: Triaged → In Progress
Changed in juju:
status: In Progress → Fix Committed
milestone: none → 2.7-beta1
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.