/srv/irclogs.ubuntu.com/2016/11/02/#juju-dev.txt

alexisbok axw ready when you are00:33
=== akhavr1 is now known as akhavr
* redir eods. may be back later.01:01
blahdeblahhi folks - anyone available to help troubleshoot what looks like a bug in user removal?  https://pastebin.canonical.com/169528/01:07
wallyworldblahdeblah: not sure about troubleshoot - looks like a straight bug. when users are removed, they are actually marked as inactive. looks there's there's some logic issues there01:11
wallyworldaxw: remind me - for bootstrap, the majority of machine config is done via ssh; cloud init is used to get the ssh keys onto the machine I think. is that also the case for workload machine provisioning ie we do the bulk of setup via ssh and not cloud init?01:12
axwwallyworld: we don't use ssh at all for non-bootstrap machine provisioning01:17
wallyworldaxw: ta, i thought that was the case but wasn't certain01:17
axwwallyworld: (apart from one or two providers which may use it internally)01:17
natefinchaxw, menn0: do you want me to come into the tech board meeting to talk about the dependencies I emailed about, or are you good?03:13
menn0natefinch: it might be useful if you could talk about them when we get to that bit, but we can also manage without you if you're finishing up for the day03:16
natefinchmenn0: I have some time03:16
menn0natefinch: cool. i'll ping you when we get to it (or join whenever you like)03:16
natefinchmenn0: cool, thanks03:16
menn0natefinch: now?04:00
natefinchmenn0: omw04:00
mupBug #1254402 changed: error bootstrapping on ec2 duplicate security group <ec2-provider> <security> <juju-core:Expired> <https://launchpad.net/bugs/1254402>04:26
mupBug #1456725 changed: TestActionEvents fails <ci> <juju-core:Expired> <juju-core 1.22:Won't Fix> <https://launchpad.net/bugs/1456725>04:26
mupBug #1502139 changed: Panic in TestUpgradeJuju <ci> <panic> <juju-core:Expired> <https://launchpad.net/bugs/1502139>04:26
rediranastasiamac: yt?04:36
anastasiamacredir: i m. why r u? (was doing a school pick-up)...05:58
wallyworldanastasiamac: do you recall - i think --metadata-source for bootstrap was broken around beta15 timeframe and it needed to be fixed before 2.0GA. Right?06:31
anastasiamacwallyworld: sounds about right..06:32
anastasiamacwallyworld: why r u in beta15?06:32
wallyworldi'm not06:32
=== frankban|afk is now known as frankban
dimiternvoidspace: ping09:44
voidspacedimitern: pong10:10
dimiternvoidspace: so I've been testing your gomaasapi change: https://github.com/juju/gomaasapi/pull/6210:10
dimiternvoidspace: it looks like it's doing the right thing (compared to the maas cli at least) with one or more negative spaces constraints10:11
voidspacedimitern: great10:11
dimiternvoidspace: however, I can see that 'unorderable types Subnet() < Subnet()' in some cases10:12
dimiternvoidspace: is there a bug for that in maas?10:12
voidspacedimitern: I've never seen that10:12
voidspacedimitern: is that an error from MAAS or in the gomaasapi code?10:12
dimiternvoidspace: from maas - e.g. when trying `jujy bootstrap --no-gui --debug vmaas-21 --config=~/.j/conf-x-fast.yaml --constraints 'arch=amd64 spaces=^compute,^external'` - the config just sets trace logging, default-series: xenial, disables apt update/upgrade10:14
voidspacedimitern: ah, so definitely sounds like a MAAS bug10:14
dimiternvoidspace: there's 1 machine that matches those spaces, and here's the error we get: http://paste.ubuntu.com/23415499/10:15
dimiternvoidspace: yeah, IIRC mpontillo did mention something about that and they seem to be fixing it10:16
voidspacedimitern: cool, so I don't think we should hold up this PR with it - I haven't seen a MAAS bug for it10:16
voidspacedimitern: worth filing even if it turns out to be a duplicate10:16
dimiternvoidspace: I'll look into filing one later today; just testing with 2.0 now - 2.1 tested OK10:19
voidspacedimitern: I have a very short PR fixing not_networks for 1.9 I'd like you to test too if possible10:19
voidspacedimitern: will ping in a couple of minutes10:19
dimiternvoidspace: sure - can do - is it about the way we serialize multiple negatives?10:20
voidspacedimitern: yep10:22
voidspacedimitern: changing from comma separated to multiple parameters10:23
dimiternvoidspace: ok10:32
dimiternmgz: ping10:32
dimiternmgz: do you know which mongo version are we using for the windows CI slave running this job: http://reports.vapour.ws/releases/4546/job/run-unit-tests-win2012-amd64/attempt/3002#highlight10:33
dimiternmgz: if it's 2.6.x, the test might be failing due to this mongo bug - https://jira.mongodb.org/browse/SERVER-1484010:33
dimiternvoidspace: tested on 2.0 successfully and LGTM-ed10:52
voidspacedimitern: you rock10:53
dimiternvoidspace: it took me a lot longer to setup the spaces / subnets on maas than to run bootstrap OK :)10:55
voidspacedimitern: I can imagine10:56
voidspacedimitern: my maas 2 is not playing ball and won't enlist new nodes10:56
voidspaceburned a few hours on it :-/10:56
voidspacedimitern: might have to reinstall from scratch10:56
voidspacegot inveigled in another conversation10:57
voidspaceabout to create the PR for maas 1.910:57
voidspaceand I'll do PRs to bump the gomaasapi dependency in juju10:57
voidspaceboth for 2.0 and develop branches10:57
dimiternvoidspace: I'm now using frobware's kvm-maas-add|remove-node with great success to add nodes - see https://github.com/frobware/kvm-maas/pull/110:58
dimiternit takes <5m to create, enlist, and commission 6 KVM nodes with multiple NICs10:58
voidspacedimitern: yeah, I've used that before - don't know why I didn't think of it.10:58
voidspacedimitern: will try it now10:58
voidspacedimitern: it uses the api so should work fine10:59
voidspacedimitern: I'll just delete my existing nodes that MAAS won't recognise and try again10:59
dimiternvoidspace: it works quite well, but I'd suggest trying my modified version (re that PR), as it improves quite a few things :)10:59
dimiternvoidspace: like not hard-coding 4 NICs per node but as many as you've passed as args11:00
voidspacedimitern: where's your version?11:00
dimiternvoidspace: this branch essentially: https://github.com/dimitern/kvm-maas/tree/multiple-networks11:01
voidspacedimitern: cool, thanks11:01
voidspacedimitern: I only have two spaces/subnets defined in maas - but that's easy to change and enough to test this anyway11:01
dimiternvoidspace: +111:02
* dimitern steps out for ~1h11:28
rogpeppe1does anyone know if juju restore actually works?11:31
mgzdimitern: see bug 1637294 btw11:55
mupBug #1637294: Windows host needs a current mongodb (3.2.x) <juju-ci-tools:Triaged> <https://launchpad.net/bugs/1637294>11:55
dimiternmgz: cheers!11:59
* dimitern is just getting out the door - bbiab hopefully in ~1h11:59
=== icey-travel is now known as icey
SimonKLBis aws efs volumes something that is on the horizon or will it be a while before network shared storage will be available in juju?12:05
SimonKLBit would be really great being able to deploy multiple units that share the same filesystem12:05
voidspacedimitern: sorry for the delay I got distracted: https://github.com/juju/juju/pull/652812:26
voidspacedimitern: bugger, I need to retarget that to develop not staging12:26
voidspacedimitern: done12:27
voidspaceunfortunately means pre-check failed12:27
voidspaceall unit tests pass though12:27
voidspacedimitern: and https://github.com/juju/juju/pull/652912:37
voidspacedimitern: gah, conflicts12:37
voidspacedimitern: rick_h___: so, when a PR forked off staging but targetted against develop has conflicts12:42
voidspacedimitern: rick_h___: I assume the correct approach is to merge develop into the PR and fix the conflicts?12:42
voidspaceI have both "go fmt" and build failures (probably related to go version) with current develop12:42
voidspaceso I've fixed both those as part of the conflict resolution and they'll now show up in my PR12:42
voidspacerunning all related tests12:43
rick_h___voidspace: the best thing is to cherry pick the conflict commit and resolve the conflicts12:43
rick_h___voidspace: imo12:43
voidspacerick_h___: so fork off develop and just make the new commit12:43
voidspacerick_h___: I think that has the same end result - and I still need to fix the two issues12:44
voidspacerick_h___: thanks12:44
rick_h___voidspace: so checkout develop, update it from upstream, go to your branch, and cherry pick the conflict from develop12:44
voidspacerick_h___: ah, I see12:44
voidspacerick_h___: that would be better, yes12:45
voidspacerick_h___: I'm still concerned that we have a "go fmt" error and a build error on develop!12:45
voidspacerick_h___: (the build error is in a test)12:45
voidspacerick_h___: and is likely to be go version related - but with my fix tests all pass12:45
voidspacerick_h___: this is now my PR (very short) https://github.com/juju/juju/pull/6529/files12:46
voidspacerick_h___: (self assignment to args.Host was the build error I saw)12:47
voidspacemgz: thanks for the magic incatation on my branch - I've repeated it12:53
mgzvoidspace: I'm a little surprised it didn't listen to mine12:54
mgzvoidspace: also, lgtm12:55
voidspacemgz: cool, thanks12:55
voidspacemgz: I'll wait for the check and for dimitern to QA12:55
* dimitern is back13:08
rogpeppe1a small names change to make it easier to work with empty cloud credentials: https://github.com/juju/names/pull/7713:10
rogpeppe1reviews appreciated: ^13:10
dimiternvoidspace: looking at both of your PRs, and QAing the 1.9 one13:11
dimiternactually QAing both of them as it's trivial13:13
voidspacerick_h___: is our 1:1 going to be on?13:14
voidspacerick_h___: I have no burning questions, so happy to skip this week13:19
mupBug #1638560 opened: 1.25 broken on MacOS sierra <osx> <juju-core:Triaged> <https://launchpad.net/bugs/1638560>13:24
abentleyrogpeppe1: Hi.  I've been asked to do one of the things we talked about yesterday: test the latest juju against a released version of JIMM, to ensure juju doesn't break what JIMM uses.  Do you have any tips on how to go about that?13:26
rick_h___voidspace: skip please13:35
voidspacerick_h___: kk13:35
dimiternvoidspace: both PRs LGTM13:47
voidspacedimitern: you rock, you really do13:48
voidspacedimitern: about to propose same PRs against 2.013:48
dimiternvoidspace: ;) cheers13:49
katconatefinch: dimitern: frobware: standup time14:03
frobwarekatco: skipping, at the cloud sprint.14:03
katcofrobware: ah ok... ta!14:04
=== daniel is now known as Guest19937
=== Guest19937 is now known as Odd_Bloke
rick_h___dimitern: ping for call16:00
mpontillodimitern: the 500 error happens in lieu of a "no machine matched constraints" error. positive space constraints should happen in the interfaces constraint; they will not work properly in the 'subnets' constraint.16:08
mpontillovoidspace: ^16:08
voidspacempontillo: ok, interesting16:09
* dimitern well, it's been good 4 years... take good care ;)16:17
natefinchdammit16:19
natefinchmgz, voidspace, dooferlad: any of you know dimiter's home email?16:21
natefinchgot it, thanks16:22
katco....16:30
katcowhat just happened?16:30
mgzI do not know.16:34
voidspace:-(16:35
natefinchcheck your email16:38
perrito666natefinch: I believe that their reactions are mail related16:39
natefinchahh, right16:40
=== admcleod1 is now known as admcleod
mgzokay, I think I finally have a solution I might like with this ssh stuff17:01
mgzand I can do it in two somewhat sane prs17:02
rick_h___mgz: did you see jam's reply there?17:02
rick_h___mgz: he sent an email on the ssh notes a couple of days ago I think?17:02
mgzrick_h___: yeah, that sent me off down a rabbit hole17:02
rick_h___ah ok nice17:02
mgzwhich, to be fair, gets to a much better final result, but involves deeper magic17:03
alexisb_changing locations all, will be back online is a few minutes17:58
mupBug # changed: 1541482, 1597601, 1626304, 163428918:02
rick_h___heh, that was a drop off18:02
katcoyeah18:03
katcoi think the event ends when the person ends it, not when the time-delayed stream ends18:03
katcoi've had that happen a few times now18:03
natefincheasy review anyone? https://github.com/juju/jsonschema/pull/218:07
natefinch+19 -1918:08
mgznatefinch: I'm in reviewing mode while waiting for build so okay18:08
mgznatefinch: heh - er, are we going to use this for actual translations ever?18:09
=== frankban is now known as frankban|afk
mgzbecause if so singular/plural is wrong18:09
natefinchI'm not sure what you mean.  It's used for generating interactive UI18:10
mgznatefinch: https://www.gnu.org/savannah-checkouts/gnu/gettext/manual/html_node/Plural-forms.html18:10
natefinchahh, the old "multiple plural forms"18:12
mgzif we only ever want this to do english it's fine18:12
natefinchyou uh, let me know when we plan to translate Juju, and I'll get right on making this better :)18:12
perrito666well this is great, I only have decaf and I live too far from the coffee shop... I really need a second car or a bike safe city18:12
natefinchperrito666: I feel you, I ran out of coffee today too. luckily I have caffeine pills in the cupboard which let me function until I could get to a coffee shop18:14
perrito666natefinch: I live way closer to "civilization" than you do, I just have one car only which my wife takes to work so even though I live closer its not all that close18:15
natefinchmgz: anyway... yes, for now, I think it's sufficient.  At some point, if we want to localize juju, we'll need to update this.  But that's a much bigger job.  This is just so you can take jsonschema and produce reasonable english-looking queries out of it18:15
mgznatefinch: code changes approved.18:15
natefinchmgz: thanks :)18:15
mgzperrito666: I don't really believe that you can't use the internet to cause a man on a scooter to bring you coffee18:16
perrito666mgz: never been to south america eh?18:17
mgzperrito666: I simply trust your ingenuity18:18
perrito666well I guess I could kidnap one of mi neighbours and ask their family to bring me coffee but its a bit excessive18:19
mgz:D18:19
natefinchlol18:20
katcodooferlad: hey are you still around?19:02
alexisbperrito666, nice job on the quick turnaround on the backup/restore test failure20:10
perrito666thank me when CI passes, jenkins does not always agree with me ;)20:13
perrito666anyway, ill step out for a moment20:13
redirnatefinch: yt?21:40
menn0wallyworld: unit tests appear to failing on non-ubuntu test hosts and it could be a recent change by you21:59
wallyworlddamn ok, will look21:59
menn0wallyworld: http://reports.vapour.ws/releases/4551/job/run-unit-tests-win2012-amd64/attempt/3007#highlight21:59
wallyworldhow did it land i wonder21:59
wallyworldi have meeting for the next hour will look after22:00
menn0wallyworld: b/c the windows tests for merge only seem to test packages under cmd/22:01
menn0which is a bit shit22:01
wallyworldwell that sucks22:01
perrito666menn0: that sucks a lot22:02
perrito666and by that I dont mean wallyworld but the limited scope of windows tests22:02
wallyworldoh i suck too22:03
wallyworldmenn0: luckily looks like it will just be a skip22:03
menn0wallyworld: sweet22:07
babbageclunkmenn0: To do a migration, do I need to have bootstrapped both controllers with the feature flag?22:14
menn0yep22:14
babbageclunkthat would explain it then!22:15
menn0I have this in my shell config:22:15
babbageclunkokthx22:15
menn0export JUJU_DEV_FEATURE_FLAGS=migration,developer-mode22:15
babbageclunkcool - what's developer-mode?22:17
menn0it enables commands like dump-db and dump-model22:18
menn0I *think* it also enables the introspection worker22:18
menn0or maybe that runs all the time, not sure22:18
perrito666babbageclunk: the world becomes pixelated around you and you hear 8 bit music, a bit like what happens in tron :p22:18
babbageclunkperrito666: so it's like DMT?22:18
perrito666wouldnt know :) but I would adventure things are a bit more nerdy22:19
perrito666like this https://www.youtube.com/watch?v=KEkrWRHCDQU22:19
babbageclunkI'm pretty sure that's how I learned to program!22:20
perrito666babbageclunk: to be more accurate https://www.youtube.com/watch?v=KEkrWRHCDQU&feature=youtu.be&t=13422:23
babbageclunkperrito666: I had to have a one minute cad chill-out to recover https://youtu.be/mNTj05I4k5I?t=6m9s22:27

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