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

davecheneysuddently, https://github.com/juju/juju/pull/421200:30
waiganiyeah, just hit the same :/00:33
davecheneyi guess it's time to apply all those security updates i'd been avoiding00:41
thumperfark...00:53
thumperwho would have thought that the design on state/status.go would come back and bite?00:54
thumper/ statusDoc represents a entity status in Mongodb.  The implicit00:54
thumper/ _id field is explicitly set to the global key of the associated00:54
thumper/ entity in the document's creation transaction, but omitted to allow00:54
thumper/ direct use of the document in both create and update transactions.00:54
thumpergee, we omit a vital piece of infomration to make a few other places of code easier...00:55
thumperI can't read all the status docs at once because we can't link the doc to the souce00:55
thumperstupid00:55
thumperI'll have to read out as maps00:56
* thumper loos for that pic he saw davecheney use00:56
davecheneygoogle "burning bag of shit gif"00:57
thumperhttps://twitter.com/davecheney/status/69147933486798848000:58
* thumper throws in the towel and eats lunch00:59
axwwallyworld: when you can, can you please take a look at http://reviews.vapour.ws/r/3654/02:51
axwworking on updating the bootstrap code now02:51
wallyworldsure, i'll just finish soemthing02:51
davecheneyis github still down ?02:59
thumperit was02:59
thumperI'm finding it up again03:00
davecheneythumper: https://github.com/juju/juju/pull/421903:01
davecheneyattempt number 2 to backport the leadership worked fix03:01
davecheneyi modifeid the tests to work with the testing utility packages that exist on 1.2503:01
davecheneywhich limited the scope of the backport03:01
thumperk03:03
thumperdavecheney: what was the change between this backport on the other?03:04
thumperwow... first clean run through all the tests for a while with no intermittent failures03:39
mupBug #1538868 opened: kill-controller failed: sudo: switch: command not found <ci> <kill-controller> <local-provider> <regression> <juju-core:Incomplete> <juju-core api-command-rename:Triaged> <https://launchpad.net/bugs/1538868>03:52
waigani_cherylj: merge done. Very non trivial, sent you an email.03:56
cheryljwaigani_: thanks.  If you can merge your changes into the machine-dep-engine branch, it'll be queued for another CI run.03:57
waigani_cherylj: okay will do03:59
cheryljthanks, waigani_,  I appreciate the help.  We've been trying to get that branch merged for days!03:59
waigani_cherylj: Yep it's the syncing hell. Not a nice place to be.04:01
cheryljI feel bad for everyone who has to rebase after the api-command-rename branch lands04:02
cheryljthat's going to be absolutely awful04:02
waigani_yeah true ... I should get a move on with these workers!04:02
waigani_;)04:02
natefinchdamn I hate that we sling around IDs as strings everywhere.  Just wasted multiple hours because I swapped a serviceID and a unitID.  We even *have* type-specific Tags to avoid that :/04:12
* thumper is about to bootstrap for the first time in freaking ages04:24
thumperwill try lxd first04:24
* thumper wonders what he needs04:24
natefinchthumper: go 1.3+, the lxd apt package.... and there's a couple manual steps before bootstrap04:24
thumpergot go04:24
thumpergot lxd04:24
thumperwhat are the manual steps?04:25
* thumper wonders why we need manual steps04:25
davecheneythumper: i modified leadership/fixture_test.go to work with the older version of the juju/testing.Clock type04:26
thumperdavecheney: is that it?04:26
davecheneyI have to modify testing.Clock as well to fit the test04:26
davecheneyyup04:26
thumpershipit (when unfroze)(04:26
davecheneysomeone refactored testing.Clock after 1.2504:26
thumperhazaah04:27
davecheneyso I just applied as much of the refactoring to the 1.25 testing.Clock type to get the tests to pass04:27
natefinchthumper: the steps are spelled out in the environments.yml if you juju init.... but assuming you already have an environments.yml.... if you haven't logged out since installing lxd, you have to run newgrp lxd ... that's just lxd setup04:27
natefinchthumper: and then -04:28
natefinchlxc remote add images images.linuxcontainers.org04:28
thumperI've read the help04:28
natefinchlxd-images import ubuntu --alias ubuntu-trusty04:28
thumperI'm wondering why the lxd provider doesn't import the images by itself04:29
davecheneyhold your breath people, i'm hitting merge04:30
natefinchthumper: *shrug*  it's kinda slow, but yeah, it would be nice to remove any manual steps, especially if we expect this to replace the local provider04:30
thumperwhich I thought we were doing for 2.004:31
natefinchI have not heard anything concrete about removing local for 2.004:31
* thumper bootstraps his first lxd env since 2.004:32
cheryljnatefinch: yes, we are going to be removing the local provider for 2.004:32
natefinchcherylj: awesome.  I hope moonstone isn't on the hook to do it.04:32
cheryljha, I think the pleasure is going to tanzanite04:32
natefinchas much as I'd love to rip out its beating heart, we're overcommitted just with resources04:33
* davecheney cue dramatic chipmonk04:33
natefinchwe were overcommitted on resources BEFORE we lost wayne :/04:33
thumpernatefinch: FYI, everyone is overcommitted04:36
thumpersomethings I think the powers that be think we work best that way04:37
thumperwhen the opposite is in fact true04:37
natefinchthumper: I'll let you know when I find a software company that doesn't continually overcommit.04:37
thumperhmm...04:40
thumpermy attempt at getting a new environment with lxd is struggling04:40
thumperparticularly adding machines to another environment04:40
thumperbah humbug, recreating with debug04:41
axwthumper wallyworld: do you recall the outcome of discussion at oakland about removing the live tests?04:46
wallyworldi think many were in facor04:46
wallyworldfavour04:46
wallyworldsince we have CI04:46
wallyworldand they are only for aws and openstack04:47
axwbut no actual decision04:47
wallyworldum, not that i recall, but i reckon jfdi04:47
axwI'll send an email to juju-dev saying I'm doing it unless there's strong objections04:47
thumperhmm...04:48
thumperthis time I am getting new machines04:49
thumperI wonder what happened last time04:49
wallyworldaxw: keep the openstack test doubles though, just remove the actual live tests against a real cloud04:49
axwwallyworld: what does that mean? there's "local live", which runs the live tests against doubles04:50
wallyworldthere's 3 types of test: local, loval live, and live04:50
wallyworldi think we can remove the live bits04:51
wallyworldthe setup than runs the tests against an actual cloud04:51
axwwallyworld: so you want to keep local live? I don't think there's anything to gain from removing just the live ones then04:51
wallyworldfrom memory, the suites use a fixture which embed the same tests to be run either locally against doubles or live04:51
wallyworldif we remove the local live ones, there's nothing to replace then afaik (for openstack say)04:52
thumperhehehe04:52
thumperdebug-log is so nice now04:52
davecheneyboom04:52
davecheneymerges pull request; drops mic04:52
wallyworldaxw: so other providers would have been written with more unit test coverage, but openstack relied on the local / live test fixture i think04:53
wallyworldbut i could be wrong, would need to check04:55
axwwallyworld: bleh, I'll leave it. I'm trying to avoid having to touch the live tests with credentials bits, unavoidable if they have to stay for local live04:55
axwwallyworld: the live tests aren't particularly exhaustive, and openstack at least has a bunch more local-only ones... but I cbf right now04:56
wallyworldaxw: ok, i am just being cautious about removing test coverage. the actual live tests against a real cloud aren't run by default, only if a flag is passed to go test. but it would be nice to clean that stuff up at some point04:57
davecheneyreally 1.25 is going to live on for another 2 years04:57
wallyworldi know the openstack tests use hooks to test various failure sceanrios04:57
davecheneyit's a tire fire04:57
wallyworldand deleting the tests will result in a loss of that coverage04:57
thumperand here is an exported model http://paste.ubuntu.com/14686150/05:04
thumperfor two machines...05:04
thumperI know it doesn't look a lot05:04
* thumper is done for the day05:06
mupBug #1538742 changed: lxc containers stay pending when using maas provider and juju 2.0-alpha1 <cpec> <juju-core:Invalid> <https://launchpad.net/bugs/1538742>06:04
mupBug #1538742 opened: lxc containers stay pending when using maas provider and juju 2.0-alpha1 <cpec> <juju-core:Invalid> <https://launchpad.net/bugs/1538742>06:16
=== urulama__ is now known as urulama
mupBug #1538742 changed: lxc containers stay pending when using maas provider and juju 2.0-alpha1 <cpec> <juju-core:Invalid> <https://launchpad.net/bugs/1538742>06:19
wallyworldaxw: hey, if you get a chance at some stage today, there's a couple of PRs related to the api-command-rename branch. one small, one large. i hope that's the last major work that's needed besides smaller cleanup. the good news is that on what's landed to date, CI is happy06:57
axwwallyworld: ok. trying to get tests for bootstrap finished atm, will see how I go06:58
wallyworldsure, np. ty06:58
wallyworldi have soccer in about an hour anyway06:58
voidspacefrobware: dooferlad: dimitern: another master merge http://reviews.vapour.ws/r/3661/09:27
dimiternvoidspace, cheers - looking09:28
dimiternvoidspace, reviewed09:41
voidspacedimitern: thanks09:47
=== ionutbalutoiu_ is now known as ionutbalutoiu
dimiternvoidspace, jam, fwereade, standup?10:04
voidspacedimitern: sorry, omw10:05
mupBug #1417526 changed: environs/bootstrap: EnsureNotBootstrapped should not rely on StateServerInstances <azure-provider> <bootstrap> <juju-core:Won't Fix> <https://launchpad.net/bugs/1417526>10:14
axwwallyworld: I'm not likely to be able to finish updating the bootstrap tests, but if you want to see what's there already, it's at https://github.com/juju/juju/compare/cloud-credentials...axw:cloud-credentials-bootstrap210:53
axwwallyworld: I've updated ec2, openstack, gce, and lxd so far10:53
axwwallyworld: other providers will be done in a followup10:53
wallyworldaxw: ty, we can use what works to put the demo together and follow up with proper tests11:10
perrito666morning11:48
voidspacedooferlad: ping12:59
voidspacedimitern: ping13:00
voidspacedimitern: dooferlad: unping13:01
dimitern:)13:02
mupBug #1539116 opened: TestManageEnvironRunsPeergrouper panics <intermittent-failure> <panic> <juju-core:Triaged> <https://launchpad.net/bugs/1539116>15:23
mupBug #1539116 changed: TestManageEnvironRunsPeergrouper panics <intermittent-failure> <panic> <juju-core:Triaged> <https://launchpad.net/bugs/1539116>15:26
mupBug #1539116 opened: TestManageEnvironRunsPeergrouper panics <intermittent-failure> <panic> <juju-core:Triaged> <https://launchpad.net/bugs/1539116>15:29
mupBug #1458585 opened: TestCommand fails <ci> <gccgo> <go1.5> <intermittent-failure> <regression> <test-failure> <wily> <xenial> <juju-core:Incomplete> <juju-core 1.23:Triaged> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1458585>15:35
mupBug #1458585 changed: TestCommand fails <ci> <gccgo> <go1.5> <intermittent-failure> <regression> <test-failure> <wily> <xenial> <juju-core:Incomplete> <juju-core 1.23:Triaged> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1458585>15:38
mupBug #1458585 opened: TestCommand fails <ci> <gccgo> <go1.5> <intermittent-failure> <regression> <test-failure> <wily> <xenial> <juju-core:Incomplete> <juju-core 1.23:Triaged> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1458585>15:41
mupBug #1458585 changed: TestCommand fails <ci> <gccgo> <go1.5> <intermittent-failure> <regression> <test-failure> <wily> <xenial> <juju-core:Incomplete> <juju-core 1.23:Triaged> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1458585>15:45
mupBug #1458585 opened: TestCommand fails <ci> <gccgo> <go1.5> <intermittent-failure> <regression> <test-failure> <wily> <xenial> <juju-core:Incomplete> <juju-core 1.23:Triaged> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1458585>15:54
cheryljhey frobware, I see you got some feedback on your changes for bug 153216715:54
mupBug #1532167: maas bridge script handles VLAN NICs incorrectly <addressability> <maas-provider> <network> <juju-core:Triaged> <juju-core 1.25:In Progress by frobware> <https://launchpad.net/bugs/1532167>15:54
cheryljthink it will be hard to address?15:54
cheryljhey thomnico - were you able to get everything up and running for your manual provider?15:58
thomnicocherylj, yes I figured it ou15:59
thomnicoout15:59
cheryljgreat!15:59
thomnicobut this is buggy15:59
thomnicoand I had another alert15:59
cheryljthomnico: I'm going to try to bootstrap with a trusty machine and see if I run into the same issue you mentioned16:00
thomnicothey use 10.0.3.0 as an actual network .... which conflict with default lxc16:00
cheryljI was using wily16:00
thomnicothe issue is really cleaning after destroy16:00
cheryljah, yeah16:00
thomnicoeven with systemctl I had to clean up manually for being able to restart16:01
thomnicobut I got unblocked in the morning16:01
cheryljok, good16:01
thomnicologs are not really telling what check failed .. so I had to dig into the code16:01
thomnicoI hope you have enough to reproduce .. I am not blocked .. many thanks for helping16:02
cheryljthomnico: you can also specify a different subnet for the lxc bridge16:03
thomnicoin the environment ?16:03
thomnicogot lost looking for it :)16:03
cheryljthomnico, no just on the machines16:03
thomnicoindeed that is how I fix it16:04
cheryljyou can specify a different bridge device, but you'd still need to make sure it was using the right subnet16:04
thomnicodid not bother you if I find how to do thing16:04
thomnicook so it is the expected behavior, great16:04
thomnicoin a nutshell if destroy-environment (not force) run can clean the manual bootstrap machine that will solve a lot of headaches16:06
cheryljyes, I've run into that myself and I saw you mentioned the bug in your email16:07
thomnicoand a CI test for manual : boostrap , destroy , bootstrap again16:07
thomnicowith the NfV realm will see the need for this more often16:07
thomnicoso it worth it imho16:08
thomnicoand try a machine without systemd :)16:08
thomnicoplease16:08
thomnicoshould I add the info in mail in the bug report ?16:10
thomnicohave to go back to lab.. respond to mail16:10
thomnicoif needed16:10
thomnicothanks for all16:11
mupBug #1539156 opened: juju does not ignore 'bootstrap-host' when bootstrap --to specified <bootstrap> <ci> <juju-core:Triaged> <https://launchpad.net/bugs/1539156>16:12
mupBug #1539156 changed: juju does not ignore 'bootstrap-host' when bootstrap --to specified <bootstrap> <ci> <juju-core:Triaged> <https://launchpad.net/bugs/1539156>16:15
mupBug #1539156 opened: juju does not ignore 'bootstrap-host' when bootstrap --to specified <bootstrap> <ci> <juju-core:Triaged> <https://launchpad.net/bugs/1539156>16:18
mupBug #1539167 opened: Intermittent test failure "Test left sockets in a dirty state" (github.com/juju/juju/cmd/jujud/agent)  <juju-core:New> <https://launchpad.net/bugs/1539167>16:42
voidspacedimitern: ping16:48
dimiternvoidspace, pong16:48
voidspacedimitern: I'm really struggling to test the MachineAgent changes that wait for space discovery to complete16:49
voidspacedimitern: ideally I'd like to start a machine agent with the discoverspaces worker patched out16:49
voidspacedimitern: assert that the discoverspaces worker was created16:49
voidspacedimitern: connect to state as a client and confirm that the login fails16:49
voidspacedimitern: then calll the "setDiscoverSpacesComplete" function that is given to the worker16:50
voidspacedimitern: confirm that login now succeeds16:50
voidspacedimitern: as far as I can tell in cmd/jujud/agent/machine_test.go the creation of all singular workers is patched out with the singularRecord16:50
voidspacedimitern: so I'm failing at the first hurdle - I can't create a MachineAgent with job ManageEnviron that will actually attempt to create a discoverspaces worker16:51
dimiternvoidspace, yeah, well that part of the code changed a lot I think when the dep-engine stuff landed16:51
dimiternvoidspace, which was supposed to make testing things like this easier16:53
voidspacedimitern: as far as I can tell the login limiting (for upgrades or restore) isn't tested at the MachineAgent level16:54
dimiternvoidspace, hmm16:54
dimiternvoidspace, well, can you reasonably test it in isolation?16:55
voidspacedimitern: at the moment my conclusion is that I can't16:55
voidspacedimitern: maybe I can test through the api16:55
voidspacedimitern: I'll look and see - maybe that's how it's tested for upgrade/restore16:55
dimiternvoidspace, possibly16:56
dimiternvoidspace, it should be easier to test that client logins are disabled once you start the worker?16:56
voidspacedimitern: only if it's started from the MachineAgent, which is where the disabling is done16:56
voidspacedimitern: and I can't yet create a MachineAgent that will actually start the worker16:57
voidspaceit's the MachineAgent that limits logins, not the worker16:57
voidspacedimitern: commonMachineSuite, which all the machine agent tests use patches out the SingularRunner16:58
voidspacedimitern: so none of the workers started that way are actually created16:58
dimiternvoidspace, can you test it in a feature test?16:59
voidspacedimitern: yes, probably17:00
dimiternvoidspace, e.g. the way we test that end-to-end "juju space list" works17:00
voidspacedimitern: I'll look at that17:00
voidspacedimitern: thanks17:00
dimiternin featuretests17:00
voidspacehmmm... the singularRunnerRecord that has a fakeSingularRunner looks like it might have a real runner underlying it17:02
voidspacewhich is odd, because my start function *isn't* being called17:02
voidspacedimitern: I'll do a bit more investigation before I give in and go to a feature test17:03
dimiternvoidspace, cheers17:03
mupBug #1539167 changed: Intermittent test failure "Test left sockets in a dirty state" (github.com/juju/juju/cmd/jujud/agent)  <juju-core:New> <https://launchpad.net/bugs/1539167>17:18
mupBug #1539190 opened: manual provider requires bootstrap-host, even when --to specified <bootstrap> <manual-provider> <placement> <juju-core:Triaged> <https://launchpad.net/bugs/1539190>17:18
=== marcoceppi is now known as marcoceppi|airpl
mupBug #1539216 opened: bootstrap rootdisk full - need to compress rotated logs <juju-core:New> <https://launchpad.net/bugs/1539216>19:00
natefinchheh, I've had a couple requests for compressing the rotated logs in Lumberjack.  Guess I should spend some time on it ;)19:01
=== marcoceppi|airpl is now known as marcoc|airplane
* thumper afk for ~30 min21:18
perrito666wallyworld: brt21:27
=== natefinch is now known as natefinch-afk
wallyworldaxw: just you and me for standup, wanna do it now a bit early?23:12
axwwallyworld: omw23:12
cheryljwallyworld: the fix we talked about for bug 1538868 is wrong23:16
mupBug #1538868: kill-controller failed: sudo: switch: command not found <ci> <kill-controller> <local-provider> <regression> <juju-core:Incomplete> <juju-core api-command-rename:Triaged> <https://launchpad.net/bugs/1538868>23:16
cheryljI'll fix it23:16
wallyworldcherylj: only if you have time, i am happy to do it as it will need to go into the api-command-rename branch23:17
cheryljIt'll just take me a minute.  I'll do it now23:17
cheryljwallyworld: http://reviews.vapour.ws/r/3673/23:26
wallyworldcherylj: awesome, ty, will look after current meeting23:27
cheryljwallyworld: k, I'm going to have dinner, so merge it for me if you ship it!23:28
wallyworldcherylj: you awesome ty23:28

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