/srv/irclogs.ubuntu.com/2015/12/15/#juju-dev.txt

mwhudsonanastasiamac: could you look at https://github.com/juju/juju/pull/3961 (it's not getting into reviewboard for some reason)01:02
cmarsanastasiamac, thanks!01:09
anastasiamacmwhudson: of course \o/01:10
mwhudsonanastasiamac: thanks01:13
anastasiamacmwhudson: lgtm :D01:13
mwhudsonanastasiamac: thanks. how do i merge it? :-)01:16
anastasiamacmwhudson: i believe that there is a bot on this repo... have u tried $$merge$$?01:17
mwhudsonno, let's find out01:18
anastasiamack01:18
perrito666hey good morning02:05
anastasiamacperrito666: hi o/02:05
anastasiamachow is sunshine coast?02:06
perrito666nice and sunny02:06
anastasiamacaeesome \o/02:06
anastasiamaci hope hot too - m removing all long-sleeve stuff from suitecase :D02:06
wallyworldcherylj: i think it's a one line, fix, http://reviews.vapour.ws/r/3386/02:24
cheryljwallyworld: lgtm.  Let's hope that's it :)02:27
wallyworldcherylj: i think it is jusdging by the error02:27
wallyworldcherylj: the cutover for alpha2, that's in a few hours?02:30
cheryljyeah, no.  I don't think we're going to get an alpha1 out this week.02:30
wallyworldcherylj: works well for me then - i have a couple of series in metadata fixes i want to do later today02:31
cheryljheh, sounds good :)02:31
wallyworldabout about to leave for sprint, will do them later tonight02:32
cheryljhave a safe trip, wallyworld :)02:32
wallyworldcherylj: will do, it's only a 2 hours drive :-)02:32
wallyworldnot a 16 hour flight :-)02:32
cheryljha, nice02:32
anastasiamaccherylj: and i will b driving - so wallyworld will be safe \o/02:43
anastasiamac:D02:43
dimiternfrobware, hey, sorry I missed our 1:109:58
frobwaredimitern, np09:59
voidspacedimitern: Error handling subnets "Default space" is not a valid tag10:52
voidspacedimitern: that's  great!!10:52
dimiternvoidspace, you should upgrade your maas :)10:52
voidspacedimitern: lots of problems with rc310:52
voidspacestaying with rc2 was deliberate10:53
voidspacedimitern: think it's worth upgrading?10:53
voidspacedimitern: frobware has had various issues with the upgrade (node addresses and leases)10:53
dimiternvoidspace, since rc2 or thereabouts spaces are now called "space-0" and fabrics like "fabric-0"10:53
voidspacedimitern: anyway, I'll just add name translation10:53
voidspacedimitern: facade registration worked10:53
dimiternvoidspace, is "Default space" the name or the description?10:53
voidspacedimitern: name10:54
dimiternvoidspace, I'd first try renaming that to "space-0"10:55
dimiternvoidspace, it used to be forbidden to change the default space's name10:55
dimiternvoidspace, if you can change it with $ maas <profile> space update 0 name=space-010:56
voidspacedimitern: yeah, I did that - now I get "foozle" is not a valid tag, so there's obviously more I need to do in my code10:56
voidspace("foozle" was the random name I picked)10:56
voidspaceah, maybe I'm using space name on subnets when I should be using tags10:57
dimiternvoidspace, yeah - that was what we talked about yesterday I think - space tags are "space-<name>" and should be used instead of space name in api params (except for creating a new one I guess - except to check for dupes)10:57
frobwaredimitern, can we sync?10:57
dimiternfrobware, sure - standup HO?10:58
frobwareyep10:58
mupBug #1526296 opened: deploy charm with --series --force doesn't reject invalid OS <juju-core:Triaged> <https://launchpad.net/bugs/1526296>12:06
mupBug #1526296 changed: deploy charm with --series --force doesn't reject invalid OS <juju-core:Triaged> <https://launchpad.net/bugs/1526296>12:09
mupBug #1526296 opened: deploy charm with --series --force doesn't reject invalid OS <juju-core:Triaged> <https://launchpad.net/bugs/1526296>12:18
abentleycherylj: Good morning.  Bug #1526063 has only been observed in the maas-spaces branch.  I meant to mark it incomplete for master, since we don't have evidence that it's there.13:59
mupBug #1526063: TestNoContextWithLock <ci> <intermittent-failure> <test-failure> <juju-core:Triaged> <juju-core maas-spaces:Triaged> <https://launchpad.net/bugs/1526063>13:59
abentleycherylj: But if we do mark it high in master, we have been assigning it to a milestone also.14:00
voidspacedimitern: what's the correct way to create a tag - first check it's valid and then call New*Tag ?14:36
dimiternvoidspace, it depends on what New*Tag() does, but most of them IIRC call IsValid*Tag() and panic if it's not14:37
voidspacedimitern: right, that's why to check if valid first14:37
dimiternvoidspace, so it's better to check before calling it14:37
voidspacedimitern: if *not* that, then what?14:37
voidspaceso that is the correct way14:37
voidspacethanks14:37
dimiternvoidspace, where are you getting the name from?14:37
voidspacedimitern: subnet.CIDR and space.ProviderId14:38
voidspace(I've got past the tag probl14:39
voidspaceoops14:39
cheryljabentley: I marked it as triaged for both, as both seem to have the same code14:39
dimiternvoidspace, so ProviderId can be anything, so but you're not validating it anyway, right?14:40
voidspacedimitern: I'm doing a simple transform first in my current code14:40
dimiternvoidspace, as for the CIDR, if it's invalid and you want to convert it to a subnet tag, then it's an error14:40
voidspacesure14:40
voidspaceit's the actual mechanics of creating the tag I was asking about14:40
voidspacecurrently I have a panic on the apiserver when trying to list spaces - nil pointer dereference14:42
dimiternvoidspace, hmm does it say where?14:42
voidspacecalling space.ProviderId()14:42
voidspacein reflect/value.go from ProviderId()14:43
voidspacewhich is new14:43
voidspaceinteresting14:43
voidspaceif a field is "omitempty" in a doc then will accessing it get you a nil pointer dereference?14:44
voidspaceI just assumed that for a string, omitempty would default to an empty string14:44
mupBug #1517258 changed: juju 1.24.7 precise: container failed to start and was destroyed <oil> <juju-core:Invalid> <https://launchpad.net/bugs/1517258>14:45
voidspacedimitern: ah, spaceShim doesn't have a ProviderId14:51
voidspaceI think that's it14:51
mupBug #1517258 opened: juju 1.24.7 precise: container failed to start and was destroyed <oil> <juju-core:Invalid> <https://launchpad.net/bugs/1517258>14:51
voidspacethat makes more sense14:52
dimiternvoidspace, right :) missed that one14:54
mupBug #1517258 changed: juju 1.24.7 precise: container failed to start and was destroyed <oil> <juju-core:Invalid> <https://launchpad.net/bugs/1517258>15:00
dimiterndooferlad, you've got a review15:02
dooferladdimitern: thanks!15:03
mupBug #1517258 opened: juju 1.24.7 precise: container failed to start and was destroyed <oil> <juju-core:Invalid> <https://launchpad.net/bugs/1517258>15:03
mupBug #1517258 changed: juju 1.24.7 precise: container failed to start and was destroyed <oil> <juju-core:Invalid> <https://launchpad.net/bugs/1517258>15:06
voidspacedimitern: you didn't miss it, ProviderId is new15:14
voidspacedimitern: I didn't realise it would need to be added to spaceShim as well15:15
voidspacere-bootstrapping now15:15
frobwaredimitern, you about for 10-15 mins after the OS call?15:15
dimiternvoidspace, heh I meant you added that recently to AddSpace et al, right? :)15:16
dimiternfrobware, sounds good15:17
frobwaredimitern, as a heads-up just trying to add to the release notes for the AWS support post 15.1015:18
dimiternfrobware, ah, nice15:21
dimiternfrobware, I though I already added something about it in Juju 1.25.0 Release Notes doc15:22
frobwaredimitern, it's the stuff we've done since then, mostly bug fixes IIRC15:23
dimiternfrobware, +115:23
voidspacedimitern: space imported on bootstrap!15:43
dimiternvoidspace, awesome!! \o/15:43
dimiternvoidspace, so as soon as my other branch lands, they should be usable in constrains right after bootstrap15:44
voidspacedimitern: hmm... but not the subnets15:44
voidspacedammit15:44
voidspaceok, next step of debugging15:44
dimiternvoidspace, ah :)15:44
dooferladdimitern: replied to review - just a query about your comment about the comment...15:58
cheryljhey dimitern, are you still working on bug 1525280?16:03
mupBug #1525280: 1.25.1 with maas 1.8: devices dns allocation uses non-unique hostname <maas-provider> <network> <regression> <juju-core:Triaged by dimitern> <juju-core 1.25:In Progress by dimitern> <https://launchpad.net/bugs/1525280>16:03
katcocherylj: did you already bump the min version blueprint to a2?16:03
=== ddellav_ is now known as ddellav
cheryljkatco: yes, let me re-generate the tracking page16:04
katcocherylj: ty for doing that16:05
dimiterndooferlad, cheers - replied16:08
dimiterncherylj, hey, I'm still sorting out a few issues and testing but it will be ready today16:09
cheryljawesome, thanks dimitern16:09
frobwaredimitern, if you would like a tester for your change I can help16:29
dimiternfrobware, I'll push the changes during the OS call16:30
dimiternfrobware, it will be good to get a second verification16:30
dimiternvoidspace, openstack call?16:33
voidspacedimitern: omw16:35
natefinchkatco: you said no retrospective this friday, right/16:55
katconatefinch: yeah i'm going to cancel16:55
natefinchkatco: ok, cool, just making sure.16:55
katconatefinch: you still need to show up for work though :)16:55
natefinchkatco: awww man16:56
voidspacedimitern: hmm... just had a thought, I bet adding a subnet with a spaceTag isn't sufficient to associate it with that space is it17:02
voidspaceI bet I need to do more...17:02
voidspacehmmm... no, that's not the root problem - subnet list is also empty even though it found the subnets from the provider and called AddSubnet17:02
voidspaceI wasn't checking the result error field in the first cut though - I've added that now17:03
voidspaceso at least I should see an error if one occurs17:03
voidspacedimitern: error creating subnet SubnetTag and SubnetProviderId cannot be both set17:07
voidspacedimitern: so that's straightforward17:07
dimiternvoidspace, ah :)17:08
dimiternvoidspace, yeah - use the provider id17:08
voidspacedimitern: ok17:10
voidspacedimitern: which means we don't use the CIDR at all creating the subnet17:10
dimiternvoidspace, we do on AWS17:25
dimiternas an alternative to using provider id17:25
dimiternvoidspace, the idea is, if you have provider-id, you can uniquely identify the subnet, whereas with just a CIDR it might be ambiguous (depending on how it's specified)17:26
voidspacedimitern: next issue is in the maas provider itself17:30
voidspacedimitern: exited "discoverspaces": error creating subnet cannot get provider subnets: instance "" not found17:30
voidspacedimitern: that's new code, so obviously needs some work17:30
voidspace(the new subnets code)17:30
voidspaceon the apiserver side17:30
voidspaceit's an interesting journey :-)17:30
dimiternvoidspace, dooferlad, frobware, please have a look http://reviews.vapour.ws/r/3388/ - fixed the critical bug 152528017:44
mupBug #1525280: 1.25.1 with maas 1.8: devices dns allocation uses non-unique hostname <maas-provider> <network> <regression> <juju-core:Triaged by dimitern> <juju-core 1.25:In Progress by dimitern> <https://launchpad.net/bugs/1525280>17:44
dimiternvoidspace, I've fixed that in my other branch btw17:45
mgzdimitern: this is address allocation only right?17:49
dimiternvoidspace, have a look please - one more thing to do and will set it to land: https://github.com/juju/juju/pull/392117:50
dimiternmgz, nope17:59
dimiternmgz, it's the default behavior now17:59
dimiternmgz, but I tried not to break the addressable containers as well18:00
mgzdimitern: sorry, should have been clearer, this is only an issue when we have explict address allocation on, as in 1.25 or 1.24 with flah?18:01
dimiternmgz, ah, well.. that's a good question18:02
dimiternmgz, I think it's fine with the flag still18:03
dimiternmgz, but just doing a quick test now on 1.25+1.9rc4+address-allocation18:03
voidspacedimitern: EOD, but I can look later tonight18:43
dimiternvoidspace, cheers, if you can I'll appreciate it18:44
voidspacedimitern: yep18:45
voidspacedimitern: ah, I thought empty instance id already worked!18:45
voidspacedimitern: I thought I'd done that, my fault then :-)18:45
frobwaredimitern, should I expect a different name. I see: instance-id: juju-machine-0-lxc-018:50
dimiternfrobware, in status it will be the same, but if you check the node details on the web UI, you should see a section about containers and VMs and it will be there with the unique hostname18:53
katconatefinch: wwitzel3: have you had a chance to review ericsnow 's patch? http://reviews.vapour.ws/r/3375/18:54
natefinchkatco: almost done with mine18:54
dimiternmgz, it's good that I checked, as it turned out I did break the addressable containers unintentionally; fortunately it's quite easy to fix18:55
frobwaredimitern, mgz: we need (developer-centric) automation in this area. Too much manual testing... :(19:05
katconatefinch: also, is your patch ready to be reviewed?19:05
katconatefinch: or still a wip?19:05
frobwaredimitern, in the new year we should have a spike on automation19:05
natefinchkatco: it is ready to be reviewed19:05
katconatefinch: sweet tal19:06
frobwaredimitern, its says "fixed" for me.  fixed-kitten-juju-machine-0-lxc-0.maas :)19:07
dimiternfrobware, awesome, isn't it? :)19:09
frobwaredimitern, want me to sanity test with multiple nics or shouldn't it matter?19:09
dimiternfrobware, it might matter, the more tests the better - but don't feel obliged19:10
frobwaredimitern, looking again at your revised patch19:20
dimiternfrobware, cheers - pure luck I got that on the first attempt (a second test triggered it after a few attempts)19:24
katconatefinch: review up. should have some things to address19:27
natefinchkatco: cool, thanks.19:27
frobwaredimitern, how come allocate-address worked without requiring a pointer before?19:28
dimiternfrobware, :) long story - it basically expected to get a concrete address to try allocating19:30
dimiternfrobware, so it didn't need to return anything but an error19:30
frobwareyuck19:30
frobwaredimitern, I could do this in the review but figured we might go quicker here: splitting host on '.'  what happens for some-host.qacdo.maas?19:35
dimiternfrobware, it will work as funny-joke-juju-machine-1-lxc-1.qacdo.maas"19:36
dimiternfrobware, hmm.. but I think I check if the parts are exactly 2 - good point!19:36
frobwaredimitern, right19:36
frobwaredimitern, line 1405 I think is the issue, not necessarily the split19:37
dimiternfrobware, yep, good catch19:38
frobwaredimitern, Is vs IS - is the plan to fix them up as we find them?19:51
frobwaredimitern, correction: Id vs ID19:51
dimiternfrobware, that's a can of worms right there :) the consensus seems to point towards ID recently though19:57
frobwaredimitern, fwiw - for me it would be better to do this in a different PR - less to review19:57
dimiternfrobware, agreed - these are just a few drive-by fixes19:58
wwitzel3ericsnow: looking at your patch now20:03
wwitzel3katco: ^20:03
dimiterndooferlad, fwiw the merge bot doesn't take kindly $$c o m m e n t s$$ with spaces apparently20:10
frobwaredimitern, why did so many of the IP addrs get bumped?  2.1 => 2.2, for example.20:18
natefinchkatco, ericsnow, wwitzel3:  Forgot to mention this mornnig - I'll be in an out tomorrow.  My wife had a  dentist appointment rescheduled which is screwing up a good part of the afternoon.20:20
dimiternfrobware, because tests were simpler before and didn't care about the default gateway, and assumed all networks of a node have .1 IPs20:21
natefinchkatco, ericsnow, wwitzel3: should be good for the morning, though.20:21
frobwaredimitern, ha. makes sense. thx.20:21
frobwaredimitern, subtle though.20:21
dimiternfrobware, yeah :)20:22
natefinchgotta take off a  little early, but will be back later tonight20:23
=== natefinch is now known as natefinch-afk
dimiternand the maas-spaces live test with even more complex constraints works!20:24
frobwaredimitern, great!20:32
ericsnowkatco, natefinch-afk, wwitzel3: could you also take a look at https://github.com/juju/charm/pull/18422:12
katcoericsnow: sure22:15
ericsnowkatco, natefinch-afk: I've addressed all review comments except for the one about the CharmStore interface22:22
ericsnowkatco: regarding that one, did you have any alternatives to recommend?22:22
katcoericsnow: i'd have to look at the interface again22:29
katcoericsnow: one sec22:29
katcoericsnow: maybe like ResourceLister?22:32
katcoericsnow: if we stick with nouns, i agree CharmStore is fine22:33
katcoericsnow: and also it's not really a huge deal :)22:33
ericsnowkatco: I was going to say that we are going to add a bunch of other methods, but actually that's not true22:34
ericsnowkatco: so I'm fine with doing the normal Go interface name thing22:34
katcoericsnow: well and if we do, i would suggest we pass in multiple interfaces that are grouped by functionality22:34
wallyworldcherylj: that fix did the trick for 1.25 \o/ so I assume you're looking to release real soon now?23:29
cheryljwallyworld: for 1.25.2, yes.  We're just waiting on dimitern's fix for bug 152528023:33
mupBug #1525280: 1.25.1 with maas 1.8: devices dns allocation uses non-unique hostname <maas-provider> <network> <regression> <juju-core:Triaged> <juju-core 1.25:In Progress by dimitern> <https://launchpad.net/bugs/1525280>23:33
wallyworldawesome, will be good to see that fixed23:34
alexisbwallyworld, thanks for the quick fix on the windows issue yesterday23:40
wallyworldsure, np23:40
alexisbwallyworld, how is the beach? :)23:40
wallyworldterrible :-(23:40
blahdeblahYeah - surf is a bit small at the moment23:40
alexisbare you trying to make me feel better23:40
wallyworldi have a horrbile photo i'm going to share with you soon23:40
alexisbpunk23:41
blahdeblahI could barely catch a wave at all this morning23:41
wallyworldblahdeblah: where are you based?23:41
blahdeblahwallyworld: Sunshine Coast23:41
wallyworldblahdeblah: ah, we're sprinting at moolooabah23:41
blahdeblahnice23:41
wallyworldwe're having a chrosmas party on the weekend23:42
wallyworldwant to come?23:42
blahdeblahWhen is it?23:42
wallyworldsat night?23:42
wallyworldhaven't locked it in yet23:42
blahdeblahWill have to check with the social director, but sounds good.23:42
wallyworldok, let me know asap if you can as places along the esplanade fill up real quick atm23:42
blahdeblahwill do23:43
wallyworldand yes, waves are a bit small :-)23:43
blahdeblahmooloolaba will always be small, but even the open beaches are small this week23:44
wallyworldindeed23:44
blahdeblahNot that it will stop me having a go. ;-)23:44
wallyworldme either23:44

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