/srv/irclogs.ubuntu.com/2014/08/19/#juju-dev.txt

davecheneythumper: grrr00:06
davecheneythis canWatch("") thing is really pernicious00:06
davecheneygonna take some more time00:06
* thumper looks in a dictionary00:06
davecheneykeep finding more test cases that fail whenever I make AuthAlways demand a valid tag00:07
thumperheh00:07
thumperit will be worthwhile00:07
thumperyou're doing a good job00:07
thumperkeep it up :)00:07
menn0now that's what I call Managing :-p00:07
menn0and Github is broken...00:27
menn0Storage server temporarily offline. See http://status.github.com for GitHub system status.00:27
menn0the graphs on that page show a sudden spike in Exceptions00:28
waiganiI'm getting random prs going offline e.g: https://github.com/juju/juju/pull/49900:30
waiganiand https://github.com/juju/juju/pull/51700:31
waiganican others see those prs?00:32
waiganioh, haha menn0 I just read your messages above00:32
waiganithat would explain it00:32
menn0haha00:33
menn0status.github.com is now broken too :)00:33
menn0"Service Unavailable"00:33
menn0it's back00:33
menn0and now they have a note that they know something is wrong with some repos00:34
menn0awesome00:36
menn0thumper: my merge passed its test run but CI was unable to perform the merge because the repo on Github is borked ("Repository offline")00:37
menn0thumper: once Github is back will a manual merge be possible?00:38
thumperhmm...00:38
thumperI'd say go with CI doing it again00:38
thumpergithub say some repos are borked?00:39
menn0thumper: yep. See the email I just forwards to juju-dev.00:41
menn0thumper: the web stuff seems to be fine but interacting with the repo isn't working.00:41
thumper:(00:42
menn0thumper: it's back again00:42
menn0can someone have a quick look over this? It's the 1.20 backport of the tools version change that's going in to trunk. https://github.com/juju/juju/pull/53800:44
menn0thumper: the bot won't pick up the PR that it's already tested00:59
menn0thumper: any chance you can click the merge button (I thought team leads could do this)00:59
menn0thumper: the tests passed here: http://juju-ci.vapour.ws:8080/job/github-merge-juju/328/00:59
menn0thumper: the PR is here: https://github.com/juju/juju/pull/53501:00
thumperwallyworld_: do you know how to kick this bot?01:01
wallyworld_wot01:01
wallyworld_bot is kicked01:03
thumperwallyworld_: ta01:04
thumpernice01:04
wallyworld_you just need a "Build Failed: blah" comment01:04
wallyworld_to tell the bot that a $$ $$ is valid01:04
wallyworld_a second $$ $$ i should say01:05
wallyworld_thumper: could i get you to look at this pr. it's a 1.20 only fix to address an lxc startup issue https://github.com/juju/juju/pull/53901:45
thumperack01:45
wallyworld_ta01:45
davecheneythumper: menn0 waigani https://github.com/juju/juju/pull/54001:48
davecheney^ quite a nice solution i think01:49
* thumper afk for bit from 2pm01:50
wallyworld_axw: once you finish your maas branch changes, i just wanted to have a quick chat about copying tools02:03
axwwallyworld_: sure02:03
wallyworld_ta, just ping me02:03
* bigjools cracks joke about copying wallyworld_02:03
* wallyworld_ tells bigjools to FO02:04
axwwallyworld_: changes uploaded, ready to chat when you are02:08
wallyworld_axw: i'll just lgtm first, one sec02:09
wallyworld_axw: i'm still not sure why we need to pass in the series to the tools match, when we get the series from the tools we are matching on. the only reson i can see ottomh is so that we get the error if there is more than one series02:11
axwwallyworld_: ah, right02:12
axwI don't know why I did that now02:12
axwwallyworld_: I've taken it out, that was nonsense AFAICT02:13
wallyworld_ok, i've marked it as lgtm02:13
axwthanks02:13
wallyworld_join you in stand up02:13
menn0axw or wallyworld_: can you do a 10s look at this please? https://github.com/juju/juju/pull/53802:14
wallyworld_sure02:14
wallyworld_10, 9, 8, ....02:14
menn0it's the 1.20 backport of the agent.conf tools version change that just went in02:14
menn0axw: thanks02:23
axwnp02:23
axwjcastro: https://plus.google.com/102738380796586573408/posts/BD1bYop5x7z02:51
axw(the post I got you to review)02:52
axwwallyworld_: ^^ finally published02:52
wallyworld_axw: \o/ - i was meaning to ask you about that but kept forgetting02:52
axwwallyworld_: was waiting for a new 1.20 release02:53
wallyworld_ah, yes02:53
davecheneyaxw: appears to be truncated02:56
davecheneyWork on llgo  has been progressing, mostly due to Pe...02:56
axwoh ffs02:57
axwthe link dropped02:57
axwdavecheney: thanks, fixing02:57
axwjcastro: wallyworld_: davecheney: https://plus.google.com/+AndrewWilkinsTheFirst/posts/EfTDNXS4SET02:59
menn0davecheney, wallyworld_: bug 1358078 sorted for trunk and 1.20 \o/03:16
mupBug #1358078: cmd/juju: juju bootstrap --upload-tools on a fresh environment triggers upgrade mode <juju-core:Fix Committed by menno.smits> <juju-core 1.20:Fix Committed by menno.smits> <https://launchpad.net/bugs/1358078>03:16
wallyworld_great :-D03:16
wallyworld_thank you03:16
davecheneynnnice03:17
menn0wallyworld_: just for you :)  https://github.com/juju/juju/pull/54103:55
wallyworld_oh goody03:55
davecheneythumper: if you have a momemnt, i've replied to your comments, https://github.com/juju/juju/pull/54003:57
thumperdavecheney: ack04:10
menn0wallyworld_: thanks for the review. merging now.04:11
wallyworld_np, thaks for fixing04:12
davecheneythumper: thanks for the review04:14
davecheneyone more coming up real soon now04:14
thumperkk04:14
davecheneyit's very similar04:16
davecheneywhat I think happened is we started out with the common.AuthFunc04:17
davecheneywhich says "this authoriser" can read/write/view/etc this entity (tag)04:17
davecheneybut common.Environ{,Machines}Watcher are really "global"04:17
davecheneythings04:17
davecheneythis is also indicatated that Authtorizer.AuthEnvionWatcher is not derived from the entity of the authoriser04:18
davecheneyit's actually some special permission bit stored in the database04:18
davecheneymenn0: nice cleanup of the upgrade stuff04:20
davecheney+104:20
menn0davecheney: cheers04:22
thumperwaigani: can you email matty and say you'll take over the EnvUser work?04:37
thumperaxw, wallyworld_: do you know if fwereade is working this week? I normally leave before he would start04:38
wallyworld_yes he is04:38
thumperok..04:38
waiganithumper: this branch: https://github.com/juju/juju/pull/43204:38
thumpercheers04:38
thumperwaigani: yes04:38
waiganithumper: okay, I was on call reviewer today. I'll make a start on it tomorrow.04:38
thumperwaigani: can I get you to email him before EOD today, so he'll see it?04:39
waiganithumper: doing it now04:39
thumpercheers04:39
thumperwaigani, davecheney, menn0: fyi - I have friday off04:39
waiganiokay, thanks for the heads up04:39
* thumper just realised that I also have a meeting friday morning...04:40
thumperhmm...04:40
menn0waigani, davecheney: party time!04:40
* thumper emails rick_h__ et al04:40
menn0wallyworld_: aaaaaaand here's the 1.20 port: https://github.com/juju/juju/pull/54204:46
wallyworld_thanks menn004:48
menn0wallyworld_: thanks. I'll leave you alone for the rest of the day :)04:48
wallyworld_promise,promises04:48
davecheneythumper: https://github.com/juju/juju/pull/54304:59
thumperdavecheney: done, and now I'm off to guardians of the galaxy05:03
thumper\o/05:03
davecheneyTheMue: danka05:04
davecheneyenjoy05:04
davecheneyi really hope this is the last little fucker05:05
menn0davecheney: thumper was gone when you replied so autocomplete got the wrong person :)05:05
davecheneyoopas05:06
davecheneyTheMue: sorry mate05:06
=== urulama-_ is now known as urulama
davecheneywallyworld_: Fetched 8,775 kB in 5s (1,593 kB/s)05:37
davecheneyReading package lists...05:37
davecheney+ sudo apt-get upgrade -y05:37
davecheneyis there any way to stop the bot05:37
davecheneydoing apt-get update/upgrade for every CI run ?05:37
davecheneythat isn't necessary05:37
davecheneyhttps://github.com/juju/juju/pull/54505:50
davecheneyanyone for a little one ?05:50
davecheneyit's pretty uncontravesial05:50
wallyworld_davecheney: apt updates are necessary to pull in all the deps required05:54
davecheneywallyworld_: nah05:55
davecheneywhy is it updating the kernel and building an initrd05:55
wallyworld_the instances started to run the test aren't necessarily up to date05:55
davecheneythat is a waste of time05:55
wallyworld_sure, but besides the kernel it also pulls in other dependencies that are needed AFAIK05:56
dimiternmorning all05:56
axwwallyworld_: my memory is hazy, why do we need auto-upload on bootstrap? why not just require people to --upload-tools?06:19
wallyworld_axw: from memory, it was "too hard" and the out of the box experience should be that it Just Works if there are no matching prepackaged tools available06:20
axwwallyworld_: mk. I'm not sure it holds its weight given that it only applies to dev builds06:21
axwit's a bit of a PITA to try to get it to work the same way in my new branch06:22
wallyworld_i'm not personally wedding to the idea of it being automatic - it was done because of user requests06:22
wallyworld_wedded06:23
wallyworld_we can look to get your stuff landed and see if it can be tastefully added back in06:23
fwereadewallyworld_, axw: IMO --upload-tools is pretty fundamentally broken06:23
wallyworld_i wish we could drop it06:24
wallyworld_but we've been told we can't06:24
fwereadewallyworld_, axw: but the magical fall back to locally available tools is a good thing06:24
axwfwereade: remind me why --upload-tools is fundamentally broken?06:26
TheMueMorning06:34
TheMuedimitern: I'm at a funeral this morning. So I'll start after lunch. :(06:36
dimiternTheMue, oh :( alright then06:36
TheMuedimitern: I would like to discuss your idea then. IsManual is special to machines, so I would place it at machiner.Machine, not agent.Entity.06:37
TheMuedimitern: Will ping you then.06:37
dimiternTheMue, ok, we'll discuss it06:37
TheMuedimitern: Thanks06:38
Beretwallyworld_, anyway we can get whatever fix you guys deem appropriate for https://github.com/juju/utils/pull/22 in 1.20.x ?06:58
wallyworld_Beret: i think so. by the looks of the comment from kapil, the approach needs to be re-thought. we can try and get it done for 1.20.607:00
Beretthanks07:01
wallyworld_i'm hoping that 1.20.6 might be able to be released this time next week07:01
Beret+107:01
Beretwe're trying 1.20.5 but from the looks of the bug fix list, it should be pretty solid07:01
Berethoping so07:01
wallyworld_we're still struggling a bit to inderstand fully the lxc issues being seen07:01
Beretthat's the only thing really outstanding still right? (other than this apt retry thing)07:02
wallyworld_there's a few other smaller bugs07:02
wallyworld_Beret: if there's any extra info that can be provided for bug 1354027 that would be great eg contents of /var/lib/juju/containers when it fails07:03
mupBug #1354027: LXC was not created, no errors, no logs -> pending state. <cloud-installer> <landscape> <juju-core:Triaged> <juju-core 1.20:Triaged> <https://launchpad.net/bugs/1354027>07:03
Beretwallyworld_, ok, we'll see what we can do07:07
wallyworld_thanks :-)07:07
fwereadeaxw, sorry, I missed your question07:07
axwfwereade: hey, it was07:08
axwfwereade: remind me why --upload-tools is fundamentally broken?07:08
fwereadeaxw, the biggest issue with upload-tools is that it's the core reason tools distribution was always so awful07:08
fwereadeaxw, it was a separate code path written *really* early on07:08
fwereadeaxw, and the developers were *always* using upload-tools07:09
fwereadeaxw, and so the real code paths... well, they barely even existed, and certainly weren't mature, when we first released07:09
fwereadeaxw, then users found out about upload-tools07:09
fwereadeaxw, which obscures really important info, like *which damn build is running*07:10
fwereadeaxw, but let them actually use juju07:10
fwereadeaxw, so it got kinda promoted07:10
fwereadeaxw, and hangs around our necks to this day07:11
axwok07:11
fwereadeaxw, finding local tools of matching version and using those automatically, though? that's fine IMO07:11
axwfwereade: with the auto upload stuff, I'm trying to avoid having providers call back into common bootstrap code to "ensure tools"07:12
axwI think I can do it, it's just a bit messy07:12
axwin my new branch, environs/bootstrap finds all the available tools, and presents them to provider's Bootstrap07:12
axwthat chooses an arch & series and reports that back07:12
fwereadeaxw, it's always a tough call but I could probably get behind a bit of extra duplication across the providers if we actually simplify what's happening07:13
axwcommon code then uploads if necessary07:13
fwereadeaxw, that sounds good07:13
fwereadeaxw, slightly better fit with what we do for normal machines07:13
voidspacespeaking of upload-tools, I think backup is broken if you use it (at least I'm seeing a path issue for mongodump that only seems to happen with upload-tools)07:28
voidspaceand that makes it a real pain to test changes to restore...07:28
voidspacejam: TheMue: dimitern: standup?10:46
dimiternsorry, brt10:47
jamvoidspace: dimitern, brt,10:50
=== cliff-hm is now known as cliff-eat
=== cliff-eat is now known as cliff-hm
voidspacejam: I don't think you succeeded in pushing your changes11:32
voidspacejam: github thinks that branch is identical to master11:32
jamvoid11:32
voidspacehttps://github.com/jameinel/juju/compare/test-local-backup11:32
jamvoidspace: master is, but 'test-local-backup' has the interesting stuff11:32
voidspacejam: according to github compare "juju:master and jameinel:test-local-backup are identical."11:32
=== gsamfira1 is now known as gsamfira
voidspaceooh, it looks like restore might be working against an amazon juju11:34
jamvoidspace: committing helps11:34
voidspacebackup failed until I linked in the commands, but restore has not failed in the same way that restore failed against canonistack11:34
voidspacejam: :-)11:34
voidspacelocal will definitely be faster11:35
voidspacejam: I was booted out12:18
voidspacejam: https://github.com/voidspace/juju/compare/backup-ssh12:23
voidspaceericsnow: ping12:41
voidspaceericsnow: have you worked on the old backup plugin?12:41
TheMueback again (together with a heavy thunderstorm)12:58
jamTheMue: welcome back, we missed you. How's it going?13:06
TheMuejam: it’s ok, has been the father of a good friend I know for more than 30 years now13:15
jamTheMue: do you have a bug number for the LXC IPv6 issues?13:21
jamI want to raise it in the networking discussion.13:21
TheMuejam: yep, https://bugs.launchpad.net/juju-core/+bug/135837613:23
mupBug #1358376: IPv6 connectivity of LXC containers <ipv6> <lxc> <network> <juju-core:New> <https://launchpad.net/bugs/1358376>13:23
ericsnownatefinch, wwitzel3: standup?14:00
wwitzel3ericsnow: yep14:01
natefinchericsnow: coming14:01
=== ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Open critical bugs: 1358768
sinzuinatefinch, I just reported bug 1358768. Can you find an engineer to fix the regressions14:18
mupBug #1358768: No tools found in i386 and ppc64el unit tests <ci> <regression> <juju-core:Triaged> <https://launchpad.net/bugs/1358768>14:18
natefinchsinzui: will do14:32
ericsnownatefinch: 1-on-1?14:34
natefinchericsnow: oh yeah, ok14:34
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
natefinchdammit, I'm getting 500s from github trying to look at commits on juju/juju17:35
wwitzel3natefinch: I was getting that earlier through the browser17:36
wwitzel3natefinch: though everything through the git command line seemed to be working ok17:36
katconatefinch: wwitzel3: i know they had some storage issues last night17:36
wwitzel3doesn't help for looking at PRs17:36
wwitzel3katco: ahh, probably some residual issues from that then17:37
katcowwitzel3: https://status.github.com/17:37
katcowwitzel3: natefinch: 0:28 UTC: We're investigating problems accessing a small percentage of repositories.17:38
natefinchkatco, wwitzel3 : thanks17:41
=== BradCrittenden is now known as bac
natefinchrick_h__: have some time today to talk about charm feature flags?  We need to implement support for them, probably this week.18:29
rick_h__natefinch: sure thing19:01
rick_h__natefinch: free from now for the next couple of hours19:01
natefinchrick_h__: half hour?  trying to unblock CI19:01
rick_h__natefinch: rgr, shoot me a link when you're ready19:02
natefinchsinzui: fix applied.... required revert of https://github.com/juju/juju/pull/53619:06
natefinchsinzui: I didn't look too deeply into the cause of the bug, possibly something simple... looks like we're restricting the list of returned tools based on the current architecture... but figured Andrew can fix it when he's on and re-submit.19:07
sinzuithank you natefinch19:08
natefinchsinzui: where do the CI machines keep godeps?  I wrote a test that runs godeps and ensures dependencies.tsv matches what godeps outputs.... but the test fails in CI because it can't find godeps.19:18
=== Ursinha is now known as Ursinha-afk
sinzuinatefinch, godeps is not available. It is installed to create the tarball, then it is removed because Ubuntu doesn't want it packaged19:23
sinzuinatefinch, we need to add godeps to the makefile maybe to ensure it is available for tests19:24
sinzuinatefinch, or we tell ubuntu that godeps is now a requirement19:24
natefinchsinzui: how can we run the tests if we don't run godeps first?   Sorry, maybe CI was the wrong word... wherever the unit tests get run19:26
natefinchsinzui: I presume there's a machine where we pull down the code, run godeps to set the correct revisions on all the repos, and then run go test.  That's the machine I need to be compatible with my test19:27
natefinchsinzui: see here: https://github.com/juju/juju/pull/49519:27
sinzuinatefinch, we test the release, not the code. we test that tarball made in a previous step.19:30
sinzuinatefinch, run-unit-test runs make install-dependencies after unpacking the tarball under test to get the deps19:31
sinzuinatefinch, Since you name have a test that requires godeps, I think I can justify that the tarball include it.19:32
natefinchsinzui: ok, thanks. Please dump it in $PATH or $GOPATH/bin - those are the only two logical places where developers would have it.19:43
sinzuioh, natefinch, the tarball cannot contain /bin because then the tarball is not a source tarball.19:45
sinzuinatefinch, I think we need to change the test rules to build...19:45
sinzuinm, we already call build19:45
sinzuinatefinch, I will make changes in a few hours to include godeps in the tarball.19:46
sinzuiI will ping you when it is ready19:46
natefinchsinzui:  thanks.  This is just the tarball we dump on the test machine for testing... we wouldn't be including godeps in the package, right?19:46
sinzuiNO19:47
sinzuinatefinch, this is the real tarball19:47
sinzuisince golang cannot be trusted to always build the same tarball (Ubuntu's opinion) we make it once, we test it as the release, and if it passes, I can release it19:47
sinzuiWe cannot tamper with the tarball's contents once we make it19:48
natefinchsinzui: ok, sure.  If ubuntu's rules require that we include a whole bunch of crap that the actual application doesn't even use, just because it's used to test the application, so be it.  I'm tired of trying to fight that fight.19:49
sinzuinatefinch, that is indeed the reason they wanted it removed19:49
sinzuinatefinch, why doesn't the juju Makefile ensure godeps is installed?19:50
sinzuinatefinch, I can make that change too19:50
natefinchsinzui: it looks like on july 7th, it was changed so that it wouldn't install it unless a certain env variable was set19:50
sinzuinatefinch, the Makefile or make-package-with-tarball.bash, or run-unit-tests?19:52
natefinchsinzui: https://github.com/juju/juju/blob/master/Makefile#L3619:52
sinzuinatefinch, sorry. I was looking at 1.20.19:54
sinzuinatefinch, okay, I will get this change into 1.20 and change run-unit-tests to call it19:54
natefinchsinzui: the godeps build target I think will fail if you don't have the actual code.... possibly it'll just go download all the code for all the dependent repos.19:56
natefinchsinzui: I think the latter19:56
sinzuinatefinch, I see it doing go get launchpad.net/godeps19:56
sinzuinatefinch, and I can add a step to install it if need be in run-unit-test.19:56
natefinchsinzui: there's two steps, go get launchpad.net/godeps and then godeps -u dependencies.tsv19:56
sinzuiI see both in the current Makefile19:57
natefinchsinzui: yes, the second one, godeps -u, will go get all the source code for Juju and set the repos up to be at the correct revision19:57
natefinch(well, it'll get all the source code for juju that isn't under github.com/juju/juju)19:58
=== urulama is now known as uru-afk
natefinchsinzui: *I* don't care that it'll do that.... just warning you that it will, in case that will either a.) fail, or b.) be a problem for some other reason19:59
sinzuinatefinch. The making of the tarball 15 minutes before is more likely to catch the problem20:00
sinzuinatefinch, when thumper drops a tab, the tarball doesn't build, testing ends immediately because there is nothing to release20:01
sinzuinatefinch, So i think think this test will always pass in ci20:01
sinzuinatefinch, and the git-merge-juju will do the same since the tarball is made before the unit tests are run from it20:02
natefinchsinzui: This test will *currently* always pass CI, I believe.... but it could fail if we stop running godeps -u first, which is a nice thing to test.  Mainly it's for developers who may forget to run godeps -u20:04
=== Ursinha-afk is now known as Ursinha
natefinchrick_h__: do you have time now?20:15
rick_h__natefinch: sure thing20:15
natefinchrick_h__: https://plus.google.com/hangouts/_/canonical.com/moonstone?authuser=120:15
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
thumperfwereade: around?20:34
* thumper is off to see the physio at 1021:28
waiganithumper: AdminUser is defined as a const string in state. Do we want to ditch that and make AdminUser a names.UserTag("admin") ?22:11
waiganithumper: or do we want to build the tag everywhere AdminUser is used?22:11
waiganii.e. names.UserTag(state.AdminUser)22:12
waiganidoh just saw thumper is at physio22:12
=== mup_ is now known as mup
thumperwaigani: back22:42
thumperwaigani: no, we don't want to do that22:42
thumperwaigani: I actually have a directive to change the admin user to be the username of the user bootstrapping22:42
waiganithumper: okay, I've just built the usertag where I needed22:42
waiganithumper: I commented another question on the PR for you22:43
thumperwhich PR?22:43
waiganithumper: 43222:45
waiganithumper: https://github.com/juju/juju/pull/432/files22:45
thumperkk, otp with hazmat22:45
waiganithumper: basically, are we ready to append env to usernames i.e. bob@local and should I look at doing that in this PR?22:46
thumperwaigani: not yet22:46
thumperfollowed by "it depends"22:46
waiganithumper: I'm good with "not yet"22:48

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