juju/juju — pull request #754 by axw (2014-09-15 07:26:10+00:00)
Title: provider/maas: fix SupportedArchitectures

We were querying simplestreams to determine the set of
supported architectures. This is inappropriate, since nodes
are not provisioned from images in simplestreams.

Instead, we do one of two things, depending on what is
supported by the MAAS server:
- list all nodegroups, and list boot-images for each; OR
- list all available nodes, and extract architectures from them

Fixes https://bugs.launchpad.net/juju-core/+bug/1365135