~go-bot/goose/test

Viewing all changes in revision 83.

  • Committer: Tarmac
  • Author(s): Ian Booth
  • Date: 2013-03-28 10:19:37 UTC
  • mfrom: (82.1.4 better-misconfig-error)
  • Revision ID: tarmac-20130328101937-ymu9ah5cveqb8018
[r=wallyworld] Better error when region is misconfigured.

This branch prints a better error message if the user hasn't configured their
region correctly. For example, if they specify the swift region, but not the
fully qualified compute region, they are told that and the list of correct
regions is displayed. Similarly, if the region is totally wrong, they are
told that too.

The nexted error have also been reformatted to make them more readable, eg

error: failed to GET object provider-state from container juju-50548874395ac32d8896f65ab33f3e17
caused by: cannot create service URLs
caused by: invalid region "xegion-a.geo-1"
one of these regions may be suitable instead: "az-1.region-a.geo-1, az-2.region-a.geo-1, az-3.region-a.geo-1"

https://codereview.appspot.com/8067044/

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: