Bug 1365828 - mongo log spam

2014-09-09 Thread Ian Booth
https://bugs.launchpad.net/juju-core/+bug/1365828 Hi mongo experts Mongo is filling up syslog with lots of spam. eg, as reported by a customer, https://clbin.com/XZ63i I have reduced this a little by tweaking the roles used to log in to the juju and presence databases, so the warnings are gone.

Re: Bug 1365828 - mongo log spam

2014-09-09 Thread Andrew Wilkins
On Tue, Sep 9, 2014 at 4:14 PM, John Meinel j...@arbash-meinel.com wrote: I don't think these are from authentication between mongo instances. Agreed, looks like the machine-0 jujud connecting over and over again. Perhaps the agent is unhappy and is bouncing. This looks more like a Mongo

Re: Bug 1365828 - mongo log spam

2014-09-09 Thread John Meinel
On Tue, Sep 9, 2014 at 12:27 PM, Andrew Wilkins andrew.wilk...@canonical.com wrote: On Tue, Sep 9, 2014 at 4:14 PM, John Meinel j...@arbash-meinel.com wrote: I don't think these are from authentication between mongo instances. Agreed, looks like the machine-0 jujud connecting over and

Re: Bug 1365828 - mongo log spam

2014-09-09 Thread Ian Booth
Before I sent the original email I put up a PR to reduce the noise by eliminating the warnings. eg we only apply the cluster admin role to the admin database, not the presence or juju databases. https://github.com/juju/juju/pull/714 This cuts down on the warnings but we still get repetitive

Re: Bug 1365828 - mongo log spam

2014-09-09 Thread John Meinel
I'm pretty sure that is the wrong fix, as the API servers need clusterAdmin role so they can set up the Replica Sets when users use juju ensure-availability. The reconfiguring is done by the machine agent, not the user admin. John =:- On Tue, Sep 9, 2014 at 2:12 PM, Ian Booth

Re: reviewboard

2014-09-09 Thread Eric Snow
On Mon, Sep 8, 2014 at 8:05 PM, Tim Penhey tim.pen...@canonical.com wrote: On 09/09/14 04:32, Eric Snow wrote: To install rbt: sudo pip install --allow-unverified rbtools --allow-external rbtools rbtools Ah... no. Perhaps in a virtual env. Is it the sudo or the flags to which you object?

Juju Actions - Use Cases

2014-09-09 Thread John Weldon
Hi; We're looking for use cases for Juju Actions, mostly to make sure we expose the right API. I'm hoping for a few different use cases from the Juju Web UI folks, but I'd appreciate input from anyone wanting to use Juju Actions in their charms too. I've started a document with some example use

Re: reviewboard

2014-09-09 Thread Matthew Williams
Thanks Eric, Taking it for a spin now, looks pretty cool Matty On Tue, Sep 9, 2014 at 3:47 PM, Eric Snow eric.s...@canonical.com wrote: On Mon, Sep 8, 2014 at 8:05 PM, Tim Penhey tim.pen...@canonical.com wrote: On 09/09/14 04:32, Eric Snow wrote: To install rbt: sudo pip install

Please don't use bash when there are syscalls available

2014-09-09 Thread Nate Finch
A user just complained that he can't bootstrap because Juju is parsing stderr text from flock, and his server isn't in English, so the error message isn't matching. https://github.com/juju/juju/blob/master/environs/sshstorage/storage.go#L254 Now, I think we all know that parsing error text is a

Re: Please don't use bash when there are syscalls available

2014-09-09 Thread Gustavo Niemeyer
Worth keeping in mind the usual gotcha: the API of syscall is different for different OSes. On Tue, Sep 9, 2014 at 5:45 PM, Nate Finch nate.fi...@canonical.com wrote: A user just complained that he can't bootstrap because Juju is parsing stderr text from flock, and his server isn't in English,

Important Blocking Bug

2014-09-09 Thread Nate Finch
https://bugs.launchpad.net/juju-core/+bug/1367431 Someone from the down under crew, please take a look at this, since the US is currently at EOD or nearly so. -Nate -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at:

Re: Important Blocking Bug

2014-09-09 Thread Menno Smits
Given that I merged a big upgrade related change yesterday, this could be me (although I did test it extensively manually). I'll take a look. On 10 September 2014 09:01, Nate Finch nate.fi...@canonical.com wrote: https://bugs.launchpad.net/juju-core/+bug/1367431 Someone from the down under

Re: reviewboard

2014-09-09 Thread Tim Penhey
On 10/09/14 02:47, Eric Snow wrote: On Mon, Sep 8, 2014 at 8:05 PM, Tim Penhey tim.pen...@canonical.com wrote: On 09/09/14 04:32, Eric Snow wrote: To install rbt: sudo pip install --allow-unverified rbtools --allow-external rbtools rbtools Ah... no. Perhaps in a virtual env. Is it the

Re: Important Blocking Bug

2014-09-09 Thread Menno Smits
I've looked into this a bit and the problem is due to one of the machines being unable to download tools for the upgrade. This could be due to the recent changes in tools storage. Ian has now taken over. On 10 September 2014 09:11, Menno Smits menno.sm...@canonical.com wrote: Given that I

Re: Important Blocking Bug

2014-09-09 Thread Andrew Wilkins
Yep, most likely related to my changes. I'm taking a look too. Thanks Menno. On Wed, Sep 10, 2014 at 6:11 AM, Menno Smits menno.sm...@canonical.com wrote: I've looked into this a bit and the problem is due to one of the machines being unable to download tools for the upgrade. This could be

Re: Please don't use bash when there are syscalls available

2014-09-09 Thread Andrew Wilkins
On Wed, Sep 10, 2014 at 4:45 AM, Nate Finch nate.fi...@canonical.com wrote: A user just complained that he can't bootstrap because Juju is parsing stderr text from flock, and his server isn't in English, so the error message isn't matching.

Re: Please don't use bash when there are syscalls available

2014-09-09 Thread John Meinel
If we do need to parse the error message, we could use the LANG=C trick. But yes, I'd rather avoid it if possible. John =:- On Wed, Sep 10, 2014 at 2:56 AM, Andrew Wilkins andrew.wilk...@canonical.com wrote: On Wed, Sep 10, 2014 at 4:45 AM, Nate Finch nate.fi...@canonical.com wrote: A user

Re: Juju Actions - Use Cases

2014-09-09 Thread Tim Penhey
On 10/09/14 06:59, John Weldon wrote: Hi; We're looking for use cases for Juju Actions, mostly to make sure we expose the right API. I'm hoping for a few different use cases from the Juju Web UI folks, but I'd appreciate input from anyone wanting to use Juju Actions in their charms too.