/srv/irclogs.ubuntu.com/2015/05/21/#juju-dev.txt

menn0wallyworld, thumper: txn pruning improvements http://reviews.vapour.ws/r/1741/00:25
waiganithumper, axw: storage worker fix: http://reviews.vapour.ws/r/1742/00:38
waiganiI tested 1.23, 1.24, 1.25 - bug is only in 1.24 and 1.2500:39
wallyworldmenn0: done00:39
menn0wallyworld: thank you. you're a review machine.00:45
wallyworldsometimes00:46
anastasiamacmenn0: wallyworld is always00:49
axwwaigani: ah, so the state that the agent opens isn't scoped. thanks for looking at that01:05
thumperwaigani: shipit01:06
waiganithumper, axw thanks - I'll land in 1.24 now and follow up in 1.2501:37
thumperack01:37
thumperwaigani: I was just looking at my local machine-0.log wondering why it was 16 meg already01:37
thumperwaigani: was due to the worker constantly restarting in two environments :-)01:37
natefinch-afkkatco: the CI test is working.  It actually inadvertently discovered a bug in lumberjack, due to a combination of how I had to do one of the tests and the fact that destroying the local environment leaves logs behind.01:38
thumpernatefinch-afk: funny how CI tests find bugs eh?01:38
=== natefinch-afk is now known as natefinch
waiganithumper: ha01:38
natefinchthumper: yep.  really just a huge coincidence in how everything came together, but I'm certainly glad to find the bug, even if it is a pretty edge case.01:40
natefinchfor those curious: https://github.com/natefinch/lumberjack/issues/1201:41
natefinchI love how sloppy I can be and let gofmt clean everything up for me.  Saves me a ton of time fiddling with indenting etc01:47
waiganithumper: hosted upgrades:  http://reviews.vapour.ws/r/1639/ - needs a follow up review (not urgent, I've found another bug to look into)01:47
axwnatefinch: I find I'm much worse about writing in other languages because of that now :/01:48
natefinchaxw: haha yep01:48
waiganinatefinch: +1 if it doesn't format I know I've got a syntax error somewhere, that's been handy too01:49
natefinchwaigani: yep... and in Sublime, if you're using gosublime it'll put a dot next to the line that is invalid01:50
waiganinatefinch: true! too easy :)01:51
menn0wallyworld, thumper : a quick one before the meeting? http://reviews.vapour.ws/r/1743/01:56
menn0this is the final bit of the txn pruning work (for 1.22 at least)01:56
* thumper looks01:56
thumpermenn0: if there was no previous, how long does it wait?01:57
thumpermenn0: also, what about those long running ones with 500k transactions pruned01:58
menn0thumper: that was all in the PR for juju/txn...01:58
menn0thumper: pruning will first be checked 2 hrs after jujud startup01:58
menn0thumper: if there is no record of a previous prune, then pruning happens01:58
thumperk01:58
thumperwell, all that can be tweaked later if necessary01:58
menn0thumper: there after it only happens when necessary01:59
menn0thumper: where necessary at the moment means "txn count has doubled since last prune"01:59
thumperright, just considering the pathalogical cases01:59
menn0thumper: so for small envs it'll probably never happen02:00
menn0thumper: or very infrequently02:00
menn0thumper: for the currently huge envs, they'll have a massive prune the first time around but should then be fairly infrequent02:00
menn0thumper: there's logging of the txn counts etc in juju/txn each time MaybePruneTransactions is called02:01
natefinchsuper quick review anyone?  Just updating dependencies.tsv to include the bugfix I just made to lumberjack: http://reviews.vapour.ws/r/1744/diff/#02:25
natefinchdavecheney: thanks02:26
thumperaxw: machine-0: 2015-05-21 02:26:15 ERROR juju.worker.diskmanager lsblk.go:111 error checking if "sr0" is in use: open /dev/sr0: no medium found02:27
thumperaxw: should I be worried?02:27
axwthumper: have you pulled trunk lately? that should be fixed a couple of days ago02:27
thumperaxw: no, using jes-cli, behind trunk by a week or two02:28
thumperaxw: good to hear it is fixed though02:28
thumperI'll merge master soonish02:28
axwok, good to know it's probably not still broken :)02:28
perrito666feature branches feel a bit like the explanation of time travel by the doc to marty02:29
perrito666in axw and my master is fixed, but in your version of master it is still borken02:30
axwjust need to get the almanac off biff and it'll be OK02:30
natefinchgah.... just realized my CI test won't work on vivid because it assumes we're using upstart.  le sigh03:04
* natefinch reboots to see if he can get his lxc containers to stop getting stuck for no reason03:09
natefinchheh... I bet this is that CI blocker that is hosing tip.... let's see if 1.24 works....  yep, that was it.03:19
* natefinch waits for his CI test to write 1.8 GB of data to disk03:20
* natefinch does a little dance03:20
natefinchsuccess!03:20
natefinchwallyworld: you around?03:23
wallyworldyeah03:23
natefinchwallyworld: there's no docs on status-set on jujucharms03:24
wallyworldi gave doc to nic03:24
wallyworldages ago03:24
natefinchwallyworld: oh, huh, ok.  I'll bug him then.03:24
wallyworldball is in his court03:24
natefinchevilnickveitch: ^^03:24
wallyworldnot enough hours in the day - we need more doc people03:25
wallyworldlike 2 or 303:25
natefinchyep03:25
davecheneythumper: http://paste.ubuntu.com/11256308/03:26
davecheneynot terrible03:26
davecheneybut some important ones to fix03:26
thumperdavecheney: ack04:00
* thumper tries to work out where to add this test...04:00
cheryljhey davecheney, quick question for you on your review - I'm not clear how the test case I've added is a race.  We're not actually starting the unit agent, we're just invoking its start method directly.  Is there something I'm missing?04:03
thumperI wish git stash worked more like bzr shelve04:08
natefinchwhat's the difference?04:09
davecheneycherylj: maybe i was mistaken04:49
davecheneynormally when patch value is used, it's vbecause it's changing the value of a thing that will run in another goroutine04:50
axwwallyworld: FYI, http://reviews.vapour.ws/r/1751/06:38
wallyworldlooking06:38
axwericsnow: the GitHub links in RB seem to be messed up now (looks like unrendered markdown links). did you change something?06:51
axwwallyworld: I'm going to look at tagging volumes now, since if we don't tag them we won't later be able to list them06:53
wallyworldaxw: yep, sounds great06:54
axwwallyworld: after that I'll look at persistent volume deletion unless you think there's something more important06:54
wallyworldaxw: i need to go over our cards, we can talk tomorrow06:54
axwok06:55
wallyworldbut if you get done before we talk, then vol deletion sounds good06:55
wallyworldaxw: i think the other good card would be storage reattachment?07:18
wallyworldmaybe before volume deletion?07:18
axwwallyworld: ok07:30
dimiternvoidspace, hey there07:32
dimiternvoidspace, i'm in the hangout07:32
voidspacedimitern: omw07:34
mfoorddimitern: and back...07:55
mfoorddimitern: need to reconfigure virt-manager before I try that again...07:55
TheMuemorning o/07:55
mfoordTheMue: o/07:55
dimitern:) ok07:56
dimiternmorning TheMue07:56
TheMuemfoord: no voidspace today?07:56
mfoordTheMue: heh07:56
mfoordTheMue: I had to force kill my machine - virt-manager wouldn't release the mouse and keyboard07:56
dimiternaaargh.. RB hates me today07:56
dimiternhttps://github.com/juju/juju/pull/2392 - reviewers welcome07:56
TheMuemfoord: ah, ok07:56
* TheMue starts the day with a review07:57
TheMuedimitern: reviewed08:32
dimiternTheMue, ta!08:33
TheMuedimitern: I like the proper use of LXC... instead of Lxc... ;)08:34
mfoorddooferlad: TheMue: we're going to be a few minutes late to standup - in another meeting09:00
mfoorddooferlad: TheMue: that is dimitern and I09:00
TheMueok09:00
dimiternmfoord, when you're ready09:05
mfoorddimitern: TheMue: dooferlad: I'd like to grab a drink09:05
mfoord5 mins09:05
mfoordTheMue: dooferlad: dimitern: right, ready09:09
TheMuemfoord: we're in09:10
mfoordomw09:10
jammenn0: about the pruning changes, you're not tracking the history of successful GC runs and how much they pruned?10:55
jamYou just overwrite 'last' each time10:55
menn0jam: yep, that's intentional10:56
menn0jam: I thought we decided it wasn't that important10:56
jammenn0: I don't think it is critical, but I do think when adding something new like this being able to see how its working is pretty useful.10:57
menn0jam: well there's still the logs10:57
jammenn0: unless they have DEBUG logging on and it only captures 5hrs before it rotates.10:58
menn0jam: sure10:58
menn0jam: if you feel strongly about it i can change it10:59
jammenn0: I feel like having that information isn't going to be an OPs problem unless we have something else that's really wrong, and would give us some feedback as to how GC is working in the wild.11:02
menn0jam: i see your point11:08
menn0jam: i'll try and get something in tomorrow (it's late here)11:10
jammenn0: rest well11:11
menn0jam: i guess you also want the start timestamp and the start txn count? :)11:11
jammenn0: yeah, so we know Why we tried to run GC, how much GC helped, and how long GC took to run.11:11
menn0jam: what about the issue of the txns.prune collection growing forever?11:11
menn0jam: I guess the growth rate is pretty small11:11
jammenn0: if it grows by 1 record every 2 weeks, and that record is 200bytes in size11:11
jamwe consume 1MB in...11:12
jammenn0: 192 years11:12
jammenn0: I can live with that growth rate.11:12
menn0jam: hmmm I don't know... :)11:13
wallyworldjam: did you have an opinion on the latest emails re: relation status?11:46
jamwallyworld: I'll reply, I don't have particularly strong feelings, nor was I in the conversations in Nuremberg11:49
wallyworldjam: np, i like your input because 99.99999% of the time you are usually right on the money with what should be done :-)11:59
dimiternreviewers, please have a look at http://reviews.vapour.ws/r/1756/ - fixes bug 1456989 for 1.2412:58
mupBug #1456989: cloud-init 0.6.3 on precise generates invalid apt-get install command line <cloud-init> <precise> <regression> <juju-core:Triaged by dimitern> <juju-core 1.24:In Progress by dimitern> <https://launchpad.net/bugs/1456989>12:58
natefinchlinux peeps... I'm trying to set gopath in my install hook... but nothing seems to work.. anyone have any ideas on how to do this?  I tried echo "export GOPATH=$HOME" >> .bashrc  (and same to .profile).... no matter what I do, "go get ..." running in my start hook always says GOPATH not set.13:35
natefinch(er sorry, that's ~/.bashrc of course)13:35
perrito666natefinch: I am not sure .bashrc is used for the hooks env13:36
tvansteenburghare you sourcing the file after you do that?13:36
natefinchtvansteenburgh: can I usefully source a file from inside a hook script?13:37
perrito666natefinch: also, when you speak of your ~ where exactly is that?13:37
perrito666natefinch: yes, you can, it is a shell after all13:37
dimiternmfoord, dooferlad, TheMue ^^13:38
dimitern(the review I posted a while ago)13:38
TheMuedimitern: ic, will review13:38
natefinchperrito666: I dunno... where-ever it is.  I presume ~ is the same for the user is running every hook13:38
dimiternTheMue, thanks!13:38
perrito666ah you are doing that IN the hook, while running it13:39
perrito666natefinch: why dont you just run the export?13:39
natefinchperrito666: it doesn't work if I just export it13:40
tvansteenburghhe needs it in a later hook right?13:40
perrito666natefinch: that is... wrong somehow13:40
natefinchperrito666: go get <thingy> says "no GOPATH set"13:40
perrito666natefinch: ahhhhhhhh13:40
natefinchWhat I want is a working version of this as my install script: yes, what I want is for my13:40
natefincher http://pastebin.ubuntu.com/11264398/13:40
natefinchhowever the hell you make that work right13:40
perrito666natefinch: what is HOME?13:41
perrito666I mean, what exactly does it point to?13:41
perrito666that you just did there should work for your current shell and its forks iirc13:41
natefinchok, I'll test it13:41
perrito666natefinch: but then again, also exporting it13:42
perrito666natefinch: assuming you have access to write the actual home of the user, you are tainting the machine13:42
natefinchexporting it definitely does not work13:42
perrito666natefinch: ok are you inside the hook tmux?13:42
dooferladdimitern: *click*13:43
perrito666if so pastebin env13:43
perrito666natefinch: you can also GOPATH=/what/ever go get blah13:43
natefinchperrito666: hang on, let me rerun things with the new install script13:43
natefinchperrito666: that doesn't work either13:43
natefinchperrito666: I think it's forking processes or something that somehow are not getting the root process' env13:43
perrito666natefinch: then there definitely is something wrong there13:43
natefinchgo get is, that is13:43
perrito666yes13:44
perrito666but forking a process should get the exported vars13:44
perrito666its like the only good reason to export13:44
natefinchhaa well, $HOME is nothing, which is fantastic13:44
natefinchmaybe that's the problem13:44
perrito666natefinch: it is appropriate, you are in a chrooted env most likely13:45
dimiterndooferlad, thanks! any reason not to check Ship it ?13:45
perrito666natefinch: you have superpowers though, you can use the system gopath13:45
dooferladdimitern: mostly beause I don't have those powers. I haven't graduated, so I try not to.13:46
dimiterndooferlad, well, you could still express intent :)13:46
dooferladdimitern: OK, will do next time!13:46
natefinchperrito666: ok, so I guess it was the fact that I was setting GOPATH to $HOME which was nothing... setting it to /home/ubuntu works fine13:48
perrito666natefinch: and makes your charm also ubuntu bound13:49
TheMuedimitern: reviewed13:49
perrito666natefinch: just use /go13:49
natefinchperrito666: k13:49
perrito666natefinch: or iirc /usr/shar/go?13:49
perrito666I never remember but there is a proper place for those things13:50
dimiternTheMue, thanks14:06
TheMuedimitern: only thought that it could make sense to test cloudinit.New() for all releases14:10
dimiternTheMue, it's tested in other places14:11
TheMuedimitern: ah, fine14:11
katcowwitzel3: ericsnow: natefinch14:29
katcosorry internet is being flaky the past few days14:29
wwitzel3katco: no worries14:30
ericsnowkatco: np, we basically finished after you left14:30
ericsnowkatco: I believe natefinch was going to ask about the blog :)14:30
katcoi swear to god if this lady tells me one more time i have to power cycle my router i'm going to throw this phone.14:39
perrito666katco: but have you?14:40
cheryljha, that's the worst.  Hang in there, katco :)14:40
cheryljI remember calling the "help desk" while I was at IBM and them not understanding when I told them I don' t have a start button because I'm using linux.14:41
perrito666the only good thing about my isp is that it is easy to know when there is a problem outside your immediate network, they just dont answer your call until its fixed14:41
perrito666cherylj: they are quite ok with that here, they tell you the command in linux to diagnose the network14:42
perrito666the people installing the connection are even cool with doing so in a computer running ubuntu, which is surprising14:42
perrito666they still require for you to have a computer with an ethernet por though, which is usually a problem around here14:42
perrito666katco: just mtr to google and see if you are dying before leaving the gw or after14:44
katcoperrito666: that's exactly what i was doing14:46
katcoperrito666: unfortunately, tier 1 lady said that there's no other way to troubleshoot the situation than to "bypass your router"14:47
perrito666katco: and by router they mean you r home one, not the one provided by them right?14:48
katcoperrito666: yeah, not the modem14:48
katcoperrito666: she didn't understand i can't just change my entire network to wait for the internet to go out again14:49
* katco is just so frustrated14:49
perrito666katco: cant you just ssh into your router?14:49
katcoperrito666: i can do lots of things, but it won't solve a problem in their network14:50
perrito666katco: lol14:50
perrito666if the problem its in their network it will solve itself eventually14:50
katcoperrito666: yeah, usually i ride these out, but it's been dropping me pretty frequently the past few days14:51
perrito666my isp still hasnt called me to schedule the installation of my decent speed line because they cannot resolve their installer guy schedule (that is the level of inutility)14:51
* TheMue passes katco a piece of chocolate to calm her nerves14:51
perrito666katco: cant you just ask for a rewiring/new modem?14:51
perrito666katco: just in case?14:52
perrito666i am not sure what is the policy there14:52
katcoi mean... side by side, ping to modem, ping to 8.8.8.8. ping to modem fine, ping to 8.8.8.8 dropping. why is this not crystal clear?14:52
natefinchkatco: comcast?14:52
katconatefinch: charter14:52
natefinchkatco: ug, possibly worse14:53
katconatefinch: not sure if you guys have that up there14:53
perrito666I had a friend shot at the main telco distribution box because their policy only allowed to replace cabling if the cable had more than N meters missing (otherwise just patching) and only went to check the box if the box was completely dead14:53
natefinchkatco: we have charter in town, actually... but since our property is on the town line of the next door town, which has fios, I just lied to verizon and said my address is in the next town (and put my billing address as my own town)14:53
katcolol14:53
perrito666so we got an insider tell us this (they where ignoring the rewiring request) so we basically chopped the cable by more than the required meters and shot the box (it is a place where said thing is not all that suspicious)14:54
katcoericsnow: natefinch: wwitzel3: was going to mention, i'm out for the next hour for a dr. appt. wwitzel3, if i'm late for our 1:1 that's why14:54
katcoand if i drop out, now you know why >:|14:54
wwitzel3katco: ok, if I am late, I have no good excuse14:54
katcowwitzel3: lol14:55
katcok bbiab guys, ty for the moral support haha14:55
natefinchperrito666: nice work of vandalism14:58
natefinchperrito666: not that I disapprove :)14:58
perrito666natefinch: tx, the whole neigborhood was very happy14:58
perrito666they got new phone lines that dont go down on rainy days14:58
natefinchnice14:59
perrito666telcos are the worse, there are only 2 in the whole country one in the south and one in the north14:59
perrito666they are a very bad monopoly and usually cut so many corners that they are a circle14:59
natefinchperrito666: there's a bunch in the US, but we have government supported monopolies so that they don't ever have to compete in any particular town14:59
perrito666natefinch: I heard of people actually set their posts on fire so they got underground wiring15:01
natefinchperrito666: haha, wouldn't work here... they'd just install new posts15:01
perrito666natefinch: they dropped the posts 15 years ago15:01
perrito666they just decided not to replace them in some places until it was necessary15:02
perrito666to cut costs15:02
perrito666they have an explicit internal rule for service repairmen not to replace anything until is not working 80% of the time or more15:02
WebBig thanks to Juju team for all your work.  Without you my graduate project wouldn't have been such a success!15:03
perrito666Web: excelent, congrats on graduation? (will you do a blog post?)15:03
cheryljWeb: I'm curious, what was your project?15:03
perrito666natefinch: in my birth town they even dropped the tech service, they send 2 people every month for a day and they just fix as much as they get to in that day and the rest just are postponed, there is a guy that works as an individual contractor for people to fix these things because no one expects the company to come anymore15:04
natefinchperrito666: that's pretty bad15:04
cheryljcan I get a sanity check from someone on a review comment I received yesterday?  dave commented that there was a race in a particular test that I wrote, and I don't think there is:  http://reviews.vapour.ws/r/1740/15:05
perrito666natefinch: not for the individual contractor guy15:05
natefinchhaha15:05
Webperrito666: I will be posting a detailed blog article soon on http://mastersproject.info.15:05
cheryljIn the test, we synchronously call a function, APIWorkers which will call the reportClosedAPI function we're patching15:05
cheryljI just want to make sure I'm not missing something.15:06
Webcherylj: SaaS delivering questionnaire services with developer access.  Primarily a Node.js based application.  http://themindspot.com15:06
cheryljneato!  reading now15:08
WebNow I can start on cleaning it up and expanding the api to make native applications.15:08
perrito666cherylj: I am a bit out of context, what does reportClosedAPI does exactly15:08
cheryljit is just a function added to test that we actually close the api we opened in the case of failure.  In the non-test case, it is an empty function.  In the tests, we patch it to set some var to true to indicate that it was called.15:09
Webcherylj: Still alot of work to do to make it a viable service but the value and product was delivered on time and as expected with good software engineering practices.15:09
cheryljYou can see how a similar pattern is used here:  https://github.com/juju/juju/blob/master/cmd/jujud/agent/machine_test.go#L85815:10
cheryljperrito666: ^^15:10
cheryljperrito666: but in the above case, they are creating a new goroutine and that's why they're using channels15:11
perrito666cherylj:  I am tracing the code15:12
cheryljthanks, perrito66615:12
cheryljWeb: how was your experience using Juju?15:12
perrito666I am not sure here if deferreds run before or after returning from a function, natefinch ?15:13
perrito666I do believe they are blocking15:13
perrito666cherylj: anyway, given the logic there it think it would be mor go-ish and safer to use a channel and wait on it isntead of a bool15:14
perrito666more*15:14
cheryljthanks, perrito666!15:14
Webcherylj:  I have been enjoying Juju from the beginning.  I haven't been a charmer for awhile now but have always boasted Juju.  Thats why I knew it was perfect for creating my project proposal.15:14
cheryljWeb: how did you first hear about it?15:15
sinzuikatco, can you ask someone to triage bug 1457225. The case is somewhat extraordinary, I don't understand the severity or labour.15:17
mupBug #1457225: Upgrading from 1.20.9 to 1.23.3 works, but error: runner.go:219 exited "machiner": machine-0 failed to set status started: cannot set status of machine "0": not found or not alive <cts> <sts-stack> <upgrade-juju> <juju-core:New> <https://launchpad.net/bugs/1457225>15:17
natefinchperrito666: deferred functions run before the function exits, but after return values are set.  They will be required to finished before the function exits15:29
perrito666natefinch: I assumed so which makes dave's comment wrong15:30
perrito666natefinch: but I believe that channel over flags is good anyway15:31
alexisbWeb, glad to hear it! and congrats on a success graduate project!15:33
natefinchperrito666: http://play.golang.org/p/P2zB4t1Alf15:33
perrito666natefinch: and how is it handled in the low level?15:34
perrito666natefinch: is the defered a go routine with access to the namespace of the function or is  an appended func call or what?15:35
Webcherylj:  I don't even remember but I worked on a early version of node-app to implement some features m3 (Mark Mims) wanted.15:36
natefinchperrito666: it's not a goroutine.  I'm not sure exactly how it runs.  It does have a non-negligible performance impact, though not enough to care about unless it's in a really hot path15:36
Webalexisb: thank you very much.15:36
perrito666natefinch: uff, I assume its something like a try/catch15:37
perrito666natefinch: I am now tempted to read the go source for that15:38
WebNow I need to beautify and get some money to upgrade servers from t1.micro's if I want to make this a real service. :)15:40
cjwatsonHi, is there any way I can get juju's private mongod to not sit there spinning and calling select 100 times a second?  It's quite literally causing me to have to open a window to dissipate laptop heat any time I'm using juju15:50
cjwatson(jcastro sent me here from #juju)15:50
katcosinzui: ack16:16
katcoericsnow: wwitzel3: natefinch: back if you need anything16:16
* natefinch has to spend a little time writing unit tests for his CI tests16:17
katco...16:18
* katco is actually not sure how she feels about that16:18
natefinchkatco: https://code.launchpad.net/~natefinch/juju-ci-tools/logrot/+merge/25975016:18
natefinchkatco: I know... on the one hand, it's nice to double check that the tests aren't malfunctioning, but on the other hand, it seems like a belt and suspenders and ... something else that holds up your pants... kind of approach16:20
perrito666natefinch: I use being fat for that, the belt/suspenders are just for aestethic reasons16:20
katcoyeah... i honestly haven't ever thought about that enough to have an opinion, but the gut check says it seems excessive16:20
marcoceppiWeb: congrats!16:35
=== natefinch is now known as natefinch-afk
Webmarcoceppi: big thanks to you too!  Your always there when I've needed advice.16:41
mupBug #1457566 was opened: lock timeout exceeded <deploy> <intermittent-failure> <juju-core:Incomplete> <juju-core 1.22:Triaged> <juju-core 1.24:Triaged> <https://launchpad.net/bugs/1457566>16:44
* perrito666 discovers that his mobile company uses the emergency broadcast alerts to send spam...16:44
katcoi need a volunteer to look at bug 145722516:45
mupBug #1457225: Upgrading from 1.20.9 to 1.23.3 works, but error: runner.go:219 exited "machiner": machine-0 failed to set status started: cannot set status of machine "0": not found or not alive <cts> <sts-stack> <upgrade-juju> <juju-core:New> <https://launchpad.net/bugs/1457225>16:45
katcocurrently only triage needed16:45
katcocherylj: perrito666: dooferlad: voidspace: wwitzel3: ericsnow: natefinch-afk: TheMue: ^^16:46
wwitzel3katco: in a hangout with ericsnow, whit, and lazyPower16:50
katcowwitzel3: k lmk when you're ready16:50
WebOkay hadn't thought about applying to Canonical until today.  If you hear my name (Brandon L. Clark) in passing give me some praise.   And any advice?  :)16:55
wwitzel3katco: ping17:24
katcowwitzel3: pong17:24
peterklipfelHi all, I'm wondering if anyone has any tips on where I can start with modifying the juju source. I've been using the project for ~1.5 years, but haven't contibuted anything. I'm not so good at go. The thing that I want to do is enable custom image usage on openstack on a per-machine basis. It's possible that this might be a big refactor due to (for example) colocating services on machines. Thoughts?18:02
natefinch-afkpeterklipfel: using go will likely not be your biggest hurdle.  The language itself is quite small and easy to pick up if you know pretty much any other imperative language.  The codebase is quite large, which is the biggest hurdle for new developers.18:06
natefinch-afknick natefinch18:06
=== natefinch-afk is now known as natefinch
natefinchpeterklipfel: I woudl start here: https://github.com/juju/juju/blob/master/CONTRIBUTING.md18:07
peterklipfelnatefinch: Right, I'm struggling to wrap my head around the codebase. I have the repository up and running, and have read through the contributing doc. I'm wondering if there's an architecture doc or something somewhere18:08
natefinchpeterklipfel: adding the ability to use custom images is something we've been wanting to do for forever, but just haven't been able to put it up to the top of the priority list18:08
natefinchpeterklipfel: I don't know if we really have a good architecture document.  There's some docs here: https://github.com/juju/juju/tree/master/doc   but a bunch are very old (note that some of them say "2 years ago"... which is a lifetime in the life of juju)18:09
natefinchpeterklipfel: luckily... using custom images would just be something to be able to specify in the communication to the provider (openstack in this case), and the providers are pretty self-contained18:10
peterklipfelnatefinch: I totally missed the "doc" folder. Thanks! Will be back later18:11
natefinchpeterklipfel: probably you'd want to make image a constraint, as defined here: https://github.com/juju/juju/blob/master/constraints/constraints.go   and then figure out how to get the openstack provider to do the right thing with it inside its StartInstance method here: https://github.com/juju/juju/blob/master/provider/openstack/provider.go#L94418:12
peterklipfelnatefinch: awesome. Thanks again18:14
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
katconatefinch: wrapping up last meeting19:03
natefinchkatco: ok19:03
=== kadams54 is now known as kadams54-away
bachey whit, thanks for the note on that juju-deployer bug.  any plans to get that moving? i think tvansteenburgh has commit rights now, which may speed things up.19:42
whitbac, yeah...19:44
whitbac, hazmat requested a test, and I've not had a chance to get back to it19:44
bacyeah, no one's favorite project.  :)19:44
whitit's a bit wierd because of the fact that it's dependent on git19:45
whit(testing that is)19:45
whitwell, no single maintainer.19:45
* whit has no ill will towards deployer19:46
hazmatwhit: just set HOME=tmpdir()  and record identity .. you can setup a temp repo that way in the test without pulling down anything or checking in a repo19:53
hazmatalternatively just checkin a small git repo19:54
hazmatwhit: the particular error that i saw was that it didn't respect JUJU_REPOSITORY env var19:54
whithazmat, not sure about that one19:55
mupBug #1457645 was opened:  warning: log line attempted over max size - leadership related <landscape> <juju-core:New> <https://launchpad.net/bugs/1457645>20:35
mupBug #1457645 changed:  warning: log line attempted over max size - leadership related <landscape> <juju-core:New> <https://launchpad.net/bugs/1457645>20:38
mupBug #1457645 was opened:  warning: log line attempted over max size - leadership related <landscape> <juju-core:New> <https://launchpad.net/bugs/1457645>20:44
natefinchwhat the heck is this even supposed to mean?  "missing namespace, config not prepared"20:46
perrito666the config is not prepared, you are missing a namespace20:47
natefinchthanks :/20:47
perrito666natefinch: where do you see that?20:47
natefinchwhen I do juju status on my local environment that is currently running20:47
natefinchI have a feeling something in the CI tests fubared my environment20:48
natefinchare we still supposed to have jenv files?20:49
* natefinch notes he no longer has a local.jenv20:49
perrito666natefinch: the comment in the code does not make much sense either20:49
natefinchI think we are.  I think something in the CI tests blew away my jenv without destroying the CI tests20:50
natefinchyeah20:50
natefincher sorry, without destroying the environment20:50
thumpernatefinch: the namespace is added to the local config at environ prepare time20:51
thumperso if you aren't getting it, something has gone wrong20:52
natefinchthumper: I had no jenv for my local environment for some reason20:52
thumpernatefinch: are you running with the jes flag?20:52
natefinchthumper: nope20:52
* thumper thinks20:52
thumpernatefinch: in the jes-cli branch, we now have 'cache.yaml' instead of .jenv files20:53
thumperbut this won't be impacting you20:53
natefinchluckily, I have a script to blow away my local environment for just this kind of situation.  Notably it outputs "rm: cannot remove ‘/home/nate/.juju/environments/local.jenv’: No such file or directory"20:54
natefinchthumper: honestly, it was the error message more than anything that confused me.20:54
thumperhmm..20:55
natefinchthumper: totally not a useful error message for an end user, unless there's a juju prepare-config command I don't know about20:55
thumperagreed20:55
thumpersome developer error messages should really be caught and translated into 'user speak'20:55
natefinchbut hey, maybe it's different with jes now... might get lucky20:55
natefinchyep20:55
natefinchdinner time.  Back later folks.21:00
=== natefinch is now known as natefinch-afk
ericsnowcould I get some eyes on patches revert changes that are breaking CI: http://reviews.vapour.ws/r/1757/ http://reviews.vapour.ws/r/1758/ http://reviews.vapour.ws/r/1759/21:09
mwhudsondavecheney: i'm still amazed by the effectiveness of my golang-dev trolling about gc21:14
davecheneymwhudson: yeah21:17
davecheneyit's been rather productive, we've now ruled out custom allocators21:17
davecheneyand people are talking seriously about making Node and Proj smaller21:17
mwhudsoni wonder if people have noticed how very slow the linker is21:19
mwhudsoni could try some trolling in that direction21:19
mwhudsondavecheney: you know that bit in cmd/go's build.go about link order for gccgo builds21:53
mwhudsondavecheney: that we've fixed 1 million times21:54
mwhudsondavecheney: if someone were to hypothetically rewrite it entirely, how would they know they haven't broken it?21:54
ericsnowkatco: could you take a quick look at the other two as well (strictly reverts)22:00
ericsnowthanks davecheney22:19
davecheneymwhudson: try to build juju is a good teest22:27
cheryljdavecheney: could you take a look at my changes for your review comments? http://reviews.vapour.ws/r/1740/22:29
mwhudsondavecheney: ack22:40
mwhudsondavecheney: any idea how long "go test -compiler gccgo github.com/juju/juju/..." will take?22:53
mwhudson30 mins or so?22:54
voidspacemwhudson: hey michael22:55
voidspacemwhudson: o/22:55
mwhudsonvoidspace: hi!22:55
voidspacemwhudson: I'm up late doing (another) maas install22:55
voidspacemwhudson: how are things?22:55
mwhudsonhm, pretty sure the go process isn't supposed to spin using 100% of cpu :(22:56
voidspace:-)22:56
mwhudsonvoidspace: ok, trying to actually make debian packages that contain go shared libraries now22:57
voidspacemwhudson: very cool22:57
mwhudsonwhich involves a surprising and unfortunate amount of perl22:57
voidspacehehe, my commiserations22:58
mwhudsonvoidspace: how about you? are you sleeping with tcp illustrated under your pillow? :)22:58
voidspacemwhudson: I should be!22:59
voidspacegradually learning22:59
voidspacemostly learning the peculiarities of maas recently23:00
voidspacenot sure that's such a transferable skill23:00
voidspaceI like maas though23:00
mwhudsonheh23:00
mwhudsoni've wrangled it a bit in the past23:01
voidspaceabout to test bleeding edge apis around container IP address releasing23:01
voidspacewhich means installing bleeding edge maas23:01
voidspacewhich fails to configure when installed from the dailybuilds ppa23:02
voidspaceso back to a vanilla install and then upgrading23:02
voidspaceseeing as I can't work out how to manually run the configure script23:02
voidspacethankfully so far their upgrades have always done the right thing23:03
voidspaceunlike ubuntu23:03
voidspaceknown issue - if you have an encrypted hard drive then upgrading to 14.10/15.04 means you can no longer enter the password23:03
voidspacefortunately you can still boot through recovery mode, which has a text password entry23:03
voidspacebut given that there's no supported way of removing encryption I'm doing a recovery mode boot every time23:04
mwhudsonha oops23:04
voidspace:-)23:04
mwhudsoni avoided that problem by having my laptop fall apart just before 15.04 was released23:05
voidspacethat's one way I guess23:05
voidspaceI haven't dared upgrade my laptop23:05
mwhudsonalthough the gyrations required to mount my encrypted home dir from the drive after i'd pulled it from the laptop and stuck it in a caddy were... contorted23:06
mwhudsonpartly because i'd installed with lvm23:06
voidspace:-/23:06
voidspacecomputers23:06
mwhudsonyeah, otoh usb3 + ssd = pretty fast restore23:06
mwhudsonvoidspace: about configuring maas, you should talk to rbasak23:07
voidspacemwhudson: thanks23:07
mwhudsonhis point is that setting up maas requires orchestration, i.e. juju23:07
voidspacemwhudson: if this doesn't work I will do23:07
mwhudsonbut there's a bootstrapping problem there :-)23:07
voidspaceheh23:07
mwhudsonhe had some crazy scheme to use it regardless but i don't know what it was23:07
mwhudsoni don't know if he would be of practical help23:08
voidspaceinstalling maas is supposed to run configuration23:09
voidspaceand if you're *supposed* to do it a different way they should document that23:09
mwhudsoni'm pretty sure installing maas is supposed to work, yea :)23:09
voidspaceit certainly always used to work23:10
mwhudsonBroadcast message from systemd-journald@glamdring (Fri 2015-05-22 11:27:36 NZST):23:28
mwhudson[14085]: 2015-05-21 23:27:36 INFO juju.testing mgo.go:514 reset successfully reset admin password23:28
mwhudsonwtf23:28
voidspaceyeah, running the test suite on vivid spams systemd messages to the terminal23:28
voidspaceericsnow knows and cares23:28
ericsnowmwhudson: see #145625823:30
mupBug #1456258: systemd broadcast message spam during test run <papercut> <unit-tests> <juju-core:Triaged> <juju-core 1.23:Triaged> <juju-core 1.24:Triaged> <https://launchpad.net/bugs/1456258>23:30
mwhudsonah cool23:30
voidspaceright, I've failed to get MAAS working23:31
voidspaceI've got as far as internal server error23:31
voidspacecan't connect to cluster in the logs23:31
voidspaceI'm going to bed23:31
voidspaceg'night all23:31
mwhudsoni think running the tests with gccgo ran my machine to close to out of memory23:35

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!