'juju add-cloud' should prompt for credentials

Bug #1649567 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Unassigned

Bug Description

I just registered a new MAAS cloud, which had this interaction:
$ juju add-cloud
Cloud Types
  maas
  manual
  openstack
  vsphere

Select cloud type: maas

Enter a name for the cloud: maas21

Enter the API endpoint url: http://localhost:8080/MAAS

Cloud "maas21" successfully added
You may bootstrap with 'juju bootstrap maas21'

However, trying to do that fails with:
15:09:51 ERROR cmd supercommand.go:458 detecting credentials for "maas21" cloud provider: maas credentials not found

Giving a hint about how to add credentials would probably be better than giving a hint that you can bootstrap. Though I guess if we get "bootstrap" to also prompt for a credential when you don't have one, that might be ok.

Changed in juju:
milestone: none → 2.2.0
assignee: nobody → Richard Harding (rharding)
Changed in juju:
assignee: Richard Harding (rharding) → nobody
Changed in juju:
milestone: 2.2-beta1 → none
tags: added: usability
Revision history for this message
Anastasia (anastasia-macmood) wrote :

The message after a cloud has been added successfully has changed to say:

You will need to add credentials for this cloud (`juju add-credential <new cloud name>`)
before creating a controller (`juju bootstrap <new cloud name>`).

Changed in juju:
status: Triaged → 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.