Re: Triggering Server Restarts

2014-08-26 Thread William Reade
On Tue, Aug 26, 2014 at 3:27 AM, Andrew Wilkins andrew.wilk...@canonical.com wrote: It doesn't have to be the tomb itself; it can be an interface which is implemented by a type wrapping a tomb. My point was that it seems unnecessary to add channels and signalling when we already have that with

Re: Triggering Server Restarts

2014-08-25 Thread William Reade
On Fri, Aug 22, 2014 at 1:10 PM, Andrew Wilkins andrew.wilk...@canonical.com wrote: On Fri, Aug 22, 2014 at 11:57 AM, John Meinel j...@arbash-meinel.com wrote: I think the problem is that to trigger a restart, the worker itself (in this case APIServer) should be raising the error, which isn't

Re: Triggering Server Restarts

2014-08-25 Thread Andrew Wilkins
On Tue, Aug 26, 2014 at 8:06 AM, William Reade william.re...@canonical.com wrote: On Fri, Aug 22, 2014 at 1:10 PM, Andrew Wilkins andrew.wilk...@canonical.com wrote: On Fri, Aug 22, 2014 at 11:57 AM, John Meinel j...@arbash-meinel.com wrote: I think the problem is that to trigger a

Re: Triggering Server Restarts

2014-08-22 Thread Andrew Wilkins
On Fri, Aug 22, 2014 at 11:57 AM, John Meinel j...@arbash-meinel.com wrote: Horacio had an interesting question on IRC and I wanted to bring it up to more people to get input. Specifically, juju restore has some properties that are pretty similar to juju upgrade-juju in that we really want

Triggering Server Restarts

2014-08-21 Thread John Meinel
Horacio had an interesting question on IRC and I wanted to bring it up to more people to get input. Specifically, juju restore has some properties that are pretty similar to juju upgrade-juju in that we really want the API server to restart after the action has completed. In the case of