/srv/irclogs.ubuntu.com/2016/04/21/#juju-dev.txt

alexisbanyone else seeing new unit test failures on master?00:29
alexisbsomething changed for me over the past hour or so00:29
thumperfuck...00:51
thumpercherylj: I'm going to beg forgiveness00:52
thumperI'm doing a drive by00:52
thumperduring a bug fix00:52
thumperbecause what I found is unneeded code00:53
thumperwallyworld: ping00:58
wallyworldwot00:58
wallyworldit wasn't me00:58
thumperwallyworld: do you recall how to have a JujuConnSuite test use a different user?00:58
wallyworldit was someone else00:58
thumperit was00:58
thumperI've not even bothered to look who00:58
wallyworldhmmm00:58
thumperI don't care00:58
thumperin particular00:58
wallyworldwas just messing with you00:58
thumperI'm wanting to add a test for bug 157059400:58
mupBug #1570594: read access to admin model allows grant <docteam> <juju-release-support> <juju-core:Triaged by thumper> <https://launchpad.net/bugs/1570594>00:58
wallyworldi don't recall offhand, but i can look00:58
thumperthere are feature tests that the command is hooked up00:58
thumperbut I want to say "run this command as this user"00:59
thumperseems like something we would want to do00:59
thumperand I thought you may have done something like this (or axw)00:59
wallyworldyeah. you can log in from the CLI. but for a test, i'd have to look00:59
thumperwallyworld: in particular, I was thinking around the new local user / cred storage story01:01
wallyworldthumper: i see another feature test that invokes "logout" and then "login", which will work,but there's a way to manipulate the suite directly i'm sure01:02
thumperif I wanted to add somthing that would say "use this user / pwd combo" for the CLI command, how do we do it01:02
wallyworldthere's a current user in the yaml01:02
thumperew01:02
wallyworldcurrent-account01:02
thumperwe want a repo suite method that says "set this user as current"01:02
wallyworldyes, i'm looking for that01:03
wallyworldthe other ways invoke setting up yaml that the cli would use01:03
thumperthat's gross01:04
thumperwe can do better01:04
wallyworldeg create > 1 account on a controller with different access and set up one as current01:04
wallyworldyes01:04
thumperhow about...01:04
thumper...01:04
* thumper thinks01:04
* thumper looks at the code some more01:04
wallyworldthumper: i can't see any feature tests for grant/revoke even. so it may be something we've not added to the suite before01:05
thumperit appears that the JujuConnSuite uses the default config storage (ie disk)01:05
wallyworldthumper: what about OpenAPIAs()01:05
wallyworldyou get a client connection as the user you want01:06
thumperfeaturetests/cmd_juju_model_test.go01:06
thumperthat is where the grant and revoke feature tests are01:06
thumperit calls the cli01:06
thumperfrom the outside01:06
thumperso I need to set up the "current user"01:06
wallyworldthumper: see TestCanPostWithLocalLogin01:06
thumperwallyworld: wrong level of interaction01:07
wallyworldso you want to set up the current user for a CLI call?01:08
thumperyep01:08
wallyworldjuju switch-user i think01:08
wallyworldah that's gone01:08
thumpernah... again wrong level01:08
thumperI just want to set using the config manager bits01:09
thumperas in: start of test create read only user, set that user as the current one01:09
wallyworldyou can set up an in memory config01:09
thumperthen invoke the cli01:09
wallyworldone sec01:09
thumperI'm sure we do this shit elsewhere01:10
thumperjust with all the changes around user cred storage, I'm not sure where to look any more01:10
thumperit isn't where I last looked01:10
wallyworldthumper: see createmodel_test01:11
wallyworldin cmd/juju/controller01:11
wallyworldthe setuptest sets up an in memory config01:11
thumperI don't want a memory config01:12
thumperbut at least I can see part of what I want there01:12
wallyworldyou want an on disk one in a fake home?01:12
thumperwhere is the disk config?01:13
thumperthat is what the test currently uses01:13
wallyworldjujuclient package01:13
thumperbecause we don't have enough things with the name juju in it?01:14
thumpergeez01:14
wallyworldNewFileClientStore()01:14
wallyworldwell that's what it is01:14
wallyworldfunctionality for the Juju Client01:14
wallyworldwe could have called the package George01:14
thumperheh01:15
thumperit seeme the JujuConnSute has one already in ControllerStore01:16
thumperso... what are the minimal steps I need to add a user/pwd pair to the current model for the store?01:17
wallyworldthumper: controllerStore.UpdateAccount()01:19
wallyworldthat will create / update a named account (user)01:19
wallyworldfor a given controller01:19
thumperk01:20
wallyworldthe AccountDetails struct has user/password plus a macaroon which is optional01:20
wallyworldwell, i think you can leave it off when testing01:21
wallyworldthumper: the controllerStore on JujuConnSuite is right now just used to hold controller info when testing CLI command structs directly. if you want to add users etc it may be best to rename it01:22
wallyworldthumper: although TestAddUserAndRegister uses the account bits01:23
wallyworldin cmd_juju_register_test01:24
thumperI think I have what I need...01:24
wallyworldthumper: ok, np. if you get stuck, the above test shows how to setup NewAPIConnectionParams to create an api connection01:25
* thumper nods01:25
wallyworldusing the account details you added to the store01:25
cheryljand so it was foretold01:33
cheryljthat tests would fail01:33
cheryljon this, the 21st day of April01:33
cheryljwhen thine distro-info revealed01:33
cheryljthat the lts01:33
cheryljis01:33
cheryljxenial01:33
cheryljhttp://juju-ci.vapour.ws:8080/job/github-merge-juju/7506/console01:33
cheryljand no merges shall merge01:34
mupBug #1572798 opened: list-clouds or show-cloud does not show default region <juju-core:New> <https://launchpad.net/bugs/1572798>01:35
* thumper headdesks01:37
cheryljmgz, sinzui ping?01:38
sinzuihi cherylj01:38
cheryljhey hey sinzui01:38
cheryljhappy release day01:38
cheryljnothing can merge now01:38
cherylj:D01:38
cheryljwhat can we do to get things to merge so we can fix the failing tests incrementally?01:39
sinzuicherylj: 1. I open the lst cherry soda.01:40
cheryljcan we hack the distro-info on whatever instance we provision?01:40
sinzuicherylj: 2. Just after the test script injects angsty Antelope, We change Xenial to supported or devel01:40
cheryljsinzui: 3 - we assign these bugs POST HASTE!01:41
cheryljalright wallyworld and thumper, time to pony up some bodies to fix unit tests :)01:42
thumperwallyworld: how do I set the newly added user as the default user?01:42
sinzuicherylj: I thnk merges/*ix unit tests are fixable in 30 minutes. I hope the window's unit tests don't need sucha a hack. I cannot think how they would think xenial is lts01:42
wallyworldcherylj: redir is already doing a whole bunch :-)01:42
wallyworldcherylj: and perrito666 fixes the windows ones01:42
cheryljsinzui: that would probably be the fallback default series, which has not been updated to be xenial yet01:43
sinzuicherylj: , No, first open soda and order child to bring ice cream, then fix test01:43
cheryljcheck for shellfish01:43
wallyworldthumper: SetCurrentAccount()01:43
cheryljsince your kids seem bent on killing you01:43
thumperwallyworld: yeah... that didn't work01:43
cheryljwallyworld: there are 7 bugs for different packages with failing tests01:43
cheryljand that's just in juju/juju01:43
cheryljI didn't test the other repos01:43
thumperwallyworld: perhaps a quick hangout for a screenshare and you can tell me what I'm doing wrong01:45
wallyworldcherylj: the guys have been told to pick stuff from the board and/or ask you, i'll ask them to prioritise unit test fixes01:45
wallyworldthumper: ok01:45
thumpercherylj: it seems like the no matching tools one should be a quick fix01:45
thumperTBH I'm surprised there weren't xenial tools added to the tests before01:46
cheryljthumper: some might be solved by changing testing/environ.go:const FakeDefaultSeries = "trusty" to "xenial"01:46
* thumper nods01:46
cheryljbut not all01:46
thumperwallyworld: I'm in the hangout01:46
wallyworldcherylj: can we tag the cards with "unit test" so they are easily identified?01:47
wallyworldthere's a lot of cards on that board01:47
cheryljwallyworld: sure.  These are the only critical cards in tech-debt01:47
mupBug #1572798 changed: list-clouds or show-cloud does not show default region <juju-core:Invalid> <https://launchpad.net/bugs/1572798>01:47
wallyworldcherylj: they are the ones i've already asked redir to look at01:48
wallyworldthe LTS ones01:48
sinzuicherylj: I think changing the born date to 2016-05-21 will work. DO you agree01:48
* cherylj checks locally01:48
cheryljsinzui: yes that works01:49
sinzui:)01:49
cheryljif by "born date" you mean "release"01:49
cheryljsame thing01:50
mupBug #1572798 opened: list-clouds or show-cloud does not show default region <juju-core:Invalid> <https://launchpad.net/bugs/1572798>01:59
sinzuicherylj: I will send an update to all the slaves. It will take about 20 minutes. We might se everything start to work then02:00
cheryljtyvm, sinzui02:00
* redir is eod02:01
* thumper read that initially as redir is dead02:01
redirhehe02:01
wallyworldredir: i was just letting cherylj know we did assign  resources to fixing the LTS test issues and weren't ignoring her :-)02:02
wallyworldredir: didn't expect you to do any more work past EOD02:03
redircherylj: wallyworld I'll have a qq about those tomorrow. I modified stuff to work with xenial and got all but 2 passing in cmd/jj/service02:03
redirwallyworld: I'm not02:03
redir:)02:03
cheryljredir: I'll be here, just ping me02:03
redircool02:03
cheryljredir: we should make sure it works with trusty too (as we're updating the merge bot to forget about xenial for now)02:04
cheryljand hopefully we'll save ourselves pain for the next lts02:04
wallyworldcherylj: it can't really work with both at once02:04
wallyworldwe need to choose02:04
redircherylj: I modified environs/config/config.go to say xenial02:05
cheryljwallyworld: I think it would be a case of checking not against a hard coded series, but rather against the default series02:05
mupBug #1572798 changed: list-clouds or show-cloud does not show default region <juju-core:Invalid> <https://launchpad.net/bugs/1572798>02:05
redirand updated tests. THey worked (execpt 2) then reverted environs... and they still passed.02:05
wallyworldcherylj: that's where is disagree - tests should use hard coded values02:05
wallyworldcherylj: so that when stuff changes, we are forced to fix the tests02:05
cheryljand we do this every two years02:06
cheryljok02:06
wallyworldthat's just IMHO02:06
wallyworldothers may disagree02:06
redirbut I think the multi series test charm code is looking for precise or trusty.02:06
wallyworldredir: that's because the test charm data contains precise and trustyu02:07
wallyworldthat data doesn't come from lts02:07
redirI think it should use the value of the system the tests are running on, wallyworld, cherylj $.02:)02:07
wallyworldfrom from the metadata.yaml for the test charm02:07
redirwallyworld: I figured that but hadn't found where yet.02:07
redirwallyworld: of course:|02:08
wallyworldredir: testcharms/charm-repo02:08
redirwallyworld: thanks02:08
wallyworldredir: that charm metadata doesn't necessarily need to include xenial - it could, but not strictly necessary to get the current tests passing as that's not a root cause issue IIANM02:09
thumperwallyworld: this is so terrible02:11
thumperwallyworld: dumped the yaml, and there is "kontroller" and "local.kontroller"02:11
redirwallyworld: if you have a minute i wouldn't mind you vetting what I am doing, before I do it all over the place...02:13
wallyworldredir: sure, jump in to https://plus.google.com/hangouts/_/canonical.com/juju-core-team02:13
thumperaxw: it is your fault02:18
thumperjujuclient/file.go line 54102:19
thumperapparently we shouldn't have multiple users using one controller02:19
axwthumper: you can have multiple users, just not logged in at once02:20
axwthumper: from the same client02:20
sinzuicherylj: The update is in place and I have requeued alexis's and mgz's merges02:20
cheryljthanks, sinzui!02:20
thumperaxw: the code says no02:20
thumpersee comment on line 53302:20
axwthumper: this is client-side. you can logout and login02:20
axwthumper: the reason for the change was to avoid accidentally leaving your client logged into a controller02:21
thumperall our juju conn suite tests use the admin model...02:22
axwthumper: can you just remove the admin user and then add your new user?02:23
thumperhow?02:23
thumperhow do I programatically logout?02:23
sinzuiaxw: you have accidentally voluneered to prove we can delay xenial's release by one month in the tests. I will replay your lp1571832-tools-layered merge if needed02:23
axwthumper: RemoveAccount(controller, "admin@local")02:23
axwsinzui: wat?02:24
mwhudsonhow do you guys stop goimports deleting "gopkg.in/mgo.v2" all the time?02:24
cheryljaxw: nothing is merging because unit tests are failing now that xenial is the lts02:24
cheryljaxw: so we're hacking the merge bot to think that it's not release day for xenial02:25
sinzuiaxw: the juju test suite fails if xenial is released, and it is in some timezones. I have a hack in place to prevent the tests from seeing xenial's release. Your branch got in before mgz's02:25
axwcherylj sinzui: I'm confused, did I do something wrong? cancel my job if you need to02:26
cheryljaxw: no :)02:26
axwokey dokey02:26
cheryljaxw: you're just our first victim to see if sinzui's hack is working02:26
sinzuiaxw, you did nothing wrong, you just got into the queue first02:26
axwah, heh :)02:26
* axw squeaks like a guinea pig02:26
cheryljsinzui: so are the i386 tests gone now?02:27
sinzuicherylj: yes they are :)02:27
cheryljyay!02:27
cheryljbecause I'm fixing the arm64 tests at the expense of i38602:27
cherylj:)02:27
axwmwhudson: I've been meaning to hack goimports to be aware of context. there's a TODO in the code to prefer import paths that are used in other files in the same package IIRC02:27
axwmwhudson: it's a PITA02:28
mwhudsonaxw: grumble02:28
natefinchmwhudson: is there a different mgo package that it's choosing?  What I do is just remove the incorrect package from my gopath02:36
mwhudsonnatefinch: i don't think so02:37
natefinchmwhudson: when is it deleting the import?  I sometimes get the problem where I manually add the import before I add the code, and then save, and goimports runs and removes the unused import. :/02:38
mwhudsonnatefinch: on any save02:38
mwhudsonnatefinch: i think it's because the package name is different from the last component of the import path02:39
mwhudsonbut it's also possible i'm holding it wrong02:39
natefinchmwhudson: hmm.. weird.  I've done a lot of work using gopkg.in import paths, and it seems to work ok02:39
mwhudsonhmm02:39
natefinchmwhudson: just double checked and it adds the right import for mgo.v2 if it's missing, and won't remove it if it's there (and used).02:41
mwhudsonnatefinch: huh, ok, good to know02:41
mwhudsonnow why is it not working for me ? :(02:41
natefinchis it an old version of goimports?  maybe there was a bug fix at some point02:42
mwhudsoni just rebuilt it02:42
mwhudsonalthough let's rebuild again just to be sure02:42
mwhudsonok works now, my rebuild must not have actually rebuilt it ?!02:43
mwhudsonanyway02:43
mwhudsonsorry for the noise02:43
natefinchglad it's working :)02:43
mwhudsonno wait, no it's not :(02:43
natefinchaww crap02:43
mwhudsonnatefinch: aah works outside of emacs02:45
* mwhudson updates things02:47
mwhudsonbah doesn't help02:50
thumperfuck fuck fuckity fuck02:54
* thumper bitches some more02:54
cheryljcan I get a review?  http://reviews.vapour.ws/r/4669/02:58
natefinchcherylj: can you slap a comment about the i386 about the fact that we don't support it anymore?  I wouldn't know that by looking at that code.03:00
natefinchabove the i386 that is03:00
natefinchcherylj: otherwise, ship it :)03:01
sinzuisorry axw my fix worked, but your merge had one failure in cloudinitSuite.TestWindowsCloudInit03:06
axwsinzui: yeah, I forgot to update a test, just rescheduled it03:06
axwsinzui: sorry for holding up your fix03:07
thumperhmm...03:07
mwhudsoncherylj, natefinch: powerpc seems a pretty safe "juju will never ever support" arch03:08
thumperoh fark...03:10
* thumper headdesks again03:10
* thumper headdesks again03:12
* thumper headdesks again03:12
natefinchmwhudson: it's really just a string.  If we want, we could use arch=abcdef ... but I'm guessing that might fail elsewhere.... i386 is something we can parse as a valid arch that we don't support.03:16
cheryljnatefinch: yeah, that's the thing.  It has to be a valid arch to juju (as defined in juju/utils/arch), but not one we support03:20
cheryljand it was decreed yesterday that we are not building for i386 anymore03:21
cheryljyay03:21
natefinchcherylj: it's honestly kind of funny that we even have arches defined that we don't support.  You'd think we could just remove those and then... problem solved.03:21
natefinchweird, somehow half the tests in this suite aren't getting run03:30
* thumper headdesks03:37
* thumper headdesks03:37
* thumper headdesks03:37
* thumper headdesks03:37
* thumper headdesks03:37
mwhudsonthumper: having fun?03:43
thumpermwhudson: no, why?03:44
mwhudsonthumper: just a suspicion i had03:44
thumpermwhudson: you must be very astute03:44
natefinchlol03:45
mwhudsonthumper: well i'm running juju tests so i have lots of time to be observant03:45
mwhudsonoh um, this doesn't seem like good news03:46
mwhudsonwith juju-mongodb (i.e. 2.4):03:46
mwhudsonPASS: allwatcher_internal_test.go:421: allWatcherStateSuite.TestChangeAnnotations0.309s03:47
mwhudsonwith 3.2:03:47
mwhudsonPASS: allwatcher_internal_test.go:421: allWatcherStateSuite.TestChangeAnnotations24.110s03:47
thumperFARK!!!03:47
thumperwow03:47
thumpershit03:47
* thumper passes that to wallyworld03:47
natefinchtold you03:47
wallyworldyep, horatio has highlighted that03:48
mwhudsonah ok cool03:48
wallyworldit sucks, we need to figure out why exactly03:48
thumperwallyworld: http://reviews.vapour.ws/r/4670/03:49
wallyworldok03:49
thumperwallyworld: it has a drive by cleanup I couldn't let lie03:50
thumperwallyworld: the important bit was that sharing models currently only done by controller admins03:51
thumperwhich is crazy03:51
thumperbut that's what we have03:51
thumperbut read only access to the controller model made you a controller admin03:52
thumperwhich I've fixed03:52
thumperin this branch03:52
wallyworldgood :-)03:52
wallyworldthumper: so what happened to all that angst that the grant/revoke methods were on the wrong facade?03:55
thumperthat is a different issue03:55
thumperthat's still fucked03:55
thumperbut we are no more fucked than before03:55
thumperbut more unfucking needed03:55
* thumper is emailing...03:55
wallyworldso the root issue here was a Find() was missing a condition03:55
thumperwallyworld: for admins, yes03:57
thumperwe didn't have readonly before03:57
natefinchoh FFS04:08
=== hazmat_ is now known as hazmat
axwwallyworld: https://github.com/juju/juju/pull/5244  -- fixes critical issue06:53
wallyworldsure06:53
wallyworldaxw: oh, i thought we had that filtering where needed06:54
axwwallyworld: so did I ...06:54
wallyworldis this a regression?06:54
axwwallyworld: apparently only for LXC06:54
axwI don't know06:54
wallyworldright ok, lxc in 1.25/2.0 worked06:54
wallyworldbut not lxd06:54
axwwallyworld: not sure if we were ever doing the right thing for KVM, seems unlikely that we'd have changed it06:54
wallyworldkvm never got much love06:55
wallyworldon non amd6406:55
wallyworldaxw: i just asked for an extra test07:04
axwwallyworld: ok, thanks07:15
=== urulama|____ is now known as urulama
dimiternmgz: ping08:15
dimiternfrobware: ping08:24
TheMuemorning08:41
dimiternTheMue: o/08:42
TheMuevoidspace: twittering about management experiences ;)08:52
voidspaceTheMue: :-)08:54
dooferladdimitern, frobware, voidspace: standup?09:01
voidspacedooferlad: omw09:01
voidspacedimitern: so on a maas controller with extra interfaces juju bootstrap fails due to a schema error in gomaasapi09:31
voidspacedimitern: the way networks are returned fails thumper's json validation code :-)09:32
voidspacedimitern: so a fix in gomaasapi needed09:32
voidspaceI'm looking :-)09:32
voidspacegood to find these things out I guess09:32
dimiternvoidspace: oh, what's the error?09:32
voidspacedimitern: ERROR failed to bootstrap model: cannot start bootstrap instance: cannot run instances: cannot run instance: space 0: subnet 3: subnet 2.0 schema check failed: dns_servers: expected list, got nothing09:33
voidspacedimitern: it looks like it can't get all the subnet info - which is possibly a problem on the configuration09:34
voidspacedimitern: but the controller is running fine, so gomaasapi shouldn't refuse to talk to it09:34
dimiternvoidspace: ah! it already is so much better at figuring out how exactly maas api changed09:35
dimiternvoidspace: yeah, the dns_servers should be optional09:35
voidspacedimitern: yeah, but the old approach was tolerant against schema changes like that ;-)09:37
voidspaceoh the good old days09:37
dimitern:D09:38
frobwaredimitern, voidspace, dooferlad: morning - running late today :/09:41
dimiternfrobware: morning o/09:42
dimiternfwereade: are you around?09:42
fwereadedimitern, o/09:42
frobwaredimitern: have you commissioned a node in MAAS with xenial recently?09:42
dimiternfrobware: not since BOW IIRC09:43
dimiternfwereade: do you have 10m or so for a quick HO?09:44
frobwaredimitern: I have no working nodes this morning... :(09:44
dimiternfwereade: context: I'm almost done with refactoring state ports to associate them with subnets, rather than networks09:45
dimiternfrobware: I'll try recommissioning one of the nucs now, as I've upgraded to 2.0 beta3 this morning09:45
fwereadedimitern, sure, joining juju-sapphire09:46
dimiternfwereade: omw09:46
=== sinzui_ is now known as sinzui
axwfrobware: thanks for the review. I don't think there's much point in tacking on the type to the name, since you'll never see the name out of the context of the type anyway10:20
axwfrobware: unless space awareness would change that ...10:20
axwfrobware: would private networks like these be exposed to the user?10:20
frobwareaxw: my comment was more from a debugging standpoint should you want to identify these "things" separately.10:21
axwfrobware: ok then, I guess I can buy that. I'll change it tomorrow10:22
axwthanks10:22
babbageclunkvoidspace: after all the twitter harrassment, you got the day wrong again ;)10:25
babbageclunkvoidspace: anything I can do to help with the bootstrap issue?10:26
voidspacebabbageclunk: I just haven't corrected it yet :-p10:26
voidspacebabbageclunk: I'm on it, thanks10:26
babbageclunkvoidspace: ok, I'll keep going through the tests <sigh>10:27
voidspacebabbageclunk: hah10:27
voidspacebabbageclunk: you could test my branch deploying a container in the standard case10:27
voidspacebabbageclunk: I can't test due to fixing gomaasapi10:27
babbageclunkok10:27
babbageclunkvoidspace: what's the standard case/10:27
babbageclunk?10:28
voidspacebabbageclunk: add a machine (used to be juju add-machine)10:28
voidspacebabbageclunk: then juju deploy wordpress --to lxc:110:28
voidspaceor whatever the number of the new machine is10:28
voidspacemight be 0 if you've not switched to admin, not sure10:28
babbageclunkvoidspace: ok cool - trying that now10:28
voidspacebabbageclunk: standard case is without extra subnets / nics which is what I was attemptin10:28
voidspace*attemptin10:28
voidspacewhat the hell10:30
babbageclunkvoidspace: nice correction10:30
voidspace*attempting10:30
voidspacea failed attemp10:30
dimiternfrobware: that nuc I tried to recommission failed\10:37
dimiternfrobware: telltale sign from the rackd.log: http://paste.ubuntu.com/15962619/10:38
frobwaredimitern: I'm totally broken too...10:39
dimiternfrobware: it's even reported: https://bugs.launchpad.net/maas/+bug/138981110:41
mupBug #1389811: tgtadm: out of memory crash <crash> <oil> <MAAS:Triaged> <https://launchpad.net/bugs/1389811>10:41
babbageclunkMan that is really annoying - sometimes my machine just freezes for about 2 minutes.10:41
babbageclunkI think it's journald freezing.10:42
dimiternbabbageclunk: that used to happen quite often with all of my vmaas setups in lxc, all of which also bind-mount my $HOME inside the container10:43
frobwaredimitern: so I see another error to: 'sh initctl - not found'10:43
babbageclunkdimitern: encrypted home?10:44
frobwaredimitern: I cannot persuade the UI to use trusty for commissioning10:44
dimiternbabbageclunk: what was observable is ssh starting to fail to connect; sudo systemctl restart logind resolves this for a while; haven't see in happen recently though10:44
frobwaredimitern: does commissioning in 1.9 work?10:47
frobwaredimitern: should you have the inclination and bandwidth...10:47
dimiternfrobware: have you tried changing the release used for commissioning in the UI Settings tab?10:48
frobwaredimitern: yep, it won't let me. :/10:49
frobwaredimitern: I tried fiddling with maas $PROFILE boot-sources ...10:49
dimiternfrobware: perhaps it's by design - i.e. not allowing commissioning with earlier releases than the controller10:50
frobwaredimitern: and I removed 16.04 from my images, leaving 14.04 but I still cannot select 14.0410:51
babbageclunkfrobware, voidspace, dimitern: sometimes when I start my maas controller KVM the maas admin isn't accessible - apache's running but going to /MAAS just spins10:53
babbageclunkfrobware, voidspace, dimitern: any suggestions?10:56
frobwarebabbageclunk: how much ram did you allocate for the maas server?10:56
babbageclunkfrobware: 1G10:56
frobwarebabbageclunk: also, cd /var/log/maas and take a look10:56
frobwarebabbageclunk: I did that for a while, but I think it needs a little more, particularly when re-importing the images10:57
dimiternfrobware: no idea why it doesn't allow you :/ - anything in /var/log/maas/ ?10:57
dimiternfrobware: 2GB seems to be recommended10:58
babbageclunkfrobware, dimitern: "Can't update service statuses, no RPC connection to region."10:58
babbageclunkI can ping google, for example, so there's network connection out.10:59
=== mhilton-lunch is now known as mhilton
voidspacebabbageclunk: check the log?11:01
babbageclunkdimitern, frobware: ok, can I just bump it up in VMM, or do I need to recreate.11:01
babbageclunk?11:02
voidspacebabbageclunk: 1G may not be enough11:02
voidspacebabbageclunk: bumping it in the VM should be fine11:02
frobwarebabbageclunk: power it down, bump the value via the virt-manager interface for the node11:02
babbageclunkFound a promising sounding bug from the log messages.11:02
dimiternbabbageclunk: try sudo dpkg-reconfigure maas-region-controller, then maas-region-api, then maas-rack-controller (in that order)11:03
babbageclunkok, I can see messages in the rack controller log complaining the region isn't responding.11:04
babbageclunkdimitern: ok, will do11:04
frobwaredimitern: so I reinstalled maas (gah!) and just added 14.04 images but that is not enough. the "deploy" dropdown is populated with 14.04 but the commissioning dropdown is empty. looks like 16.04 or bust.11:06
dimiternfrobware: I suspect you need to wipe /var/lib/maas/boot-resources/* and re-import the images to be sure it's clean11:09
frobwaredimitern: I did a clean VM install. :)11:09
dimiternfrobware: oh :/ I see11:10
* frobware productively heads for lunch :/11:11
babbageclunkOk, poking those helped - not sure which bit, presumably the reconfigures restarted things - thanks guys!11:11
frobwaredimitern: yep, import 16.04 gives me the only boot image.11:16
dimiternfrobware: fwiw I can see both trusty and xenial in the dropdown to choose release for commissioning11:18
frobwaredimitern: 1.9.1?11:18
dimiternmaybe upgrading from 1.9 works better than fresh installation11:18
dimiternfrobware: no, 2.0.0 (beta3+bzr4941)11:19
* frobware really heads for lunch11:25
babbageclunkvoidspace: still bootstrapping, haven't had a chance to add a container yet.11:27
voidspacebabbageclunk: heh, ok11:28
voidspacebabbageclunk: good news about your oyster card (etc)11:29
voidspacebabbageclunk: gives you hope for humanity11:29
babbageclunkvoidspace: yeah! And such a nice postcard as well"11:35
babbageclunk!11:35
babbageclunkvoidspace: please no monitoring of typing speed11:36
voidspacebabbageclunk: ah, I missed that. Nice.11:36
voidspacebabbageclunk: I'll email you the keylogger11:36
voidspace;-)11:36
babbageclunkvoidspace: bootstrap seemed to have hung after "installing package: tmux"11:37
babbageclunkvoidspace: killed it and kicked it off again11:37
babbageclunkvoidspace: any way to get debug logging before the controller is bootstrapped?11:37
voidspacebabbageclunk: anything in the logs?11:37
voidspacebabbageclunk: installing to container or machine?11:38
babbageclunkvoidspace: locally or on the node?11:38
voidspacebabbageclunk: on the node11:38
voidspacebabbageclunk: installing directly to the node, or to a container on the node?11:38
babbageclunkvoidspace: I couldn't ssh in - where's the key?11:38
babbageclunkvoidspace: still bootstrapping, haven't gotten to the add-machine part.11:39
voidspacebabbageclunk: oh I see - as part of the bootstrap, I'd forgotten it installed tmux11:39
voidspacebabbageclunk: uhm, not sure - dimitern ^^^ (where's the key to ssh in)11:40
babbageclunkvoidspace: yeah, what's that about - just so it's there?11:40
dimiternvoidspace, babbageclunk: juju ssh keys are in ~/.local/share/juju/ssh/11:40
babbageclunkdimitern: ah, ok - will try using those to snoop around if it gets "stuck" again.11:41
dimiternyou could try ssh -i <juju_rsa> ubuntu@<what-maas-shows-as-ip>11:41
dimiternwhile it's still bootstrapping11:41
dimiternand if it appears hung, might be just slow to upd / inst the packages; i.e. tail -f /var/log/cloud-init-output.log once in11:42
dimiternbabbageclunk: ^^11:42
babbageclunkdimitern: awse, thanks11:43
babbageclunkok, looks like it's actually doing things with tools.11:45
babbageclunkvoidspace, dimitern: was there some breakage around upload-tools recently?11:46
voidspacebabbageclunk: there11:46
dimiternbabbageclunk: oh yeah - but it's fixed now (2 days ago sometime)11:47
voidspacebabbageclunk: oops, there was - but it should be fixed11:47
dimiternbabbageclunk: bootstrap --upload-tools failed almost right away for me before the fix11:49
dimiternbabbageclunk: or you mean the tools info mismatch (new thing since yesterday IIRC) ?11:50
dimiternthat happens for lxd containers due to some arch mismatch between host and container11:53
babbageclunkdimitern: no, I was thinking of the one earlier this week.11:53
babbageclunkdimitern, voidspace: nothing happening in the cloud-init output log after this:11:54
babbageclunk454a97ab1b6bc43e28bb149813edfeec31eceda09b86b5474cca31712528f163  /var/lib/juju/tools/2.0-rc1.1-xenial-amd64/tools.tar.gz11:54
dimiternbabbageclunk: anything in /v/l/syslog?11:55
babbageclunkbootstrap still seems stalled after installing tmux (log says that was successful/already installed)11:55
=== icey_ is now known as icey
voidspaceI'll try11:55
voidspacebabbageclunk: is this master or my branch11:56
babbageclunkdimitern: nothing suspicious looking. last message is: Apr 21 11:54:06 undisabled-miya systemd[1]: Started Cleanup of Temporary Directories.11:56
babbageclunkdimitern: (I presume that's in UTC)11:57
babbageclunkvoidspace: yours11:57
dimiternbabbageclunk: any zombie processes?11:57
voidspacedammit, I can't bootstrap because of my maas configuration issue11:57
voidspacewill leave it for the moment, sorry11:57
babbageclunkdimitern: not that I can see11:59
babbageclunkdimitern: any other logs I should look for?12:00
dimiternbabbageclunk: can you paste the current /v/l/c-i-output.log ?12:01
ashipikacan anybody help? i'm getting: WARNING cannot delete default security group: cannot retrieve default security group: "juju-3884d5ab-1317-420a-8acc-fb8bceb7d70a": The security group 'juju-3884d5ab-1317-420a-8acc-fb8bceb7d70a' does not exist in default VPC 'vpc-f34a3496' (InvalidGroup.NotFound)12:01
ashipikaERROR failed to bootstrap model: cannot start bootstrap instance: no "xenial" images in us-east-1 with arches [amd64]12:01
babbageclunkdimitern: http://pastebin.ubuntu.com/15964229/12:04
babbageclunkdimitern: hey, it just finished!12:04
voidspacedimitern: babbageclunk: confirmed to work https://github.com/juju/gomaasapi/pull/4412:07
=== urulama is now known as urulama|afk
dimiternbabbageclunk: yeah, it looks like it's just slow - a lot of published upgrades to apply12:08
dimiternvoidspace: looking12:08
voidspacedimitern: the error was "got nothing"12:11
dimiternvoidspace: on my maas 2 I can see `"dns_servers": []` for some of the subnets12:11
voidspacedimitern: that was the case that was already tested and worked12:11
voidspacedimitern: ah, indeed - it is null12:13
mupBug #1567296 changed: Plugin API fails with multiple juju binaries <juju-core:Fix Released> <https://launchpad.net/bugs/1567296>12:13
voidspacedimitern: I will update and change to null instead12:13
voidspacedimitern: test still passes12:13
dimiternvoidspace: thanks!12:13
voidspacedimitern: pushed12:14
dimiternvoidspace: it passes because go's json package allows that :)12:14
voidspacedimitern: the test uses the schema - so we're testing the schema not the json package12:14
voidspacedimitern: unless you meant something else12:15
voidspacethe problem was the over strict schema12:15
voidspacewithout my change to the schema the test fails12:15
voidspacedimitern: thaanks12:16
dimiternvoidspace: yeah, layers upon layers.. now LGTM though :)12:16
voidspacelunch12:16
=== urulama|afk is now known as urulama
mupBug #1573020 opened: upgrade-charm --path does not recognize dot <juju-core:New> <https://launchpad.net/bugs/1573020>13:16
dimiternfrobware: I managed to fix my nucs and now commissioning passes ok13:36
frobwaredimitern: see my conversation on #maas13:37
dimiternfrobware: fwiw I struggled about with this bug 1389811 until now, added comment how managed to resolve it13:43
mupBug #1389811: tgtadm: out of memory crash <crash> <oil> <MAAS:Triaged> <https://launchpad.net/bugs/1389811>13:43
dimiternfrobware: (reading #maas) - nice! good catch13:44
=== dooferlad_ is now known as dooferlad
babbageclunkvoidspace, dimitern - trying to deploy to a container I get this error;14:17
babbageclunkERROR storing charm for URL "cs:trusty/ubuntu-7": cannot retrieve charm "cs:trusty/ubuntu-7": cannot get archive: Get https://api.jujucharms.com/charmstore/v5/trusty/ubuntu-7/archive?channel=stable: dial tcp: lookup api.jujucharms.com on 192.168.150.2:53: read udp 192.168.150.4:37104->192.168.150.2:53: i/o timeout14:18
dimiternbabbageclunk: yeah, no xenial versions of the charm yet14:18
dimiternbabbageclunk: but never worry :) try e.g. juju deploy ubuntu --series xenial --force --to lxd:014:19
babbageclunkOk - trying that, thanks14:19
babbageclunkdimitern: nope, same error.14:20
voidspacebabbageclunk: try deploying wordpress instead14:20
voidspacemaybe the same problem14:20
dimiternyeah14:20
babbageclunkdimitern: hmm, maybe it can't get to t'internet?14:20
babbageclunkdimitern, voidspace: ok, trying that14:21
dimiternbabbageclunk: try with --debug?14:21
babbageclunkall these fun new options I'm learning"14:21
babbageclunk!14:21
dimiternbabbageclunk: well, I'd first try just add-machine lxd:0 to make sure that works, comes up with expected NICs, dns works, egress to internet works14:22
mupBug #1573055 opened: Latest modification to https://streams.canonical.com/juju/tools/streams/v1/com.ubuntu.juju-released-tools.json  makes juju bootstrap fail <bootstrap> <juju-core:New> <https://launchpad.net/bugs/1573055>14:22
dimiternbabbageclunk: once all the above works (at least a couple of times :), you're almost there14:22
babbageclunkdimitern: looks like DNS from that machine isn't working.14:22
voidspaceThis VLAN is the default VLAN in the fabric, can't delete. Can't delete this fabric it has VLANs attached.14:23
dimiternbabbageclunk: ah, well - what's in /etc/resolv.conf on the host and the container?14:23
dimiternvoidspace: first delete the vlans14:23
babbageclunkdimitern: resolv.conf looks right, points to the maas controller14:24
dimiternbabbageclunk: can you ping the dns IP from the container?14:24
babbageclunkHang on, I'm not in the container yet - only have a machine.14:26
voidspacedimitern: can't delete the VLAN it's the default in the fabric.14:26
dimiternvoidspace: what are you trying to do? get rid of extraneous fabric?14:28
dimiternbabbageclunk: what does sudo lxc list show?14:28
babbageclunkHmm, didn't have DNS forwarding turned on in my MAAS 2 controller. Added that and now pinging things on the internet works.14:28
voidspacedimitern: to see if I can bootstrap if I go back to the previous configuration :-/14:28
voidspacebecause right now it won't bootstrap14:28
babbageclunkDon't quite understand how the bootstrap worked given that.14:28
voidspacedeleting the NICs from the VM worked14:29
voidspacewell, got rid of the fabrics anyway14:29
dimiterngood :)14:29
voidspaceno, they're still there - but not listed on the controller any more - which may be enough14:29
mupBug #1573055 changed: Latest modification to https://streams.canonical.com/juju/tools/streams/v1/com.ubuntu.juju-released-tools.json  makes juju bootstrap fail <bootstrap> <juju-core:Invalid> <https://launchpad.net/bugs/1573055>14:31
babbageclunkvoidspace, dimitern: Ok, from juju debug-log, I'm getting this error:14:34
babbageclunkvoidspace, dimitern: actually, these errors: http://pastebin.ubuntu.com/15966208/14:35
voidspacebabbageclunk: try lxc instead of lxd - I don't trust lxd :-)14:35
voidspace(yet)14:35
babbageclunkvoidspace: ok14:35
voidspacebabbageclunk: ah, there's an interesting error though14:35
voidspaceschema check failed14:36
babbageclunkvoidspace: also, this bit seems cromulent: device 2.0 schema check failed: interface_set14:36
voidspacelooks like interface_set needs to be optional too14:36
babbageclunkvoidspace: snap14:36
babbageclunkok, trying lxc instead14:36
voidspacebabbageclunk: see this PR and do the same for interface set in gomaasapi https://github.com/juju/gomaasapi/pull/4414:36
dimiternbabbageclunk: it can be useful to try what juju does from the maas cli?14:37
voidspaceto look at interface_set, "machines read" should be enough14:37
voidspaceand find the place with null :-/14:37
babbageclunkdimitern: yeah, that sounds good14:37
mupBug #1573055 opened: Latest modification to https://streams.canonical.com/juju/tools/streams/v1/com.ubuntu.juju-released-tools.json  makes juju bootstrap fail <bootstrap> <juju-core:Invalid> <https://launchpad.net/bugs/1573055>14:38
dimiternbabbageclunk: see here (if you haven't) http://paste.ubuntu.com/15966260/14:38
voidspace*phew* bootstrap is slow but it worked this time14:38
voidspacewell, is getting further anyway14:39
babbageclunkdimitern: I haven't - what is that?14:39
dimiternbabbageclunk: that's my test-bed script which I used as PoC how to do the multi-nic devices14:40
dimiternit's fairly messy, opinionated, and not portable I'm afraid14:41
dimiternbut it implements the necessary API calls in the right order14:41
babbageclunkdimitern: useful as a starting point, thanks!14:42
babbageclunkvoidspace: deploying to lxc is working well.14:42
voidspacebabbageclunk: cool, that means AllocateContainerAddresses maybe basically works...14:43
babbageclunkalthough I still see the same schema error in the logs.14:43
babbageclunkkind of neat that it keeps going in spite of that.14:43
babbageclunkOk, I'll fix that in the gomaasapi schema14:44
dimiternbabbageclunk, voidspace: the schema error like any other issues during PrepareContainerInterfaceInfo() are simply ignored14:44
babbageclunkdimitern: nice14:45
dimiternso to truly verify whether it worked, you need at minimum: 1) be able to ssh to the host, 2) sudo lxc exec juju-machine-0-lxd-0 bash, 3) ping bbc.co.uk, 4) ip route show, 5) cat /e/n/i.d/00-juju.cfg14:45
dimiternalso helps to check sudo lxc list - it should show multiple NICs there14:46
mupBug #1573055 changed: Latest modification to https://streams.canonical.com/juju/tools/streams/v1/com.ubuntu.juju-released-tools.json  makes juju bootstrap fail <bootstrap> <juju-core:New> <https://launchpad.net/bugs/1573055>14:47
babbageclunkdimitern: is that to me?14:47
dimiternbabbageclunk: yeah - just sharing how I verify usually14:48
babbageclunkI couldn't deploy to an lxd - it failed with the simplestreams error.14:48
babbageclunkWhat would the equivalent be for lxc?14:48
dimiternbabbageclunk: ah, sorry - well, lxc should work just the same (only slower to come up due to the initial cloning, etc.)14:49
dimiternbabbageclunk: so juju add-machine lxc:014:49
babbageclunkdimitern: How do I list LXC containers? The container doesn't show up on the host node under lxc list.14:50
dimiternbabbageclunk: sudo lxc-ls -f14:50
babbageclunkdimitern: thanks14:50
voidspacedeploying to lxc I get this in the logs (i.e. it doesn't work):14:51
voidspacemachine-0: 2016-04-21 14:50:24 WARNING juju.provisioner lxc-broker.go:115 failed to prepare container "0/lxc/0" network config: unexpected: ServerError: 500 INTERNAL SERVER ERROR (Subnet matching query does not exist.)14:51
dimiternvoidspace: it might help setting the logging-config to '<root>=TRACE' to get (a lot more) context14:54
voidspaceyeah14:54
babbageclunkdimitern: ok, and using lxc-attach bash I can get into the container. I can ping bbc, and there are routes (not exactly sure what they should be). There's no 00-juju.cfg in /e/n/i.d (which will henceforth be known as enid).14:55
voidspaceenid :-)14:55
babbageclunkBut this isn't a multi-nic situation, so maybe that's to be expected.14:55
dimiternbabbageclunk: lxc-attach might be misleading btw14:56
dimiternbabbageclunk: I'd use 'sudo lxc-attach -n juju-machine-0-lxc-0 -e bash' to be sure you're in the container ns and not the host14:57
dimiternbabbageclunk: check /var/log/cloud-init-output.log while inside the container for any issues14:58
katcoericsnow: standup time15:01
babbageclunkdimitern: all looks pretty good - at least, there's a nice looking finished message15:01
dimiternbabbageclunk: from cloud-init?15:07
babbageclunkdimitern: yup15:08
babbageclunkCloud-init v. 0.7.5 finished at Thu, 21 Apr 2016 14:40:19 +0000. Datasource DataSourceNoCloudNet [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net].  Up 12.0 seconds15:08
dimiternbabbageclunk: so it seems to be working inside the lxc?15:15
dimiternbabbageclunk, voidspace, fwereade: updated http://reviews.vapour.ws/r/4656/ and I'd appreciate one last look15:16
dimiternI suppose it's to be expected to start seeing "expected series 'trusty', obtained 'xenial'" test failures on master now15:19
dimiternmore of those: adding new machine to host unit "django/0": cannot assign unit "django/0" to machine 0: series does not match15:21
mupBug #1573099 opened: Juju Register not test / script friendly; requires console interaction <juju-core:New> <https://launchpad.net/bugs/1573099>15:32
dimiternbabbageclunk, voidspace, fwereade: any objections to land http://reviews.vapour.ws/r/4656/ ?15:35
fwereadedimitern, I'm afraid I can't devote proper attention to it today :(15:35
babbageclunkdimitern: I've already said I love it! Unfortunately I'm not valid yet. :(15:36
dimiternfwereade: np15:36
dimiternbabbageclunk: cheers - so we're waiting on voidspace and/or frobware :)15:37
frobwaredimitern: looking now15:37
dimiternfrobware: thanks!15:37
frobwaredimitern: if you are using spaces don't charms implicitly express which subnet they refer to? (I was reading the commit message)15:38
dimiternfrobware: yeah, but charms see addresses as well15:40
dimiternfrobware: and they're more important for opening ports than spaces (if the charm even cares)15:40
dimiternfrobware: did that make sense ? :)15:42
frobwaredimitern: I got sidetracked with the diff15:43
dimiternfrobware: ah, yeah it's a bit big, but at least makes things more consistent around migrations15:43
frobwaredimitern: why did we go from s/0:juju-public/0:/ ?15:44
dimiternfrobware: juju-public was the hardcoded name of the supposedly default public network, now it's an empty subnet CIDR instead15:45
frobwaredimitern: so 0: represents the CIDR?15:46
dimiternfrobware: it can be also non-empty (tests verify that), but no user(charmer)-facing way to do it15:46
babbageclunkvoidspace, frobware, dimitern: review please? https://github.com/juju/gomaasapi/pull/4515:46
dimiternfrobware: the colon separates machine ids and subnet cidrs, so the 0 is the machine id15:46
dimiternbabbageclunk: looking15:49
frobwaredimitern: ok... wasn't obvious to me15:49
dimiternfrobware: it's explained in the doc comment of state.WatchOpenedPorts15:50
dimiternoops, now I see that comment needs updating as well15:50
dimiternbabbageclunk: actually, when can we have a device without interface_set ?15:51
babbageclunkdimitern: That's what I see in my MAAS now15:51
dimiternbabbageclunk: I can't see that happening using the maas cli manually: http://paste.ubuntu.com/15967504/15:52
dimiternbabbageclunk: can you try that on your maas (the parent needs to match one of your nodes ofc)15:53
babbageclunkhttp://pastebin.ubuntu.com/15967528/15:53
babbageclunkoh, sorry - I didn't do the create15:54
babbageclunkhang on15:54
dimiternbabbageclunk: ah! the warning might be causing that15:54
dimiternbabbageclunk: try 'maas refresh' to update the api spec cached by the maas cli client15:54
babbageclunkdimitern: ok, did that - still no interface_set15:55
dimiternbabbageclunk: try 'devices create' instead of 'devices read'15:55
dimiternmight be different15:55
babbageclunkdimitern: just tried that, still the same.15:56
babbageclunkman, I love the name generator: frondescent-rosalie15:56
dimitern:)15:56
dimiternbabbageclunk: hmm - what does 'maas maas2 version read -d' return?15:57
babbageclunkalthough, I'm still getting the warning15:57
babbageclunkhttp://paste.ubuntu.com/15967646/15:59
dimiternbabbageclunk: 'maas refresh' won't work (at least used to) if any of the profiles' urls you have ('maas list') are unaccessible15:59
babbageclunkdimitern: only the one in there15:59
dimiternbabbageclunk: uuh - rather old15:59
dimiternbabbageclunk: 2.0.0 alpha3+bzr481016:00
babbageclunkdimitern: true - shall I upgrade and try again?16:00
dimiternbabbageclunk: please do, at least we've confirmed the response format between alpha3 and beta3 is different16:00
babbageclunkdimitern: okeydoke, running now16:01
dimiternbabbageclunk: are you using the packages in the experimental3 ppa?16:01
babbageclunkdimitern: I don't remember adding that - how'd I check - look in sources?16:01
dimiternbabbageclunk: apt-cache madison maas16:02
dimiternit what I use16:02
babbageclunkdimitern: madison is a weird subcommand name16:03
dimiternbabbageclunk: it had some good story behind it as well, but can't remember now :)16:03
dimiternbabbageclunk: you can: sudo add-apt-repository ppa:maas-maintainers/experimental3, then update and dist-upgrade16:04
dimiternfrobware: review poke (sorry to be a pest)16:10
frobwaredimitern: still looking at it16:10
dimiternfrobware: ok, take your time16:10
dimiternfrobware: I'll rebase the follow-up onto it and keep going for now16:11
frobwaredimitern: I'm almost done16:12
dimiternfrobware: sweet!16:12
babbageclunkdimitern - my maas version still reports the old version - is there a command to restart the various daemons at one fell swoop?16:14
frobwarebabbageclunk: reboot16:14
frobwarebabbageclunk: it's all virtual, it's all quick16:14
babbageclunkfrobware: yeah - I guess that would work just as well16:14
babbageclunkfrobware: just feels a bit windowsy16:14
* frobware blushes16:14
babbageclunk:(16:15
babbageclunkOops :)16:15
dimiternbabbageclunk: yeah, I usually reboot to ensure kernel updates etc. take effect16:15
dimitern(with dist-upgrade esp.)16:15
frobwaredimitern: ah, always with dist-upgrade. always.16:18
frobwaredimitern: reviewed16:18
dimiternfrobware: thanks!16:19
babbageclunkdimitern: now maas-cli is back to hanging. Do I need to do the dpkg-reconfigure every time?16:24
babbageclunkOr is that because of the upgrade?16:26
frobwaredimitern, voidspace, babbageclunk: hopefully an easy one: http://reviews.vapour.ws/r/4673/16:28
dimiternbabbageclunk: what do you mean? it doesn't terminate?16:28
babbageclunkdimitern: yeah - I run maas maas2 version read -d and have to ^C it16:28
babbageclunkservice maas-rackd status complains about the region controller being missing.16:29
dimiternbabbageclunk: that's not a good sign :/ how about the web ui?16:29
frobwarebabbageclunk: re 'madison' - http://unix.stackexchange.com/questions/276037/why-apt-madison16:29
babbageclunkservice maas-regiond status says active (exited) with nothing in the log.16:30
dimiternbabbageclunk: hmm yeah - it seems dpkg-reconf might be in order16:30
babbageclunkdimitern: Already tried, no dice16:30
babbageclunkdimitern: I'mma reboot again16:31
dimiternfrobware: LGTM16:31
dimiternbabbageclunk: which package did you reconf?16:32
babbageclunkdimitern: maas-region-controller and maas-rack-controller16:35
frobwaredimitern, babbageclunk, voidspace: need to drop early today...16:35
babbageclunkIs there a way to make review board ignore any whitespace changes? gofmt changing the gaps for blocks of assignments makes it really hard to see what changed.16:36
voidspaceericsnow: ^^^16:36
babbageclunkOoh, release drinks16:37
ericsnowbabbageclunk: there's a "Hide whitespace changes" toggle in the diff view, on the right below the list of files at the top16:38
ericsnowbabbageclunk: is that what you're talking about?16:38
mgzweeelll... I now have a new lxd container failure16:42
mgzworking through them16:42
dimiternbabbageclunk: maas-region-api IIRC is the new name of the maas-region-controller? anyway - try reconf'g that16:43
dimiternbabbageclunk: :/ release issues I guess - sorry for suggesting the upgrade :(16:44
dimiternbabbageclunk: in anycase at least I verified on a working beta3 MAAS we have interface_set, and on your alpha3 we don't, so it's good to be flexible about that in gomaasapi for the time being; so lgtm on your https://github.com/juju/gomaasapi/pull/4516:46
bogdanteleagado we have the custom signed image stream thing merged?16:47
mupBug #1565044 changed: s390x unit tests fail because not tools for arch <ci> <jujuqa> <s390x> <test-failure> <juju-core:Fix Released by reedobrien> <https://launchpad.net/bugs/1565044>16:53
mupBug #1573136 opened: kill-controller is stuck <juju-core:New> <https://launchpad.net/bugs/1573136>16:53
dimiternalexisb: ping16:55
alexisbdimitern, pong16:56
alexisbwhats up?16:56
mupBug #1573148 opened: Juju terms language confusing for locally-deployed charms <juju-core:New> <https://launchpad.net/bugs/1573148>17:23
mupBug #1573149 opened: 'failed to ensure LXD image' creating LXD container <ci> <lxd> <juju-core:In Progress by tycho-s> <https://launchpad.net/bugs/1573149>17:23
perrito666Going afk for a moment17:33
=== JoseeAntonioR is now known as jose
voidspacehow do I set the log level in juju 2, now there's no set-env18:24
natefinchvoidspace: set-model-config18:25
natefinchvoidspace: took me a while to figure that out too18:25
voidspacenatefinch: ok, thanks. set-model-config *what*?18:26
voidspaceah, no18:27
voidspacenatefinch: never mind18:27
voidspacethanks :-)18:27
natefinchwelcome :)18:27
ericsnownatefinch: PTAL: http://reviews.vapour.ws/r/4675/18:42
natefinchericsnow: will do18:45
ericsnownatefinch: ta18:45
natefinchericsnow: http://reviews.vapour.ws/r/4676/18:50
ericsnownatefinch: k18:50
* perrito666 tries to discover why tomb is sudenly not working in go1.6 in windows19:02
natefinchericsnow: btw, an example of using the functionality added in that PR is here: http://reviews.vapour.ws/r/4677/19:20
mupBug #1557052 changed: Can't bootstrap a trusty controller: no registered provider for "lxd" <2.0-count> <go1.2> <lxd> <trusty> <juju-core:Fix Released> <https://launchpad.net/bugs/1557052>19:23
mupBug #1571131 changed: juju add-ssh-key $(cat ~/.ssh/a-key.pub) needs quoting in helptext <helpdocs> <juju-core:Fix Released by reedobrien> <https://launchpad.net/bugs/1571131>19:33
ericsnownatefinch: FYI, I left a review of your core patch20:16
ericsnownatefinch: I don't think we need that testing patch if we change the approach in core20:17
ericsnownatefinch: (though it probably stands on its own merits)20:17
natefinchericsnow: cool, thanks20:22
ericsnownatefinch: np20:24
=== urulama is now known as urulama|____
perrito666rogpeppe1: have a moment?21:23
mupBug #1573259 opened: Non-admin users unable to share models <regression> <juju-core:In Progress by thumper> <https://launchpad.net/bugs/1573259>21:42
* thumper sighs21:42
thumperI'm going to have to work out how to get the lxd provider working again...21:42
thumperabentley: do you know of the git command that relates to the bzr one of merge-preview?21:44
abentleythumper: No, sorry.  Still a noob with git.21:46
thumperhmm..21:46
thumperI want to see the diff of what my merge would be against master21:46
thumperso not what is on master that isn't on mine21:46
thumperjust what is unmerged21:46
thumpershould be easy right?21:46
ericsnowthumper: make sure you apt-get lxd to get the latest and then run "sudo dpkg-reconfigure -p medium lxd" to set up the LXD bridge21:52
ericsnowthumper: see https://github.com/juju/docs/pull/998/files21:54
thumperericsnow: ta21:54
ericsnowthumper: np :)21:54
* thumper is looking at code and getting a sinking feeling21:55
ericsnowthumper: had to do it today so it was fresh in my mind21:55
* thumper breathes a sigh of relief21:56
thumperseems I don't need to worry about that...21:56
* thumper goes back to details21:56
* thumper chuckles21:57
thumper"lxc finger"21:57
thumperI'll give it the finger21:57
perrito666axw_: ping me when you are awake and around?21:59
abentleythumper: So merge --preview actually does the merge, so it'll show conflicts and stuff.  The equivalent git command, if it exists, would also need to do the merge.  "diff -r submit:" just performs a diff against well-chosen revisions and is more likely to have a git analogue.22:02
abentleythumper: I think you can do the equivalent of "diff -r submit:" with "git diff $(git merge-base)"22:04
thumperhmm...22:05
thumperta22:05
redirericsnow: got a minute?22:13
ericsnowredir: sure22:13
redirHO?22:13
* perrito666 no longer has a webcam but still waves when finishing a conversation......22:38
wallyworldredir: i was just going to ping you about eric's PR? can i join the hangout too?22:38
axw_perrito666: I'm awake and around22:39
wallyworldericsnow: redir: are you guys hanging out somewhere?22:44
ericsnowwallyworld: moonstone22:45
thumperBOOM!!!22:46
thumperthat was my head-cannon22:46
* thumper cries in the corner22:47
mupBug #1573286 opened: juju/mongo: oplog tests fail with mongod 3.2 <juju-core:New> <https://launchpad.net/bugs/1573286>22:48
perrito666axw_: nevermind, I sorted it out22:51
perrito666tx a lot22:51
axw_perrito666: okey dokey22:52
thumperbugger....22:52
thumperI really should do this in two branches22:52
thumperbut I won't22:53
thumperpoo22:53
mwhudsonis there some funky way i can jack up the mgo logging when running juju tests? menn0?23:02
menn0mwhudson: I don't know off the top of my head but I know approximately where the change would need to be made23:04
* menn0 looks23:04
mwhudsonclose enough23:04
menn0mwhudson: the base suite which manages the mongo instances used in tests is in here: github.com/juju/testing/mgo.go23:05
mwhudsoni have found some time.Sleep(100 * time.Millisecond)s in mgo and i am suspicious23:05
menn0mwhudson: you'll probably want to mess with the args passed to mongo in MgoInstance.run()23:06
mwhudsonmenn0: ah no i mean mgo's own logging, mgo.SetOutput and stuff23:06
menn0ahhh23:06
* menn0 confused mgo and mongo23:06
mwhudsoni guess i can jam something in there as well23:06
menn0right23:06
menn0mwhudson: all the tests that use mongodb (and therefore mgo) are based on that suite23:07
menn0mwhudson: so that suite is probably still the place to mess with mgo's logging23:07
* menn0 looks at those sleeps23:07
mupBug #1573294 opened: state tests run 100x slower with mongodb3.2 <juju-core:New> <https://launchpad.net/bugs/1573294>23:09
menn0mwhudson: wow there are a bunch of sleeps throughout mgo23:11
mwhudsonmenn0: enterprissssssssssssssssssssssssssse23:12
mwhudsonhm no doesn't seem to be a sleep in mgo23:27
mwhudsonmenn0: so now i guess i am interested in jacking up mongo's logging :-)23:27
mwhudsonmenn0: and actually seeing it, i guess23:27
menn0mwhudson: pass --logpath /some/where and --logappend I guess?23:28
menn0in MgoInstance.run()23:29
mwhudsonmenn0: ah haha MgoInstance.run() waits for a log message though :(23:34
menn0mwhudson: ah crap...23:34
menn0mwhudson: then you might have to monkey with the log capture stuff in the suite23:34
mwhudsonyeah23:34
mwhudsonoh but it looks like the mongo log output is Tracef-ed23:36
mwhudsonmenn0: so can i set the log level to trace when running the tests somehow?23:36
menn0mwhudson: which logs? juju's?23:37
mwhudsonyea23:37
mwhudsoni guess i can just jam a logger.SetLevel(loggo.TRACE) in23:39

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