/srv/irclogs.ubuntu.com/2014/04/03/#juju-dev.txt

perrito666sinzui: btw, most likely I will be trying to fix restore failing from good connections issue :)00:00
arosaleswallyworld_: I got the limits lifted on Joyent if you want to give it another try, when you have time.00:09
wallyworld_arosales: otp, sec00:10
arosaleswallyworld_: ack00:10
wallyworld_arosales: thanks for that. curtis ran into the same issue originally as well but the CI tests were wteaked to deploy into lxc containers instead of a new instance and it all looks good :-)00:15
arosaleswallyworld_: yup that was on two different accounts too so I am checking with Joyent if we need to include that in our instructions of if the could lift that globally to at least 10 instances or something reasonable like that00:16
wallyworld_sure00:16
arosaleswallyworld_: would be nice to get confirmation you can add-unit or deploy more than 1 service (without colocating)00:17
arosalesincase I need to ping Joyent again00:17
wallyworld_ok, i'll try it out as soon as i can today00:17
arosaleswallyworld_: ack and no rush just wanted to let you know before I grabbed some dinner00:19
arosaleswallyworld_: and again thanks for getting that landed wouldn't have happend with out you chipping in00:19
wallyworld_np, that's what we're here for00:19
davechen1ywaigani: thanks for lookin into that issue00:35
davechen1yis the problem that the code is tryin to consume the body without checking the status code ?00:35
waiganiyep, just writing something up now00:36
davechen1ykk00:36
davechen1yhttps://bugs.launchpad.net/bugs/130166301:20
_mup_Bug #1301663: cmd/juju: panic during bootstrap <juju-core:Triaged> <https://launchpad.net/bugs/1301663>01:20
waiganidavechen1y: lboxing..01:27
davechen1ywaigani: right o01:28
davechen1yon da phone01:28
waiganiha, can't lbox because of proxies01:28
stokachuanyone tested juju 1.17.7 on trusty with kvm in local provider?01:48
stokachui can get it to bootstrap but when i deploy none of the vms are being created01:48
waiganidavechen1y: https://codereview.appspot.com/8331004401:48
stokachuoh interesting looks like im getting a connection refused over the websocket connection01:50
stokachulemme fix that first01:50
stokachuso it just takes a minute to get the connection and then fails with : http://paste.ubuntu.com/7196827/01:51
stokachuseems to just repeat that warning about no instances found01:53
stokachulxc also seems to work just fine01:54
thumperstokachu: yes, kinda02:13
thumperstokachu: I tested kvm with saucy when I did it02:13
thumperbut not trusty yet02:13
davechen1ythumper: i'm very concernred at the number of unchecked interface conversions in watcher/watcher.go ~40002:29
davechen1ylots of shit to go wrong there02:29
davechen1yi have a stack trace from hazmat that is very worrying02:30
thumperthat certainly is a lot of conversions02:30
davechen1yi'd like to remove all the v, _ 's02:30
davechen1ythis code behaves as if the conversion cannot fail02:31
davechen1yso we should assert that by not using the two arg version02:31
davechen1yfor example02:31
davechen1y                        dr, _ := c.Value.(bson.D)02:31
davechen1yif this isn't a bson D, then what the fuck is it ?02:32
thumperand this is just one more reason why I like generics :P02:33
thumperhowever...02:33
thumperI agree, blind type assertions are wrong02:33
davechen1ythere are a few cases in the codebase where they make sense02:33
davechen1ybut I don't think this is one02:34
* davechen1y logs issues02:35
davechen1ywhat the complete fuck02:36
davechen1y... value *errors.errorString = &errors.errorString{s:"cannot assign unit \"s0/0\" to machine 1: machine \"1\" cannot host units"} ("cannot assign unit \"s0/0\" to machine 1: machine \"1\" cannot host units")02:36
axwwallyworld_: did your unit address changes get into the 1.18 branch?02:39
axwwallyworld_: just about to add a comment to #125990802:40
_mup_Bug #1259908: juju status of units report private address (172.x.x.x) instead of public fqdn <add-unit> <addressability> <ip> <juju-core> <status> <juju-core:Triaged> <https://launchpad.net/bugs/1259908>02:40
wallyworld_axw: the ones aligned with jyent provider, yes02:40
axwright, they had to - thanks02:40
wallyworld_so the uniter doesn't set unit address on start up anymore02:40
axwyup02:40
thumperdavechen1y: have you played much with web sockets?02:47
thumperdavechen1y: I'm trying to work out how to write a test that needs to read from a web socket02:47
davechen1ythumper: i haven't02:48
davechen1ynot at all02:48
davechen1ysorry02:48
thumpernp02:48
thumperI'll keep poking with a stick from a distance02:48
hazmatthumper, do you need to talk websocket to it?02:49
hazmatthumper, its start of as http 1.1.. then does an immediate upgrade.02:50
hazmatoff02:50
thumperyes, I think I do, as this is how debug-log is streamed back to the client from the api02:50
davechen1yyup, that is about all I know02:51
hazmatthumper, just using an existing websocket client and setup the server on a high socket for test... its separate from the api server afaicr.02:51
thumperno...02:51
thumperit is part of the apiserver02:52
thumperbut I have it working so far02:52
thumperat least tests for the error conditions are good02:52
thumperperhaps I just make a client like the client would :-)02:52
hazmatcool02:52
* thumper goes to read more code02:52
waiganidavechen1y: the proxy nuke lines were not meant to be there sorry, taken out now: https://codereview.appspot.com/8331004403:14
davechen1ywaigani: thanks03:15
davechen1ywaigani: let me test it03:15
davechen1ydoes anyone else have time for a review ?03:15
axwdavechen1y: I can probably spare some time, what needs reviewing?03:24
davechen1yhttps://codereview.appspot.com/8331004403:24
davechen1ylooks pretty staight forward03:24
davechen1ywaigani: LGTM, passes for me03:28
davechen1ythank you03:28
waiganisweeeet :)03:28
axwwaigani: please fix Body.Close before landing03:28
axwwaigani: I added a comment03:28
waiganiaxw: yep, will do03:28
axwta03:29
davechen1yaxw: thanks, good catch03:29
waiganiaxw: moved Body.Close to above if, logged the body (debug level), checked log and test on ppc.03:44
waiganishall I push to lp, or do you want another lbox?03:44
waiganiaxw: ^03:44
davechen1ywaigani: lbox propose03:44
waiganiokay03:45
axwwaigani: thanks03:45
waiganijust give lbox half an hour ...03:45
davechen1y:)03:48
waiganiaxw: davechen1y: https://codereview.appspot.com/8331004403:49
axwshipit03:51
waigani:D03:51
davechen1yhodl up03:51
davechen1yone more thing03:51
axwyeah, good point about Errorf03:53
axwwaigani: ^^ dontshipit03:53
waiganihaha03:53
waiganiI had my finger on the button03:54
waiganidavechen1y: oh nice. That looks a lot better!03:55
davechen1yhttp://paste.ubuntu.com/7197095/03:55
davechen1yumm, this is bad03:55
waiganiI'll just push that last one to lp right davechen1y?03:56
davechen1ywaigani: lbox propose03:57
waiganioh shit, I missed the log as error, sorry hang on03:58
* thumper goes to make dinner04:00
thumperback later tonight for meeting04:00
thumperhoping to catch rogpeppe before meeting to talk about testing websockets04:01
waiganimy girl just got off the ice so I'm going to have to disappear04:01
waiganiback later tonight04:01
waiganidavechen1y: https://codereview.appspot.com/8331004404:02
davechen1yok04:03
waiganidavechen1y: just taking off skates etc so I can ship it if I get an lgtm from you04:04
davechen1ywaigani: i'll review in a sec04:04
davechen1yi'll mark the review as approved and make sure the bot lands it04:04
waiganidavechen1y: great. Thank you.04:05
davechen1yoh crap, the joyent test take > 10 minutes04:12
davechen1yand get killed by the watchdog04:12
wallyworld_davechen1y: what's the issue with stripping the jujud binary? i didn't add that bit in, just curious04:14
davechen1ystriping go binaries breaks them04:14
davechen1ywe don't strip them in the release build04:15
davechen1ybut I found a place in environs/tools where building local tools it still strips04:15
wallyworld_yeah. i guess it still works somewhat cause i think that's what upload tools uses04:15
wallyworld_and people have been running ok with that04:15
davechen1ywallyworld_: only on amd6404:15
wallyworld_ah04:16
davechen1yit really really doens't work for arm04:16
wallyworld_rightio04:16
wallyworld_i've assigned it to me to fix04:16
davechen1yi've already got a fix04:16
davechen1ywill propose in a sec04:16
davechen1yjust running tests04:16
wallyworld_mark the bug as in progress then!!04:16
davechen1yffs04:16
davechen1yi only just logged it04:16
davechen1yhold your horsees04:16
wallyworld_i was trying to be hepful :-P04:17
davechen1yi know04:17
* davechen1y pats wallyworld_ in a fatherly way04:17
wallyworld_i saw a few bugs, all raised by you and thought you may need some extra hands on deck :-)04:17
davechen1ygood thinking04:18
davechen1ywallyworld_: if you have time04:18
davechen1yi'm really getting nowhere with the simplestreams problems04:18
davechen1yjuju doesn't even build on 38604:18
davechen1ysorry, i mean the tests don't pass on 38604:18
wallyworld_which one?04:18
davechen1yso there is a lot of fixture data04:18
davechen1ywallyworld_: http://paste.ubuntu.com/7197153/04:19
davechen1yi'm sorry i can't get better reports04:19
davechen1yit takes fucking forever to run these tests04:19
wallyworld_these tests are running inside a 386 vm?04:19
davechen1ywallyworld_: http://cloud-images.ubuntu.com/releases/14.04/beta-2/04:20
davechen1ycloud images, just push the button04:20
wallyworld_oooh. nice04:21
davechen1yyeah04:21
davechen1yreally nice04:21
davechen1yneed a ubuntu image04:21
davechen1ypush the button04:21
wallyworld_ok, i have a wip branch i need to get done but i can look at the tests after that04:21
davechen1yok04:22
davechen1ythanks04:22
=== vladk|offline is now known as vladk
davechen1yaxw: got a sec ?05:38
axwdavechen1y: yup?05:39
davechen1yafk for a bit05:55
fwereadegaah it just took me *far* too long that filepath.Walk does not follow symlinks06:06
fwereades/long/long to realise/06:06
axwfwereade: heh :( been there06:08
rogpeppethumper: i'm here if you want me06:55
rogpeppefwereade: did you want it to?06:56
=== vladk is now known as vladk|offline
fwereaderogpeppe, I wouldn't usually, but I was passing it a symlink unawares and totally baffled as to why it wasn't walking any further :)07:17
rogpeppefwereade: ah...07:17
fwereadedavecheney, ping07:18
rogpeppefwereade: early morning amusing reading, BTW, if you hadn't seen it: https://www.usenix.org/system/files/1403_02-08_mickens.pdf07:18
fwereaderogpeppe, I like that guy's stuff, don't think I've seen that one, thanks :)07:19
rogpeppefwereade: me too, and me too07:19
axwfwereade: do you want to do any final review before I land this? (grouping is not enabled until azure-mode lands)    -- https://codereview.appspot.com/7391004307:21
fwereadeaxw, I'll do a quick pass now, if you haven't heard from me in 20 mins don't let me block you07:22
axwfwereade: okay, thanks07:22
rogpeppe"So, yes, it would be great if fixing your browser involved actions that were not semantically equivalent to voodoo. But, on the bright side, things could always be worse. For example, it would definitely be horrible if your browser’s scripting lan- guage combined the prototype-based inheritance of Self, a quasi-functional aspect borrowed from LISP, a structured syntax adapted from C, and an aggressively asynchronous I/O model that07:22
rogpepperequires elaborate callback chains that span multiple generations of hard-working Americans. OH NO I’VE JUST DESCRIBED JAVASCRIPT. What an unpleasant turn of events! People were begging for a combination of Self, LISP, and C in the same way that the denizens of Middle Earth were begging Saruman to breed Orcs and men to make Uruk-hai."07:22
axwfwereade: main change after merging is that it now uses DistributionGroup and takes the cloud-service name from the first instance.Id belonging to Azure, whereas the old code would use labels based on principal units07:24
axwrogpeppe: he's hilarious. I wish more people wrote like him; I might learn more :)07:26
rogpeppeaxw: +107:26
fwereadeaxw, LGTM07:31
axwfwereade: thanks07:32
=== vladk|offline is now known as vladk
axwfwereade: do you want https://codereview.appspot.com/81340043/ in before I enable azure? bear in mind that azure-mode will not allow add-machine or --to07:59
axw*enable azure-mode08:00
axwfwereade: btw, availability-sets-enabled is a bit wordy, do you think we should actually call it azure-mode?08:00
fwereadeaxw, sorry, I'm hitting dangling pointers in my brain08:01
axwno worries :)08:01
axwit's a bit twisty08:01
fwereadeaxw, so, that CL appears to lack tests a bit08:03
axwfwereade: yeah, it was just a WIP to get your thoughts08:03
axwI meant, do you want me to flesh it out and continue on with it before calling azure done. This one really is about ec2 and others where you would be allowed to add-machine and --to08:04
fwereadeaxw, so AFAICT they won't interact -- unless azure-mode allows for assignment to clean/empty machines, but IIRC it doesn't08:04
axwright08:04
axwfwereade: you made a comment on the DistributionGroup CL: "LGTM. Taking DG into account when choosing pre-existing instances is not08:05
axwin scope for this CL, but please make sure it's on your list of08:05
axwnecessary-features-before-done-done."08:05
fwereadeaxw, ok, I think we should get that in, because we want to enable service distribution in the other providers: once we have the interface in place, it becomes a "simple" matter of adding bugs for individual providers08:05
axwfwereade: agreed, but can I go ahead and land the remaining azure stuff first?08:06
fwereadeaxw, certainly08:06
axwcool08:06
fwereadeaxw, sorry slow to catch up :)08:06
axwno problemo08:06
voidspacemorning all08:31
fwereadefrankban, can I get your +1 on https://code.launchpad.net/~wallyworld/juju-core/watcher-address-issues/+merge/213968 please?08:32
fwereadefrankban, (or not ofc ;))08:32
frankbanfwereade: sure, looking and qaing it08:33
frankbanfwereade: does the comment at line 8-9 reflect reality?08:38
fwereadefrankban, wait, yeah, I think that's crack08:39
fwereadewallyworld_, ^ -- what about instancepoller?08:39
fwereadewallyworld_, it doesn't workin the local provider but it should do everywhere else08:40
voidspacerebooting08:42
frankbanfwereade: commented on the MP09:05
vladkdimitern: I have a problem with MAAS on VirtualBox09:09
vladkLXC from MAAS node can not get IP address from DHCP on MAAS cluster controller, because DHCP Request is sent w/o 'broadcast' flag and unicast DHCP Offer is not delivered inside of VirtualBox.09:09
vladkMay be the problem related to VirtualBox, but I suggest to run DHCPD on MAAS with 'always-broadcast' option.09:09
vladkDoes it make sense?09:09
dimiternvladk, I have very little knowledge of setting up dhcp internals and details - it seems you might be on a right track there09:10
jamvladk: #maas would be the place to bring it up, I think09:11
vladkdimitern: LXC container inside MAAS choose their MACs automatically and may even have different MACs on each lxc-start.09:13
vladkI offer to add some option to 'juju add-machine' to specify either MAC of LXC container or CIDR+GW.09:13
fwereadevladk, dimitern: I really don't want MAC addresses leaking into the UI, but I'm just fine with uspicking one and sticking to it09:14
fwereades/uspicking/us picking/09:14
vladkdimitern, but in this case it will be impossible to have a predictable external IP address bound to LXC09:18
mattywfwereade, rogpeppe quick question for one of you (sorry if I'm repeating - I got disconnected soon after asking the first time so I don't think I got through)...09:24
thumperrogpeppe: got time for a hangout? I need help09:24
mattywI've started a branch for getting the current user set as the service owner when juju deploy is called. The wip mp is here: https://codereview.appspot.com/83060049/. I've added a test: https://codereview.appspot.com/83060049/patch/1/10004 but what I should do in the test is actually change the current user (as defined in the .jenv file) but I couldn't work out how to do it09:25
rogpeppethumper: sure09:25
thumperrogpeppe: thanks https://plus.google.com/hangouts/_/7acpj31hohv230rlfvf7d3jqec?hl=en09:25
rogpeppemattyw: are you around for a while?09:25
mattywrogpeppe, I am yes - no hurry09:25
rogpeppemattyw: cool, will answer after talking with thumper09:26
fwereademattyw, I don't think that owner should be in the args over the API -- it's implicit in the connection09:27
mattywfwereade, I guessed that would be the case but I couldn't see it09:28
fwereademattyw, I think you just need to get the current tag off the auth object and pass that through09:28
mattywinfact - idiot - of course it is09:28
mattywwill do09:28
fwereademattyw, it may not currently be exposed but it's definitely there09:28
fwereademattyw, cheers09:28
mattywsorry - should have seen that09:28
mattywand how should I switch the current env in the tests?09:28
fwereademattyw, that should then leave cmd/juju and state/api untouched, I think09:29
fwereademattyw, so long as the apiserver tests check that it works with a different connected user, I don't think yu need to touch those other packages at all09:29
mattywok09:30
axwfwereade: we can haz HA azure now - all merged09:34
fwereadeaxw, w00t!09:35
vladkdimitern: is any way in MAAS api to understand what MAC address is of PRIMARY interface. you may suggest the first one, but if I remove and recreate the first MAC, it become the last one09:35
* axw tests that it works once more to be sure09:35
fwereadeaxw, much appreciated :)09:38
jamfwereade: can I have an ear for a sec?09:39
* fwereade listens09:39
jamfwereade: arm vs armhf09:39
jamthe tool building process is generating simplestreams with armhf and tarballs with armhf in them09:39
jambut AFAICT the binaries inside them have "arm"09:39
fwereadejam, yeah, I pinged davecheney, I don't understand his objection to calling it armhf inside juju09:39
jamfwereade: all *I* care about is that they are consistent, and I feel it is easier to fix juju-core at this stage than fixing stuff outside of juju-core09:40
jamif only because we have a patch :)09:40
fwereadejam, and (from my perspective at least) it's a hell of a lot easier to fix juju than to fix the tool-building09:40
fwereadejam, yeah09:40
fwereadejam great minds ;)09:40
fwereadedavechen1y, davecheney: ping again?09:41
axwuh oh, spaghetti oh. I broke something09:45
fwereadeaxw, change your name to max power and try again09:48
wwitzel3lol09:48
davechen1yfwereade: ack09:50
dimiternvladk, maas doesn't enforce ordering of macs - what you enter is what you can use to link to networks09:52
jamfwereade: I'm thinking we need james' patch to land on the 1.18 branch as well, right?09:54
jamfrankban: I believe LXC has an empty scope because we can't tell whether it is public or private.09:54
jamIt is just the address we got from eth009:55
jamon Clouds that is actually a private address09:55
jamfor LXC it is probably the "most public address we can get"09:55
jamthough still since it is on LXCBR0 it is probably a private address.09:55
mgzthere's no real public at all for the local provider, and lxc on other clouds will give you a machine-local address from that09:56
frankbanjam: yeah, I am just concerned about client logic. From the client perspective, an internal eth0 address of an LXC in a local env could be also be considered "public", meaning reachable.09:56
jammgz: well for MaaS it is a public-ish address, but for where we end up with EC2 it would be private.09:56
mgzright, maas is special09:57
jamfrankban: so I'm pretty sure it means "we need to do more coding to parameterize this on where the LXC is running"09:57
jamwhich is... Is it worth it for now?09:57
frankbanjam: I just want to make sure the logic I described in the bug is what must be implemented by clients09:57
fwereadedavechen1y, what's the objection to calling it armhf inside juju? it feels like the cleanest way to get consistency09:57
wallyworld_fwereade: sorry, was at soccer, missed your ping09:58
fwereadewallyworld_, I forget what it was about now ;p09:58
wallyworld_goo :-)09:58
wallyworld_good09:58
fwereadewallyworld_, oh, yeah, instancepoller09:58
fwereadesorry brb09:59
jamwallyworld_: so there is a bug that frankban noticed, and the question about what to do with "unknown" networks.09:59
jam(appending to a list that we preseed with length)10:00
jamtrivially fixed with "addresses = ... 0, len(merged))"10:00
axwfwereade: quick one when you have a moment https://codereview.appspot.com/8394004310:00
wallyworld_fwereade: ok, i'll look. btu all i'm doing is exposing the exisitng address getters on unit10:00
jammgz: I think frankban's logic for "use the first public address, otherwise fall back to the first unknown address" is the logic we're going to have to go with for now.10:00
jamit will still be wrong in the ec2 case10:00
wallyworld_so if they're wrong then it's also wrong elsewhere10:00
jambut hopefully by then we can do the "oh private address X maps back to public address Y" and shove that in the information for the container10:01
jamwhich means the logic will still be correct.10:01
jamwallyworld_: the other code didn't do "make"10:01
dimiternfwereade, jam, rogpeppe, meeting?10:01
axwfwereade: integration testing fail - actually works with this change10:01
frankbanjam: why  is it wrong in the ec2 case?10:01
jamit just started with the nil slice and appended to it.10:01
jamfrankban: because if you have an LXC on EC2 it can *only* ever see its machine private addres.10:02
jamyou have to go back to the provider10:02
jamand lookup "what is the actual public address assigned to the outer machine that matches the private address inside the LXC"10:02
wallyworld_jam: i needed to return an empty slice rather than a nil slice cause that's what the mega watchr wants10:02
jamwallyworld_: that is fine, the problem is that you do "make([]foo, len(merged)" and then append10:02
jamjust change that to10:02
jammake([]foo, 0, len(merged))10:03
jamI have to switch machines,10:03
wallyworld_oh ok10:03
frankbanjam: so, is it ok to use the logic I described in the bug (public + fallback)?  Do you think that work for all providers?10:04
jam1frankban: that works as well as we can do right now10:06
jam1when we fix EC2 to know about how to do that mapping, we can put a public address for those LXC containers10:06
jam1and have it continue to work10:07
frankbanjam1: ok, so, when that branch lands, we can go ahead with quickstart and the GUI, using that logic to retrieve the reachable address10:08
frankbanjam1: sounds ok?10:08
jam1frankban: sgtm10:08
fwereadehazmat, do you have the paste that davecheney linked with the casts in the watcher code?10:16
hazmatfwereade, i don't..   i  have the tracebacks..10:16
fwereadehazmat, sorry, it was that to which I referred10:17
hazmatfwereade, here's the watcher one.. http://pastebin.ubuntu.com/7198067/10:18
hazmati'll forward the rest via emial10:18
perrito666good thing I am not joining near a major release.. ah, wait :|10:33
perrito666:p10:33
stokachuthumper: yea saucy works with kvm11:06
jam1fwereade: I looked at https://codereview.appspot.com/81110043/ (manifestDeployer)11:14
jam1it seems ok, though the SetAbortWait is confusing for me.11:15
fwereadejam1, I tried to make it clear, but clearly failed11:16
jam1fwereade: well, I sort of understand what it is doing, but it took a bit because the function has side effects *and* returns an object.11:16
jam1It also wasn't clear why we needed it.11:16
jam1fwereade: is that just part of the interface?11:17
jam1it seems like without the wait form, the other function can't return at all.11:17
jam1ah, it just always ignored abort before11:17
fwereadejam1, it's really just a way of checking that the abort chan is passed through to the bundle reader11:18
fwereadejam1, better ways of doing it greatly appreciated :)11:18
jam1fwereade: sure, I actually see the side effect, but it isn't very straight forward11:18
jam1so *if* you called SetWaitAbort11:18
jam1then we will wait on <-abort11:18
fwereadejam1, because it certainly felt unhelpfully convoluted to me11:18
jam1otherwise we just always fall through with the <br.waitAbort because it is a closed channel11:18
fwereadejam, yeah, exactly11:19
jam1doing the "create one and close it" looks strange.11:19
jam1I'll propose something11:19
fwereadejam1, cool, thanks11:19
voidspacerogpeppe: you there? the hangout is awfully quiet :-)11:26
jam1fwereade: suggestion sent11:26
jam1you certainly don't have to pick it up, and it is more verbose11:26
jam1but I feel it is a bit easier to read11:26
jam1voidspace: I'm sorry, you're not allowed to go on vacation, ever.11:26
voidspacejam1: ah, ok - that must be a new policy...11:26
jam1voidspace: certainly not to something so seedy as a place to Con people with Pie11:27
voidspacejam1: what about if I promise to proselatyse Juju?11:27
voidspace(forgive the spelling)11:27
natefinchIf I'm going to be conned, I hope I get pie11:27
jam1voidspace: approved!11:27
voidspacejam1: thanks :-)11:27
* natefinch brings fork to pycon, is disappointed.11:27
voidspacenatefinch: silly man :-)11:28
jam1natefinch: should have brought a spork11:28
jam1fwereade: is there actually anything blocking https://code.launchpad.net/~fwereade/juju-core/filetesting-package/+merge/212811 other than rogpeppe didn't actually give it an LGTM ?11:28
jam1it looks like you did all of his suggestions.11:29
voidspaceso yesterday, whilst attempting to print, I discovered that Ubuntu has a keyboard shortcut for "change my resolution, futz with my screen layout and disable the mouse"11:29
voidspace*really* useful11:29
rogpeppeah, i had a couple of draft comments11:29
voidspaceall you have to do is press <Super-P> instead of <Ctrl-P>11:29
wwitzel3there will be enough juju people at pycon that we could do an openspace11:31
wwitzel3though the last thing I need is one more thing to coordinate11:31
jam1voidspace: mess-with-displays enough that Pidgin can't find its window anymore :)11:31
wwitzel3maybe tvansteenburgh will do it :)11:32
jam1voidspace: apparently it is "detect displays" which changes it from separate to mirrored11:32
jam1so if you have different sized screens (as I do) it gets messed up11:32
voidspacenice11:32
jam1it also messes up the "my second screen is on the left"11:32
jam1settings11:32
jam1http://askubuntu.com/questions/20113/how-to-stop-mod4-p-from-switching-the-display and http://askubuntu.com/questions/68463/how-to-disable-global-super-p-shortcut11:32
jam1voidspace: you're not the only one that dislikes it11:32
voidspaceyeah, apparently it's a *feature*11:32
voidspaceI'm actually impressed with trusty multi monitor support in general though11:33
jam1I'm guessing this is "I connected to a Projector, help!"11:33
natefinchwow, yeah, that's terrible11:33
voidspace"just works" (mostly)11:33
natefinchit would be fine if it just toggled from mirror display to <whatever I had set before>11:33
jam1so having a command sequence to switch to Mirrored displays isn't that uncommon11:33
jam1it used to always be a Fn key on laptops11:33
natefinchit's just forgetting what I had set up before11:34
jam1natefinch: yeah, not remembering the previous setting is a bit bad.11:34
jam1natefinch: I take it you tried it as well11:34
jam1It remembered I only wanted 1 task bar11:34
jam1but it swapped my displays left to right again11:34
natefinchsomeone says "hey I did this and it messed everything up" and I have to try it.  Masochistic I guess11:34
jam1and made my right-hand screen the primary11:34
wwitzel3natefinch: lol11:34
jam1natefinch: something about the fuck-up made it so 3 of my windows so far are just *gone*11:35
jam1I'm guessing they ended up in massively negative offsets11:35
natefinchthe only major thing I see wrong is that my laptop thinks it's on the left of my other two screens rather than the right. but maybe that's just because my settings were already close to what it just resets them to11:35
jam1but I can't grab them to move them back on the screen11:35
wwitzel3it seems like every other display setting change results in a Keep/Revert dialog. super-p should do the same11:35
natefinchjam1: that happens to me all the time for no apparent reason11:35
jam1on Windows you could meta-something to get the menu drop down and select move and then arrow key them11:36
natefinchjam1: hah, yeah, I am well versed in that manuever11:36
voidspace:-)11:36
voidspacesorry guys11:36
natefinchright-click, select move, tap an arrow key, then it sticks to the mouse so you can move it on screen.11:36
natefinchobvious, really11:36
jam1natefinch: If I Alt+Tab Unity shows me that it still knows what the window looks like, but no indication that it knows where the fuck it is :)11:37
jam1natefinch: you can Meta key to get it as well11:37
jam1Meta, release, M11:37
jam1natefinch: and clicking on the dashboard shows that the windows are *really* far to the right of my right-hand screen11:38
jam1because they "swoosh" into center view11:38
jam1but still no way to move them :(11:38
voidspacefortunately when I did it the screen with the launcher was still visible so I could run the displays app to restore things11:38
wwitzel3jam1: Alt+F7 then the arrow keys after selecting them with Alt+Tab11:38
natefinchvoidspace: not your fault jam and I are idiots :)11:38
voidspacenatefinch: I'm very sorry, but I'm finding it hard not to laugh11:39
natefinchjam1: ubuntu just had a "serious error" when I went into the display settings to move my monitor back11:39
jam1wwitzel3: so Alt+F7 binds the mouse to move them11:39
jam1but they are so far off the screen I have to move it 2 times :)11:39
wwitzel3hah11:39
jam1natefinch: it works, but it doesn't have the "first move brings it back onto the screen"11:39
jam1that the Windows arrow did11:40
jam1wwitzel3: bringing the mouse to an edge causes the snap-to-edge which at least brings it back11:40
wwitzel3jam1: well, that's something at least :)11:41
natefinchjam1: thanks for the alt-f7 thing, that'll help the next time I mysteriously lose a window11:41
natefinchnow if I could only get the workspace switching hotkeys to work11:42
jam1wwitzel3: and when you move it off the snap to, it remembers its original size11:42
jam1so it actually works pretty well11:42
wwitzel3oh, nice, yeah11:42
jam1natefinch: ctrl+alt+arrow doesn't work? (I didn't reenable it myself)11:42
natefinchjam1: nope.  No matter what I bind the action to, hitting that hotkey doesn't do anything11:43
natefinchjam1: all the workspacey hotkeys do nothing for me for some reason11:44
jam1natefinch: you know about the Enable Workspaces in Appearance, right?11:44
natefinchand yes I have workspaces enabled (and the button works to show the workspaces and stuff)11:44
natefinch:)11:44
jam1I tested it, and Ctrl+Alt+Arrows is working for me, sorry11:45
* natefinch shrugs11:45
natefinchnever had workspaces before, so I don't miss them, just feel like it could be useful for context switching11:45
jam1natefinch: on my laptop, I used it for "email on this wkspace, coding on another"11:46
jam1but with dual monitors, that is just right and left monitor11:46
wwitzel3yeah I tend to only use them when I am stuck on one monitor11:46
wwitzel3voidspace just has a monitor for each application, makes things simple11:47
natefinchyeah, definitely would be useful for when I'm stuck on one monitor... just might be nice to have work stuff on this workspace, and non-work stuff on another workspace, instead of playing terminal roulette11:47
natefinchterminal roulette sounds a lot more dire than it is11:48
fwereadejam, re filetesting, don't think so11:49
jam1natefinch: you shouldn't be doing non work stuff, clearly11:49
wwitzel3natefinch: depends on the command? .. I'm not above copying and pasting a sudo command from the internet11:49
natefinchlol11:50
wwitzel3in fact, just the other day I copy and pasted one that was wgetting and executing a shell script ...11:50
voidspacehah11:50
wwitzel3sure np, why not11:50
jam1fwereade: sure. if you *want* I can give it another review, but whatever seems the best way to get you unstuck11:50
natefinchwwitzel3: mostly it's "switch to terminal, damn, wrong history, switch to another terminal... what was I even doing here?  switch to another terminal... wait, maybe the first one was right"11:50
wwitzel3it was on my raspberrypi though, so not as bad as it sounds11:50
jam1natefinch: http://unix.stackexchange.com/questions/1288/preserve-bash-history-in-multiple-terminal-windows11:51
jam1shopt -s histappend11:51
jam1Its in my .bashrc11:51
natefinchI don't know that I Want that. I like separate histories... I don't want actions I do in one munging the history in another.... I like being able to switch to a terminal, hit up enter and redo the last thing it did (often go build or go test in the correct directory), while still being able to futz with stuff in another terminal11:52
wwitzel3yeah, I use that as well so that i have access to my history across all my tmux panes/windows11:53
natefinchIt's just when I forget which was which that is the problem :)11:53
jammy big "which window" right now is that I started using gmail web interface instead of Thunderbird11:59
jamso now when I alt Tab  Ihave to figure out which of these 5 windows looks like a mail program11:59
natefinchhaha yeah, that is a drawback.11:59
jamnatefinch: I tried using the "Install this as an App" but that seems to start it in a non-standard browser, and it doesn't work very well12:00
natefinchnatefinch: I was just going to suggest that.  It should still be chrome, just without the URL bar12:00
natefinchtalking to myself evidently12:00
wwitzel3lol12:00
natefinchjam: works ok for me.  *shrug*  It is nice that it then gets the gmail icon (even if it is a grossly blown-up version of the favicon)12:02
jamwell, I did it from Firefox12:03
wwitzel3natefinch: I use Chrome users, so the install as app thing gets a little wonky for me.12:03
natefinchjam: ahh, yeah, that's probably the problem.  I have no idea what firefox does.  Chrome works nicely though.  Maybe that's a fix, too, just run mail in chrome and everything else in firefox12:04
natefinchwwitzel3: ahh, yeah, I can see that being a problem12:04
jamnatefinch: yeah, I was just trying that out12:04
wallyworld_fwereade: jam:  i tested juju-gui with my branch under review and it correctly shows the unit public ip addresses when using local provider12:05
frankbanwallyworld_: yes, I tested it here too, the lxc addresses are correctly included both in the unit and machine info. FWIW I approved the branch12:11
frankbanwallyworld_: thank you for working on that12:12
wallyworld_frankban: yeah,saw that thanks12:12
wallyworld_just wanted be sure sure i tested it before landing12:12
* fwereade cheers at wallyworld_ and frankban12:22
fwereadejam, I'd absolutely accept another review, especially if it comes with an lgtm ;)12:22
jamnatefinch: ah, now I remember. the webapp thing works, but then it acts like a mobile app, where double clicking zooms on various parts of the screen, and the font is clearly "rescaled" (changing the size of the window changes the size of the font, rather than rewrapping the elements)12:28
jamso it works ~ok at full screen, but still acts a bit different12:29
natefinchjam: weird.  chrome's is much better, just a separate browser window sans address bar with a different icon.  Otherwise works just like a normal browser window.12:31
jamnatefinch: I'm pretty sure the web app thing is Trusty's webapp which is based on Chrome12:31
jamAs the menu items for what will be prompted is in Chrome settings, and not Firefox's12:31
natefinchhuh12:31
jamnatefinch: the window title is "Ubuntu Web Browser"12:32
natefinchwacky12:32
jamnatefinch: http://discourse.ubuntu.com/t/theres-a-ubuntu-browser-in-trusty/1594/7 "Ubuntu browser will be used for webapps"12:34
jamOxide is a library that allows you to embed a Chromium-powered webview in QML applications.12:34
natefinchinteresting12:35
jamnatefinch: are you on Trusty?12:36
vladkdimitern, sorry for delay. I'm ready for hangout. I prepared a doc with my thoughts: https://docs.google.com/a/canonical.com/document/d/1Fq1JKyuN8PlAeXdt98DN8Wy-WRgrXg-cHmuCqIeO9g0/edit#12:36
natefinchjam: yep12:36
jamhm. anyway, it works better in Chrome and makes it easier to Alt Tab, good enough :)12:37
natefinchjam:  are you using tools-> create application shortcut, or something else?12:37
natefinch(in chrome)12:37
dimiternvladk, go ahead and join with mgz and perrito666, i'll come shortly12:43
* perrito666 feels summoned12:44
dimiternperrito666, :) vladk wanted to have a quick chat about what he discovered for maas+vlans12:44
mgzdimitern: where at?12:45
perrito666ah cool, hold until I make the magic "go to the computer where hangout works" dance :p12:45
perrito666our usual channel?12:45
vladkperrito666: it's busy12:46
dimiternvladk, will you create a hangout and send links to me, mgz and perrito666 please?12:46
vladkhttps://plus.google.com/hangouts/_/76cpim0b0s5qihkhpi9vh8qlso12:48
vladkperrito666, dimitern, mgz: https://plus.google.com/hangouts/_/76cpim0b0s5qihkhpi9vh8qlso12:48
voidspacelunch12:49
* voidspace lurches12:49
mgzcan one of you invite my g+ account to that, there's an option in the tools to the right12:49
mgz*left12:49
perrito666mgz: I just had to mail me the link :p12:50
perrito666vladk: dimitern says I dont have access to that videocall12:51
perrito666(It says it in spanish, but error in english must be pretty much the same"12:51
dimiternperrito666, mgz, I invited you both12:52
mgzdimitern: ta12:52
jammgz, dimitern: can one of you give a quick summary of where you guys are at?12:52
mgzjam: overall, or right now?12:52
jammgz: just a "this is what we've gotten up to and what we're on next". the same summary that you'd give at a regular standup12:53
mgzhoracio is doing error report on --to with incompatible networks12:54
mgzI'm going to start on add-machine --network  params12:54
mgzdimitern is doing the cloudinit vlan bits12:55
dimiternjam, i'm finishing off state changes to add networks and NICs for machines12:55
perrito666jam: I am doing what mgz said and also trying to tie up the restore issue (finally it actually was caused by a too good connection to the server)12:55
jamperrito666: technically caused by a race condition :)12:56
perrito666jam: yes :) just very hard/impossible to reproduce in south america12:56
perrito666so I am replicating my env in an aws machine so I can find the race condition12:57
bodie_morning all13:07
rogpeppebodie_: hiya13:17
rogpeppeha ha ha! that's quite funny. i was wondering why my singular worker logic wasn't working, expecting all kinds of mongo weirdities, but instead just found that i wasn't actually *using* the singular worker wrapper at all13:25
bodie_I try to live by this adage: "It's always a layer 0 problem"...13:26
rogpeppebodie_: except when it isn't...13:26
bodie_right, ha!13:26
bodie_just, i always find myself spending hours trying to work out something that just doesn't seem right, and then something's literally wired wrong, or i'm being dumb in some way13:27
bodie_on that note13:27
rogpeppebodie_: yeah, assumption is the mother of all fuck ups13:27
bodie_I'm trying to understand what Command's SetFlags method is exactly for13:27
rogpeppebodie_: it's so that common flags can be added without the command knowing about it13:28
bodie_I see that it's defined in cmd/environmentcommand.go and then each command adds to it13:28
bodie_ok13:28
rogpeppebodie_: with the flag parsing logic defined outside of each command13:28
dimiternperrito666, http://paste.ubuntu.com/7198669/13:31
perrito666dimitern: tx13:31
bodie_oh, actual environment variables, rogpeppe?13:33
rogpeppebodie_: no, command-line arguments13:33
bodie_ok, that's what I thought...13:33
rogpeppebodie_: our documentation on cmd.Command should really be better, but it is at least a start13:35
bodie_okay, I think that's what I was looking for but not finding13:35
wwitzel3natefinch: ping13:46
rogpeppewwitzel3: i haven't seen anything so far14:00
wwitzel3rogpeppe: http://paste.ubuntu.com/7198781/14:01
natefinchwwitzel3: here now14:09
wwitzel3natefinch: hey, rogpeppe helped me out :)14:09
natefinchsweet14:09
=== vladk is now known as vladk|offline
sinzuijam, fwereade Can I retartget bug 1301663 to 1.19.0.14:19
_mup_Bug #1301663: cmd/juju: panic during bootstrap <juju-core:Triaged> <https://launchpad.net/bugs/1301663>14:19
mattywrogpeppe, ping?14:20
rogpeppemattyw: ah, you're right to ping me, sorry14:20
mattyw(shouldn't take long)14:20
mattywam I?14:20
mattywcan you see into the future or something?14:20
mattywI want to get at the current user for a state - which I believe is st.info.Tag14:21
fwereadesinzui, yes, let's14:21
mattywthere doesn't seem to be a way of getting it out of state - can/should I write a GetTag which does return st.info.Tag?14:22
rogpeppemattyw: well, you asked me a question earlier & i said i'd get back to you...14:22
hazmatthe azure stuff.. that implies/means the provisioner knows the workloads its deploying now when allocating machines as well?14:22
mattywrogpeppe, ah yes - I forgot14:22
fwereademattyw, rogpeppe: can't we get it off the auth object?14:23
fwereademattyw, rogpeppe: we might need to add a method to expose it, but it should be right there in the api14:23
rogpeppemattyw: which state are we talking about here?14:23
fwereademattyw, rogpeppe: I don't think we should be thinking about the user for a *state* at all14:23
rogpeppefwereade: +114:24
rogpeppefwereade: unless we're talking about api.State14:24
rogpeppemattyw: you can get it from st.auth.Tag()14:24
rogpeppemattyw: and possibly st.auth.AuthEntity.(*state.User), if it must be a user14:25
rogpeppemattyw: actually, i probably mean st.auth.AuthEntity().Tag() and st.auth.AuthEntity().(*state.User)14:25
rogpeppemattyw: although i still haven't actually looked at the code, so that's probably wrong too14:26
rogpeppe:-)14:26
mattywrogpeppe, are we talking about state from apiclient?14:26
rogpeppemattyw: no14:26
rogpeppemattyw: i'm not sure what code you're wanting to test here...14:27
jamsinzui: looks like just-a-bug to me, so not critical for 1.1814:27
fwereademattyw, rogpeppe: it's setting the user that creates a service14:27
sinzuithank you jame and fwereade14:28
rogpeppemattyw: could you explain in a bit more detail what you're trying to do, please?14:28
mattywrogpeppe, sure - quick hangout?14:29
rogpeppemattyw: sure14:29
sinzuijam, fwereade I will propose the version change to 1.18.0 in the next hour. When bug 1285410 is fixed and tested by CI, I will start the release.14:29
_mup_Bug #1285410: juju names arm arch 'arm' internally, but 'armhf' in tools <armhf> <armhf-hwe> <constraints> <server-hwe> <juju-core:In Progress by jason-hobbs> <juju-core 1.18:In Progress by jameinel> <https://launchpad.net/bugs/1285410>14:29
fwereadesinzui, awesome... but, jam, didn't we have a bunch of failures in the patch for that?14:30
fwereadejam, or did you fix them already? :)14:30
jamsinzui: fwereade: yes, there were test failures from jhobbs's patch14:32
jamI did not get a chance to fix them14:32
jamI backported his patch, but since we have failures, I can't land it.14:32
jamhopefully jhobbs will be on soon to address them14:32
sinzuithank you jam14:32
wwitzel3rogpeppe: http://bazaar.launchpad.net/~wwitzel3/juju-core/030-saveapiaddresses/revision/252314:50
sinzuinatefinch, wwitzel3 Do you have a minute to review https://codereview.appspot.com/8409004314:59
natefinchsinzui: LGTM (and wwitzel3 - I was too slow)15:06
wwitzel3natefinch: after discussing with rogpeppe some more, we can propose 030 as is. The new code itself is asserted by the TestMachineAgentRunsAPIAddressUpdaterWorker test.15:07
natefinchwwitzel3: ok15:08
dimiternfwereade, mgz, perrito666, I'd appreciate a review on the state networking model changes for machines: https://codereview.appspot.com/8307004715:14
* fwereade looks15:14
fwereadedimitern, surely the exclude bit of LinkedNetworks is meaningless?15:16
fwereadedimitern, oh ok, LinkedNetworks is the requested, not the actual?15:17
fwereadedimitern, that would make sense with include/exclude, but the name feels a bit odd15:18
=== vladk|offline is now known as vladk
mattywfwereade, rogpeppe if one of you could take a look at this I'd appreciate it https://codereview.appspot.com/8306004915:24
dimiternfwereade, yeah, LinkedNetworks comes from the service15:26
natefinchwwitzel3: is there anything I need to pull from your branch?15:26
dimiternfwereade, i chose that because the collection name is "linkednetworks"15:26
wwitzel3natefinch: no, I reverted everthing I did :/15:46
wwitzel3natefinch: so there is absolutely nothing to show for my effort15:46
wwitzel3natefinch: to fair what I did just eneded up being a duplicate of what Andrew already did15:46
wwitzel3natefinch: I just noticed it too late15:46
natefinchrogpeppe: do we need to merge anything into my version of the branch for the config changes?15:47
natefinchvoidspace: is your config stuff landed on trunk?16:03
voidspacenatefinch: yes16:20
natefinchvoidspace: cool16:21
natefinchbzr merge lp:juju-core ..... 12 conflicts encountered.    *sigh*16:26
rogpeppenatefinch: trunk has everything you need to merge...16:28
natefinchrogpeppe: yeah, doing that now..... where did agent/agent.go  go?16:28
rogpeppenatefinch: i can work with you to resolve the conflicts if you like - i think i know what kinds of thing need to be done16:28
rogpeppenatefinch: agent/agent.go is still there AFAIK16:28
natefinchrogpeppe: weird, yeah, I retried the conflict and it showed up.... bzr bug or something16:29
voidspacerogpeppe: for Conn.Ping (for singular workers to ping the master) where should I get the address16:30
natefinchrogpeppe: actually the conflicts are pretty easy... most of them seem to be for me to just take what's on trunk16:30
voidspacerogpeppe: I notice that State (which has the IsMaster call) has a private addr16:30
voidspacerogpeppe: "addr is the address used to connect to the API server."16:30
rogpeppevoidspace: i don't think you need an address for the Ping16:31
voidspacerogpeppe: doesn't it need to ping *somewhere*?16:31
rogpeppenatefinch: the main thing that you need to do is write out the data from the StateServingInfo into files for mongo to use, rather than creating them in cloudinit16:31
rogpeppenatefinch: but perhaps you've done that already16:31
rogpeppevoidspace: it should call state.Session().Ping16:32
voidspaceah...16:32
voidspacerogpeppe: fair enough :-)16:32
natefinchrogpeppe: mostly.  I think it'll be obvious where we need to change things, since stateserving info is replacing some of the info we were using16:33
natefinchit's times like these when I thank the development gods for a good three way merge tool (in my case, Beyond Compare)16:34
natefinchhey! someone got labix.org in my stdlib includes!16:36
natefinchhm.... should we be grouping github.com/juju stuff with launchpad.net/juju-core stuff?16:37
fwereadenatefinch, IMO github.com/juju is separate from github.com/juju/core (juju-core? I forget what we decided)16:39
natefinchfwereade: that seems logical, since there may be stuff under github.com/juju that isn't necesarily core stuff, whereas /juju/core definitely is core stuff.16:41
* natefinch expels github.com/juju/loggo to the external packages section16:42
rogpepperebooting now. this machine is unusable17:04
voidspacenatefinch: got a minute?17:13
natefinchvoidspace: sure17:13
voidspaceok, folks17:27
voidspaceG'night all17:27
voidspaceEOD17:27
sinzuinatefinch, or anyone with gobot and version knowledge. The lander hates my branch that updates the 1.18 branch to 1.18.0 https://code.launchpad.net/~sinzui/juju-core/inc-1.18.0/+merge/21405317:33
natefinchsinzui: looking17:34
natefinchsinzui: sorta looks like the tmp directory is messed up again17:35
natefinchsinzui: I don't actually know how to get onto the bot to poke at it... but usually it's the tmp directory filling up, and since there's a bunch of stuff in /tmp that seems to be missing, that would be my guess17:37
sinzuinatefinch, thank you17:38
=== lazyPower is now known as lazyPower-travel
rogpeppei've just upgraded my machine and it's now trashed17:53
natefinchtrashed how?17:54
rogpeppeam currently using a terminal-emulation-based irc client17:54
wwitzel3rogpeppe: me too17:54
rogpeppenatefinch: no windows appear17:54
wwitzel3well not the trashed part17:54
natefinchwindows are for the weak17:54
rogpeppenatefinch: i can't appear to do anything at all17:54
wwitzel3but I used a terminal client ;)17:54
rogpeppei guess i can just go back to the vi dark ages17:54
natefinchheh17:55
wwitzel3have you tried Super+P ?17:55
rogpeppebut no web browser might be a bit of a problem17:55
rogpeppeha ha bloody ha17:55
rogpeppei get the top menu bar ok17:55
natefinchtoo good for lynx, rog?17:56
wwitzel3rogpeppe: can you get your dmesg and syslog pasted somewhere some how?17:56
wwitzel3.. maybe with curl to paste.ubuntu.com , the fields are poster, content, format17:56
rogpeppewith suspend/shutdown on the tool menu, calendar on the time menu, but i still see the Guest Session and Remote Login graphics on the screen, tho they don't react17:57
rogpeppe /var/log/dmesg.log ?17:58
wwitzel3rogpeppe: yeah, that's good to see if any hardware failed to initalize17:58
rogpeppewwitzel3: paste.ubuntu.com/719982817:59
rogpeppewwitzel3: paste.ubuntu.com/719983018:00
rogpeppewwitzel3: all the hardware *seems* like it's working ok18:01
wwitzel3rogpeppe: yeah, I don't see any of the obvious errors of failing to load a specific video module or anything of that nature that has caused me similar issues before18:01
wwitzel3rogpeppe: you could always try doing an update/upgrade from the command line and see if some new configuration files get written that fix your problem.18:02
natefinchhonestly, when my machine blows up, I just reboot until it works again.... so far it hasn't failed me, though sometimes it has taken a couple reboots to get there18:02
rogpeppethe video seems to work ok18:02
wwitzel3like I say, when you have a problem, add more variables18:02
rogpeppeeven the second monitor is working (kinda - it shows the terminal, duplicated)18:02
wwitzel3hrmm18:03
rogpeppei will try rebooting a third time, i guess18:03
wwitzel3rogpeppe: unplug everything and reboot18:03
rogpeppewwitzel3: if in doubt...18:03
wwitzel3rogpeppe: and then readd the devices after you're up18:03
rogpeppewwitzel3: read the devices?18:03
natefinchre-add18:04
rogpeppewwitzel3: i'm afraid my linux device-fu is fairly non-existent.18:04
rogpeppewwitzel3: do you mean doing some mknods?18:04
wwitzel3rogpeppe: no no, I mean any physical things plugged in to your laptop .. USB, HDMI/DVI18:05
wwitzel3rogpeppe: reboot with just the laptop, that works for me sometimes when my display gets all wonky18:05
rogpeppewwitzel3: ah, physical... usb + rgb out + headphones + wired ethernet18:05
wwitzel3rogpeppe: yep18:06
rogpeppeok, i'll give it a go. see you the other side.18:06
rogpeppewwitzel3: fail18:08
rogpeppefrick18:08
natefinchtime to reinstall18:09
rogpeppei wonder if "failed to spawn atd main process" is something to do with the problem18:09
natefinchrogpeppe: can you talk to IS?  It's sorta their job, right?18:11
jhobbstrying to run tests on lp:juju-core and I see this everytime http://paste.ubuntu.com/7199854/. any ideas what's going on?18:12
natefinchjhobbs: interesting18:15
natefinchjhobbs: oddly, it's a log line dereferencing some data the rest of the function doesn't even use18:17
jhobbsnatefinch: the logger.debugf("started mongod... line ?18:19
rogpeppei have no idea how to approach solving this problem18:20
jhobbsnatefinch: if i comment that out it changes quite a bit but still fails: http://paste.ubuntu.com/7199919/18:20
natefinchjhobbs: that's the line.... that second panic is.... weird18:22
jcastroCan we get someone to reconsider priority on https://bugs.launchpad.net/juju-core/+bug/123349718:23
natefinchjcastro: I'll bring it up with jam and fwereade.  It does seem like it would be good to fix, and probably not too too hard.18:29
jhobbsnatefinch: blah, i just had to install mongodb-server18:30
jhobbsnatefinch: thanks18:30
natefinchjhobbs: oh, huh.... well we should probably have a better error message than that18:31
jhobbsi agree :)18:31
natefinch..... or you know, like any message at all would be nice18:32
bachi bodie_, i'm trying to bootstrap a joyent env for the first time.  i'm using the latest 1.18 (r2257).  i'm getting this failure: http://paste.ubuntu.com/7199773/  -- any ideas?18:58
ValDuarehi guys - im on a manual provision setup here - I cant destroy-machine 2   just goes to life: dead19:01
ValDuaresomeone said try remove-machine 2   but no effect19:01
ValDuareis this a bug I should report19:01
=== vladk is now known as vladk|offline
bodie_bac: I'm pretty new here, and I've never worked with Joyent.  but it looks like you might have a malformed environment file.19:01
bodie_perhaps someone else has something to add.19:02
natefinchValDuare: remove-machine and destroy-machine are the same thing, just aliases.  try destroy-machine 2 --force19:02
fwereadeValDuare, is the machine running or has it been shut down?19:03
ValDuareit is running19:03
fwereadeValDuare, hmm, can you pastebin /var/log/juju/machine-2.log from that machine?19:04
ValDuareok19:04
fwereadebac, would you try removing (or just moving?) ~/.juju/environments/joyent.yaml and trying again? might not help, but might help to eliminate some possibilities19:05
bacfwereade: i have done that and get the same error19:06
bacfwereade: at first i thought my ssh key might be too long as i created a 4096 bit key.  re-did with a 2048 bit and got the same error.19:06
fwereadejcastro, will you still be on when thumper gets online? I think his debug-log work will eliminate that problem, but it might be good to check (and make sure he knows to mark it fixed)19:07
jcastroack, I'll ambush him19:07
ValDuarehttp://pastebin.com/p7n9iFk019:08
fwereadebac, I *think* that is complaining about the joyent keyfile, not the ssh key19:08
bacfwereade: i don't know what the joyent keyfile is19:08
bacis it not trying to create a bucket to put the upload-tools?19:09
fwereadeValDuare, so it *looks* like the machine agent should have stopped running -- is that correct?19:11
ValDuareyes juju status says it is19:11
ValDuareis stopped19:11
ValDuareagent-state: stopped19:12
fwereadeValDuare, if that's the case, you can safely destroy-machine --force -- but we'd really appreciate a bug report there, because I'm pretty sure it should also have told the API server to remove it19:12
ValDuareok19:12
fwereademgz, I don't suppose your joyent experience can be applied to bac's problem above?19:13
ValDuarejuju destroy-machine 2 --force has no effect19:13
fwereadeValDuare, it might take a couple of seconds to do the cleanups, but if it's still around after say 10s there's something wrong19:13
ValDuareok19:14
bacfwereade: i may have my 'algorithm' setting wrong.  it is an rsa key with DEK-Info: AES-128-CBC.  do you know how i should specify the algorithm for that setting?19:14
ValDuarestill there after 10s19:15
* fwereade is being called for supper with some impatience19:16
* fwereade will bbiab19:17
fwereadeValDuare, a bug report with that log, and status output, would be awesome19:17
ValDuareok19:17
fwereadebac, will you still be around in a couple of hours? wallyworld_ is your best hope for a quick solution there, I think19:19
bacfwereade: i will.19:20
* fwereade really bbiab now19:20
stokachuis it worth creating a bug about destroy-environment requires <provider> even if only one is listed in the environments.yaml?19:57
stokachufor example, this is my environments file: http://paste.ubuntu.com/7200308/19:58
natefinchstokachu: I don't think the inconsistency is worth saving the typing20:01
natefinchstokachu: destroy environment is intentionally wordy because it is very destructive20:02
stokachunatefinch: cool thats what i kinda figured, glad i ran it by you first20:02
natefinchstokachu: it's ok, it was somewhat controversial... but if it saves one person from destroying their production environment by accident, it's probably worth it20:03
stokachudefinitely20:04
fwereadenatefinch, are you around for a bit? I need to get some sleep -- can I ask you to shepherd jhobbs' branch through to 1.18, or to hand over to someone in NZ?20:21
natefinchfwereade: I'm here, but only for another half hour or so.  But I'll do what I can and try to hand off20:22
fwereadenatefinch, awesome, tyvm20:22
* fwereade away20:23
natefinchjhobbs: what's going on?20:25
jhobbsnatefinch: https://code.launchpad.net/~jason-hobbs/juju-core/fix-armhf/+merge/21201420:25
jhobbsnatefinch: everything is passing tests now, not sure what to do next20:26
jhobbsnatefinch: sinzui is helping; i need to get a mp for 1.1820:29
natefinchjhobbs: do you have lbox?20:29
jhobbslbox propose -cr --for=lp:juju-core/1.1820:29
jhobbsyeah20:29
natefinchright, yes, do that :)20:29
thumperjcastro: o/20:32
jcastrohey so debug-logs for local, would be really nice20:33
natefinch...and so the lion, after patiently lying in wait for its prey, pounces.20:33
jcastrowe're doing a bunch of local development lately and it's becoming really annoying to not have that20:36
thumperjcastro: yeah, on it20:36
thumperjcastro: so... anything else, or just complaining about missing features ;-)20:37
sinzuijcastro, I admire your talking technique, but it need improvement. I think dimitern was given the feature20:37
thumpersinzui: I'm working on debug-log20:38
thumpersinzui: dimitern is working on vlan20:38
sinzuithumper, do you have access to kick gobot? I think it is ill20:39
jcastrothumper, no I just wanted to say that before we didn't  think it was important, but lately we're noticing that it's more important to us than before20:39
jcastrosorry I am typing with one hand, on a call, but want to talk to thumper at the same time. :)20:39
thumperjcastro: ack20:39
thumperheh20:39
thumpersinzui: yeah...20:39
jhobbsnatefinch: https://code.launchpad.net/~jason-hobbs/juju-core/1.18/+merge/21411520:40
thumpersinzui: I have a shell alias 'gobot' that ssh's to the machine20:40
jhobbsnatefinch: it asked me to authenticate on google, i didn't know what to do there, so it failed to send the patch set to codereview20:40
sinzuithumper, https://code.launchpad.net/~sinzui/juju-core/inc-1.18.0/+merge/214053 is a trivial change, but the same tests fail20:40
thumpersinzui: hmm... v strange20:41
natefinchjhobbs: the easiest thing to do is use your regular google credentials (assuming you have them)  like your gmail credentials.  Sometimes canonical creds work, but often not20:43
natefinchjhobbs: do you have google credentials?20:43
jhobbsnatefinch: yeah20:43
jhobbsnatefinch: should i run that again then, with my google credentials?20:44
natefinchdo you use 2 factor auth?  that complicates things - you'd need an application-specific password (that's what I have to do)20:44
jhobbsnot on my private account20:44
natefinchok, then yeah, just re run it and use your home account info20:44
jhobbsk cool20:44
natefinchthe account you use doesn't really matter as long as we can tell it's you.  I used my home account because I couldn't get my canonical creds to work20:45
jhobbsyeah it should be pretty clear20:45
jhobbsfirst.last, email should be listed on launchpad too20:46
natefinchthat's all mine is too20:46
natefinchit's not like you need to prove it's you, just like, if it was foobar@gmail.com, people might get confused20:47
natefinchsweet20:47
thumpersinzui: nfi why that is failing20:48
jhobbsguess you saw it, but https://codereview.appspot.com/84210043/20:48
thumpersinzui: sorry, perhaps wallyworld_ could help when he starts20:48
sinzuithank you thumper20:48
natefinchjhobbs: yeah, got the email20:49
natefinchjhobbs: ok, I gave it the LGTM, so now you go to the merge proposal on launchpad, add a commit message (copying the change description is fine) and then set the status to approved20:51
natefinchand the bot takes care of the rest20:51
jhobbsok cool, i can't set it to approved though - not an option for me20:52
jhobbsditto for the original MP for trunk20:52
natefinchhuh weird, must be some permission issue.  I can do it20:53
jhobbsthanks20:53
natefinchwelcome20:53
jhobbscan you mark the trunk one approved too please? https://code.launchpad.net/~jason-hobbs/juju-core/fix-armhf/+merge/21201420:53
natefinchdone20:54
jhobbsawesome!20:55
natefinchunfortunately, there's no notification when your branch gets picked up by the bot, only when it finishes, so it can take a while, since it has to merge it into the branch and run the tests.  But there should be an email in 20-ish minutes saying if it worked or not (which it should, assuming the tests pass and there's no conflicts)20:55
perrito666sinzui: rest of the world, if you would be so kind to review this shamefully short patch https://codereview.appspot.com/8228004520:55
jhobbsnatefinch: ok cool, i'll keep an eye out20:56
natefinchperrito666: LGTM'd20:56
perrito666tx natefinch20:57
natefinchEOD, night all21:00
perrito666natefinch: nites21:00
sinzuithumper, is no-proxy a string (not a yaml list)? eg no-proxy: localhost,10.0.3.121:12
ValDuarehttps://bugs.launchpad.net/juju-core/+bug/130213221:12
_mup_Bug #1302132: manual provisioning destroy-machine fails - stuck at life: dead <juju-core:New> <https://launchpad.net/bugs/1302132>21:12
thumpersinzui: correct, a string21:12
sinzuithumper, fab.  I am writing a doc for it21:12
thumperkk21:12
thumperthanks21:12
=== tvansteenburgh is now known as tvan-afk
sinzuiwallyworld, Do you have super powers to beat gobot into submission. It has rejected jhobbs and my branches repeatedly. My branch just changes the version to 1.18.022:38
davechen1ymorning juju22:42
davechen1ysuch that it is22:42
perrito666davechen1y: yay one of those mornings at 19:43 :p22:43
davechen1yperrito666: every day mate, every day22:43
perrito666does anyone knows of a setup for go that prints build errors in color?22:43
* thumper rages at his own stupidity22:49
* thumper leaves in disgust22:49
=== thumper is now known as thumper-gym
davechen1ywaigani: morning23:11
davechen1yhow's today looking ?23:11
davechen1yhttp://paste.ubuntu.com/7201087/23:35
davechen1yslowly getting there23:36
davechen1yhazmat: ping23:47

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