Re: Deploying a charm with t's & c's

2017-12-04 Thread Matthew Williams
, 2017 at 2:22 PM, Tom Barber <t...@spicule.co.uk> wrote: > mymodel jaasaws/us-east-1 2.2.2unsupported > > Tom > > > On 04/12/17 14:08, Matthew Williams wrote: > > Hi Tom, > > What version of the controller are you using (show in juju status). Is &

Re: Deploying a charm with t's & c's

2017-12-04 Thread Matthew Williams
Hi Tom, What version of the controller are you using (show in juju status). Is this your own controller or are you using jimm? Thanks Matty On Mon, Dec 4, 2017 at 10:33 AM, Tom Barber wrote: > Hi Casey > > https://asciinema.org/a/qXUZqY5WhCYFUA44l9OILeZWB As you'll see

Default Controller Type on GCE

2017-01-09 Thread Matthew Williams
Hello Juju Fans, I've recently been playing around with Juju on GCE. Google is suggesting that I could downgrade the instance type to save some money (attached screenshot) I was wondering if anyone else had something similar, and therefore, does this suggest our default controller instance type

Leadership Election Tools

2016-12-13 Thread Matthew Williams
Hey Folks, Let's say I'm a charm author that wants to test leadership election in my charm. Are there any tools available that will let me force leadership election in juju so that I can test how my charm handles it? I was looking at the docs here:

One instance manual provider

2016-12-05 Thread Matthew Williams
Hey Folks, I notice the docs state that at least two instances are needed for the manual provider: https://jujucharms.com/docs/stable/clouds-manual. Some quick playing around suggests that this is indeed the case. Is there a technical reason why? I'd love to spin up a charm on [insert vps

Re: Regarding Terms

2016-08-11 Thread Matthew Williams
Just replying publicly to confirm that this was done earlier this morning Thanks Matty On Thu, Aug 11, 2016 at 10:30 AM, Shruthima Almavar wrote: > Hi, > We have sent a request for terms creation through the terms link ( >

Re: juju run-action --application?

2016-08-03 Thread Matthew Williams
it becomes more complex as to how > results are curated. Do you get back X UUIDs one for each unit or a single > action UUID but results returned in a different fashion? > > Marco > > On Wed, Aug 3, 2016, 12:35 PM Matthew Williams < > matthew.willi...@canonical.com> wrote: >

Re: Cleansing Mongo data

2016-06-25 Thread Matthew Williams
I seem to be missing something. Why do we need this? Matty On 24 Jun 2016 17:14, "Nate Finch" wrote: > It seems as though we should be cleansing all the keys since we never > know what queries we might want to make in the future. > > On Fri, Jun 24, 2016 at 12:04

Re: Awful dependency problem caused by romulus

2016-05-19 Thread Matthew Williams
the best solution, I don't see how we can undo > the dependencies between cmd/juju and romulus -- they're so tightly > coupled they should probably live in the same repository. > > On Thu, May 19, 2016 at 6:45 PM, Matthew Williams > <matthew.willi...@canonical.com> wrote: > &g

Re: Awful dependency problem caused by romulus

2016-05-19 Thread Matthew Williams
Really sorry about this Dave, I'd not realised just how much they relied on each other. Surely there's an argument for romulus being merged into core? On Thu, May 19, 2016 at 8:55 AM, David Cheney wrote: > On Thu, May 19, 2016 at 5:04 PM, roger peppe

Re: Query on juju 2.0 installation

2016-04-01 Thread Matthew Williams
Hi Krishna, You can use the lxd provider. There are instructions at the following places https://jujucharms.com/docs/devel/config-LXD https://jujucharms.com/docs/devel/controllers-creating Thanks Matty On Fri, Apr 1, 2016 at 8:25 AM, Krishna Bandi wrote: > Hi Team, > >

Re: Sending binaries over relations

2016-01-20 Thread Matthew Williams
Would it not be better for the charm to have a path the client can `wget` the libraries from - this path can be sent via the relation as a string Matty On Wed, Jan 20, 2016 at 2:30 PM, José Antonio Rey wrote: > Hey, > > One of the options would be to cat the file as a string

Re: mongo and ssh

2016-01-08 Thread Matthew Williams
Hi Neale, When you bootstrap, juju should be setting up mongo on the bootstrap server with all the correct settings and keys, you normally don't need to access the running mongodb, but if it's needed for debugging purposes it's possible. If you want to run mongo as part of your environment then

Re: JNS: Juju Name Server

2016-01-05 Thread Matthew Williams
That's an awesome idea and tool Andrew thanks for sharing. Any plans for turning it into a charm? Would only take moments with the go binary charm layer Matty On 5 Jan 2016 08:13, "Andrew Wilkins" wrote: > Hi, > > A little while ago, I found myself wanting to

Juju, LXD, Snappy, Raspberry pi

2015-12-03 Thread Matthew Williams
Me again folks, Just for fun: Now that lxd provider support is in juju, and there is a snap for lxd. I wondered if it would be possible to use juju to deploy lxd units on a raspberry pi 2. Here's the result: http://blog.mattyw.net/blog/2015/12/02/juju-lxd-snappy-pi/ Matty -- Juju mailing list

Re: Juju, LXD, Snappy, Raspberry pi

2015-12-03 Thread Matthew Williams
profile on LinkedIn] > <https://es.linkedin.com/in/scozannet> > > On Thu, Dec 3, 2015 at 2:19 PM, Matthew Williams < > matthew.willi...@canonical.com> wrote: > >> Me again folks, >> >> Just for fun: >> >> Now that lxd provider support is in juju, an

