Comment 10 for bug 1241674

Revision history for this message
Jacek Nykis (jacekn) wrote :

I tested it today and this was still a problem:
{"badRequest": {"message": "Multiple possible networks found, use a Network ID to be more specific.", "code": 400}}

I went through the diff and found undocumented "network" option, after adding it to my environments.yaml it worked.
I think this bug should stay as "Fixed Commited" until work is finished off. For average user who does not want to read source code this is still broken.

I think we should:
1. Update docs
2. Provide better error message. Instead of returning json maybe print "Please specify network using 'network' option in environments.yaml"

And if we want juju to "just work" it could check which network is private and try using it first before giving up.