[00:28] seriously, the replica set tests never pass on my machine [00:28] they pass in CI [00:28] so my care factor is < 1.0 [00:33] all tests just passed locally for me [00:35] yet here we are [00:37] thumper: i just found a rouge mongodb binary [00:37] beleted, lets see if that improves things [00:38] :) [00:38] * thumper takes the kids and dog out for a walk in the sun [00:41] thumper: let me know if you've got a few min please [01:21] someone already talked about bundle upgrade? [01:22] sebas5384: ? [01:22] hey rick_h__! [01:22] for example, lets say I deployed a bundle topology into production [01:23] and then, i change something, like a new charm related to an existing deployed charm [01:23] this is already taking care? by juju ? [01:23] sebas5384: yea, to do that we have to update Juju to track and know about services/services that were part of the bundle. [01:24] bundles are kind of only an outside idea atm, we're working on pushing the bundle idea deeper into Juju [01:24] great to hear that rick_h__ [01:24] because we are using juju with a CD tool [01:25] CD tool? [01:25] continues delivery tool [01:25] striderCD [01:25] ah k [01:25] is a CD made in nodejs [01:25] ah cool, we almost used that for CI [01:25] ooh nice [01:25] I had some chats with them about our desired github integration/etc [01:25] hmm [01:26] yeah they integrate very well with github [01:26] but I understand the tool is in early stages [01:26] yea [01:26] so the thing is we are planning to do a juju plugin [01:27] for the stridercd [01:27] so you can relate a bundle to a branch [01:27] and then to an environment [01:28] so if I add a charm into the bundle yaml file, it should update my environments [01:29] right, to do that properly, you need to track a lot of info that the env doesn't currently have [01:29] we're working on making bundles support revisions and allowing them to live in the charm store right now [01:29] yeah I thought about that [01:29] it's the first baby step into that data/tracking you're looking for [01:29] its related to the revision API ? [01:29] nice! [01:29] well the idea is that you want to be able to tell a diff from what's changed. [01:30] thats right [01:30] and the store will be able to at least provide you rev 3 bundle and rev 4. Though really you probably just want to know what's different from your current env and the updated bundle [01:30] there's a bunch of that stuff to work out [01:31] of course [01:32] and I saw the new GUI, with the commit changes [01:32] commit changes? [01:33] hmmm i don't know how to called it [01:33] ah ok. Well if you've got any gui questions I'm your guy on that end [01:33] but I sow that we are going to have an stage state, so then you have to "commit" those changes [01:34] yeah I know!!! hehe [01:34] ah, yes. That's what we call the 'deployer bar' and it is part of the machine view work [01:34] so you can run colocation through the GUI [01:34] i'm really excited about the new approaches you guys are developing [01:34] cool, glad ot hear it [01:34] congrats on that :D [01:34] talking about the machine view [01:35] when i imagined how it should be the gui for that [01:36] something like what we have in with app's bundles in our phones [01:36] but man, the work that it's being doing its awesome!! :) [01:36] sorry, not following 'apps bundles' phrasing [01:36] oh, you mean something like a box for each machine? [01:36] yea, I'll be very glad to get it out there for sure [01:36] yeah!, something like that [01:37] we looked hard at that, but the UX doesn't scale well [01:37] especially when you get into lxc/kvm containers inside machines [01:37] when you drag an app on top of another (in your phone) it's join al together in a bundle [01:37] and in 100's of machines those boxes get hard to manage, too big. No good way to go through them quickly/etc [01:38] yea, that's really kind of limited in size/scope [01:38] yeah I agree [01:39] but anyway our UX team spent many months going through design ideas and I think what we've got will be really nice [01:39] yeah for sure man! [01:39] a lot of idea left on the cutting room floor [01:40] yeah I can imagine [01:40] but its seems not be like the charm view, you know? [01:41] right, that's why there's a toggle up top. You have the service view, and the machine view [01:41] we'll work on adding other views in the future I think [01:41] great [01:41] so talking about this gui's things [01:42] we are studying about a Juju as a service [01:43] so for that you would have to manage a lot of environments, and some kind of a web gui for the juju quickstart tool [01:43] there are some other ideias like charm factory, etc... but juju as a service is a real need for us right now [01:44] there's plans to something like that? [01:44] interesting. it'd be interesting to get an idea of what you're looking for. What are the features/requirements and reasons for them. [01:45] rick_h__: sorry to throwing all this questions to you hehe [01:45] sebas5384: all good, happy to help/chat [01:45] rick_h__: :) [01:45] sebas5384: there's some work to go in this cycle, I think it was emailed to the -dev list after our vegas sprint? [01:46] really? didn't see it [01:46] * rick_h__ goes to check archive [01:47] I sow a guy from adobe asking for something like that [01:47] and then the conversation was focus in the api's I think [01:48] bah, can't find what I was thinking of [01:49] its ok :0 [01:49] https://lists.ubuntu.com/archives/juju-dev/2014-May/002500.html is a little old thread that might be of interest. There's some work to help with the stuff you're asking about. [01:49] :) [01:49] * sebas5384 reading about [01:49] rick_h__: hey [01:49] whazzup? [01:50] yea, worth tracking if you have an interest in this stuff [01:50] thumper: have a doc for you to peek at and a bug to put into your brain [01:50] rick_h__: hmm... ok [01:50] thumper: not asking for anything today :) [01:52] rick_h__: I see, but my ideia is more for the gui [01:53] though the ideia of sharing envs is awesome [01:54] I have this vision to make so easy for people deploy and orchestrate their topologies as a drag and drop action [01:54] and juju-gui makes this happen! [01:55] so it should be easy to get a juju gui configured environment for you with some clicks and filling some inputs fields with the provider's info [01:59] davecheney: with you in 5 min, just need to get toast [02:00] sebas5384: right, but the GUI relies on the power of Juju to function to what you'll find is that we add basic support for ideas into juju and then grow on top of it with the GUI [02:01] sebas5384: but I'd love to get your use cases down to make sure we're thinking about them and addressing them. Maybe you've got ideas we've not thought about or some ideas we think are only kind of useful are very useful to you [02:01] sebas5384: so feel free to email the juju list, or me, or the gui list, and we can collect your input. [02:01] yeah for sure rick_h__ I love brainstorming [02:02] and iterating on top of feedback [02:02] is the more agile way to develop an app [02:02] but for now it's time for me to get a shower and head to bed. Night from the EST [02:02] avoids waste of features and focus in what it really adds value to the client [02:03] rick_h__: nice to talk to you, and thanks for your attention :) [02:03] rick_h__: good night to you man! [02:04] thumper: ok [02:04] * thumper is eating quickly [02:15] uniter_test.go:813: [02:15] c.Assert(result, gc.DeepEquals, params.StringsWatchResults{ [02:15] Results: []params.StringsWatchResult{ [02:15] {StringsWatcherId: "1", Changes: []string{ [02:15] firstAction.Id(), [02:15] secondAction.Id(), [02:15] }}, [02:15] }, [02:15] }) [02:15] ... obtained params.StringsWatchResults = params.StringsWatchResults{Results:[]params.StringsWatchResult{params.StringsWatchResult{StringsWatcherId:"1", Changes:[]string{"wordpress/0_a_1", "wordpress/0_a_0"}, Error:}}} [02:15] ... expected params.StringsWatchResults = params.StringsWatchResults{Results:[]params.StringsWatchResult{params.StringsWatchResult{StringsWatcherId:"1", Changes:[]string{"wordpress/0_a_0", "wordpress/0_a_1"}, Error:}}} [02:15] [LOG] 0:00.471 INFO juju.provider.dummy reset environment [02:15] [LOG] 0:00.471 INFO juju.state.apiserver [30] user-admin API connection terminated after 204.572645ms [02:15] [LOG] 0:00.476 INFO juju.testing reset successfully reset admin password [02:16] [LOG] 0:00.490 INFO juju.testing reset successfully reset admin password [02:16] [LOG] 0:00.494 INFO juju.testing reset successfully reset admin password [02:16] [LOG] 0:00.494 ERROR juju.state.apiserver.common error stopping *state.actionWatcher resource: state has been closed [02:16] OOPS: 50 passed, 1 FAILED [02:16] --- FAIL: Test (22.56s) [02:16] FAIL [02:16] FAIL github.com/juju/juju/state/apiserver/uniter 22.721s [02:21] davecheney: pastebin dude! :) [02:26] eeek [03:10] menn0, thumper: nag for the OCR, https://github.com/juju/juju/pull/305 [03:10] * thumper should check to see if he is OCR [03:26] davecheney: https://github.com/juju/juju/pull/290 if you feel like returning the favour [04:23] thumper: i can do that [04:23] cheers [04:31] * thumper has another dependent branch ready === vladk|offline is now known as vladk [06:35] * davecheney deletes many duplicate worker/mockConfig types === rogpeppe is now known as rogpeppe1 [07:01] dimitern: morning, be there in just a sec [07:02] jam, morning, me too :) === seelaman` is now known as seelaman === uru is now known as urulama === urulama is now known as uru-afk [08:40] morning [08:42] TheMue, morning [09:00] morning TheMue [10:04] jam: morning [10:28] heh, gonna be a quiet day, since everyone from the US core devs except me gets a swap day today [10:35] natefinch: so go to bed again [10:35] natefinch: morning btw [10:35] natefinch: ;) [10:35] Heh, it's ok, maybe I'll get some work done today [10:37] morning natefinch [10:37] natefinch: I thought you wouldn't be in today, sorry I missed you [10:37] (I have our standup in 10 min) [10:37] jam: it's ok, no problem [10:38] jam: I don't get a swap day today, since I didn't go anywhere :) Just a regular week driving into the office. It's funny, I forgot how much I dislike that :) [10:40] natefinch: driving to work every day? [10:40] yeah [10:41] It's like 45 minutes in traffic, which is not the end of the world, but pleh. What a waste of time. [10:41] (The sprint was great, don't get me wrong, only the driving was a waste ;) [10:43] natefinch: yes, and in case of having this all working days simply count up the lost time (beside the additional cost) [10:46] dimitern: TheMue: vladk: standup? [10:46] jam: already coming ;) [10:46] natefinch: did the week go well other than the commute time ? [10:47] jam, sorry, brt [10:48] jam: The work week was great. But at home, my A/C had a leak (yet again). Such is life. [12:59] morning all [12:59] bodie_: morning [13:00] morning bodie_ [13:18] addressed TheMue 's comments on PR 301, pushing them up in a moment here [13:24] https://github.com/juju/juju/pull/301 should be good to go [13:25] would appreciate LGTM! [13:26] bodie_: I’m looking again. [13:27] bodie_: It already has been ok, only the comments you now addressed [13:27] :) [13:27] TheMue, I mentioned this in the comments but fwereade had indicated he really wanted a refactor of the uniter context and runhook [13:28] I'm working on a (pretty bloated by this point) PR to address a lot of that which splits hook context and hides a lot of content inside the new types [13:28] natefinch: just to remind you guys that I'm on [13:28] on-call IRC master today [13:28] so ping either jam1 or jam if you have questions [13:29] jam1: thanks. I think you can probably bail today. Everyone except me has a swap day today. [13:29] (everyone in the US that is) [13:33] bodie_: LGTM [13:33] TheMue, I still need another lgtm, right? I'm never quite certain when I need two [13:34] bodie_: one is ok [13:34] cool, thanks! [13:40] natefinch: dang, I was hoping you meant I got a swap day, too :) [13:40] dimitern: I've committed https://github.com/juju/juju/pull/121 [13:42] vladk, thanks, I'll have a look [13:42] * TheMue too [13:42] vladk, re your question about tests - using statetesting.AssertOneChange() and so should be enough, as these methods internally call StartSync [13:43] jam1: haha [13:58] allenap: in your vast azure experience did you ever look at using floating ips? [14:07] dimitern: would you take a look at https://github.com/juju/juju/pull/306 too? I’m using now dynamic addreeses here. [14:11] TheMue, sure, in a bit [14:13] dimitern: thx [14:14] TheMue, LGTM [14:15] dimitern: ta (and jam1 too) ;) [14:31] vladk, reviewed [15:04] TheMue, please take a look https://github.com/juju/juju/pull/307 [15:04] when you can [15:05] dimitern: sure, just seen the mail :) [15:05] TheMue, cheers! :) [15:05] dimitern: oh, ONLY 24 files :D [15:06] TheMue, heh, changes to agent/environ config have this effect yes :) [15:07] dimitern: yeah, some are that extensive [15:08] * dimitern needs to step out, bbl [15:20] jog, welcome to juju-dev! [15:20] thanks alexisb, happy to be here! [15:21] jog: heya also by me (from Germany) [15:24] hi TheMue, thanks [15:31] natefinch, jam1: looks like we have a github defect open: [15:31] https://github.com/juju/juju/issues/304 [15:31] rick_h__ pointed it out to me [15:50] dimitern: if you’re back, you’ve got a review [15:51] trying to understand a yaml error [15:52] goyaml* [15:52] "could not find expected directive name" [15:52] as I understand it, directives are optional [15:52] bodie_: where exactly you get it? [15:53] alexisb: pleh, looks like those instance types were just added July 1 [15:53] (to AWS, not juju) [15:53] http://paste.ubuntu.com/7794085/ TheMue [15:54] TheMue, perhaps this is a different error -- it indicates the problem is on line 13 [15:54] which doesn't seem to exist [15:54] *click* [15:54] bodie_: could you also paste a code snippet? [15:55] yeah... let me just shoot you the real thing highlighted on github [15:55] ok [16:01] TheMue, https://github.com/binary132/juju/blob/367f2b557fa09665bc77bff482e609ea9ac6be3b/worker/uniter/uniter_test.go#L267-L283 [16:01] that's where the yaml is getting generated [16:01] I suspect the issue might be on line 279, but that's based on something that is known working [16:02] when trying to run 'juju debug-log' with trunk, I get: ERROR cannot open log file: open /var/log/juju/all-machines.log: no such file or directory [16:03] is there a way to view the juju log by ssh'ing into the state server? [16:03] TheMue, perhaps looking at my spaghetti code tests isn't the best way to spend your time ;) [16:06] http://paste.ubuntu.com/7794138/ will perhaps be more helpful (TheMue) [16:07] tasdomas: juju ssh 0 [16:07] bodie_: hehe, will look there too [16:07] the error is shown on line 1346 of that output [16:07] TheMue - that part I know, which log files do I look in? [16:08] tasdomas: in that directory /var/log/juju take a look at machine-0.log === vladk is now known as vladk|offline [16:11] TheMue, thanks - that file seems to be not a complete replacement for the debug-log [16:11] tasdomas: no, that’s the all-machines.log. debug-log only is the command for it [16:11] tasdomas: local provider? [16:12] TheMue, ec2 [16:12] tasdomas: astonishing [16:12] TheMue - unrelated question - there is a way to connect to the juju mongo instance, right? [16:13] tasdomas: in which way? with a cli client? [16:13] bodie_: just for info, I’m still reading code and log [16:13] TheMue, yes, from within the state server [16:14] tasdomas: afaik not, only using a coded client, like we do with mgo [16:17] TheMue, thanks [16:17] tasdomas: sorry for having no better info [16:18] tasdomas: do you have services deployed or only bootstrapped? [16:18] TheMue - I have services deployed, but I'm trying to debug an ec2 deployment [16:20] tasdomas: the wanted all-machines.log is an aggregation of machne-0.log machine-1.log etc [16:21] TheMue, yes, I understand that [16:22] tasdomas: that’s why I asked for deployed services. it’s strange you don’t find an all-machines.log then. [16:26] bodie_: in your created output, line 11, why is outfile in square brackets? [16:28] TheMue, it's my understanding that yaml permits lists in square brackets [16:28] required is expected to be a list [16:28] hmm [16:29] I think the bit: content := fmt.Sprintf(actionsYamlFull, filepath.Base(actionsYamlPath)) [16:29] was the issue [16:29] I've got it validating now [16:31] bodie_: that’s not what I expect when getting a YAML prefixed error [16:31] I'm not sure I understand the utility of that clause [16:32] bodie_: I know YAML list written with - on new lines === vladk|offline is now known as vladk === vladk is now known as vladk|offline [17:40] natefinch: fwiw T2 are going to be interesting, because they come with a lot of different constraints. They are cheaper, but must be in VPC (cannot be used in Classic mode), they "accrue" CPU credits that they can use to burst, etc [17:40] They actually sound like a decent fit for the juju state server (if you consider that it usually goes quiet once everything is stable) [17:40] but the networking around them means they aren't just like other instances [17:42] jam: very interesting. I hadn't looked into all the differences.... the CPU credits is kind of an interesting idea === vladk|offline is now known as vladk [19:04] bac: It rings a bell. It might all come back if you want me to look at something. [19:06] allenap: looking into using floating ip on azure it seems to not be possible. i was hoping to verify that with someone with lots of azure expertise. [19:08] allenap: but we can chat about it tomorrow, since you're well past eod [19:11] anyone know when fwereade will be around for me to pester? [19:11] mgz will do as well [19:46] bac: I’m around now, but tomorrow would be better. Too many things to do this evening! [19:47] allenap: sure [19:47] tomorrow is better [19:49] allenap: perhaps have a look at http://msdn.microsoft.com/en-us/library/azure/dn690120.aspx tomorrow and we can chat around 1300UTC === vladk is now known as vladk|offline [20:40] Hi [20:40] Is there any way to look how many units is in service, from hook code? [21:50] ha... thought it was quiet [21:51] had forgotten to start the irc client [21:51] blah [21:52] o/ ChrisW1 [21:55] okay, so what does '0/' mean? [21:55] o/, even [21:56] seen it several times tonight, feeling out of touch [22:20] what would it be the better approach for charm scaling? [22:22] things like sharing files using nfs or glusterfs came to my mind [22:24] i found this storage charm but I don't know if is a good optin [22:24] option [22:24] marcoceppi: would you recommend the gluster-server and gluster-client charms for scaling? [22:25] wwitzel3: ping [22:42] ok, looking over ceph now [22:58] * thumper needs a git master [22:58] I need to unfuck a branch [23:00] thumper, mind if I join onyx standup today? also, I'm not too shabby at git [23:00] cmars: go ahead [23:04] thumper: what's your git problem?