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

rediraxw: can I borrow you to clarify a couple things?00:02
rick_h_thumper: do you have a sec to peek at https://github.com/juju/utils/pull/226/files and ship if it's ok today please?00:35
rick_h_sorry, that's not the RB link but close enough00:35
thumperrick_h_: ack00:43
redirbbiab00:49
=== veebers2 is now known as veebers
=== natefinch-afk is now known as natefinch
thumpermenn0: I found out why that ARCH patch was there...02:16
thumpermenn0: fails on s39002:16
thumperwithout it02:16
menn0thumper: argh right02:21
thumperproposing fix now02:21
* menn0 doesn't really understand why 02:21
menn0but fair enough02:22
thumpermenn0: http://reviews.vapour.ws/r/5314/02:23
menn0thumper: should that setup live in SetUpTest or will that cause other problems?02:26
menn0thumper: never mind... looking at the code it's only done in one other place02:27
thumpermy gut tells me it may cause other problems02:27
menn0better to just do it when necessary02:27
menn0thumper: ship it with one sugestion02:28
* thumper looks02:28
thumperack02:28
axwredir: sorry was out before. if you're still around I'm here now02:33
axwthumper: I don't really understand why your change was needed. we're already setting agent-version earlier in the function -- why doesn't that work?02:35
axwthumper: ahh, because building the tools bumps the version?02:35
thumperyep02:35
rediraxw: np, I'll just dig in tomorrow.02:40
mupBug #1607161 opened: generate-image metadata command help needs updating <helpdocs> <juju-core:Triaged> <https://launchpad.net/bugs/1607161>04:01
mupBug #1607161 changed: generate-image metadata command help needs updating <helpdocs> <juju-core:Triaged> <https://launchpad.net/bugs/1607161>04:10
mupBug #1607161 opened: generate-image metadata command help needs updating <helpdocs> <juju-core:Triaged> <https://launchpad.net/bugs/1607161>04:13
menn0thumper: apiserver changes for migration status in the FullStatus response04:24
menn0http://reviews.vapour.ws/r/5315/04:24
* thumper looks04:24
mupBug #1607170 opened: enable-ha requires '-m controller' (i.e. doesn't do the 'right thing' by default). <usability> <juju-core:Triaged> <https://launchpad.net/bugs/1607170>04:37
menn0thumper: by error state do you mean ABORT?04:38
menn0if so yes it is (well actually ABORTDONE is the final, terminal phase)04:38
thumpermenn0: chat?05:08
thumperabort done is only set after aborting is finished?05:15
thumperI was thinking about an intermediate error state05:15
menn0thumper: sure05:33
menn0going to to 1:105:33
mupBug #1605986 opened: Creating container: can't get info for image 'ubuntu-trusty' <oil> <oil-2.0> <juju-core:Triaged> <https://launchpad.net/bugs/1605986>08:58
ejat<ejat> 2016-07-28 08:04:34 INFO config-changed subprocess.CalledProcessError: Command '['/opt/opendaylight-karaf/bin/client', '-r', '20', '-h', 'localhost', '-a', '8101', '-u', 'karaf', 'feature:list']' returned non-zero exit status 109:09
ejatodl-controller charm09:09
ejatanyone can help me ?09:09
babbageclunkejat: If you run that command on the machine, do you get any useful output?09:19
ejatu mean this : /opt/opendaylight-karaf/bin/client', '-r', '20', '-h', 'localhost', '-a', '8101', '-u', 'karaf', 'feature:list09:20
ejator '['/opt/opendaylight-karaf/bin/client', '-r', '20', '-h', 'localhost', '-a', '8101', '-u', 'karaf', 'feature:list']'09:20
babbageclunkejat: yes, but without the quotes and commas.09:20
ejat/opt/opendaylight-karaf/bin/client -r 20 -h localhost -a 8101 -u karaf feature:list <-- ?09:21
babbageclunkejat: yes09:21
ejat$ /opt/opendaylight-karaf/bin/client -r 20 -h localhost -a 8101 -u karaf feature:list09:22
ejatclient: JAVA_HOME not set; results may vary09:22
ejatLogging in as karaf09:22
ejat175 [pool-2-thread-2] WARN org.apache.sshd.client.keyverifier.AcceptAllServerKeyVerifier - Server at localhost/127.0.0.1:8101 presented unverified key:09:22
ejatError executing command: java.lang.NullPointerException09:22
ejatjuju not set the java_home ?09:22
babbageclunkejat: It sounds more like there's a problem with the key, but I don't know anything about opendaylight.09:24
babbageclunkejat: You might be better asking in #juju - there are more openstack people and charmers there.09:25
ejatok thanks babbageclunk09:25
babbageclunkejat: good luck!09:26
ejatgrattitude09:26
babbageclunkvoidspace: welcome back! Just around for 2 days?10:22
babbageclunkfrobware, voidspace: a couple of reviews if you have a moment? http://reviews.vapour.ws/r/5312/ and http://reviews.vapour.ws/r/5317/10:25
frobwarebabbageclunk: will get to it later; syncing with macgreagoir10:27
babbageclunkfrobware: cool, thanks - no big rush10:28
mupBug #1607000 changed: Immortal zombie Juju controller on MAAS <landscape> <juju-core:Invalid> <https://launchpad.net/bugs/1607000>10:35
mupBug #1607303 opened: Help text for juju kill-controller needs to point to unregister <landscape> <juju-core:New> <https://launchpad.net/bugs/1607303>10:35
frobwaremacgreagoir: combined patch updated - https://github.com/frobware/juju/tree/master-lp1566801-strike3%2Blp160205410:42
macgreagoirfrobware: FTR, woo hoo!11:12
=== tinwood is now known as tinwood-lunch
voidspacebabbageclunk: yeah, just here for a couple of days11:29
voidspacebabbageclunk: off to cornwall with my dad for a week after that11:29
babbageclunkvoidspace: nice11:30
voidspacebabbageclunk: looks like everything changed whilst I was away...11:32
babbageclunkvoidspace: of course!11:32
voidspacebabbageclunk: your doing no doubt...11:32
voidspacebabbageclunk: I got a microbit from EuroPython!11:33
voidspacebabbageclunk: I haven't played with it yet though11:33
voidspacebabbageclunk: I'm currently trying to fix MAAS (again)11:34
voidspacebabbageclunk: a recent update broke my install11:34
babbageclunkvoidspace: stink. I recently redid my MAASes using frobware's scripts - took a bit of time to get set up, but now I can add/remove nodes really easily.11:36
voidspacebabbageclunk: ah cool - got a link11:36
voidspacebabbageclunk: I'll try and get that working11:36
babbageclunkvoidspace: In KVMs, or hardware?11:37
voidspacebabbageclunk: KVM11:37
babbageclunkI hacked this one up: https://github.com/frobware/ubuntu-fan-hacks11:37
voidspacebabbageclunk: have you pushed your changes anywhere, or are they babbageclunk specific?11:38
frobwarebabbageclunk, voidspace: I should really update the docs there ....11:38
babbageclunk...to get the initial VM, then installed maas manually.11:38
babbageclunkthen used https://github.com/frobware/kvm-maas with minimal hacks to add nodes.11:38
frobwarebabbageclunk: what changes did you need for kvm-maas?11:39
babbageclunkfrobware: checking - only cut down the disk sizes a bit - I couldn't get it to respect the env vars. Nothing that needs pushing.11:40
frobwarebabbageclunk: hmm - I wonder why11:41
babbageclunkvoidspace: The only tricky thing with the initial maas controller setup is that you need a hacked cloud image from frobware that enables cloud-init to do network setup in a network where there's no dhcp11:42
voidspacebabbageclunk: ah, right11:42
frobwarebabbageclunk: so I'm relibably informed that that's now the default11:43
babbageclunkvoidspace: ok - so that might be fixed!11:43
frobwarevoidspace: if that's not true there's always my enhanced version: http://178.62.20.154/~aim/xenial-server-cloudimg-amd64-disk1.img11:43
voidspacefrobware: babbageclunk: cool, thanks - will have a play11:43
babbageclunkvoidspace: hang on, I'll push my hacked (and now badly named) ubuntu-fan-hacks branches - I've got one for maas2 and one for maas1.911:44
mattywfrobware, hey there, are you OCR today?11:46
frobwaremattyw: yes11:47
mattywfrobware, I have a tiny one for you. http://reviews.vapour.ws/r/5319/. I'm about to got afk but if you had any questions I'll be back in an hour or so11:47
mattywfrobware, but if you're busy - it's not that urgent :)11:48
frobwaremattyw: me too - lunch is required11:48
mattywfrobware, I'm planning on combining it with a cycle as the sun is out :)11:48
frobwarebabbageclunk: running VIRT_DISK_SIZE=12 ./add-node disk-size-tes maas19-net maas1911:48
frobwarebabbageclunk: gives me: http://178.62.20.154/~aim/disk-test.png11:48
frobwaremattyw: heh, sounds fab!11:49
babbageclunkfrobware: yeah, I may have been getting confused by something VMM was telling me - I think that's working fine.11:49
babbageclunkvoidspace: https://github.com/babbageclunk/ubuntu-fan-hacks/tree/maas-2-vm11:50
* frobware really really really goes for lunch. Really. Almost. Really.11:50
voidspacebabbageclunk: thanks11:50
babbageclunkvoidspace: https://github.com/babbageclunk/ubuntu-fan-hacks/tree/maas-2-vm11:50
babbageclunkvoidspace: https://github.com/babbageclunk/ubuntu-fan-hacks/commit/5f5b736308bfdfb15af84fe7986d252b7ef0990b11:51
babbageclunkvoidspace: That should show the kinds of things you're likely to need to change.11:51
voidspacebabbageclunk: cool11:51
babbageclunkvoidspace: Still need to install maas manually and click around in the admin a little bit, but it's a bit simpler.11:52
voidspacebabbageclunk: I'm just doing the mass install at the moment11:52
voidspacefrobware: what's the right ppa for the latest and greatest maas12:16
voidspacefrobware: ah, experimental312:16
=== tinwood-lunch is now known as tinwood
mupBug #1607347 opened: Password for juju-gui not showing up after a change <cpe-sa> <juju-core:New> <https://launchpad.net/bugs/1607347>12:23
mupBug #1607362 opened: TestMachinerMachineNotFound agent should be terminated <ci> <intermittent-failure> <regression> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1607362>13:05
mupBug #1607362 changed: TestMachinerMachineNotFound agent should be terminated <ci> <intermittent-failure> <regression> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1607362>13:11
macgreagoirfrobware: I think I'm showing --bind working here (with your latest eth0 patch and an lp:1603473-like net config): https://pastebin.canonical.com/161866/13:18
frobwaremacgreagoir: yes, looks good13:19
mupBug #1607362 opened: TestMachinerMachineNotFound agent should be terminated <ci> <intermittent-failure> <regression> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1607362>13:23
mupBug #1607365 opened: PresenceSuite.TestScale reported false <ci> <intermittent-failure> <regression> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1607365>13:23
mupBug #1607368 opened: bootstrapSuite.TestBootstrapUploadTools model "foo" of type dummy does not support instances running on "ppc64el" <ci> <intermittent-failure> <regression> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1607368>13:23
mupBug #1607365 changed: PresenceSuite.TestScale reported false <ci> <intermittent-failure> <regression> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1607365>13:32
mupBug #1607368 changed: bootstrapSuite.TestBootstrapUploadTools model "foo" of type dummy does not support instances running on "ppc64el" <ci> <intermittent-failure> <regression> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1607368>13:32
mupBug #1607365 opened: PresenceSuite.TestScale reported false <ci> <intermittent-failure> <regression> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1607365>13:35
mupBug #1607368 opened: bootstrapSuite.TestBootstrapUploadTools model "foo" of type dummy does not support instances running on "ppc64el" <ci> <intermittent-failure> <regression> <unit-tests> <juju-core:Triaged> <https://launchpad.net/bugs/1607368>13:35
frobwarekatco: standup?14:04
frobwarerick_h_: you doing standup today?14:05
natefinchsinzui, mgz: it looks like we're building the CI tests with an old version of go?14:09
sinzuinatefinch: ouch, I will look into it. Which test/host?14:10
natefinchsinzui: http://juju-ci.vapour.ws:8080/job/github-merge-juju-utils/125/console14:10
sinzuinatefinch: not ci then14:10
natefinchsinzui: oh, right, landing bot, sorry14:10
sinzuinatefinch: found the problem. Not every merge job has the path set right. I can fix this job in a minute. I need to review about 8 jobs though14:11
natefinchsinzui: ok... glad to help find problems :)14:12
sinzuinatefinch: replaying the job with the right juju http://juju-ci.vapour.ws:8080/job/github-merge-juju-utils/126/console14:13
natefinchsinzui: yay, thanks.  And glad that we'll be using the right version of Go.  I intentionally removed the guardrails for go 1.2 vs 1.6 in this change.... we really just won't build with go 1.2 anymore.14:13
babbageclunkIs there anything that logs the actual userdata we send when starting an instance (particularly in maas)?14:29
sinzuibabbageclunk: natefinch are your bugs the same: bug 1604474 and bug 160577714:46
mupBug #1604474: Juju 2.0-beta12  userdata execution fails on Windows <azure-provider> <juju2.0> <oil> <oil-2.0> <windows> <juju-core:In Progress by natefinch> <https://launchpad.net/bugs/1604474>14:46
mupBug #1605777: munna/juju2 is too slow to deploy windows images <ci> <maas-provider> <regression> <windows> <juju-ci-tools:Triaged> <juju-core:Triaged by 2-xtian> <https://launchpad.net/bugs/1605777>14:46
babbageclunksinzui, natefinch - I think they are, yes.14:49
babbageclunkGood spotting!14:49
babbageclunksinzui: Should I just mark 5777 as a duplicate of 4474? natefinch's quite far along with it, as far as I can see.14:52
sinzuibabbageclunk: yep.14:52
mupBug #1605777 changed: munna/juju2 is too slow to deploy windows images <ci> <maas-provider> <regression> <windows> <juju-ci-tools:Triaged> <juju-core:Triaged by 2-xtian> <https://launchpad.net/bugs/1605777>15:08
voidspacenatefinch: ping - some advice15:19
voidspacenatefinch: if you have the mental bandwidth (juju advice - not life advice, don't worry)15:19
voidspacefor that I go to babbageclunk15:19
babbageclunkvoidspace: for *bad* life advice15:24
perrito666uh uh uh, bad life advice, I can do that, who is in need?15:25
voidspacebabbageclunk: well, naturally...15:28
voidspaceperrito666: hah, thanks - if the advice from babbageclunk ever turns out to not be bad enough I'll turn to you15:28
voidspaceperrito666: babbageclunk: frobware: juju bug 159997215:29
mupBug #1599972: juju2 beta11 unable to parse PORT during a maas bootstrap <2.0> <conjure> <maas-provider> <juju-core:In Progress by mfoord> <https://launchpad.net/bugs/1599972>15:29
voidspaceperrito666: babbageclunk: frobware: the bug is that specifying the MAAS server in the form cloud.lol:5240 doesn't work15:29
voidspacewith an error that it's a malformed url15:29
voidspaceperrito666: babbageclunk: frobware: specifying instead http://cloud.lol:5240 however works15:30
voidspacedo you think that is worth fixing or should be a "won't fix"...15:30
frobwarevoidspace: is 'cloud.lol:5240' actually a URL?15:30
voidspacefrobware: well it is is you have cloud.lol in /etc/hosts15:30
voidspacewhich I do15:30
voidspacefrobware: because ip:port worked so I needed a domain15:31
frobwarevoidspace: I'm really asking do you need http:// or ftp:// or ...15:31
voidspacefrobware: if you don't specify the scheme but do specify a port then the url is "incorrectly" parsed15:31
frobwarevoidspace: so GIGO15:32
voidspacefrobware: yep15:32
stokachumaas/172.0.0.1:5240 doesn't work15:32
voidspacestokachu: ah, it worked for me - trying again15:33
perrito666voidspace: cloud.lol is a hostname15:33
perrito666http://cloud.lol is a url15:33
perrito666voidspace: cloud.lol:port is incredibly ambiguous as it could be both15:33
stokachuoh maybe I'm mistaken15:33
stokachumaas/cloud.lol:5240 is what doesn't work15:33
stokachuand you're saying that we should be using maas/http://cloud.lol:5240?15:34
voidspacestokachu: yep15:34
voidspacestokachu: what I'm *really* saying is that if you don't specify a malformed url you won't get the "malformed url" error...  ;-)15:35
voidspacestokachu: but I was trying not to be a dick about it15:35
perrito666stokachu: voidspace I was just clarifying why the erorr makes sense, I lack context for more detail15:35
voidspacenot trying very hard though... :-p15:35
voidspacestokachu: although cloud.lol:5240 is what I would have tried as well15:35
frobwarevoidspace: in the same vein that $(firefox cloud.lol:5240) would just work, should juju?15:36
voidspacefrobware: it would be nice if it did15:37
perrito666frobware: firefox is lenient, if you put $(firefox agoogleableterm) will also work15:37
voidspacefrobware: I don't think it's a critical bug that it doesn't15:37
frobwarevoidspace: nope, but I do like DWIM15:37
perrito666this said, we should be a bit nicer in how we treat urls, if we expect a url and its not a url we could try a hostname15:38
voidspaceperrito666: frobware: on error just adding http:// and retrying would work - if it still fails return the original error15:38
natefinchvoidspace: sorry, was afk.16:51
natefinchsinzui:  are we sure that #1605777 is the same as the bug I fixed?  The bug I fixed was not that windows was slow - it was entirely broken16:52
mupBug #1605777: munna/juju2 is too slow to deploy windows images <ci> <maas-provider> <regression> <windows> <juju-ci-tools:Triaged> <juju-core:Triaged by 2-xtian> <https://launchpad.net/bugs/1605777>16:52
mupBug #1607457 opened: juju migrate fails to find model after migration <migration> <juju-core:Triaged> <https://launchpad.net/bugs/1607457>16:57
sinzuinatefinch: The bug does not say windows is slow, It says juju 2. cannot deoploy a windows machine by 1.25 can. The suibstrate is known to be slow17:00
natefinchsinzui: I don't know what munna is, I assumed it was a windows machine in CI17:02
natefinchsinzui: regardless, it sounds like it's completely different from the bug that I fixed, which was that the userdata script we run on windows couldn't connect to the controller to download the jujud binary, because we didn't support a ciphersuite that windows supported.17:04
sinzuinatefinch: okay. The issue we see is that the machine agent never comes up. Looks like a cloud init issue17:06
natefinchsinzui: that *could* be the same problem, then, since it's the userdata script failing.  But it would have been a new failure around July 7th17:09
natefinchThat's when we broke windows with the thing I just fixed17:10
sinzuinatefinch: We first see the issue in July 15 http://reports.vapour.ws/releases/issue/5789759d749a5616aa83b491 We stopped testing on the host last week. The previous failures were timeouts, but machine want not checked17:13
sinzuinatefinch: The last pass of the test for juju 2 was jujy 7! the first failure is on the 8th http://reports.vapour.ws/releases/4121/job/maas-1-9-deploy-win2012hvr2-amd64/attempt/62417:15
natefinchsinzui: sound suspicious :)  Let's try it again with this fix and see how it goes.17:16
natefinch/ Fields holds a map from attribute name to information about that attribute.18:39
natefinch....so why isn't it called Attributes? :/18:39
perrito666Bbl19:02
redirbrb reboot20:16
thumpernatefinch: ping20:23
thumpernatefinch: re: https://github.com/juju/utils/pull/226#event-737900037 I saw this fail to land yesterday, and don't see a change in code, did the landing bot change?20:23
thumpersinzui: ^^20:23
natefinchthumper: yep20:24
thumperwas it using an older go?20:24
natefinchthumper: yep20:24
thumperok20:25
natefinchthumper: so, win-win... it landed and now we have a canary for jobs that use a too-old version of go.20:25
natefinchI had intentionally removed the guardrails for some go 1.6 code in there, since we officially support it everywhere now.20:26
sinzuinatefinch: I updated all the merge jobs to include go 1.6 in the path. We wont see any go 1.2 in the current jobs20:31
natefinchsinzui: huzzah20:33
natefinchman I hate middle-click paste20:55
natefinchsimple PR for anyone - https://github.com/juju/schema/pull/1320:58
=== natefinch is now known as natefinch-afk
rediranyone here know anything about the model-config-tree details?21:35
redirnatefinch-afk: LGTM, FWIW21:38
mupBug #1607557 opened: wrong JSON field for storage endpoint in API <juju-core:New> <https://launchpad.net/bugs/1607557>23:01
menn0thumper: addition MigrationMaster.SetStatusMessage API (small and boring): http://reviews.vapour.ws/r/5324/23:04
rediraxw: same bat station?23:40

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