Re: Juju stable 1.20.6 is released.

2014-09-01 Thread Free Ekanayaka
Hi, I get this when trying to bootstrap: WARNING failed to find 1.20.6 tools, will attempt to use 1.20.5 Launching instance WARNING picked arbitrary tools {1.20.5-trusty-amd64 https://juju-dist.s3.amazonaws.com/rc-testing/tools/releases/juju-1.20.5-trusty-amd64.tgz

Re: Juju stable 1.20.6 is released.

2014-09-01 Thread Free Ekanayaka
On Mon, Sep 1, 2014 at 10:48 PM, Free Ekanayaka free.ekanay...@canonical.com wrote: Hi, I get this when trying to bootstrap: WARNING failed to find 1.20.6 tools, will attempt to use 1.20.5 Launching instance WARNING picked arbitrary tools {1.20.5-trusty-amd64 https://juju-dist.s3

Re: What are the best practices for stop hook handling?

2016-10-20 Thread Free Ekanayaka
On 20 October 2016 at 16:09, Rye Terrell wrote: > > Subordinate charms only make sense when collocated. And I would argue that > subordinates are extremely common, at least in production environments. > > > In this context clean up is very important because it's not

Re: What are the best practices for stop hook handling?

2016-10-20 Thread Free Ekanayaka
On 20 October 2016 at 23:16, Rye Terrell wrote: > > Do you have a real world example at hand? > > No, why? > Easier to reason around a specific concrete case than talk about theoretical situations. After looking at a few concrete situations we can come up with a more

Fwd: New helper library for unit-testing charms

2016-10-12 Thread Free Ekanayaka
Cross-posting here as well from juju-dev, since this might be more broadly helpful to the community. -- Forwarded message -- From: Free Ekanayaka <free.ekanay...@canonical.com> Date: 11 October 2016 at 10:57 Subject: New helper library for unit-testing charms To:

Re: A (Very) Minimal Charm

2016-12-01 Thread Free Ekanayaka
On 1 December 2016 at 13:53, Marco Ceppi wrote: > On Thu, Dec 1, 2016 at 5:00 AM Adam Collard > wrote: > >> On Thu, 1 Dec 2016 at 04:02 Nate Finch wrote: >> >> On IRC, someone was lamenting the fact that the

Re: A (Very) Minimal Charm

2016-12-01 Thread Free Ekanayaka
On 1 December 2016 at 14:39, Marco Ceppi <marco.ce...@canonical.com> wrote: > On Thu, Dec 1, 2016 at 8:28 AM Free Ekanayaka < > free.ekanay...@canonical.com> wrote: > >> On 1 December 2016 at 13:53, Marco Ceppi <marco.ce...@canonical.com> >> wrote: &g

Re: A (Very) Minimal Charm

2016-12-02 Thread Free Ekanayaka
On 2 December 2016 at 06:27, Stuart Bishop wrote: > We might be able to lower deployment times from minutes to seconds, since > often this step is the main time sink. > Right. These are the time scales I meant too as well. If you want to have quality software you

Re: A (Very) Minimal Charm

2016-12-19 Thread Free Ekanayaka
On 15 December 2016 at 07:59, John Meinel wrote: > Right, the issue for test/development iterations is that "machine > requested to booted in cloud" for LXD is a lot closer to 10s. Especially if > you set "enable-os-refresh-update: false" and "enable-os-upgrade: false", >

Re: A (Very) Minimal Charm

2016-12-19 Thread Free Ekanayaka
> > As a developer, with an xfs-backed > s/xfs/zfs/ -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju

Re: Juju stable 1.20.6 is released.

2014-09-01 Thread Free Ekanayaka
Hi, I get this when trying to bootstrap: WARNING failed to find 1.20.6 tools, will attempt to use 1.20.5 Launching instance WARNING picked arbitrary tools {1.20.5-trusty-amd64 https://juju-dist.s3.amazonaws.com/rc-testing/tools/releases/juju-1.20.5-trusty-amd64.tgz

Re: Juju stable 1.20.6 is released.

2014-09-01 Thread Free Ekanayaka
On Mon, Sep 1, 2014 at 10:48 PM, Free Ekanayaka free.ekanay...@canonical.com wrote: Hi, I get this when trying to bootstrap: WARNING failed to find 1.20.6 tools, will attempt to use 1.20.5 Launching instance WARNING picked arbitrary tools {1.20.5-trusty-amd64 https://juju-dist.s3

Re: New helper library for unit-testing charms

2016-10-12 Thread Free Ekanayaka
On 12 October 2016 at 16:29, Cory Johns wrote: > Free, > > This looks fantastic! Can I request that you cross-post this over to the > main Juju mailing list, as it would be very helpful for the community as a > whole? > Glad you like it! I forwarded it to

New helper library for unit-testing charms

2016-10-11 Thread Free Ekanayaka
Hello, I published a couple of new Python packages aimed at making unit tests for charms easier and nicer: https://github.com/freeekanayaka/charm-test https://github.com/freeekanayaka/systemfixtures They implement the classic approach [0] of replacing the "boundaries" of a charm (hook tools,

Re: A (Very) Minimal Charm

2016-12-01 Thread Free Ekanayaka
On 1 December 2016 at 13:53, Marco Ceppi wrote: > On Thu, Dec 1, 2016 at 5:00 AM Adam Collard > wrote: > >> On Thu, 1 Dec 2016 at 04:02 Nate Finch wrote: >> >> On IRC, someone was lamenting the fact that the

Re: A (Very) Minimal Charm

2016-12-01 Thread Free Ekanayaka
On 1 December 2016 at 14:39, Marco Ceppi <marco.ce...@canonical.com> wrote: > On Thu, Dec 1, 2016 at 8:28 AM Free Ekanayaka < > free.ekanay...@canonical.com> wrote: > >> On 1 December 2016 at 13:53, Marco Ceppi <marco.ce...@canonical.com> >> wrote: &g

Blind retries [Was: Opaque automatic hook retries from API]

2017-01-06 Thread Free Ekanayaka
Stuart Bishop writes: > I find destroy-service/remove-application is particularly problematic, > because the doomed units don't know they are being destroyed but rather is > informed about departing one relation at a time (which is inherently racy, > because the

Re: A (Very) Minimal Charm

2016-12-19 Thread Free Ekanayaka
> > As a developer, with an xfs-backed > s/xfs/zfs/ -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev

Re: A (Very) Minimal Charm

2016-12-19 Thread Free Ekanayaka
On 15 December 2016 at 07:59, John Meinel wrote: > Right, the issue for test/development iterations is that "machine > requested to booted in cloud" for LXD is a lot closer to 10s. Especially if > you set "enable-os-refresh-update: false" and "enable-os-upgrade: false", >