/srv/irclogs.ubuntu.com/2015/02/03/#juju-dev.txt

=== kadams54-away is now known as kadams54
=== axw_ is now known as axw
=== kadams54 is now known as kadams54-away
thumperwaigani: http://reviews.vapour.ws/r/844/diff/#01:19
=== kadams54-away is now known as kadams54
thumperaxw: hello there02:32
axwthumper: ahoy02:32
thumperaxw: I have a couple of small interesting reviews if you can have your rubber stamp handy :)02:33
thumperthis one I'm almost ashamed to ask: https://github.com/juju/utils/pull/109/files02:33
axwsure02:33
thumperedict, remove mess02:33
thumperwe're not entirely sure what we will call it02:33
thumperbut SSS seems a bit weird02:33
thumpershared state server02:33
thumperI'm inclined to go with:02:34
thumperSES: Shared Environment Server02:34
thumperthe other is slightly more interesting02:34
axwheh, that's State Emergency Services over here :)02:34
thumperwhat does that do?02:34
thumperthis one fell out of a branch I was developing, http://reviews.vapour.ws/r/846/diff/#02:35
thumperand it looked useful enough to keep around02:35
axwassistance during storms, floods, etc.02:35
axwthumper: both LGTM02:36
thumperta02:36
thumperperrito666: still alive?02:39
perrito666thumper: yup02:39
thumperperrito666: what's up with the critical bug?02:39
perrito666thumper: azure is being a PITA02:40
thumperno surprise there?02:40
thumperdo you know what is wrong?02:40
=== kadams54 is now known as kadams54-away
perrito666I am not managing to reproduce that because I get other kinds of failures yet I am looking into the output and trying to deduct it, ill be back to you in a moment02:42
perrito666thumper:  there you got my +1 on the mail02:54
thumper:)02:54
thumpercheers02:54
perrito666man how can these runs take so much to run, even though I am running it on a dedicated machine02:55
perrito666abentley: are you really here?03:00
waiganithumper: http://reviews.vapour.ws/r/819/03:03
perrito666axw: are you around03:06
axwperrito666: hey. yes, I am03:06
perrito666axw: could you lend me a bit of your azure knowledge?03:07
axwperrito666: you can have it all and keep it ;)03:07
axwhow can I help?03:07
perrito666I am trying to discern the email conversation you had with abentley03:08
perrito666axw: what did you suggest him to do exactly? to delete the whole env or just the machine?03:10
axwperrito666: neither03:10
axwperrito666: he was deleting the deployment from a cloud service03:11
axwperrito666: but leaving the cloud service intact... I suggested he delete the cloud service altogether03:11
axw(as a workaround)03:11
perrito666mmm, I wonder if there is a limitation in azure that is preventing us from determining if the "machine" for machine 0 is there03:12
thumperanyone... http://reviews.vapour.ws/r/848/03:17
axwperrito666: isn't the point that machine-0 is dead?03:18
perrito666axw: it is, but restore plugin is dumb03:19
axwperrito666: so, looking at the azure code, if there are no live state servers it returns "ErrNotBootstrapped"03:19
axwin StateServerInstances03:19
perrito666mmm, that is a bug, it is inconsistent with the other providers03:20
axwperrito666: IMO, the *other* providers are buggy. they return spurious results from StateServerInstances03:21
axwi.e. instance IDs for things which don't exist03:21
axwperrito666: it possibly shouldn't be returning ErrNotBootstrapped though03:22
axwmaybe just ErrNoInstances03:22
perrito666axw: the env is bootstraped03:22
perrito666exactly03:22
axweven still, restore would fail03:22
perrito666axw: 2 things there03:22
perrito6661) it should be consistent, if we are going to correct that behavior we should do it in all providers at once :)03:23
perrito6662) ErrNoInstances is waaaay les ambiguous than ErrNotbootstrapped03:23
axwperrito666: agreed on both counts03:24
perrito666axw: so it does check that the instances are alive03:32
axwperrito666: what does?03:32
perrito666axw: srry was ruberducking and your nick was on the prompt03:32
axwperrito666: if you mean restore, yeah I know; that's fine but StateServerInstances shouldn't be expected to return non-empty if there are no live state server instances03:33
perrito666agree, i was realizing we have a bug, another one, where  no provider is checking if the instances are live when returning them03:34
perrito666is it possible that dependencies.tsv is out of date?03:40
axwperrito666: out of date with what?03:44
perrito666axw: well master is not building in my machine :03:44
perrito666with what seems to be an out of date golxc issue03:44
axwperrito666: the bot should fail if dependencies.tsv is out of date03:44
perrito666axw: i know, but it has been known to eff up :p03:45
perrito666also I see an odd error in hooks about storage03:46
perrito666could anyone confirm if its just me or what?03:56
perrito666I have two machines failing with the same issue here03:56
perrito666ok there is this https://github.com/juju/juju/pull/1524 which I am pretty sure it fixes the thing although I did not compile it, for obvious reasons04:00
perrito666i really need to go to bed before sleeping on my computer and/or being eaten by mosquitoes if anyone (axw i am looking at you) wants to take a peak at it and perhaps merge it I would be thankful otherwise ill take a look in the morning04:02
* perrito666 looks at axw04:02
* axw looks at perrito66604:02
axwwill look :)04:02
axwgood night04:02
perrito666tx a lot, good... day?04:02
axwyes, midday :)04:03
perrito666:D cheers then, enjoy the rest of the day, if it compiles, that patch is quite safe and most likely the fix04:04
perrito666cheers04:04
mattywmorning folks04:59
mattywI just go this error on almost tip ec2: ERROR cannot remove recorded state instance-id: Get : 301 response missing Location header04:59
mattywanyone seen that?05:00
mattywdavecheney, still around? looks like you've seen this before: https://bugs.launchpad.net/juju-core/+bug/108301705:04
mupBug #1083017: Cannot bootstrap with public-tools in non us-east-1 region <ec2> <juju-core:Fix Released by dave-cheney> <https://launchpad.net/bugs/1083017>05:04
TheMueMorning09:04
jamestunnicliffeTheMue: Morning!09:13
dimiternTheMue, jamestunnicliffe, voidspace, hey guys!09:57
jamestunnicliffehi dimitern09:57
TheMuedimitern: heya09:58
dimiternI'll chat with you this afternoon (~2-3h) for what's on for this week, just in case you might be wondering :)09:58
dimiterndidn't quite manage to prepare a mail with work items to pick up09:59
TheMuedimitern: chat is fine. how is capetown?10:00
dimiternnothing critical though10:00
TheMuedimitern: hehe10:00
dimiternTheMue, so far so good - we'll see after lunch after the demo :)10:00
TheMuedimitern: ah10:00
dimiternyeah, forgot to mention - I managed to get it working by integrating all your changes and applying some fixes I found while live testing10:01
dimiternif you're curious - here's the branch I'm using https://github.com/dimitern/juju/tree/wip-containers-demo10:02
TheMuedimitern: fine, you've got it in a branch I can branch now?10:02
TheMuedimitern: there's the answer ;)10:02
voidspacedimitern: hey, hi10:02
dimitern:)10:02
TheMuedimitern: btw, alexis and you will get a mail today. due to signal troubles at kings cross the picadilly line to heathrow has been delayed so that I missed my flight (had already checked in and there still have been 40 minutes left until start, but they said no)10:03
voidspacedimitern: TheMue: jamestunnicliffe: shall we wait for you (dimitern) for standup?10:04
dimiternTheMue, oh, sorry to hear that :/10:04
jamestunnicliffevoidspace: apparently I can't join the call anyway...10:04
jamestunnicliffewill try logging out of other accounts...10:04
TheMuedimitern: so I took the next one and stayed the night on Amsterdam airport :/10:04
dimiternvoidspace, nope, please go ahead - I'm in a discussion now10:04
voidspacejamestunnicliffe: you have to use your canonical account10:05
TheMuedimitern: interesting experience :)10:05
dimiternTheMue, oh boy, well - at least I'm glad you got home alright10:05
TheMuedimitern: yep, all went well10:05
dimiternTheMue, nice, don't worry, we'll sort it out10:06
TheMuedimitern: thx10:06
voidspacedimitern: we're doing standup - speak later10:07
dimitern+110:07
axwperrito666: you should surely be asleep still.. :)  do I need another review, or are you "senior"?10:10
davecheneyaxw: your comment on the issue desn't make sense10:25
davecheneycould you double check the description10:25
davecheneylease10:25
axwdavecheney: wich issue?10:25
axwdavecheney: are you talking about the critical blocker? I haven't commented on the bug... does the description on the PR not make sense?10:26
davecheneythe description doens't make sense10:29
axwdavecheney: hopefully clearer now, going through your comments. thanks for the review10:37
davecheneyno probs10:38
davecheneyi'm off to bed10:38
davecheneyit's ++bloody late here10:38
axwno worries, good night10:38
perrito666axw: I wish I was still sleeping10:43
perrito666axw I like the new description11:06
wwitzel3ericsnow: ping me when you're online11:31
wwitzel3ericsnow: I just need to know which branch of yours I should base my systemd branch off11:34
=== marcoceppi_ is now known as marcoceppi-sast
voidspacetools from https://192.168.178.177:17070/tools/1.23-alpha1.1-trusty-amd64 downloaded: HTTP 000; time 0.000s; size 0 bytes; speed 0.000 bytes/s sha256sum: /var/lib/juju/tools/1.23-alpha1.1-trusty-amd64/tools.tar.gz: No such file or directory12:40
wwitzel3voidspace: that doesn't seem very useful12:41
wwitzel3;)12:41
voidspacewwitzel3: my state server (manually provisioned) doesn't have a tools.tar.gz12:42
voidspacewwitzel3: so I can't manually add a new machine - it tries to download tools.tar.gz12:42
wwitzel3voidspace: hrmmm that is odd12:45
voidspacewwitzel3: part of the problem is that "destroy-environment" with the manual provider doesn't seem to remove everything it puts on the machine12:46
voidspaceand re-provisioning the machine then sees some things already in place12:46
voidspacewwitzel3: what do I do with a service in an error state, how do I get it to retry?12:48
voidspaceso long since I've done that12:48
wwitzel3voidspace: resolved --retry12:50
voidspacewwitzel3: thanks12:50
wwitzel3voidspace: np12:51
dimiternvoidspace, TheMue, jamestunnicliffe, FYI the demo went great guys12:55
jamestunnicliffedimitern: awesome!12:55
dimiternvoidspace, TheMue, jamestunnicliffe, let me thank you again for all the hard work to make this possible!12:55
TheMuebfl12:56
voidspacedimitern: hey, great12:56
TheMuedimitern: wow, great news. thanks to you for driving it forward and doing this presentation.12:56
dimiternI have some news as well - we'll switch the networking work due to deliver in april from maas to openstack (aws is still a focus though)12:57
dimiternthanks! :) that's a great beginning12:57
voidspacedimitern: so we'll complete the maas stuff we've done and add openstack as well?12:57
voidspacedimitern: and going forward focus on openstack and aws12:58
dimiternvoidspace, we'll complete the addressable containers stuff for maas only, then switch to openstack12:58
voidspacedimitern: cool12:58
dimiternvoidspace, it's a pretty tight schedule, but I'm sure we can make it12:59
voidspacedimitern: :-)12:59
dimitern:)13:00
voidspacedimitern: I want to go to lunch, is that ok or do you want to talk to us?13:01
TheMueopenstack is fine, many interests here in germany, for private clouds.13:01
dimiternvoidspace, no, it can wait, go ahead13:03
voidspacedimitern: ok13:03
voidspacethanks13:03
dimiternvoidspace, I'll compose my thoughts and send a mail to you guys later13:03
voidspacegreat13:03
voidspaceI've been fighting the manual provisioner13:03
voidspacenot had a clean deploy with my new code13:03
voidspacehampered by the fact that "destroy-environment" doesn't fully clean up the machine13:03
voidspaceI might want to switch to docker13:04
voidspaceas I really ought to re-provision these kvm images from scratch every time13:04
dimiternvoidspace, oh,  too bad :/13:04
dimiternvoidspace, can you use snapshots?13:04
dimiternfrom a clean kvm, before bootstrapping13:05
voidspacedimitern: virt-manager doesn't seem to ahve snapshots13:05
voidspacedimitern: it has clone, which maybe the same thing13:05
dimiternvoidspace, try virsh maybe?13:05
voidspacedimitern: I'll look into it13:05
voidspacedimitern: I wanted to deploy to a separate unit, also behind the proxy, but add-machine failed because tools.tar.gz didn't exist on the state server machine13:06
voidspacebut anyway :-)13:06
voidspaceok, I'm still seeing an "are you connected to the internet?" error for the charmrevisionworker13:06
voidspaceso my changes are *not* sufficient13:06
dimiternvoidspace, :) I'm sure you'll find a way - jamestunnicliffe can help perhaps?13:07
jamestunnicliffedimitern: voidspace: sure13:07
voidspacenothing concrete to ask for help with yet13:07
voidspacedimitern: I have a successful deploy, just with that error still in the logs13:07
voidspaceso it's definitely an improvement13:07
dimiterncool +!13:07
voidspaceI'll probably propose this as is and continue to work on it13:08
dimiternvoidspace, the apt-proxy format error?13:08
dimiternvoidspace, or the charm revision updater13:08
dimiternvoidspace, I'd suggest proposing the fix for the proxy updater to get it out of the way first13:09
voidspacedimitern: you want me to work on that too?13:09
voidspacedimitern: I can fix that. Just when we fall back actually parse the url and construct the new one correctly.13:10
voidspacedimitern: I was just going to file the issue. Happy to fix it as well.13:10
voidspaceanyway, I'm taking a break13:10
dimiternvoidspace, I think that's a good candidate for jamestunnicliffe perhaps? you guys can sync up on it13:10
voidspacedimitern: ok, cool13:11
voidspacejamestunnicliffe: I'll sync up with you later if that's ok13:11
jamestunnicliffevoidspace: sounds good13:11
voidspacejamestunnicliffe: I'll file the issue describing the problem and point you to the place in the code to fix it13:11
jamestunnicliffevoidspace: great13:11
voidspacejamestunnicliffe: but basically it's valid to specify http-proxy as "<ip addr>:port" but apt-proxy must be "http://<ip addr>:<port>/"13:12
voidspacejamestunnicliffe: and if http-proxy is specified but apt-proxy isn't we use http-proxy for apt-proxy13:12
voidspacejamestunnicliffe: so we have to ensure the format is correct13:12
voidspacejamestunnicliffe: environs/config/config.go I believe13:13
voidspacejamestunnicliffe: plus in proxyupdater there's a bug where an updated apt-proxy setting may not be written out to the apt config file if the file exists (but is out of date)13:13
voidspacejamestunnicliffe: I haven't looked too closely at the cause of that one yet13:13
jamestunnicliffevoidspace: thanks. Have your lunch though!13:14
TheMuejamestunnicliffe: I have to reconfigure my chat client because of your nick, it's indeed very looooong. :D13:15
jamestunnicliffeTheMue: :p13:15
TheMuejamestunnicliffe: it brakes the alignement here13:15
TheMuejamestunnicliffe: so, fixed ;)13:18
perrito666axw: :D13:24
jw4axw: so your fix merged... which tests are we waiting for to remove the blocker?13:57
=== kadams54-away is now known as kadams54
perrito666jw4: you should ask abentley about that14:00
jw4perrito666: I see - it looked like your PR changes were in axw's PR14:03
perrito666they are14:03
perrito666I had a broken env last night and was unable to test them so I left the unpleasant task to axw since he had experience with azure14:04
jw4heh14:04
jw4nice14:04
jw4what time zone is abentley?14:04
jw4are we going to have to wait a day to begin merging again?14:05
perrito666nah, he is in some of the US tzs14:05
jw4perrito666: oh, good14:05
jw4morning abentley :)14:17
abentleyjw4: Morning.14:17
jw4abentley: I see axw's fix for the blocker was merged... which tests are we waiting for before we can remove the blocker?14:18
abentleyjw4: I guess industrial_test.  Where was it merged?  I see it marked as "Triaged" for 1.21 and 1.22, but "In progress" (not fix committed) for master.14:20
jw4abentley: hmm - maybe axw forgot to update the bug? https://github.com/juju/juju/pull/152614:21
jw4maybe he was expecting perrito666 to update the bug? :)14:23
perrito666abentley: jw4 there, fix commited for master14:24
jw4abentley: interesting - industrial_test and industrial_test_azure look sunny to me, but no tests have run for a couple days on either14:27
abentleyjw4: industrial-test is our weekly reliability test, used for this: http://reports.vapour.ws/reliability14:28
jw4abentley: ah, I see14:29
jw4abentley: I assume we won't wait for the weekly test to unblock?14:29
abentleyjw4: No, we wont.14:29
* jw4 thinks he wouldn't have done well with the marshmallow test as a kid14:30
sinzuiperrito666, I am trying to resurrect juju-ci3' juju env. All agent confs have apiaddress: 10.0.3.1:17070. Editing the machines doesn't help because the insane value gets restored. Is this because the state-server has the wrong value? Do we assume the state server have the private dns name for the apiaddress?14:36
perrito666sinzui: otp, brb14:36
alexisbericsnow, wwitzel3, you guys available tomorrow morning for a call with me?14:47
alexisbI need to chat with you guys re providers14:48
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
voidspacejamestunnicliffe: FYI https://bugs.launchpad.net/juju-core/+bug/141761714:49
mupBug #1417617: apt-proxy can be incorrectly set when the fallback from http-proxy is used <juju-core:New> <https://launchpad.net/bugs/1417617>14:49
ericsnowalexisb: sure, what time?14:51
alexisbI sent an invite14:51
alexisbericsnow, I will need you on a call with altoros on thursday too14:51
alexisbI will send an invite14:51
ericsnowalexisb: sounds good14:52
wwitzel3alexisb: yep, sounds good14:54
alexisbthanks guys14:55
jamestunnicliffevoidspace: does the URL require the trailing slash, or just the scheme?14:58
perrito666sinzui: yes, most likely state server has the wrong addr15:09
sinzuiperrito666, indeed bootstrap has the insane adresss. I edited the agent.conf and restarted. I got juju status working by the restart, but the confs were rewritten with the bad address15:15
perrito666sinzui: we really need a command to fix that15:21
aznashwanericsnow: I just pushed a new version which has been slightly refactored to make testing possible and am getting to updating the tests, which should go quickly15:21
aznashwanericsnow: mind re-having a look sometimes please: http://reviews.vapour.ws/r/671/15:21
ericsnowaznashwan: I'll have a look today15:22
perrito666sinzui: so, I know you hate restore :) but in the old version of restore you can actually see what you need to change in the state server to have the right address15:22
voidspacejamestunnicliffe: the scheme15:28
sinzuiperrito666, ericsnow We know what the apiaddresses were for juju-ci3. I don't know how to force juju to use them. Since editing the agent.conf fixes juju for 1 second, I think I need to edit something else to get rid of the lxcbr0 address as the apiaddress.15:42
sinzuiperrito666, ericsnow Is the address in juju-db? Do I need to update the juju collection in the db with the old address?15:43
perrito666sinzui: exactly, or else peergrouper will just keep updating the agent.cof15:45
* sinzui looks for collection and key15:46
sinzuiperrito666, do you know the collection and key I need to edit?15:46
perrito666sinzui: indeed, gimme a sec15:46
perrito666sinzui: gimme something more like a couple of mins15:52
sinzuithank you perrito66615:52
perrito666I am fetching a person that actually had the exact same issue the other day and figured all collections that needed to be tweaked15:52
perrito666well he is here niedbalski meet sinzui you both break juju in similar ways :p15:53
sinzuiperrito666, and possibly this person https://bugs.launchpad.net/juju-core/+bug/141692815:54
mupBug #1416928: juju agent using lxcbr0 address as apiaddress instead of juju-br0 breaks agents <api> <lxc> <network> <juju-core:Triaged> <juju-core 1.21:Triaged> <juju-core 1.22:Triaged> <https://launchpad.net/bugs/1416928>15:54
perrito666man we really need a "update api server" command15:55
niedbalskiperrito666, uhmm afaik is not the same issue, the one we faced was related to a wrongly commissioned node in MAAS, that returned an incorrect private ip address as primary. Thus the only 'fix' was to manually alter it on the machine collection.15:55
niedbalskiperrito666, i am not aware on the specific collections that needs to be altered when you change the apiaddresses15:56
perrito666niedbalski: ouch :( sad15:56
sinzuioh, how do I fix values in the db when the js is not available15:58
sinzuiperrito666, +1 for a new command.15:58
niedbalskisinzui, O am afraid that will not be persistent after reboot16:00
sinzuiniedbalski, my env has 36 jujuds, each breaks seconds after I fix a conf file. Just getting an env that stays up long enough to allow me to update the services would be a big improvement16:03
abentleyperrito666, jw4: after manually re-running industrial-test against the lastest master build, I've marked the issue fix released on master.  Fixes for 1.21 and 1.22 are pending, right?16:10
perrito666abentley: correct Ill try to backport them asap16:11
abentleyperrito666: Thanks!16:11
=== ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Open critical bugs: None
sinzuibogdanteleaga, How do I install/use that mongod.exe on the win-slave? Do I place it in the syspath?16:27
bogdanteleagasinzui, yeah just place it somewhere in path16:36
sinzuithank you bogdanteleaga16:38
voidspaceperrito666: as OCR, if you have a chance17:03
voidspaceperrito666: http://reviews.vapour.ws/r/853/17:03
TheMuevoidspace: *click*17:08
voidspaceTheMue: thanks17:09
voidspaceTheMue: note that moving the proxyupdater to be started first doesn't fix all problems when deploying behind a proxy17:09
voidspaceTheMue: so I'm doing "further investigations"17:09
voidspaceTheMue: all tests pass though, and it seems like a *wise* change17:09
TheMuevoidspace: yes, I've seen and already thought that it is a little risky race with now better chances for the proxyupdater17:10
voidspaceTheMue: it might need us to wait on the first change17:11
voidspaceTheMue: I'll investigate if that actually fixes the remaining issue I'm seeing or if there's something else going on17:11
TheMuevoidspace: yep17:11
perrito666voidspace:  I dont see how that solves anything17:27
voidspaceperrito666: which bit - the whole thing?17:27
perrito666voidspace: sorry17:27
voidspaceperrito666: it solves not being able to deploy charms behind a proxy for one thing...17:27
perrito666worker/proxyupdater/proxyupdater.go17:27
perrito666l 14817:27
perrito666voidspace: I believe you :) what I say is I dont see how it does17:28
voidspaceperrito666: we set the new proxySettings as environment variables unconditionally17:28
voidspaceperrito666: essentially the logic determining first run is wrong - and there's no downside to just always setting them17:28
perrito666I mean, before that the proxy settings where updated if a given condition was met right?17:29
voidspaceperrito666: correct17:29
voidspaceperrito666: that condition meant that they weren't set at all17:29
perrito666if I get it right, what it does is setting the proxy settings if they are somehow different than the current ones17:30
voidspaceperrito666: what do you refer to by "it"? the original code or the new code17:30
perrito666the original code17:30
voidspaceperrito666: that was the idea, yes17:31
perrito666so it seems there is a different problem there, you just hid it17:32
voidspaceperrito666: I solved the immediate problem17:32
voidspaceof the environment variables not getting set17:32
voidspacewhat's the downside to that?17:32
voidspaceperrito666: this approach was discussed with wallyworld and fwreade17:33
voidspaceperrito666: if that helps :-)17:33
voidspaceperrito666: I left the "first" logic in place as it's still used for writing system files17:34
perrito666for starters, what is inside the if is not being executed (and I am guessing it was supposed to ) and seccond if that assumption was made there  (that, if the incoming settings are equal to existing ones, env vars should already be set) is invalid and therefore something that is expected to happen somewhere else is not happening17:34
voidspaceand mysteriously enough that seems to work17:34
perrito666voidspace:  anyway, that is the only part which doesn't convince me I would ship it with an issue to check why was that assumption made in the first place. At least because this immediate problem seems to be causing problems17:38
voidspaceperrito666: it's not obvious why it wouldn't work from reading the code17:38
voidspaceperrito666: proxyupdater.New starts the worker with first set to true. SetUp calls onChange and then sets first to false17:39
perrito666voidspace: well if it where the bug wouldn't be there in the first place :p17:39
voidspaceperrito666: so when the worker is started "first" should be true and that code should be executed17:39
voidspacebut the environment variables were *not* being set, and now they are17:39
voidspaceso I'm happy to look into it further, but in the meantime I think this is a good fix we should ship17:40
voidspaceas it resolves an actual problem leaving merely theoretical ones behind...17:40
perrito666voidspace: is it possible that there is a call to handleProxyValues with empty values and these are being unset?17:40
voidspaceperrito666: hmmm, well onChange fetches them from api.EnvironConfig17:41
voidspaceperrito666: so indeed they *could* be empty on first run (I suppose - they shouldn't be though)17:42
voidspaceperrito666: but then the next change would match the first part of the clause (the actual values wouldn't equal the empty values)17:42
voidspaceso that shouldn't be the cause either17:42
voidspaceperrito666: I will put some tracing code in to see what values we're getting called with and what "first" is set to17:42
perrito666voidspace: I sense a race where those cases are reverted, but anyway, remember my shipt it is meaningless :(17:43
voidspacestill?17:43
voidspaceperrito666: shouldn't you ask to graduate?17:43
=== kadams54_ is now known as kadams54-away
perrito666voidspace: there I explained to you in priv17:46
=== kadams54-away is now known as kadams54_
aznashwanericsnow: ping?18:03
ericsnowaznashwan: hi18:03
aznashwanericsnow: so, just pushed the updated tests18:03
aznashwanericsnow: apart from the InitDir constant, everything is done on my end, and I would love to finally see it merge :D18:04
aznashwanericsnow: how are you guys doing?18:05
ericsnowaznashwan: making progress18:05
aznashwanericsnow: if you need any help, do feel free to ask18:05
ericsnowaznashwan: we've been working on incorporating your systemd patch into the new services approach18:06
ericsnowaznashwan: will do18:06
aznashwaneriscnow: awesome, thanks. seeing as though everything was very well abstracted I suspect things should go smoothly18:07
aznashwanericsnow: thanks again, and as always, awaiting any feedback :D18:07
ericsnowaznashwan: I should be able to take a look a few hours from now18:08
ericsnowaznashwan: we're pairing until then18:08
aznashwanericsnow: now hurries, my workday has come to an end anyhow18:14
ericsnowaznashwan: something to look forward to then :)18:14
aznashwanericsnow: have a nice day, get back tomorrow :D18:15
perrito666so, who where has ship powers and can look at  http://reviews.vapour.ws/r/854/18:15
natefinchperrito666: looking18:17
perrito666gh ui to PR to something other than master has become a bit confusing18:18
natefinchyeah, it's a pain in the ass18:18
perrito666and the exact same for 1.22 http://reviews.vapour.ws/r/855/18:20
natefinchsigh... this is a backport that's already been approved on trunk, right?18:26
voidspaceTheMue: perrito666: thanks for the reviews18:26
natefinchSo if I have issues with the code, it would need to change on trunk as well?18:26
TheMuevoidspace: yw, we could tomorrow talk a bit more about it18:27
natefinchperrito666:  ^^18:27
perrito666natefinch: ?18:28
natefinchperrito666: that review you wanted me to look at, the backport... this is just a straight backport of code on trunk, right?18:30
perrito666true18:30
perrito666natefinch: the code is actually landed on trunk18:30
natefinchok, I won't nitpick the code then...a couple very minor things just bugged me as confusing18:30
perrito666it is what unlocked this AMs CI lockdown18:30
jw4abentley: thanks!18:31
voidspaceTheMue: I'm continuing to investigate18:31
voidspaceTheMue: so I'm merging this branch but not closing the issue18:31
TheMuevoidspace: +118:31
voidspaceTheMue: and I've added a comment to the issue about the faulty first logic and the charmrevision worker issue18:31
natefinchperrito666: I gave it a shipit18:32
perrito666natefinch: can you do that for the exact same pr for 1.22? :)18:32
natefinchperrito666: just did18:33
* perrito666 wonders why his phone did not tell anything18:33
* perrito666 looks at landing bot 18:34
voidspacejamestunnicliffe: I added a comment to your issue18:53
voidspacejamestunnicliffe: hopefully the repro instructions are comprehensible, if not I can help you out further18:53
voidspacejamestunnicliffe: probably tomorrow now though...18:53
voidspaceas I'm EOD18:53
voidspaceg'night all18:53
perrito666bye18:53
perrito666ericsnow: 837 is long :)18:58
ericsnowperrito666: tell me about it :)18:58
perrito666I think we could benefit from making the "fixes-#####" expression a bit more permissive19:07
=== kadams54_ is now known as kadams54-away
=== kadams54-away is now known as kadams54_
natefinch TheMue - added bodie_ to the gojson* repos (and basically everyone else)19:40
jw4natefinch: thanks19:40
TheMuenatefinch: great, thank you19:40
bodie_sweet, thanks19:44
natefinchjust changed      if field, ok := myMap[foo]; !ok || field == "" {     to   if myMap[foo] == "" {      .... I love that maps return the zero value for the type in Go19:50
perrito666ericsnow: I did a review of one of your patches, I could go more in depth but my head is not in shape20:02
ericsnowperrito666: no worries; thanks for the review20:03
ericsnowperrito666: regarding the year, the code was copyrighted in that year (I just copied it into a new file)20:04
ericsnowperrito666: perhaps I've misunderstood20:04
natefinchI don't really think the year on the copyright really matters20:04
perrito666ericsnow: I have been following the rule: New file, new year, but I dont think we are being consistent on it20:05
perrito666because of the copyright being on the file and its contents20:05
ericsnowperrito666: that's probably the best way to go20:05
perrito666also its a great exercise to remember we are in 201520:06
thumpero/20:10
perrito666ericsnow: to make it short, you could add apt-add-repository to the apt package :)20:12
perrito666thumper: hi20:12
perrito666abentley: just FYI https://bugs.launchpad.net/juju-core/1.22/+bug/1417178 is fix committed for all versions20:13
mupBug #1417178: juju restore no longer works with Azure: error: cannot re-bootstrap environment: cannot determine state server instances: environment is not bootstrapped <azure-provider> <backup-restore> <ci> <regression> <juju-core:Fix Released by hduran-8> <juju-core 1.21:Fix Committed by hduran-8>20:13
mup<juju-core 1.22:Fix Committed by hduran-8> <https://launchpad.net/bugs/1417178>20:13
thumperI see axw's branch landed, are we unblocked now?20:13
perrito666thumper: we are for master20:14
perrito666and on our way there for 1.21 and 1.2220:14
=== kadams54_ is now known as kadams54-away
perrito666and after a couple of hours of sleep I figured out why my master was not building20:14
perrito666bbl20:36
davecheneyanyone for a simple review ? https://github.com/juju/juju/pull/153120:59
jw4davecheney: shipit21:08
perrito666davecheney: you got a review and a recursion problem21:10
perrito666:p21:10
jw4perrito666: lol21:11
davecheneyhttp://reviews.vapour.ws/r/857/22:00
davecheneytrivial change22:00
davecheney"it's raining innovation" -- thumper22:09
jw4davecheney: we have four groups now? or is that a mistake in a couple of your files in 857?22:28
jw4davecheney: import groups22:28
=== ChanServ changed the topic of #juju-dev to: https://juju.ubuntu.com | On-call reviewer: see calendar | Open critical bugs: 1417790
sinzuithumper, we natefinchL we need someone to look into bug 141779022:32
mupBug #1417790: manual ppc64el units cannot download agents <ci> <maas-provider> <ppc64el> <regression> <juju-core:Triaged> <https://launchpad.net/bugs/1417790>22:32
thumpersinzui: we are sprinting right now... anyone else around?22:33
sinzuithumper, I am hoping you can find people on your teams, not that you will personally fix the issue22:34
thumpersinzui: my team is all with me22:34
thumpersinzui: I'm not in cape town22:34
sinzuiI suppose we need to wait for axw to wake22:34
sinzuior anastasiamac22:35
=== kadams54 is now known as kadams54-away
jw4sinzui: what *should* the state server ip address be for that ppc64el bug?  voidspaces pr just moved the proxy settings to before the upgrader which seems plausibly connected to me?22:43
jw4sinzui: is it that the 10.0.3.1 address is private not public?22:44
jw4s/connected to me/connected to the issue/    (???)22:44
sinzuijw4,  10.0.3.1 is from the lxcbr0 interface. The machines are on the eth0 interface: 10.245.67.135 10.245.67.136 10.245.67.137. 135 is the bootstrap server in the test22:46
jw4sinzui: I see22:46
sinzuijw4,  and bug 1417308 and bug 1416928 are other examples of the wrong network being selected22:47
mupBug #1417308: Juju-ci3 cannot upgrade to 1.21.1 <api> <ci> <upgrade-juju> <juju-core:Triaged> <https://launchpad.net/bugs/1417308>22:48
mupBug #1416928: juju agent using lxcbr0 address as apiaddress instead of juju-br0 breaks agents <api> <lxc> <network> <juju-core:Triaged> <juju-core 1.21:Triaged> <juju-core 1.22:Triaged> <https://launchpad.net/bugs/1416928>22:48
jw4sinzui: the logs seem to indicate that the state server is listening on *both* networks?22:48
jw4sinzui: that seemed to have changed specifically with voidspace's commit22:49
jw4sinzui: maybe the unconditional proxy settings caused the state server to identify both networks22:50
jw4sinzui: and then the source and sink units are just picking the wrong one22:50
* jw4 will brb22:55
perrito666and for a brief moment reviewboard forced me to communicate with pictures, I am back to the caves or ancient egypt23:15
jw4sinzui: is 10.0.31 ever a usable IP for the state server? Only when using local provider?23:45
jw4s/10.0.31/10.0.3.1/23:46
sinzuijw4, I don't think so. except to local-provider the state server needs an address visible to other machines. but if the unit is deployed to a container on the state-server, like juju-gui, maybe that is the address the container needs to see....23:51
sinzuiOMG23:51
jw4sinzui: OMG?23:52
sinzuiLXC is an anagram for CuXuLu and I suspect both the juju-ci3 upgrade bug and the manual provider bugs is cause by recent installations of lxc on those machines...23:52
sinzuijw4. I think I can revert the manual machine. If the test passes...then the bug will be downgraded and master re-opened.23:54
jw4sinzui: woot23:54
jw4sinzui: I think there will still need to be work obviously to fix this - either filtering out 10.0.3.1 as an unusable IP (network/hostport.go:182) with some jiggery for local provider - or improving the sorting of IP's so that 10.[^0].*.* is preferred to 10.0.3.*23:55
sinzuijw4, agreed, Those other bugs imply the state-server does something stupid if lxc (lxcbr0) is installed.23:56
sinzuijw4, I am watching http://juju-ci.vapour.ws:8080/view/Juju%20Revisions/job/manual-deploy-trusty-ppc64/1076/console which is now run without lxc on the bootstrap machine23:57
sinzuiand I predict quick pass23:57
anastasiamacsinzui: morning! were u after me?23:58
jw4sinzui: as I'm looking at the SetAPIHostPorts and related code I'm not finding any distinction between 10.0.3.x IP addresses and other 10.0.0.0 addresses23:58
jw4sinzui: not sure if that should change... should we assume 10.0.3.x is a 'magic' range?23:58
sinzuianastasiamac, I was but I got new glasses and jw4's question made me realise that a regression isn't the regression I thought it was23:59

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