Re: Unit number is increasing in latest juju version.

2015-11-13 Thread Matthew Williams
Hi Sunitha, I believe you can do the following: unit_manager_0 = self.d.sentry["ibm-mobilefirst-server"][0] Does that resolve the problem? Many thanks Matty On Fri, Nov 13, 2015 at 9:50 AM, Sunitha Radharapu wrote: > Hi, > > We have found in juju *1.25.0.1* version

Re: Unit number is increasing in latest juju version.

2015-11-13 Thread Matthew Williams
releases > then we no need to change our amulet tests. > > If it is a new feature then we will change our upcoming charms > accordingly, > > Thanks, > Sunitha. > > > > > [image: Inactive hide details for Matthew Williams ---13-11-2015 > 20:32:45---Hi Mark,

Re: Unit number is increasing in latest juju version.

2015-11-13 Thread Matthew Williams
Hi Mark, Sunitha, My apologies, I should have included the explanation in the original email. This was a change to address a long standing bug: https://bugs.launchpad.net/juju-core/+bug/1174610 There's a discussion in the bug report, but the summary is that in most cases it's desirable to have

Re: Lots of free video training sessions tomorrow

2015-11-03 Thread Matthew Williams
In addition, if you're not bored of hearing about my side projects I'm running a show and tell at 7PM UTC today that talks about using juju to model network partitions: http://summit.ubuntu.com/uos-1511/meeting/22571/modelling-network-partitions-with-juju/ Matty On Tue, Nov 3, 2015 at 2:54 PM,

Problem Bootstrapping Azure

2015-10-21 Thread Matthew Williams
Hey Folks, Can someone with knowledge of azure respond to this issue? https://github.com/juju/juju/issues/3313 Many thanks Matty -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev

Re: Inconsistencies between juju debug-hooks and "normal" hook environment

2015-10-21 Thread Matthew Williams
Hey Folks, Is there some action we should take to deal with this - in which case can we raise an lp bug for it. Or do we think there's no action needed? Matty On Tue, Oct 6, 2015 at 3:55 PM, Matt Bruzek wrote: > Merlijn, > > Now that I see more of what you are

On Call Reviewer Duties

2015-10-21 Thread Matthew Williams
Hey Folks, I propose that on call reviewers as part of their job should also review the issues list on https://github.com/juju/juju/issues and attempt to triage anything that's there. We moved to github to improve collaboration, but the issues list is often left ignored. If every OCR took a look

Juju status & ubuntu snappy

2015-10-19 Thread Matthew Williams
Hey folks, I've been hacking around a bit more with juju and snappy. Thought you folks might be interested in seeing what I've come up with so far. Video: https://www.youtube.com/watch?v=JnbrWRDFqVo Blog post: http://blog.mattyw.net/blog/2015/10/18/snappy-juju-flasher-video/ Cheers Matty --

Re: Graduated Juju core reviewer: Aleš Stimec

2015-10-08 Thread Matthew Williams
Congratulations Ales. Good work On Wed, Oct 7, 2015 at 1:05 PM, Casey Marshall wrote: > All, > I'm pleased to announce Aleš Stimec is now a graduated Juju core reviewer. > His recent contributions and improvements to the Juju unit agent, > command-line

Re: Fix for LP: #1174610 landing (unit ids should be unique)

2015-05-06 Thread Matthew Williams
This has now landed - and at the moment only in master so it will be out in 1.25 On Mon, Apr 27, 2015 at 5:44 PM, Casey Marshall casey.marsh...@canonical.com wrote: Just a friendly heads-up.. a fix for this longstanding bug will be landing into master shortly: LP: #1174610, unit ids should

Public Service Annoucement

2015-04-24 Thread Matthew Williams
There's a very useful pre-push hook available for juju that does useful things like run gofmt, go vet, checks we can build etc. If you don't have it setup there's some lovely instructions in Contributing.md: https://github.com/juju/juju/blob/master/CONTRIBUTING.md#local-clone Thanks for

Re: Test suite on windows now voting on trunk

2015-04-24 Thread Matthew Williams
I wasn't able to work out why my test failed on windows, but I was able to realise that it wasn't really testing what I wanted. I'm landing a further change now that makes the tests a little better, and adds a new one, and I've confirmed that they pass in the right way on windows and ubuntu.

Re: Graduated reviewer: Domas Monkus

2015-04-24 Thread Matthew Williams
Congratulations Domas! On 23 Apr 2015 15:47, Casey Marshall casey.marsh...@canonical.com wrote: Juju developers, I would like to announce Domas Monkus is a fully graduated Juju core reviewer. This announcement is really long overdue.. Domas is careful and thoughtful in his reviews, his

Re: gocheck in non test code

2015-04-21 Thread Matthew Williams
: I don't know if it is because of bad imports but I certainly see github.com/juju/juju/environs/testing github.com/juju/juju/juju/testing etc in the output of the go list output. John =:- On Tue, Apr 21, 2015 at 5:34 PM, Matthew Williams matthew.willi...@canonical.com wrote: Unless

Re: gocheck in non test code

2015-04-21 Thread Matthew Williams
those dependencies, but should only be imported in *_test.go code. John =:- On Tue, Apr 21, 2015 at 5:17 PM, Matthew Williams matthew.willi...@canonical.com wrote: Hi Folks, There seem to be a number of places in core where we end up importing gocheck in non test code. We should have

Unit test failure in juju/errors

2015-02-06 Thread Matthew Williams
Hi Folks, It appears that juju/errors has a failing unit test: http://paste.ubuntu.com/10085832/ It also appears that it only fails in go1.4 Matty -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev

Where to Review

2014-12-16 Thread Matthew Williams
Hi Folks, I'm forgetful and disorganised at the best of times I can never remember where I should go to review a particular juju project. I *think* only juju/juju and juju/utils are in reviewboard and everything else is in github - but I can't remember - is that right? Do we have a definitive

Re: Too space, or not two space

2014-11-19 Thread Matthew Williams
Believe it or not I also learned to type on a mechanical typewriter and I did double spaces on that. But you also needed to un jam it if you typed too fast. I'm voting for single space. -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at:

Re: Where is the Juju-gui heading ?

2014-11-12 Thread Matthew Williams
Hi Stein, The friday session that Jose mentioned is this one: http://summit.ubuntu.com/uos-1411/meeting/22387/whats-new-and-upcoming-in-the-work-of-juju-ui-engineering/ Thanks Matty On Wed, Nov 12, 2014 at 4:58 PM, Richard Harding rick.hard...@canonical.com wrote: On Wed, 12 Nov 2014,

Re: Distributed systems theory

2014-09-23 Thread Matthew Williams
There's also the papers we love project https://github.com/papers-we-love/papers-we-love They have loads of papers about various topics. Here's the distributed systems section: https://github.com/papers-we-love/papers-we-love/tree/master/distributed_systems Matty On Tue, Sep 23, 2014 at 9:05

Re: The Pros and Cons of ReviewBoard.

2014-09-22 Thread Matthew Williams
Just in case we're counting, another pro: You are able to seperate pushing branches to github and creating a new version of code for review Matty On Fri, Sep 19, 2014 at 4:37 PM, Eric Snow eric.s...@canonical.com wrote: Given that I've in some part driven the switch to ReviewBoard, I want to

Re: The Pros and Cons of ReviewBoard.

2014-09-19 Thread Matthew Williams
At the risk of opening a can of worms: Reviewboard doesn't have to be a barrier to contributing. We could allow new contributors/ drive by fixes to use github. Matty On 19 Sep 2014 17:05, Eric Snow eric.s...@canonical.com wrote: On Fri, Sep 19, 2014 at 9:48 AM, Jonathan Aquilina

Re: Doing chained diffs w/ Reviewboard

2014-09-18 Thread Matthew Williams
I've got it working. Using rbt it was pretty trivial. I'm not 100% sure of my steps - but from memory and some prompting from `history` the process was more or less: 1) rebase my branch against the latest version of the parent. Then: 2) rbt post -parent remotes/mattyw/my-parent-branch It

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

