juju add-cloud tells us "You may bootstrap", but it's not actually ready to bootstrap because of missing credentials
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Unassigned |
Bug Description
How to reproduce:
$ juju version
2.3-beta3-
$ 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://
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 |
tags: |
added: cpe-onsite removed: helptext |
tags: | added: helptext |
description: | updated |
Apologies for delayed response.
This has been added to 2.5 Juju series as part of https:/ /github. com/juju/ juju/commit/ 4cd4e5043ec26d2 5c356995f9b87ae 2da946b475.