juju add-cloud tells us "You may bootstrap", but it's not actually ready to bootstrap because of missing credentials

Bug #1732079 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Unassigned

Bug Description

How to reproduce:

$ juju version
2.3-beta3-xenial-amd64

$ juju add-cloud
Cloud Types
  maas
  manual
  openstack
  oracle
  vsphere

Select cloud type: maas

Enter a name for your maas cloud: my-maas

Enter the API endpoint url: http://10.0.8.158/MAAS

Cloud "my-maas" successfully added
You may bootstrap with 'juju bootstrap my-maas'

$ juju bootstrap my-maas
ERROR detecting credentials for "my-maas" cloud provider: maas credentials not found

So, Juju should not tell "You may bootstrap" at the end of `juju add-cloud`. Instead, Juju should suggest to do `juju add-credential` as the next step.

Or `juju add-cloud` can also prompt to input credentials by (optionally) combining `add-cloud` and `add-credential` at once.

Changed in juju:
status: New → Triaged
importance: Undecided → Medium
tags: added: helptext
Nobuto Murata (nobuto)
tags: added: cpe-onsite
removed: helptext
Nobuto Murata (nobuto)
tags: added: helptext
Nobuto Murata (nobuto)
description: updated
Revision history for this message
Anastasia (anastasia-macmood) wrote :

Apologies for delayed response.

This has been added to 2.5 Juju series as part of https://github.com/juju/juju/commit/4cd4e5043ec26d25c356995f9b87ae2da946b475.

Changed in juju:
status: Triaged → Fix Released
milestone: none → 2.5-beta1
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.