auth fails bug reports

2014-09-02 Thread Matthew Williams
Hi Folks, Casey and I spent some time today looking at the auth fails during TearDownTest symptom/ bug: https://bugs.launchpad.net/juju-core/+bug/1348477. The failure seems to happen across various tests. The same problem was reported across a number of the errors listed in our juju test

Re: Lag for unblocking CI

2014-09-01 Thread Matthew Williams
Thanks Martin, yeah things have come up since it tried to land, I'll try again later today and let you know if there are any problems On Mon, Sep 1, 2014 at 2:49 PM, Martin Packman martin.pack...@canonical.com wrote: On 01/09/2014, John Meinel j...@arbash-meinel.com wrote: Is there some

Re: gccgo internal compiler errors

2014-08-29 Thread Matthew Williams
As it's something we need to be doing for a while yet is there value in adding this as a task that gets run by the landing bot? Thanks Matty On Thu, Aug 28, 2014 at 11:48 PM, Tim Penhey tim.pen...@canonical.com wrote: Hi folks, I spent some time this morning looking at

Re: First customer pain point pull request - default-hook

2014-08-20 Thread Matthew Williams
gust...@niemeyer.net wrote: On Tue, Aug 19, 2014 at 6:58 PM, Matthew Williams matthew.willi...@canonical.com wrote: Something to be mindful of is that we will shortly be implementing a new hook for metering (likely called collect-metrics). This hook differs slightly to the others

