Storage vs. PublicStorage

Jeroen Vermeulen jtv at canonical.com
Tue Mar 12 07:21:06 UTC 2013


On 03/12/2013 01:10 PM, John Arbash Meinel wrote:
> On 2013-03-12 9:54, Jeroen Vermeulen wrote:
>> On 03/12/2013 12:07 PM, Ian Booth wrote:

Thanks Ian and John both for your explanations.

> For MaaS I don't know if there is an idea of many user accounts, so
> there may only be the shared space.

We just changed it to one namespace per user, without any shared
storage.  The provider will require an environment to be tied to a
single (MAAS) user.


> As for findMongo(), if the documentation says it can return nil, then
> we just need to teach findMongo about what to do if it gets nil
> (return immediately). [aka just a bug]

I found back where it said "optional."  It wasn't in the interface, but
in the ec2 provider.  It leaves the public-storage field nil when no
public bucket is configured.

I'm changing our code to return EmptyStorage.  No longer crashing!


Jeroen



More information about the Juju-dev mailing list