juju add-cloud should tell you what it did

Bug #1596039 reported by Andreas Hasenack
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
James Hebden

Bug Description

juju 2.0beta9

"juju add-cloud name file.yaml" is completely silent:
andreas@nsn7:~/juju2-configs$ juju add-cloud vmwarestack-xenial myclouds.yaml
andreas@nsn7:~/juju2-configs$ echo $?
0

Contrast that with add-credential:
andreas@nsn7:~/juju2-configs$ juju add-credential vmwarestack-xenial -f myclouds.yaml
credentials updated for cloud vmwarestack-xenial
andreas@nsn7:~/juju2-configs$ echo $?
0

Also, juju add-cloud doesn't complain if the cloud definition has a typo:
andreas@nsn7:~/juju2-configs$ grep auth-tpes myclouds.yaml
        auth-tpes: [oauth1]
andreas@nsn7:~/juju2-configs$ juju add-cloud tortoise-trusty myclouds.yaml
andreas@nsn7:~/juju2-configs$ echo $?
0

Changed in juju-core:
status: New → Triaged
Changed in juju-core:
importance: Undecided → Medium
tags: added: bitesize
affects: juju-core → juju
James Hebden (ec0)
Changed in juju:
assignee: nobody → James Hebden (jhebden)
Revision history for this message
Anastasia (anastasia-macmood) wrote :

This area has gained a lot more user feedback in the latest Juju versions.

I will mark this report as Fix Released. Should you experience further issues, feel free to report.

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.