Re: First customer pain point pull request - default-hook

2014-08-19 Thread Matthew Williams
Something to be mindful of is that we will shortly be implementing a new hook for metering (likely called collect-metrics). This hook differs slightly to the others in that it will be called periodically (e.g. once every hour) with the intention of sending metrics for that unit to the state

Re: Reviewing - moving to review mentors, and guidelines

2014-08-11 Thread Matthew Williams
Is this still happening? M On 19 Jul 2014 09:43, Matthew Williams matthew.willi...@canonical.com wrote: +1 Great idea, thank you On 18 Jul 2014 03:28, Tim Penhey tim.pen...@canonical.com wrote: Hi all, Last night in the team meeting we discussed the review process. Initially because

Re: Port ranges - restricting opening and closing ranges

2014-06-27 Thread Matthew Williams
26, 2014 at 2:11 PM, Domas Monkus domas.mon...@canonical.com wrote: Hi, me and Matthew Williams are working on support for port ranges in juju. There is one question that the networking model document does not answer explicitly and the simplicity (or complexity) of the implementation

Re: Thoughts to keep in mind for Code Review

2014-06-25 Thread Matthew Williams
I agree that the code needs to be self-explanatory enough to not require annotations, but annotations can be useful - especially for larger changes. Suggesting the order for code to be reviewed is certainly useful if you're reviewing code in a part of the system you aren't familiar with On Wed,

