Important: upgrading a 1.23 environment

2015-06-25 Thread Menno Smits
All, Due to a new worker that was added in 1.23, it is likely that the state server agents will be unable to restart when an upgrade of a 1.23 environment is requested. Manual intervention will be required to unstick the upgrade. On each state server host do the following: - Find the tools di

Re: Important: upgrading a 1.23 environment

2015-07-22 Thread Menno Smits
s look like they can be scripted, and included in the 1.23 > > release as a patch. > > > > I however don't know the level of effort involved in that. > > > > All the best, > > > > > > Charles Butler - Juju Charmer > > Come see the future of da

Re: Important: upgrading a 1.23 environment

2015-07-23 Thread Menno Smits
> I am interested in the 1.24 aspect. Can you elaborate on: > > 1. What exact 1.24 release is affected? > The issue was fixed in 1.24.3 so 1.24.0 and 1.24.1 are affected. Here's the ticket: https://bugs.launchpad.net/juju-core/+bug/1468653 2. To what degree is it affected? You said "may" also ge

Re: Important: upgrading a 1.23 environment

2015-07-23 Thread Menno Smits
8 ssh: connect to host 10.35.142.8 port 22: Connection timed out no machine agent found on 10.35.142.8, skipping checking 52.12.204.107 52.12.204.107 is machine-1 machine-1 has already been fixed, skipping fix complete - Menno On 24 July 2015 at 10:51, Menno Smits wrote: > > I am intere

Re: Important: upgrading a 1.23 environment

2015-07-26 Thread Menno Smits
On 24 July 2015 at 19:09, Peter Sabaini wrote: > On 24.07.15 05:31, Menno Smits wrote: > > The new plugin to help with stuck upgrades is done. The pull request > > is here: https://github.com/juju/plugins/pull/60. Marco: can you > > please take a look? > > Heya Menno,

Re: millions of warnings per day, state DB grows by 4GB/day

2015-08-26 Thread Menno Smits
On 27 August 2015 at 03:55, John Meinel wrote: > Juju 1.23 has some known issues with Lease operations. All of those have > been fixed in the 1.24.4 (5?) release. It is good practice to take a backup > before upgrading, and if you want we can try to help sort out the specific > growth to make sur

Faster LXD bootstraps and provisioning

2016-08-14 Thread Menno Smits
I've put together a few tips on the wiki for speeding up bootstrap and provisioning times when using the Juju lxd provider. I find these techniques helpful when checking my work or investigating bugs - situations where you end up bootstrapping and deploying many times. https://github.com/juju/juju

Re: Faster LXD bootstraps and provisioning

2016-08-15 Thread Menno Smits
t;> && sudo sysctl -p >> >> >> Regards, >> >> Rafael O. Gonzalez >> Canonical, Solutions Architect >> rgo...@canonical.com >> 1-646-481-7232 >> >> >> >> On Sun, Aug 14, 2016 at 8:07 PM, Menno Smits >> wrote: >

Re: Faster LXD bootstraps and provisioning

2016-08-15 Thread Menno Smits
> Regards, > > Rafael O. Gonzalez > Canonical, Solutions Architect > rgo...@canonical.com > 1-646-481-7232 > > > > On Sun, Aug 14, 2016 at 8:07 PM, Menno Smits > wrote: > >> I've put together a few tips on the wiki for speeding up bootstrap and >> pr

Juju client now works properly on all Linuxes

2016-09-15 Thread Menno Smits
Hi everyone, This is just a quick heads up about an improvement that will be in Juju 2.0 rc1. The Juju client has never really worked on flavours of Linux which we hadn't explicitly added support for (i.e. Ubuntu and Centos). This has now been fixed: the client will work on any Linux distribution

Re: Juju 2.0-rc1 is here!

2016-09-26 Thread Menno Smits
Hi Chance, Sorry that you're experiencing this issue. I've filed a ticket here: https://bugs.launchpad.net/juju/+bug/1627894. Could you possibly add details of the commands you ran leading up to this error? If possible, can you also please attach Juju's logs? The most straightforward way to get a

Re: [ANN] Mattermost and layer:lets-encrypt

2016-10-17 Thread Menno Smits
Very nice, thanks! I look forward to using the lets-encrypt layer for some of my personal stuff. On 16 October 2016 at 10:07, Adam Stokes wrote: > This is very awesome! > > On Sat, Oct 15, 2016, 12:07 PM Casey Marshall < > casey.marsh...@canonical.com> wrote: > >> With a much appreciated recent

