Re: Null provider and failing early

2013-08-26 Thread John Arbash Meinel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-08-27 2:44, Tim Penhey wrote: > Hi William, > > I've been thinking about the null provider. There are two things > that currently bother me about it. ... > Secondly is the add machine problem. The point of the null > provider is that it wi

Re: Null provider and failing early

2013-08-26 Thread David Cheney
The canonical use case for provider specific constraints is 'I want to make sure all my units are not in the same availability zone' but the larger use case for Juju is 'you can describe your environment, then we can reconstruct that entire environment on a different provider' this is key to th

Re: Null provider and failing early

2013-08-26 Thread Tim Penhey
On 27/08/13 13:41, David Cheney wrote: > I think they should be ignored, but preserved. What is your thinking on this? Why would we want to ignore them? I have my ideas why, but I'm wondering what others think. These are obviously the two choices we have: * Fail * Ignore Tim > > On Tue, Au

Re: Null provider and failing early

2013-08-26 Thread David Cheney
I think they should be ignored, but preserved. On Tue, Aug 27, 2013 at 11:40 AM, Tim Penhey wrote: > On 27/08/13 11:50, Andrew Wilkins wrote: >> On Tue, Aug 27, 2013 at 8:44 AM, Tim Penhey > > wrote: >> >> Perhaps we should have a sanity-check type callback in

Re: Null provider and failing early

2013-08-26 Thread Tim Penhey
On 27/08/13 11:50, Andrew Wilkins wrote: > On Tue, Aug 27, 2013 at 8:44 AM, Tim Penhey > wrote: > > Perhaps we should have a sanity-check type callback into the provider > with the constraints at the time we want to add a machine. This would > give th

Re: Null provider and failing early

2013-08-26 Thread Andrew Wilkins
On Tue, Aug 27, 2013 at 8:44 AM, Tim Penhey wrote: > Perhaps we should have a sanity-check type callback into the provider > with the constraints at the time we want to add a machine. This would > give the null provider the early fail mechanism, and could also allow > other providers to error if

Null provider and failing early

2013-08-26 Thread Tim Penhey
Hi William, I've been thinking about the null provider. There are two things that currently bother me about it. Firstly the storage solution. I'm thinking we could just use some form of auth-key to prevent anyone but the provider writing to it, perhaps that would be sufficient. Secondly is the