Static Analysis on Juju

2014-06-23 Thread Matthew Williams
Hi Folks, As some of you will be aware the latest version of go includes some static analysis tools in godoc: http://golang.org/lib/godoc/analysis/help.html As is noted in the above, the analysis is quite slow (and resource intensive), but I wanted to find out if there was any useful output. To

Re: End Of Review marker

2014-06-12 Thread Matthew Williams
+1 Rick. My opinion is it's just an issue of manners. After filling in comments inline let them know that you're done so they can start working on it. Likewise if you start doing a review and have some interruption and are unable to finish it let them know that there might be more to come. It's

Re: Collection of Bundles?

2014-06-06 Thread Matthew Williams
Thanks Jorge, this is exactly what I was after matty On Thu, Jun 5, 2014 at 5:17 PM, Jorge O. Castro jo...@ubuntu.com wrote: On Thu, Jun 5, 2014 at 6:00 AM, Matthew Williams matthew.willi...@canonical.com wrote: I'm sure this has been discussed before - but I can't remember what

Collection of Bundles?

2014-06-05 Thread Matthew Williams
Hi Folks, I'm sure this has been discussed before - but I can't remember what the outcome was. It would be nice to have some single place (or a list of places) to publish bundles to - so if I wanted a bundle to deploy hadoop or openstack or my-awesome-blog-engine I could find an existing bundle

Re: Juju on Reddit

2014-05-21 Thread Matthew Williams
. On Tue, May 20, 2014 at 11:25 AM, Matthew Williams matthew.willi...@canonical.com wrote: Hi Folks, We now have a subreddit for posting topics about juju: http://www.reddit.com/r/juju I'm looking for volunteers who would like to help with being moderators. Feel free to start posting links

Juju on Reddit

2014-05-20 Thread Matthew Williams
Hi Folks, We now have a subreddit for posting topics about juju: http://www.reddit.com/r/juju I'm looking for volunteers who would like to help with being moderators. Feel free to start posting links Thanks Matty -- Juju mailing list Juju@lists.ubuntu.com Modify settings or unsubscribe at:

Re: Juju on Reddit

2014-05-20 Thread Matthew Williams
Thanks Joey, I've added you - if you can work out how to add the flair be my guest Cheers Matty On Tue, May 20, 2014 at 6:01 PM, Joey STANFORD j...@canonical.com wrote: On Tue, May 20, 2014 at 04:25:47PM +0100, Matthew Williams wrote: We now have a subreddit for posting topics about juju

Re: Manual provisioning - feedback wanted

2013-09-15 Thread Matthew Williams
Sounds like a cool feature. I tried bootstrapping in aws then adding a machine supplied by digital ocean. I got an invalid domain error. Any idea what I was doing wrong? juju add-machine -v ssh:root@162.243.10.110 2013-09-15 20:06:07 INFO juju.provider.ec2 ec2.go:187 opening environment amazon