/srv/irclogs.ubuntu.com/2014/09/18/#juju-dev.txt

waiganiwe might be able to do a version check?00:00
waiganinop, that will not work00:01
waiganiah, we could only restrict API access once  UpgradedToVersion >= 1.2100:11
bradmanyone able to help me with a juju bootstrap issue?  I've got a maas+juju environment setup where when I bootstrap it, all I see in the debug logs is a endless loop of trying to ssh into the bootstrap node, even though I can connect manually00:36
waiganimenn0: ping00:52
bradminteresting, before destroying the instance, it complains about /var/lib/juju/nonce.txt does not exist00:58
bradmthis is looking like LP#131468201:00
menn0waigani: pong01:01
waiganiheyhe01:01
bradmhah!  creating /var/lib/juju/nonce.txt and things start moving forward01:01
waiganimenn0:  so I'm thinking splitting the migration over two versions is probably best01:02
menn0waigani: not restricting the API while upgrades are in progress is doable01:03
waiganimenn0: I looked into a few workarounds, but they add a whole bunch of kluge01:03
perrito666ok ppl gotta go sleepto be up early in the AM, cheers01:03
menn0l8r perrito66601:03
perrito666cu all tomorrow AM01:03
waiganimenn0: yeah, so that is what i got halfway into coding but ...01:03
waiganimenn0: it adds boilerplate that we could avoid if we simply add restricted logins in the next version01:04
menn0waigani: true. what is the downside of not restricting logins01:05
waiganimenn0: it means that MESS is not complete01:06
waiganithat is all01:06
waiganiso it would be one step at a time towards MESS01:06
menn0maybe let's do that for now and check with thumper tomorrow01:07
waiganimenn0: but 1.22 could have restricted API and we are back on track01:07
menn0it's the least invasive thing to do01:07
menn0so removing that check fixes the issue?01:08
waiganimenn0: I'm just testing that now..01:08
bradmwhat's supposed to create the /var/lib/juju/nonce.txt on a juju unit?01:08
menn0waigani: sweet01:08
menn0waigani: I've got to get some lunch ready for the fam. back in a bit.01:08
waiganimenn0: yep, np01:08
menn0waigani: I assigned the bug to myself earlier on this morning. you should grab it.01:09
waiganiok01:09
wallyworldbradm: just saw your questions - the juju bootstrap process sets up a cloud init script which creates the nonce01:14
wallyworldbootstrap process = start instance01:14
wallyworldit you look in /var/log/cloud-init-output.log you should see the bash command to echo to the nonce.txt file01:15
bradmwallyworld: ok, let me rebootstrap it and have a look01:16
bradmwallyworld: if I create the file by hand, things start moving again, but errors out when it tries to start juju-db01:16
wallyworldbradm: that implies the cloud init script has not been run01:17
bradmwallyworld: this is a maas setup, not sure if that means anything01:18
wallyworldbradm: yeah, we've just seen this on maas01:18
bigjoolsstill got the nonce problem?01:19
wallyworldcause the node is acquired and doesn't run cloud init01:19
wallyworldbigjools: bradm does01:19
bigjoolsold version?01:19
bradmLP#1314682 sounds vaguely familiar with the symptoms01:19
bradmbigjools: of maas?  its 1.5.2+bzr2282-001:19
bigjoolsno it's a fix in maas's clients01:20
bigjoolsthey supply the nonce to the API01:20
wallyworldthat bug concluded that the node which was acquired didn't run cloud init01:20
wallyworldmight be wrong?01:20
bradmthis is kinda important to fix, its for bootstack.01:20
bigjoolsdid you find any errors in the logs?01:21
bradmok, so my bootstrap node is back up, lets see what it has01:21
bradm2014-09-18 01:19:35,042 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-001 [3]01:22
bradm2014-09-18 01:19:35,045 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)01:22
bradm2014-09-18 01:19:35,045 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) failed01:22
bradmthat doesn't look good01:22
bradmthats some custom scripts we have to create the nova instance dirs if it has a /dev/sdb01:23
bradmlet me knobble that for now.01:23
bigjoolsdo failures there make the whole cloud init script bail out?01:24
bradmlooks like it must be01:25
bradmI'll comment these out and rebootstrap01:25
bradmit has some checks to see if the device is there or not, I can't see why its failing immediately though01:25
bradmok, the cloud init scripts seem to have finished properly, although I now can't ping the host01:33
bradmbut I can see it creating the nonce.txt, so there's something else going on here01:33
bradmprogress is good, thanks guys.01:33
bradmmust be something wrong in the preseeds01:35
menn0waigani: where are things now? can I help with anything?01:43
waiganimenn0: I'm currently hunting down where the "environemnt not found" err is coming from01:43
bradmah, what, it does a ifdown eth0?  what the?01:43
bradmand indeed, thats what breaks it, if I do a ifup eth0 things start working01:45
bradmwallyworld, bigjools: any idea why cloud-init is doing a ifdown eth0?  and what I can do to stop it? :)01:47
bigjoolsdunno, I thought it only did what the user data told it to do01:48
wallyworldbradm: that was done for maas to set up networking, but it can be disabled01:48
wallyworldlet me check01:48
bradmI logged into the host and did a ifup eth0, I now have a successfully bootstrapped juju env \o/01:49
bradmso if I can stop it doing that, we're in much better shape.01:49
wallyworldbradm: disable-network-management01:50
wallyworldset that to true in your yaml01:50
bradmLP#134152401:50
wallyworldbut be aware that you may ten need to do stuff by hand that juju otherwise would try to do01:50
wallyworldbug 134152401:50
mupBug #1341524: juju/MAAS deployed host with bonding configured via preseed missing eth0 from bond on first boot <maas-provider> <juju-core:Invalid by niedbalski> <https://launchpad.net/bugs/1341524>01:50
wallyworldbradm: what version of juju are you using?01:51
bradmwallyworld: 1.20.7, apparently.01:51
wallyworldcause the fix is only in 1.20.801:51
wallyworldwhich is not formally released yet01:52
bradmaha!01:52
wallyworldbut will be available for testing tomorrow01:52
wallyworldand released early next01:52
bradmthis is a staging environment for bootstack, we can use whatever version of juju that is appropriate01:52
wallyworldbradm: you can try 1.21-aplha101:52
wallyworldthat is released01:52
wallyworldand has the fix also01:53
wallyworldemail was sent to canonical-juju01:53
wallyworldwith the details01:53
bradmI suspect I'm not on that list.01:53
wallyworldyou'll need to use a custom tools-metadata-url01:53
wallyworldok, i can forward the email01:53
wallyworldit was also sent to juju-dev i think01:53
bradmaha, found a juju 1.21-alpha1 release email01:54
bradmsent to juju@lists.u.c01:54
wallyworldgood :-)01:54
bradmooh, --keep-broken, that sounds awesome01:55
bigjoolsha01:55
wallyworldbigjools: allows for debugging when maas breaks :-P01:56
bradmwallyworld: so to confirm, that disable-network-management: true is only in the still to be released 1.20.8, or the currently released 1.21-alpha1?01:56
wallyworldbradm: it's in both those releses01:57
bradmwallyworld: excellent.01:57
wallyworld1.21 is here now to try01:57
bradmwallyworld: ok, I can probably test out 1.21-alpha1 in staging, but we'll want to stick with stable in the long run01:57
bradmright, I can try that out now01:57
wallyworldbradm: agreed, this ws just a way of letting you get further01:57
bradmwallyworld: yup, perfect.01:57
bradmwallyworld: and this staging env is for exactly this.01:58
wallyworld\o/01:58
bradmalthough I wonder how we got the other env up01:58
wallyworldnfi :-)01:58
bradmit is 1.18 I think01:58
wallyworldah01:58
wallyworldexplains it01:58
wallyworlda lot of new network stuff has been done since then01:59
bradmev'll get upset if I break it ;)01:59
wallyworldyep :-)01:59
wallyworldmenn0: waigani: where's Tum (sic) today?02:01
waiganiwallyworld: being an 'entrepreneurial innovator'02:01
wallyworldoh, sounds serious02:02
waiganiwallyworld: some workshop thing that he took the day off for02:02
wallyworldand didn't mark the calendar02:02
waiganihaha02:02
wallyworldor reschedule his 1:1 with me02:02
waiganioh, that sucks02:02
wallyworldnot really, i didn't want to talk to him anyway02:03
wallyworlddon't need him02:03
waiganihaha02:03
=== fuzzy is now known as Fuzai
bradmwallyworld: I can't imagine there'd be any bad side effects if I upgrade to 1.21, do a test deploy and then destroy and redeploy to 1.20.8 when its out, right?02:09
=== Fuzai is now known as Ponyo
wallyworldbradm: that should work02:10
bradmwallyworld: sounds like I know what I'm doing after lunch then.02:10
bradmwallyworld: thanks for the help02:11
wallyworldnp :-)02:11
davecheneybradm: hang on, id you say downgrade ?02:45
davecheneyi'm not sure what you mean when you say redeploy to $OLDER VERSION02:45
huwshimiHey, does anyone know if there is a max character length for machine names?03:01
bradmdavecheney: juju destroy-environment ; downgrade to 1.20.8 ; juju bootstrap03:04
davecheneybradm: ok, that is fine03:08
bradmdavecheney: currently this is all about refining the process, and its staging, so its not the end of the world to redeploy - wouldn't want to do it all the time though.03:09
bradmwallyworld: fwiw, the juju bootstrap just worked with 1.21-alpha1 and the tweaks to the environment.03:24
wallyworldbradm: awesome, great03:27
wallyworldhuwshimi: juju doesn't impose one explicitly03:27
huwshimiwallyworld: OK, thanks03:28
davecheneywallyworld: juju lets you choose machine names ?03:36
wallyworldno03:36
davecheneywallyworld: then you didn't really answer huwshimi 's question :)03:37
wallyworldi just meant that juju has no length limit anywhere03:37
wallyworldwhat the providers do is up to them03:37
davecheneywallyworld: the machine names will always be integers03:37
davecheneyyes ?03:37
davecheneythe instance id's are opaque blobs03:37
wallyworldwell, we print out the int id now, but don't have to03:38
wallyworldthe point is there's no char length  encoded anywhere03:38
davecheneynope, that is true03:38
wallyworldwhich was the point of the question, presumably from a ui perspective03:38
davecheneyok03:39
menn0an update on the CI blocker (bug 1370635)05:19
mupBug #1370635: Unable to connect to environment after local upgrade on precise <ci> <precise> <regression> <upgrade-juju> <juju-core:In Progress by waigani> <https://launchpad.net/bugs/1370635>05:19
menn0I have the cause figured out but the solution isn't clear yet05:20
menn0details on the bug05:20
axwwallyworld_: can you please review https://github.com/juju/juju/pull/784 for me? I've refactored state.Storage, which should make the other branch a bit tidier06:06
wallyworld_sure06:06
=== uru_ is now known as urulama
wallyworld_axw: +1 with a suggestion, i gotta do scholl pickup, bbiab06:21
axwwallyworld_: thanks, cya06:23
bradmwhat the?  there's .epm files and .conf files in /var/log/juju with juju 1.21-alpha1 ?06:37
bradmer, .pem even.06:37
dimiterndavecheney, hey, still around?06:39
axwwallyworld_: can't update RB #51 for some reason, I get an internal server error when trying to publish06:39
axwI've fixed the issues though06:39
bradmfiled LP#137089606:43
wallyworld_axw: except landing is blocked \o/06:46
axwyeah :|06:46
wallyworld_bradm: well that kinda sucks, that should be fixed. btw if you type bug 1370896 a magic fairy will print some extra info06:46
mupBug #1370896: juju 1.21-alpha1 has conf files in /var/log/juju on instances <juju-core:New> <https://launchpad.net/bugs/1370896>06:47
axwbradm: those .pem files have been there for ages; logrotate.conf is new06:48
wallyworld_but why in the log dir?06:48
* axw shrugs06:48
axwthe .pem file is for rsyslogd06:48
axwfor SSL06:48
* wallyworld_ thinks it needs fixing anyway06:48
bradmaxw: just because its been there for ages doesn't make it right.06:49
axwbradm: right, sorry, I thought you thought it was new06:49
bradmI just mentioned them both in the bug for completeness06:49
axwokey dokey06:49
bradmanyway, not a big deal, just throwing out bugs for issues as I find them.06:49
wallyworld_axw: i may have old code, but i noticed there's a test called TestFindToolsInControlBucket, which is now obsolete. it uses a test helper UploadToStorage(c, s.env.Storage()...). these can go away06:54
axwwallyworld_: sure, I'll take a look...06:54
wallyworld_ta, or i can delete them as a drive by06:54
wallyworld_in the tools-stream branch06:55
axwwallyworld_: nah can't go yet, not till we have the upgrade-step06:55
axwwallyworld_: I've yet to write an upgrade step that moves everything from provider to environment storage06:55
wallyworld_maybe i delete the Find test06:55
wallyworld_cause i don't want to spend time making it work with tools-stream06:56
axwokay06:56
menn0axw, wallyworld_: in case anyone asks, I'm stopping for a bit but will pick up with CI blocker later tonight07:05
menn0I haven't done enough hours today due to Real Life stuff07:05
axwmenn0: no worries, thanks07:22
dimiternaxw, ericsnow, http://reviews.vapour.ws/r/33/ please take a look, I really need to land this already :)07:23
axwdimitern: looking07:23
dimiternaxw, thanks07:23
mattywmorning all07:27
dimiternis launchpad down of anyone else?07:33
dimiternfor*07:33
voidspacemorning all08:05
voidspacemorning all08:08
jammorning voidspace08:13
jamdimitern: did you see https://bugs.launchpad.net/juju-core/+bug/130814608:13
mupBug #1308146: not okForStorage error when deploying local charm <charms> <deploy> <juju-core:Triaged> <https://launchpad.net/bugs/1308146>08:13
jamI'm wondering if this has to do with something we're writing to the DB to cache information about local changes08:13
jamcmarms08:13
jamcharms08:13
jamvs, what we do for cs: charms08:13
dimiternmorning voidspace08:14
dimiternjam, not sure, I have to look08:14
jamdimitern: you did the stuff for PutCharm to support local charms, and for the GUI to be able to get its stuff, right?08:14
dimiternjam, that's right08:14
dimiternbut it's been a while08:15
jamdimitern: sure. Just the thought comes to might that it is probably the only thing that is directly different between local and cs charms08:17
jamand involves possibly writing charm config keys to the db08:17
dimiternjam, what I didn't get from the bug is whether the problematic charm was deployed from a local repo or from cs:08:18
jamdimitern: from local:, from "cs:" doesn't have the problem08:21
jamhence why I think it is the caching logic08:21
jam"It's not exactly clear from the bug log when this regression occured,08:22
jamand the bug suggests it may only affect local charms."08:22
dimiternjam, right, I saw that later, sorry08:24
dimiternjam, I'm looking through the code, it seems this happens in the last step - state.UpdateUploadedCharm()08:24
dimiternjam, I see the problem08:25
dimiternjam, we do replace . and $ in service settings when saving to state, but we don't do the same for the charms collection (and its config field)08:26
dimiternjam, and it seems we never did08:31
dimiternjam, yep, i'm afraid it looks like a "my bad" case :) I'll assign it to myself and propose a fix08:39
jamdimitern: it sounds like it is just "need to escape", yeah08:39
jamdimitern: great08:39
voidspaceaxw: ping08:47
axwvoidspace: pong08:48
voidspaceaxw: thanks for your review of my PR08:48
axwyou're welcome08:48
voidspaceaxw: you commented that the "cmd" variable isn't needed any more in applyReplSetconfig08:48
voidspaceaxw: it's used twice (for logging) - and is passed into applyReplSetConfig08:48
axwah, it's input08:49
axwmy bad08:49
axwsorry, glanced over that08:49
voidspaceyeah, it looks kinda like that08:49
voidspaceresetting it in the loop was always pointless08:49
voidspacethat loop just didn't do what it looked like it was doing08:49
voidspacewhich is why I fixed it08:50
voidspaceaxw: anyway, cool - just checking you didn't have some other reason I missed08:50
axwnope, thanks though08:50
voidspaceaxw: so I'll add those doc comments and merge08:50
voidspacethanks!08:50
axwwallyworld_: I think we were meant to discuss charmstores and placement and things today - probably a bit late now08:52
jamdimitern: escaping sounds like something we could backport to 1.2009:02
jamand since local charms never worked there anyway, we don't have to worry about compat for upgrade09:02
TheMuemorning09:04
jammorning TheMue09:04
TheMuedimitern, jam: I think I got a good approach for testing now. take a look at http://paste.ubuntu.com/8370850/09:05
TheMuethe upper files simulate the different versions of an agent here09:05
TheMueand then there are files for testing each version09:06
TheMueinstead of embedding a type I'm working with a simple struct for needed infos and versioned non-public test funcs containing the tests on anonymous facades09:07
TheMueso if tests are added or changed in later versions the according test helper funcs can be added in those files too (and used until they are changed in future again)09:08
TheMuethe examples contain adding, changing and dropping a facade function09:08
dimiternjam, sgtm09:08
dimiternTheMue, will look shortly, thanks09:09
TheMuedimitern: thanks, it's mostly based on your approach :D09:10
jamTheMue: so that still makes it fairly easy to accidentally leave off TestSecondFuncOK (like you did in agent_v2_test.go)09:19
jamnow given your change to SecondFunc() it may be that you intended for it t odie09:19
jamto die09:19
jamusing the "embed the earlier version but make it an invalid signature" rule09:19
TheMuejam: this risk still exists, yes09:19
jamWhich I think fwereade and I thought was a bit too magical09:20
TheMuejam: it is, because the public name still exists. did I missed a better idea for hiding it?09:21
TheMuejam: surely we could do it in a similar way like I've done for the tests here: private versioned implementations which are only called in each new facade09:23
jamTheMue: so in our API docs discussion, the idea was if you wanted something to disappear you have to factor out a common base and embed09:23
TheMuejam: so a V2 dropping a function simply doesn't have it09:23
TheMuejam: I've got my problem with the embedding, or, at least even here the methods have to be versioned.09:25
TheMuejam: because we could have a doThisV0 valid until V3, but need a doThisV3 in V3 and higher09:25
TheMuejam: implementing it as functions using one shared type would make it simpler (or at least more logical) to implement the v0 login in the v0 file, reusing it until v2 and add a new implementation of v3 in the v3 file09:27
TheMuejam: so the implementation is more where it is expected than in one large file containing the base with all versioned changes09:28
TheMuedimitern: btw, your idea of using a facade with only the interesting function is cool09:29
dimiternTheMue, yeah? It could be written a bit more concise, if we define the interface before the test case, like type lifer interface { Life() params.Life } .. testLife(c *gc.C, facade lifer)09:30
jamwwitzel3: a simpler patch for you: http://reviews.vapour.ws/r/54/09:36
jamI didn't see how to do the dependent-diff with Review Board and make my change depend on yours09:36
jamwwitzel3: well, I guess I did find something, but reviewboard tells me: The file "utils/syslog/config.go" (revision e1eaf4a) was not found in the repository09:39
TheMuedimitern: yes, the only problem then would be to be creative enough for the name *lol*09:40
TheMuedimitern: but I now like your approach more than my first one. it's only important that the tests themself are external and versioned, so that they can be reused and changed over time09:42
dimiternTheMue, yeah, that was my idea as well09:44
dimiternjam, thanks for the review - one of the issues is already fixed earlier (the NewFacadeCaller calling NewFacadeCallerForVersion internally)09:44
jamdimitern: yeah, I had written that up yesterday, but I keep hitting "Save" instead of "Publish" when doing reviews.09:50
dimiternjam, axw, ericsnow, http://reviews.vapour.ws/r/55/ - fixes bug 130814609:51
mupBug #1308146: not okForStorage error when deploying local charm <charms> <deploy> <juju-core:In Progress by dimitern> <juju-core 1.20:Triaged by dimitern> <https://launchpad.net/bugs/1308146>09:51
jamjust a reminder, whole team meeting in 8min09:52
jamdimitern: I haven't looked yet, but does it seem feasible to backport to 1.20?09:52
dimiternjam, yes, changes are minimal09:55
menn0phew! I have a fix for the CI blocker09:58
jamhttps://plus.google.com/hangouts/_/canonical.com/juju-core-team?authuser=109:58
jamnice menn009:58
menn0it might not be the final fix we end up going with but it solves the issue for now09:58
menn0I will take it up with thumper tomorrow (it's his work that caused it)09:58
menn0but I don't blame him09:59
menn0it was head-hurtingly hard to figure this out09:59
menn0PR soon09:59
jammenn0: dimitern: TheMue: voidspace: team meeting10:00
menn0jam: did you mean me?10:00
jammenn0: well, it is the "entire juju team weekly meeting" , so yeah10:01
jammenn0: you might not usually come to it on this week10:01
axwdimitern: I was afk, will review after the meeting10:01
dimiternaxw, cheers10:02
voidspacejam: omw10:04
voidspacehmmm... currently failing to join10:05
perrito666jam: that is unfair, I could do sleep even though my timezone says work10:34
axwjam: did you set the parent branch in rbt after the fact?10:34
jamperrito666: I'll let you pick whichever one you want10:34
axwor can you only do it on first post10:34
voidspacedimitern: are you there?10:34
jamaxw: yeah, I was trying to play around it10:34
jamwith it10:34
jamrbt post -r --parent eventually worked10:35
voidspacedimitern: we could do a quick standup now10:35
dimiternvoidspace, yep10:35
axwjam: ah, thanks10:35
jamonce I rebased everything because git couldn't handle what I wanted10:35
dimiternvoidspace, ah, yes actually, brt10:35
axwah I was doing -u, that's why it wasn't working10:35
jamaxw: interesting, because it was trying to match up based on the summary?10:36
jambut your summary is different because you're including different revs (presumably)10:36
jamaxw: I think my problem is that I was trying to merge master, but rbt post can't handle that10:36
axwjam: actually no, I'm just a twit: I did -u <rev>10:36
jamyou have to have master in your parent branch10:36
jamah10:36
axw:)10:36
menn0axw or wallyworld_: http://reviews.vapour.ws/r/56/10:49
wallyworld_looking10:50
mattywfolks, how can I use mongo shell to connect to mongo on a live state server?10:53
wallyworld_menn0: +1 with a suggestion, thanks for fixing10:53
menn0mattyw: local provider?10:53
mattyw^^ specifiacally looks like I need to login somehow10:53
wallyworld_menn0: you managed to test it?10:53
menn0wallyworld_: yep10:53
wallyworld_\o/10:53
mattywmenn0, aws - but I suppose I could use local provider which might make things easier10:53
menn0I created a script to repro10:53
menn0and used git bisect to automatically find the problem reb10:54
wallyworld_mattyw: there's a plug from kapil10:54
menn0rev10:54
wallyworld_juju-db10:54
menn0mattyw: I just asked because the answer is slightly different depending on the provider10:54
* menn0 looks up the command line10:54
wallyworld_mattyw: https://github.com/kapilt/juju-dbinspect10:54
wallyworld_works on any provider afaik10:54
menn0mattyw: mongo 127.0.0.1:37017/admin --ssl --username "admin" --password "`sudo grep oldpassword /var/lib/juju/agents/machine-*/agent.conf  | cut -d' ' -f2`"10:55
mattywwallyworld_, menn0 thanks very much - I'll try everything until I get what I want :)10:55
wallyworld_mattyw: i've used the db-inspec tool - very niiiice10:55
mattywmenn0, that's a command worth hanging on to10:55
wallyworld_it essentially automates what menn0  typed10:56
wallyworld_plus gives some standard commands10:56
menn0:)10:56
menn0mattyw: you'll need to sudo apt-get install mongodb-clients first10:56
menn0mattyw: the path to the agent.conf is different for the local provider, hence the difference10:56
menn0or use the plugin :)10:56
mattywmenn0, thanks for your help - I've found what I was looking for10:57
mattywmenn0, metrics have arrived from a deployed unit \o/10:57
menn0\o/10:57
menn0wallyworld_: is this ok?11:01
menn0logger.Warningf("state servers info has no environment UUID so retrieving it from environment state")11:01
wallyworld_menn0: +1 thank you11:01
voidspaceTheMue: sorry frank, I cut you off!11:01
voidspaceTheMue: I will enjoy it all I hope11:01
voidspaceTheMue: except maybe giving the talk - still practising11:02
=== fabrice is now known as fabrice|lunch
menn0right, the CI blocker fix is testing now but I really need to go to bed11:05
menn0can someone please keep an eye on the merge and if it's successful mark bug 1370635 as "Fix Committed"?11:06
mupBug #1370635: Unable to connect to environment after local upgrade on precise <ci> <regression> <upgrade-juju> <juju-core:In Progress by menno.smits> <https://launchpad.net/bugs/1370635>11:06
TheMuevoidspace: my talks in India in 2008 have been my first public ones too. man, I've been nervous11:08
TheMuevoidspace: but now it's something I really enjoy11:08
menn0jam, natefinch :?11:08
natefinchmenn0: yep, will do11:09
menn0natefinch: thanks11:09
TheMuevoidspace: in India I liked all those impressions, the food, and the traffic with all those different vehicles on multiple lanes and honking all the time11:09
jammenn0: can you link the PR11:09
jam?11:09
menn0https://github.com/juju/juju/pull/78711:10
menn0and the merge run is here: http://juju-ci.vapour.ws:8080/job/github-merge-juju/673/11:11
voidspaceTheMue: I have friends in Chennai, not far from Bangalore, so I'll be going there after the conference11:11
menn0goodnight11:11
voidspaceTheMue: I've spoken at conferences many times, I still find it hard11:11
voidspacemenn0: goodnight - see you in Brussels!11:11
menn0indeed! looking forward to it.11:11
perrito666what is the process to post an update to rb?11:27
perrito666ok I definitely dont understand rb mails11:31
jamperrito666: "rbt push -r EXISTINGREV"11:31
jamso to update "54" you do "rbt post -r 54"11:31
perrito666jam: tx11:31
jamsorry for the typo11:31
perrito666jam: I saw push and post used mixed so many times in the emails that I already read post when you say push11:32
jamyeah11:32
mattywfolks, very trivial http://reviews.vapour.ws/r/57/11:39
dimiternjam, trivial review of the 1.20 backport fix? https://github.com/juju/juju/pull/79011:43
jamdimitern: LGTM11:44
wallyworld_mgz: looks like CI has an issue? see http://juju-ci.vapour.ws:8080/job/github-merge-juju/675/console11:44
wallyworld_/var/lib/jenkins/juju-release-tools/make-release-tarball.bash: line 115: ./check_dependencies.py: No such file or directory11:44
dimiternjam, thanks11:47
perrito666aghh something went wrong when updating the patch11:52
perrito666strange11:53
perrito666dimitern: around?11:53
perrito666apparently when I re-merged with master I dragged some changes from dimitern11:54
perrito666http://cdn.meme.li/instances/500x/54445816.jpg11:55
=== psivaa_ is now known as psivaa
dimiternperrito666, is that why it fails with check_dependencies.py: No such file or directory ?11:56
perrito666dimitern: ?11:57
voidspaceis CI unblocked again?11:58
perrito666dimitern: I just updated master from upstream and then mmm, I believe Ill need to drop the pr11:58
mgzwallyworld_: that's me, I'll fix it11:58
wallyworld_mgz: thanks, it's blocking a critical bug fix11:59
dimiternperrito666, ah, ok :), thanks mgz11:59
wallyworld_to unblock landings11:59
mgzmust remember not to land things just before lunch...11:59
mgzokay, fix tried, I'll resend the landing12:02
* perrito666 turns on his git fu12:02
jamwallyworld_: It looks like I did get the  bot to work: http://juju-ci.vapour.ws:8080/job/github-merge-juju/678/12:04
jamah, maybe not.12:04
jam:(12:04
wallyworld_:-(12:04
jamI misread it.... so yeah, still broken mgz12:05
mgzjam: I have hope for the current run12:05
mgzjust made a change to the bash12:05
jamnatefinch: can you follow up with https://github.com/juju/juju/pull/787 or possibly mgz12:05
jamIt is one of the critical blockers, and I'm not going to be around to shepherd it12:05
mgzjam: I'll make sure that lands12:05
jamthanks12:06
mgzthere was a test failure on the first run earlier...12:06
mgzdimitern: good and bad news12:10
dimiternmgz, hit me12:11
mgzgood news is my change did what it was meant to... bad part is trunk *is* actually failing the check12:11
mgzso, I'll just pull out the code for now, resend yours and menno's fixes, then put it back in again and fix trunk12:11
dimiternmgz, did I break it perhaps? or12:12
mgzno, I think it was an earlier change, as it was on 1.20 as well (but got fixed there)12:12
mgzso, resending yours now12:12
mgzdimitern: yours is in12:33
dimiternmgz, cheers!12:36
=== fabrice|lunch is now known as fabrice
perrito666wallyworld_: axw I know its quite late but if any of you could give a second pass over eric's http://reviews.vapour.ws/r/34/ It would be greatly appreciated, I need this up to land restore13:04
dimiternjam, would you mind terribly if you review the 1.18 backport MP on LP, I'm having issues with lbox and rietveld: https://code.launchpad.net/~dimitern/juju-core/lp-1308146-1.18-backport/+merge/23511613:05
hazmatwrt to openstack, do we know which custom extensions we require.. afaics primarily we require nova network security groups extension13:07
dimiternmgz, perrito666, wallyworld_, or somebody else free to take a look? ^^13:08
hazmatdo we have an option to disable the firewaller so we don't need that extension?13:08
mgzdimitern: looking13:08
dimiternhazmat, not right now13:08
dimiternhazmat, we need os-security-groups to exist13:08
hazmatdimitern, any idea how much work it would be to disable that?13:09
mgzdimitern: lgtm, have you also run the full test suite locally? we don't have gating on 1.18 any more I think13:10
dimiternmgz, you mean go build ./... && go test ./... ?13:10
dimiternhazmat, to disable the firewaller altogether ?13:11
mgzdimitern: yup13:11
dimiternmgz, running now13:11
hazmatdimitern, yeah13:11
dimiternmgz, and then, if you can be so kind to remind me, how to manually merge it?13:12
hazmatdimitern, do we use os-networks extension as well?13:12
mgzdimitern: just checking if the old bot is actually alive still13:12
mgzdimitern: if not, merge to the 1.18 branch locally13:13
dimiternhazmat, it's not much work to introduce "firewall-mode": "disabled" (in addition to "instance", "global") in the env config and then when "disabled" just not start the firewaller13:13
hazmatdimitern, cool, thanks13:14
dimiternmgz, ah, so bzr merge ~/src/juju-core/1.18 while on my branch in GOPATH ? and then push?13:14
dimiternhazmat, np, if it's important, I'd file a bug and possibly ping alexis for scheduling13:15
hazmatdimitern, k, thanks just feeling it out atm13:16
mgzthen push as-the-bot, `bzr push bzr+ssh://IFORGOTTHEBOTNAME@bazaar.launchpad.net/+branch/juju-core/1.18`13:17
mgzdimitern: wait a sec on that though13:18
mgzdimitern: the old bot seems to be handling it13:19
mgzdimitern: I'll ping you if you need to do anything else13:19
dimiternmgz, so 1. set commit message on the MP and then mark it as approved?13:20
dimiternmgz, ok, cheers13:20
wallyworld_perrito666: review done13:20
axwme too, practically at the same time :p13:20
mgzhe's double-lucky13:20
perrito666wallyworld_: tx man13:21
* perrito666 gets spam from one of the top competitors for presidency... quoting Dr. Seuss as his core platform driver13:22
hazmatdimitern, mgz also looks like we may also depend on os-availability-zones.. not clear if its entirely optional13:23
mgzhazmat: pretty sure that fails neatly when it's not available13:23
mgzaxw: ^13:24
hazmatmgz, yeah.. there's two call paths to it afaics.. one with explicit zone placement specified (and explicit provisioning error), and one with the zone balance using collected zones of an instance. it looks like it should fail neatly13:25
mgzdimitern: landed on 1.1813:30
dimiternmgz, sweet! tyvm13:30
perrito666ericsnow: ping13:47
mgzocr, can I get a stamp on https://github.com/juju/charm/pull/48 please?13:54
wwitzel3natefinch, ericsnow, perrito666: I'll be a couple minutes late to standup (5 max), dealing with some house paperwork.13:57
perrito666wwitzel3: np13:58
mgzperrito666: ^review plz? super easy :)13:59
perrito666mgz: remember that my review bears the weight of a feather13:59
mgzthe best kind13:59
perrito666mgz: lgtm14:01
mgzperrito666: ta ta14:01
dimiternTheMue, I've looked at http://paste.ubuntu.com/8370850/ - LGTM14:11
TheMuedimitern: thanks, currently changing my code an feels fine there too14:15
hatchIf I have a multi core instance on ec2 and a few single core service units. Is there a way I can specify that each unit should get a single core?14:37
mgzperrito666: next trivial bit <https://github.com/juju/juju/pull/791> :)14:41
mattywshouldn't landing be unblocked now that https://github.com/juju/juju/pull/787 has landed?14:42
mgzmattyw: it is, sorry, should have announced in here14:42
mgzeveryone: landing unblocked, go wild14:43
perrito666mgz: lgtm, I actually checked the hash just in case14:43
mattywmgz, I had something rejected 2 minutes ago14:43
mattywmgz, should I just try again?14:43
mgzhm, let me look14:43
mgzperrito666: thanks!14:43
mattywmgz, have you fixed world hunger yet?14:43
mgzmattyw: 789?14:43
mgzmattyw: on it :)14:44
jcw4mattyw, mgz looks like bug 1370365 still blocks ci14:44
mupBug #1370365: After the last `apt-get update` the screen backlight is turned off. <amd64> <apport-bug> <bios-outdated-a09> <kernel-da-key> <performing-bisect> <regression-update> <screen> <trusty> <linux (Ubuntu):Incomplete> <https://launchpad.net/bugs/1370365>14:44
mattywmgz, nice one14:44
jcw4sorry bug 137063514:44
mupBug #1370635: Unable to connect to environment after local upgrade on precise <ci> <regression> <upgrade-juju> <juju-core:In Progress by menno.smits> <https://launchpad.net/bugs/1370635>14:44
mgzmattyw: marked the bug, resubmitted yours14:45
mgzbug 137063514:45
mupBug #1370635: Unable to connect to environment after local upgrade on precise <ci> <regression> <upgrade-juju> <juju-core:Fix Committed by menno.smits> <https://launchpad.net/bugs/1370635>14:45
mattywmgz, thanks very much, let me know when you've put an end to war and I'll review it14:46
mgzmattyw: I suspect there's some lag in picking up the launchpad bug status14:47
mgzit's returning clean for me locally now14:49
mgzgreh, must be caching related14:50
mgzlocally: $ python check_blockers.py master 78914:51
mgzNo blocking bugs14:51
mgzon the build slave: jenkins@juju-core-slave:~/juju-ci-tools$ python check_blockers.py master 78914:51
mgzDoes not match ['fixes-1370635']14:51
mgz>_<14:51
mgzwill have to throw some cache busting in there, this is annoying14:51
TheMuedimitern: changed it, currently testing it before reproposal, but it looks and feels real cool15:00
mgzokay, this is annoying, cache-busting isn't helping15:00
mgzwho's holding on to old junk here... an aws proxy? launchpad?15:01
dimiternTheMue, great!15:01
sinzuinatefinch, per the cross-team call, can you ask someone to look into bug 1370781 . I hope this is a trivial fix because the adding of the archive and the calling of upgrade are easy to reverse.15:03
mupBug #1370781: cloud-archive on precise not pinned when juju calls apt-get upgrade <cloud-installer> <landscape> <juju-core:Triaged> <juju-core 1.20:Triaged> <https://launchpad.net/bugs/1370781>15:03
mgzmattyw: I've hacked in a fix, landing your branch now15:12
mgzeveryone: trunk not open for landing quite yet15:18
mgzwe want a clean CI run with menno's fix from this morning15:18
=== fabrice is now known as fabrice|familyti
=== Ursinha is now known as Ursinha-afk
wwitzel3ericsnow: https://github.com/juju/utils/pull/35 when you have a chance15:51
ericsnowwwitzel3: k15:52
wwitzel3ericsnow: http://reviews.vapour.ws/r/58/15:52
=== fabrice is now known as fabrice|family
mattywmgz, looks like it's not been accepted by the bot16:24
mattywmgz, but not hurry16:24
mgzmattyw: yeah, sinzui pointed out we should actually wait for a clean run of those upgrade jobs with menno's change, which is happening now16:34
mattywmgz, sounds sensible16:34
mgzsinzui: can I ask you to flip the bug to fix released when that happens, and tell people in here?16:34
mgzI'm migrating home from cow-orking now16:34
sinzuimgz: I will update the bug when CI is satisfied16:41
sinzuimgz, mattyw I see 1804 tested master and passed http://juju-ci.vapour.ws:8080/job/local-upgrade-precise-amd64/16:45
sinzuiI am marking the bug fix released16:45
mattywsinzui, cool thanks very much16:45
perrito666hint: apparently we can access all of our repositories as if they where svn...16:47
perrito666https://github.com/features16:47
mattywperrito666, but they still don't suppor prereq branches16:48
perrito666mattyw: now, aren't you a party p****r? :p16:49
mattywperrito666, yes16:49
mattyw:)16:49
perrito666mattyw: I would also want all reviews in one mail16:50
mattywperrito666, I read that as "want all reviews in the mail"16:50
perrito666heh I want to be able to do a full review and then commit and have that send ONE summary email16:50
ericsnowwwitzel3: that should get you started17:13
ericsnowwwitzel3: I *may* have gone a little overboard :)17:13
wwitzel3ericsnow: I can't figure out in which use case values would be nil?17:21
ericsnowwwitzel3: var mytags Tags17:21
ericsnowwwitzel3: (before calling mytags.Add(value) for the first time)17:22
ericsnowwwitzel3: maybe that's a use case we don't care about, but the future has a way of making us pay for those kind of assumptions17:23
wwitzel3ericsnow: I see now, I forgot to commit the unitialized test that I added .. it is for exactly that scenario and it works fine17:23
ericsnowwwitzel3: cool.  If that's covered then that takes care of most of my review comments :)17:25
perrito666sorry sinzui hadn't you marked 1370635 as fixed?17:44
sinzuiperrito666, yes, I marked it fix released within the last 20 minutes I think17:45
perrito666mm  merge bot does not seem to ack that17:45
perrito666ok seems that it is finally accepting merge requests17:58
ericsnowperrito666: that backups PR just merged :)18:07
perrito666I know I am the one that dollar dollar-ed the pr last :p18:08
ericsnowwwitzel3: thanks for putting up with my exuberance...hopefully it was helpful and didn't add much extra work18:08
ericsnowperrito666: thanks18:08
mattywnight all18:14
wwitzel3ericsnow: appreciate the review :) .. I like all comments, they make me think about the code differently. Even if the result is, I'm not going to take action, it is still good to look at things with different persepctives.18:17
ericsnowwwitzel3: okay, good.  The last thing I want is to waste your time on trivialities. :)18:17
wwitzel3ericsnow: no worries, I will just ignore those :P18:18
ericsnowwwitzel3:  :)18:19
=== kwmonroe is now known as kwmonroe_
=== kwmonroe_ is now known as kwmonroe
voidspaceg'night all18:34
* perrito666 does diff -u of 2 diff files and his head explodes19:56
jcw4perrito666: lol20:02
perrito666times are changing, my wife complains that osx is less user friendly than ubuntu20:04
natefinchnice20:05
=== urulama is now known as urulama-afk
perrito666well, ubuntu seems to be more responsive on slower machines20:35
wallyworld_sinzui: is bug 1370781 really critical, blocking 1.20.8?20:40
mupBug #1370781: cloud-archive on precise not pinned when juju calls apt-get upgrade <cloud-installer> <landscape> <juju-core:Triaged> <juju-core 1.20:Triaged> <https://launchpad.net/bugs/1370781>20:40
sinzuiwallyworld_, no. It is not a regression20:41
wallyworld_happy to fix it, but i'm not sure if we should delay 1.20.8 because of it20:41
sinzuiwallyworld_, I asked earlier today if it was trivial to fix. I had a lot of prep work for 1.20.8 so I was happy to hope for a fix while I updated the copy rules for proposed20:42
wallyworld_sinzui: ok, let me see what i can do this morning20:42
sinzuiwallyworld_, I will release tomorrow regardless of the state of that bug20:42
wallyworld_sinzui: fwiw, i have scheduled about 6 apt related bugs to be looked at over the next 2 weeks20:43
sinzuifab20:43
=== tdc_ is now known as tdc
perrito666nothing like having the second reviewer answering the questions from the first before you get the chance to20:57
perrito666:p20:57
perrito666ericsnow: tx, --pull is a much better word21:10
ericsnowperrito666: oh good :)21:10
ericsnowperrito666: at least there's one useful thing for you in that review then :)21:11
perrito666ericsnow: also, its charm-sync because otherwise we would be stepping on charmtools toes21:11
perrito666ericsnow: I have found many interesting things on your review21:11
perrito666ericsnow: re s/unit/remote unit/ unit can only be remote21:12
ericsnowperrito666: oh yeah lol21:12
perrito666is there a way to set up rb to show a couple of context lines on the issues?21:21
perrito666like a comment on "return err" even if it has the line number says absolutely nothing21:21
perrito666and I cannot always look up in my local copy of the code bc the line might have moved a lot21:21
ericsnowperrito666: it will show only the lines that were highlighted by the reviewer when the made the comment21:21
ericsnowperrito666: you can click on the link right there to pull up that spot in your browser21:22
perrito666ericsnow: I am trying to avoid jumping around21:22
ericsnowperrito666: I don't think that is adjustable21:22
=== kwmonroe_3tac is now known as kwmonroe
thumperwell the answer to how stuffed is my shoulder, is very.21:55
perrito666thumper: I am pretty sure there is some meaning to stuffed I dont know or you are a teddy bear21:57
thumperstuffed as in buggered, screwed21:57
perrito666thumper: ouch, I hope the other guy is worse21:57
ericsnowwallyworld_: when can I expect to find Andrew?22:25
wallyworld_ericsnow: about 2.5 hours22:25
thumpero/ wallyworld_22:25
ericsnowwallyworld_: k22:25
wallyworld_hi thumper, where did you get to yesterday?22:26
thumperwallyworld_: I had a day off22:26
thumperwallyworld_: for a local seminar22:26
wallyworld_we didn't miss you :-P22:26
thumperon design thinking, and business stuff22:26
thumperyeah, chatted to menn022:26
thumperpleased he fixed my bad shit22:26
ericsnowFYI, we've updated .reviewboardrc to include the TRACKING_BRANCH setting22:27
thumpero/22:27
bradmso, when can I get my hands on juju 1.20.8? :)23:31
thumperdavecheney: around?23:54
thumperdavecheney: I have a language question23:54
davecheneythumper: yup23:58
thumperdavecheney: take a look in agent/bootstrap.go23:58
thumperdavecheney: the InitializeState method23:58
thumperfunction23:59
davecheneymmm23:59
thumperthe named error return value is only used in a defer to close the connection if an error is returned23:59
thumperdoes this actually work?23:59
davecheneyoh23:59
davecheneyfuck i always miss that23:59
thumperno assignments are made to resultErr explicitly23:59

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