/srv/irclogs.ubuntu.com/2016/12/01/#juju-dev.txt

axwperrito666: back00:52
blahdeblahthumper: Updated lp:1645729 with profiling data now00:53
perrito666axw: sorry persian king, I was having dinner01:05
axwperrito666: np, let me know when you want to talk HA01:07
perrito666now is a good time01:09
perrito666axw: ?01:16
axwperrito666: ok, HO?01:16
axwperrito666: https://hangouts.google.com/hangouts/_/canonical.com/axw-perrito?authuser=101:16
perrito666going01:17
axwthumper: sorry, I was out yesterday when you pinged me. do you still have questions?01:29
thumperaxw: yes...01:29
thumperI'm just making a coffee01:29
thumperI also have some heap profiles that I'd like to talk through with you01:30
axwthumper: okey dokey. I shall make tea then01:30
perrito666axw: now the x in your nickname makes me suspicious, are you actually named xerces?01:30
thumperaxw: one with 25G01:30
thumperof heap01:30
axwperrito666: hah no :)  x stands for no middle name01:31
perrito666I have 25G to discuss with you, that is a first :p01:31
thumpershoulda said yes01:31
axwthumper: that's quite the heap01:31
babbageclunkha ha, Andrew Xerxes Wilkins would be quite the name.01:37
* babbageclunk goes for a run01:47
thumperaxw: let me know when you are ready to talk through this stuff01:48
axwthumper: yep, in a few mins01:48
menn0thumper, axw, wallyworld: the automatic PR check the bot does seems to failing. it's the lxd tests. is that a known thing?01:50
menn0Failed to copy file. Source: /var/lib/jenkins/cloud-city/jes-homes/merge-juju-lxd/models/cache.yaml Destination: /var/lib/jenkins/workspace/github-check-merge-juju/artifacts/lxd/controller01:50
thumpernot sure ...01:50
wallyworldnot that i know of01:50
menn0maybe that's just a red herring01:51
menn0apparently the checks failed but that's the closest I see to a failure01:51
wallyworldso long as the merge happens, the pre checks can fail for now IMO01:51
alexisbmenn0, thumper I can be here a little bit longer, let me know if there is other info you need https://bugs.launchpad.net/juju/+bug/164631002:01
mupBug #1646310: Model Migration Fails on 3rd attempt <model-migration> <juju:Triaged by menno.smits> <https://launchpad.net/bugs/1646310>02:01
=== natefinch-afk is now known as natefinch
alexisbbabbageclunk, ^^^02:01
thumperalexisb: I'm talking with axw, will leave this for menn002:01
menn0alexisb: that's all the detail I need. thanks.02:02
thumperbradm: ping02:19
* redir eods02:20
babbageclunkalexisb: ok, looking02:38
bradmthumper: pong02:56
babbageclunkmenn0 are you chasing alexisb's bug? I'll stop looking if you are.03:01
menn0babbageclunk: i'm not at the moment was planning on it03:01
babbageclunkwow, it suddenly turned into summer outside!03:04
babbageclunkmenn0: Ok, well, I've reproduced it - must be pretty new, because I was doing exactly this bouncing back and forth about a week ago.03:17
menn0babbageclunk: that's what I was thinking too03:17
natefinchwallyworld: why are we copying this value to a temporary variable and then copying it back? https://github.com/juju/juju/blob/staging/cmd/juju/cloud/addcredential.go#L36603:18
wallyworldnatefinch: it's to do with the logic in the loop which handles fields with file attr set. i'd have to re-read the code03:19
natefinchwallyworld: I guess I don't understand why we copy it, modify some fields, then copy it back, rather than just modifying those fields on the original03:20
wallyworldthe currentAttr var is outside the loop03:20
wallyworldit's holds the value from the previous iteration, or something like that03:21
wallyworldand from memory, we need to know that for fields with file attr03:21
natefinchwe're copying currentAttr to fileAttr, modifying fileAttr, and then copying fileAttr BACK onto the original currentAttr.  Why not just modify currentAttr directly?03:22
wallyworldaxw: if you had a moment sometime, i'd appreciate a pre-impl check on this wip https://github.com/wallyworld/juju/compare/cmr-worker-publish-local...wallyworld:cmr-worker-publish-api?expand=103:22
wallyworldnatefinch: i can't recall off hand anymore03:24
natefinchwell, I'll change it and see if the tests still pass :)03:24
axwwallyworld: yup, knee deep in profiles atm, will take a look in a bit03:25
wallyworldaxw: no worries, just when you are free. i'll keep progressing regardless as I can work on the facade backend. i'll also need a +1 on reed's review which the wip branches off sorry :-( but whenever is fine as I can keep occupied03:27
babbageclunkIs there a charm that deploys as quickly as ubuntu used to? I think it's great that the new version of ubuntu uses lots more features, but it seems to take ages to deploy.03:43
natefinchbabbageclunk: just make your own, it's trivial03:46
babbageclunknatefinch: yeah, good point03:46
natefinchbabbageclunk: here's my minimal charm. it's just a directory with this in it:03:50
natefinch$ more min/metadata.yaml03:50
natefinchname: min03:50
natefinchsummary: nope03:50
natefinchdescription: nope03:50
natefinchseries:03:50
natefinch  - xenial03:50
babbageclunknatefinch: awesome, copied!03:51
natefinchI tried to drop summary and description but the juju yaml nazis yelled at me03:51
natefinchwallyworld: do we actually have any credentials with optional values?04:50
wallyworldopenstack - domain04:50
wallyworldthat with keystone 304:50
natefinchwallyworld: hmm ok04:57
axwwallyworld: I thought we agreed that the worker would talk to its own controller always, and the controller would do the inter-controller connections05:27
babbageclunkaxw: ping?07:21
axwbabbageclunk: pong07:43
=== frankban|afk is now known as frankban
axwmgz: you on yet? seen today's bot sadness? http://juju-ci.vapour.ws:8080/job/github-merge-juju/9754/artifact/artifacts/trusty-err.log/*view*/08:16
babbageclunkaxw: oops - still around?08:54
axwbabbageclunk: yes, not for long though08:54
axwbabbageclunk: what's up?08:55
babbageclunkaxw: ok, just quickly - I just remembered the nasty patch hack we put in last time we were waiting for a fix to be merged into mgo08:55
babbageclunkaxw: do you know about that?08:55
axwbabbageclunk: I don't know specifics08:56
axwbabbageclunk: I think maybe mgz does?08:56
axwbabbageclunk: but I know what you're referring to, if that's enough :)08:56
babbageclunkaxw: yeah, he does as well08:56
babbageclunkaxw: yeah - you could create a patch there for your mgo change if you want to get it into the release08:57
babbageclunkaxw: it's a bit nasty but it'll solve the problem right now.08:58
axwbabbageclunk: yup, I think we'll need to do that for now. need to also update my PR with a test, which I expect will be difficult08:58
axwso we can patch it in the meantime, since the change is pretty obvious08:59
SimonKLBanyone got experience working with aws and cpu measurement? seems like cloudwatch is the only reliable tool, and that is kind of a bummer when using juju13:04
SimonKLBfrom what i've read, when checking for example top, what is showing is the physical core rathe what you have allocated for your vm13:05
SimonKLBso it's not going to give you accurate information if you want to monitor the resource usage13:05
mupBug #1571457 opened: Juju still vulnerable to CVE-2013-2566, CVE-2015-2808 <juju:Fix Released by natefinch> <juju-core:Fix Committed by natefinch> <juju-core 1.25:Fix Released by natefinch> <https://launchpad.net/bugs/1571457>13:06
mgzvoidspace: is there any chance you could QA my 2.0 windows ssh branch? rick_h volunteered you :P14:03
=== mup_ is now known as mup
SimonKLBim trying to bootstrap on rackspace but i'm seeing: error info: {"forbidden": {"message": "Policy doesn't allow compute_flavor:create:image_backed to be performed.", "code": 403}}14:13
SimonKLBis rackspace still supported?14:13
rick_hSimonKLB: definitely...not suer about that14:14
rick_hSimonKLB: is this just straight from xenial? trying to do trusty or something?14:14
SimonKLBsimple `juju bootstrap rackspace`14:15
* rick_h tries14:15
rick_hSimonKLB: try with --debug and see if anything is fishy in there?14:15
SimonKLBthis might be something: juju.provider.openstack cinder.go:501 endpoint "volumev2" not found for "DFW" region, trying "volume"14:16
voidspacemgz: does it require running Windoze?14:19
voidspacemgz: I am happy to do that, it will take me some time as I do not have a windozen box14:19
voidspacemgz: but I have license keys so I can create one14:19
voidspacemgz: rick_h: ^^^^14:20
rick_hah, /me forgot about that part14:20
voidspacemgz: rick_h: I believe I still have an MSDN subscription as a python core developer14:20
rick_hvoidspace: nvm, this 2.0.2 > *14:20
voidspacerick_h: kk14:20
rick_hvoidspace: just figured you might have time to help until hardware access came back, but if it's back nvm14:20
voidspacemgz: sorry14:20
rick_hwe'll push natefinch for the help14:20
voidspacerick_h: it is bootstrapping now, it wasn't earlier14:21
rick_hSimonKLB: so took a little bit, but a bootstrap here just worked14:21
rick_hSimonKLB: in the DFW region14:21
rick_hvoidspace: k, yay14:21
natefinchhallo14:21
SimonKLBrick_h: that's odd, could it be that i need a certain kind of user type?14:21
rick_hnatefinch: any chance of the QA review of mgz's PR up please?14:21
voidspacerick_h: natefinch dissapproves of your choice of telegram for secure communication14:21
rick_hSimonKLB: yea, I was just trying to look at what can be set on a user.14:21
rick_hSimonKLB: because the error is a "not authorized 403" styl;e14:22
voidspacerick_h: natefinch says it is insecure by default and we should use signal instead14:22
natefinchalso telegram rolled their own crypto... very big no no14:22
rick_hvoidspace: natefinch :P well don't send me your password in it but I've got it running with a couple dozen folks that I'm not interested in migrating one by one14:22
* rick_h thinks folks should just use hangouts but wtf14:22
natefinchfor regular communication about BS work and home stuff, yeah, just use whatever14:23
voidspacerick_h: you're the one who said we should install telegram for the sprint!14:23
voidspacebut sure14:23
rick_hvoidspace: yea, because that's where I've got other folks already14:23
rick_hI had to be converted14:23
voidspaceI just like debate and I like to understand the state of the art14:23
rick_hnow you all suffer my lack of a spine to fight for anything else :P14:24
rick_hah, yea it's network effect14:24
voidspaceand I agree that encryption is probably not a super-high priority for work chat14:24
macgreagoirnatefinch: +1 for Signal14:24
rick_h"team, let's meet for dinner in the lobby at 7pm"14:24
rick_hoh noes! the NSA knows when to send the drone!14:24
voidspacebut do we want the NSA joining us14:24
rick_hvoidspace: maybe they'll pick up the bill?14:24
voidspaceeven if the NSA aren't listening the googlebots are14:25
natefinchto be fair, we're talking on a channel that is *publicly logged* right now.14:25
* rick_h waits for ads to start showing up for signal14:26
natefinchsignal is 100% funded by donations and grants .... another plus for it.  they're not *trying* to make money14:27
natefinchsorry.. I just did a bunch of research on this stuff the day before yesterday14:27
perrito666natefinch: rick_h voidspace just do as I did and come to live to nobodycaresaboutusland14:27
natefinchlol14:28
SimonKLBrick_h: found this https://community.rackspace.com/developers/f/7/t/514314:28
voidspaceperrito666: :-)14:28
SimonKLBrick_h: "The problem appears to stem from the fact that you are trying to create a compute flavor which does not come with a boot disk.  That error means that you have provided an image to use when building the server, but that the server does not have a boot disk."14:28
voidspaceperrito666: bring me treasures from your wonderful homeland to Barcelona14:28
natefinchbeing boring is definitely your best defense14:28
voidspaceperrito666: probably waaaay too late for that now though14:28
rick_hSimonKLB: reading14:29
perrito666voidspace: actually I looked for your stone, but local hippies became too lazy and they all build the same cheap jewlery instead14:29
=== jamespag` is now known as jamespage
voidspaceperrito666: fair enough, no pressure dude14:32
rick_hSimonKLB: ummm, I'm not sure what to do with that tbh. So Juju is handling this and it works here just as with the same command you ran. So should be same image/constraints and so no disk available? Some sort of timing issue?14:32
rick_hSimonKLB: can you try another region?14:33
voidspaceperrito666: just find me incredible treasure some day, some time - that's all I ask ;-)14:33
SimonKLBrick_h: sure, if you run it using --debug, do you also see: endpoint "volumev2" not found for "DFW" region, trying "volume" ?14:33
SimonKLBelse it might be that you have access to something that i don't14:33
rick_hSimonKLB: retrying my bootstrap with --debug to see14:34
SimonKLBthanks14:34
rick_hSimonKLB: https://pastebin.canonical.com/172476/ nothing like that I can see in there14:36
SimonKLB"You do not currently have access to the pastebin."14:36
perrito666voidspace: you european folks always wanting to find treasures in latin america :p14:36
rick_hah sorry14:36
* rick_h copies better14:36
rick_hSimonKLB: http://paste.ubuntu.com/23563481/ take 214:36
SimonKLBrick_h: looks like youre running some kind of local binary?14:38
SimonKLBmine says: juju.environs.bootstrap tools.go:74 found 16 packaged agent binaries14:39
rick_hSimonKLB: ah, true sorry. I forget to check out of the dev version14:39
* rick_h goes back and tries again with the released version this time14:39
voidspaceperrito666: I want to find treasures everywhere14:42
voidspacerick_h: I have to skip standup - minor family emergency14:43
voidspacerick_h: nothing serious, difficult kid, tired wife14:43
voidspacerick_h: you know where I'm at14:43
voidspacerick_h: just finished deploy with vanilla 2.0.1 and the four bundles and *all four bundles worked* (cores allocated)14:44
voidspacerick_h: that's new and different from before14:44
voidspacerick_h: now tearing down and will repeat with 2.0.214:44
voidspacerick_h: if that *doesn't* work then I finally have a real repro and something to work with14:44
rick_hvoidspace: rgr take care of the fam14:46
voidspace2.0.2 bootstrap in progress14:47
frankbanhey, is anyone available for reviewing https://github.com/juju/juju/pull/6639 ? quick branch, thanks!14:47
mgznatefinch: so, I was mistaken about the ci status for add-credential, we have test coverage of autoload-credential but not add-credential15:44
mgzso I don't think your current branch with affect that.15:44
rick_hkatco: can you please lookg at frankban's branch above? ^15:55
katcorick_h: sec, talking with natefinch15:56
rick_hkatco: rgr ty15:56
mupBug #1646524 opened: Excessive logging in juju-db <canonical-bootstack> <juju-core:New> <https://launchpad.net/bugs/1646524>15:57
frankbanuiteam call now16:00
=== frankban is now known as frankban|afk
katcofrankban|afk: you have a review16:26
=== frankban|afk is now known as frankban
frankbankatco: that was just a quick way forward. supporting constraints only as strings introduces a backward incompatibility in the API, and we already have config and configYAML in those same calls17:01
frankbankatco: oh, and thanks for the review ;-)17:01
katcofrankban: we can version the facade can't we?17:02
frankbankatco: yes we can, not sure is worth for this branch17:02
katcofrankban: we are already drowning in our technical debt, so i am going to take the stance that we need to do it correct the first time instead of continuing to paper over problems17:04
katcofrankban: a manager-type is free to override my judgment ;)17:04
frankbankatco: ok, no problem, as I said, this was only an attempt. if we need to go for the non-shortcut solution, I'll try to find another bigger slot in the future, maybe after everyone is ok with the plan17:06
katcofrankban: sorry to be contrarian. we have just taken the "quick fix" route for so long it's now preventing us from doing new things17:07
frankbankatco: no problem, I am no particularly attached to this solution or another, it just felt natural to me given we already have config and configYAML, didn't realize that's considered tech debt, but I can see the reasons17:09
katcofrankban: but specifically in a PR for this, i would be looking for supporting only one approach, and also to make a stab at true unit tests.17:09
frankbankatco: why do you prefer stubs lately? time consuming tests?17:09
katcofrankban: the config is certainly precedent. i don't know whether it's good or bad :)17:09
katcofrankban: i have only been advocating for them lately, i have always preferred them for unit tests. here's why: http://martinfowler.com/bliki/TestPyramid.html17:10
katcofrankban: you don't *only* want stubs, but full-stack as the bottom of the pyramid is a death-sentence. we are experiencing that atm. things are too brittle; tests take something like 100-600% longer to write/fix than the code17:11
katcofrankban: this is also very good: https://testing.googleblog.com/2015/04/just-say-no-to-more-end-to-end-tests.html17:12
frankbankatco: I'll read those, thanks!17:13
katcofrankban: ty for the discussion and open-mind. sorry again for the friction17:13
perrito666brb errands18:16
=== frankban is now known as frankban|afk
redir /me runs errands...bbiab19:30
mupBug #1646590 opened: Adding machine fails for Power8 node with permanent pending status <juju-core:New> <https://launchpad.net/bugs/1646590>19:33
* redir really goes now19:48
babbageclunknatefinch: looking at https://github.com/juju/juju/pull/664520:12
natefinchbabbageclunk: it's a WIP, so like, right now, there's no tests for a couple of the new functions I added20:12
babbageclunknatefinch: oh ok - should I hold off?20:13
natefinchbabbageclunk: probably.  I mean, it's totally functional, but I'll need to add a few tests20:13
babbageclunknatefinch: duh, I totally blanked on the WIP at the start.20:15
rick_hnatefinch: or katco either of you up for some pair wtf'ing with me on a bug please?20:28
natefinchrick_h: I love WTFnig20:28
natefinching20:28
rick_hnatefinch: yay! a party it is then20:28
rick_hnatefinch: meet you in ?core when you're free20:29
balloonscan someone +1 https://github.com/juju/juju/pull/6646?20:41
balloonsand katco, re: tests; Amen!20:43
katcoballoons: :)20:43
* redir back21:08
thumpermorning21:09
redirthumper: o/21:09
balloonshappy Friday to those celebrating it21:14
babbageclunkI liked this: https://hypothes.is/blog/code-review-in-remote-teams/21:16
babbageclunk(In my experience  our team's good at this.)21:18
babbageclunkI mean, the Juju team as a whole, not the subteams.21:18
alexisbbabbageclunk, that is a great article, I haev not seen that before21:30
babbageclunkalexisb: I like the idea that reviews should be good for team cohesion and morale - I've definitely worked in places where that wasn't true.21:32
alexisbbabbageclunk, agreed, also the bits on positive input and not doing the bare minimum21:33
alexisbpeople put time into their code, reviews should reflect the effort21:33
alexisbbabbageclunk, is this bug still valid?: https://bugs.launchpad.net/juju/+bug/162043821:53
mupBug #1620438: model-migration pre-checks failed to catch issue: not idle <ci> <intermittent-failure> <regression> <juju:Triaged by menno.smits> <https://launchpad.net/bugs/1620438>21:53
babbageclunkalexisb: not sure - sounds related to something thumper was looking into?21:58
babbageclunkalexisb: it sounds like the presence bug thumper was talking about can mean that the precheck could succeed when the interactive command runs, but then fail when the migration is actually starting.22:00
babbageclunkmaybe>22:00
babbageclunk?22:00
thumperyeah22:01
thumperbut I fixed that22:01
alexisbthumper, can you comment on teh bug please22:01
* thumper goes to the bug22:01
thumperoh yeah22:01
thumperfixed that22:01
anastasiamacthumper: PR that fixes it would be an awesome addition as a comment on the bug :D22:05
thumper:P22:06
alexisbthank you thumper :)22:08
alexisbrick_h, anastasiamac I need to change locations, may be just a few minutes late to our release call22:09
perrito666brb, anothe rerrand22:11
anastasiamacalexisb: k22:12
axwjam: you're probably all over this, but: https://aws.amazon.com/blogs/aws/new-ipv6-support-for-ec2-instances-in-virtual-private-clouds/23:32

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