Storage vs. PublicStorage
Jeroen Vermeulen
jtv at canonical.com
Tue Mar 12 05:54:51 UTC 2013
On 03/12/2013 12:07 PM, Ian Booth wrote:
> It's possible to run up an Openstack juju environment without a public bucket,
> but in that case you need to have uploaded the tools to the control bucket
> before hand. But that's just a provider implementation detail. If you don't want
> to use public bucket for the MAAS provider, then just don't bother setting it.
> The tools code will just ignore it if it is not set.
Is there even such a thing as a bucket outside of the ec2/openstack
providers?
PublicStorage() used to be documented as optional, but it no longer
seems to be. We tried implementing a PublicStorage() that just returns
nil, but in our test, that made Bootstrap() crash during findMongo().
Returning the same storage object from Storage() and PublicStorage()
does get us past that.
Jeroen
More information about the Juju-dev
mailing list