Re: Controllers running out of disk space

2016-11-21 Thread Menno Smits
On 18 November 2016 at 05:07, Nate Finch wrote: > Resources are also stored in mongo and can be unlimited in size (not much > different than fat charms, except that at least they're only pulled down on > demand). > > We should let admins configure their max log size... our defaults may not > be w

Re: Info about 'juju ssh' options

2016-12-05 Thread Menno Smits
I've just confirmed that if you pass extra options after the SSH target machine or unit, they'll get passed through. For example: juju ssh 0 -n On 5 December 2016 at 12:53, John Meinel wrote: > I don't know specifically about -n, but I do believe we pass unknown > options down to the underlyin

Re: Juju2 behind proxy

2017-02-08 Thread Menno Smits
One thing to be aware of is that many of the downloads done for a given model (for example charms and resources) are done on the controller. This means you need to set the proxy settings for the controller model as well as any other models hosted on the controller. This is probably somewhat unexpec

Re: Re[2]: Juju2 behind proxy

2017-02-20 Thread Menno Smits
Transparently redirecting requests to a proxy is something that Juju *could* do but it could lead to other problems. HTTPS in particular is quite tricky to proxy in a transparent way (with good reason!) without changes in the client (which it sounds like you're trying to avoid). Our of HTTP, HTTPS

Re: Juju2 behind proxy

2017-02-20 Thread Menno Smits
On 10 February 2017 at 19:07, Mark Shuttleworth wrote: > On 09/02/17 12:27, Vladimir Burlakov wrote: > > Hi Guys, > > Thank you a lot, it’s worked, you really helped me. :) as said my > > friend: "community - is the power !" > > :) > > Welcome aboard, Vladimir! > > One question - are we good abo

Re: maas how to add-cloud to a zone

2017-03-15 Thread Menno Smits
Hi Christian, Someone who knows more about Juju's MAAS support may disagree with me but I just had a quick look through the code I don't see any way to specify the MAAS zone as part of a MAAS cloud definition. - Menno On 14 March 2017 at 13:26, wrote: > Hi > > Is it possible to add-cloud a maa

Re: charms.reactive bi-weekly catch-up

2017-04-25 Thread Menno Smits
On 26 April 2017 at 02:37, Cory Johns wrote: > > Another aspect of that idea is that we should formalize the notion that > handlers react to *changes* in flags, rather than the flags themselves, and > the "changed" state of flags should not be tied to hook invocations and > persist until an actua

Re: How to Move a machine and its application from a Model to Another ?

2017-06-14 Thread Menno Smits
Your best bet right now is to back up the data for the application/unit, deploy a fresh application and/or units and restore the data into the new instance. How you do this is of course dependent on the application. On 14 June 2017 at 23:38, Rick Harding wrote: > Not at this time Naz. I was thin

Re: Command Completion Not working?

2017-07-02 Thread Menno Smits
HI NS, Can you tell us how you installed the Juju client? Was it via conventional Ubuntu updates (i.e. a deb package), the snap release (i.e. `snap install juju`) or did you build it yourself? Regards, Menno On 29 June 2017 at 00:38, N. S. wrote: > Hi Juju team, > > > I am upgraded my juju pla

Re: Command Completion Not working? --SOLVED

2017-07-03 Thread Menno Smits
On 3 July 2017 at 19:55, N. S. wrote: > I quote what I replied to this thread the second day. > > "After the refresh of the snap, issue is solved" > ​Sorry, I didn't see this before I replied. My mail reader split the thread in two. I'm glad you got it sorted out. - Menno -- Juju mailing list

Re: Using Deb Proxy to cache Debs to minimize time starting-up machines and its installation scripts

2017-07-05 Thread Menno Smits
Hi Naz, I use squid-deb-proxy to speed up deployments and it works well. If you're using the lxd provider install the proxy on the host machine so that all controllers and models benefit from the packages cached during previous deployments. Ensure that squid-deb-proxy is configured to listen on t

Re: Coming in 2.3: storage improvements

2017-07-13 Thread Menno Smits
Nice work Andrew! These changes make Juju's storage support much more powerful. On 13 July 2017 at 20:56, Andrew Wilkins wrote: > Hi folks, > > I've just published https://awilkins.id.au/post/juju-2.3-storage/, which > highlights some of the new bits added around storage that's coming to Juju