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

axwwallyworld: I'm ready whenever you are01:01
wallyworldaxw: ok, just finishing an email01:02
wallyworldaxw: in 1:1 now01:11
natefinchericsnow: it occurs to me that for local charms, all we have at deploy time is all we'll ever have for info on resources.01:48
cheryljwallyworld: I should be able to do the aliases immediately after controller-rename lands.02:52
wallyworldcherylj: :-) tyvm02:52
cheryljI think there would be changes needed if I did it earlier.  I'd need to create aliases for different commands02:53
mupBug #1532063 opened: Unit seems unable to proceed after watcher died in the middle of hook execution <juju-core:New> <https://launchpad.net/bugs/1532063>02:54
wallyworldcherylj: the controller rename is othogonal to the environment->model changes02:55
wallyworldthe controler rename is state server / jes stuff -> controller02:55
wallyworldthe other is environment -> model02:55
wallyworldunless i'm missing something02:56
cheryljyes, but the controller commands use "environment" in them02:56
wallyworldah ok02:56
wallyworldaxw: we can ignore bug 1531886 in getting sm to land. that issue comes from master and doesn't need fixing in the feature beanch02:57
mupBug #1531886: Status fails during upgrade <upgrade-juju> <juju-core:Triaged> <juju-core structured-metadata:In Progress by axwalk> <https://launchpad.net/bugs/1531886>02:57
mupBug #1532063 changed: Unit seems unable to proceed after watcher died in the middle of hook execution <juju-core:New> <https://launchpad.net/bugs/1532063>02:57
axwwallyworld: ok02:58
wallyworldit's the unit tests one that needs doing02:58
wallyworldthe tools not found02:58
axwwallyworld: the BootstrapImage unit test fix is up for review02:58
wallyworldcool, looking02:58
wallyworldaxw: i won't make team meeting, got things to finish, out of here soon02:59
axwsure, safe travels02:59
axwmenn0 waigani_: I think it's just us here, I vote we cancel the team meeting03:04
menn0axw: fine by me.03:04
waigani_axw: okay03:04
axwsold03:05
mupBug #1532063 opened: Unit seems unable to proceed after watcher died in the middle of hook execution <juju-core:New> <https://launchpad.net/bugs/1532063>03:06
natefinchgah, sorry I missed the team meeting...03:25
natefinchalthough sounds like me making it probably wouldn't have changed the outcome03:26
cheryljaxw: can I ask your opinion on some upgrade-juju behavior?04:19
axwcherylj: certainly04:20
cheryljaxw: I'm trying to write the changes to allow a 2.0 client to upgrade a 1.25.2 env04:20
cheryljand I'm trying to make things generic04:20
cheryljso that if there comes a time for there to be a 3.0 we don't run into this again04:20
cheryljwe can just keep a map of major versions to the minimum version to upgrade from04:20
cheryljand reference that when we do our upgrade checks04:21
* axw nods04:21
cheryljbut the problem I'm running into is we allow people using --upload-tools to put in whatever for the version04:21
cheryljso we could have --upload-tools --version 4.4.404:21
cheryljand that would pretend that we're at 4.4.404:21
cheryljand we obviously don't have "4" in this map04:21
cheryljso04:21
cheryljeither we don't check minimum levels for --upload-tools, or we don't allow those shenanigans04:22
cheryljany thoughts?04:23
axwcherylj: I think we should just reject the tools if they're beyond the latest major version04:23
cheryljaxw: yay, thanks!04:23
natefinchcherylj: why do we care if people pretend they're on 4.4 if they use --upload-tools?04:31
cheryljnatefinch: I thought I explained it ok in the statements above.  Was it not clear?04:33
natefinchcherylj: why would we stop anyone from upgrading a 1.25.2 environment?04:33
cheryljnatefinch: the idea was not to stop them, but to modify the 2.0 upgrade-juju command to actually do it.04:34
cheryljbut we need to enforce that people upgrading to 2.0 are coming from 1.25.204:35
cheryljor later04:35
natefinchahh, that's the trick04:35
natefinchI would hope we could come up with a way for 2.0 that we'd never need such a restriction again04:35
cheryljnatefinch: I'm trying to make things generic, so we can just keep a map of major: minimum version to get there04:36
cheryljlike 2: 1.25.204:36
cheryljand update that when we hit 3, etc04:36
natefinchI thought the reason you had to be on 1.25.2 to upgrade was because previous versions just wouldn't let you upgrade to a higher major version04:36
natefinchif we just remove that code... then it should be fine04:36
natefinchbut I'm probably missing something :)04:37
cheryljnatefinch: no, we want people on 1.25.2 because we're removing upgrade steps to *get* there from 2.004:37
cheryljso 2.0 won't know what the upgrade steps are for 1.24.7 -> 1.25.204:37
cheryljI am going on the assumption that future major releases will operate the same way where we want a known place where users are coming from.04:38
cheryljthis "minimum upgrade version", like 1.25.2 is to 2.004:38
natefinchI guess I really hoped we could prevent people from having to upgrade twice04:39
cheryljit's even more fun when you go past 2.0!04:39
cheryljThe decision was that you can't go from 1.25.2  -> 2.104:39
cheryljhas to be 1.25.2 -> 2.0.* -> 2.104:40
cherylj2.1 won't have *any* 1.x upgrade steps in it04:40
natefinchhere's my ideal scenario, though it's probably more complicated than it's worth:  you run upgrade with 2.3 on a 1.17 env, 2.3 only knows how to run an upgrade from 2.0, so it downloads 2.0, and tells it to upgrade first... 2.0 only knows how to upgrade from 1.25.2, so it downloads the 1.25.2 tools, and tells them to upgrade the environment, which works, and the rest plays out.04:41
cheryljwould be nice if we had the resources to put to that04:41
natefinchyeah.... I guess we'll have to wait until enough people complain :)04:42
cheryljno, no, that doesn't mean we need more people to do this work.  It's just means we're all shit at our jobs if we can't get it all done, right?04:43
cheryljsorry, that was a bit too pessimistic :)04:43
natefinchmy team lost 25-33% of its developer resources and no one's changing our delivery date, which was already like a month earlier than our estimates think is likely.  So... yeah, I think you were right.04:44
natefinchit's late, and dave cheney's not online to play grumpy dev, so someone's gotta pick up the slack04:44
cheryljhahaha, nice!04:44
waigani_heh04:45
natefinchThere's a station on google play music called "Code Your Face Off" which is pretty awesome, btw (and not just because of the name).  The description is "Work your magic while listening to these motivational electro-bangers -- and stop slacking off!"  https://play.google.com/music/r/m/Ltnhqsx7baik6dlsft6wdfchdly?t=Code_Your_Face_Off04:47
cheryljthat sounds painful04:50
natefinchunrelated - anyone know if canonical pays for any of the travel to gophercon, or is it all out of pocket?  Convincing my wife to let me go away for ~4 days would be easier if it weren't also ~$1000 :)04:53
cheryljnatefinch: are you talking about for next year?05:00
cheryljwait05:00
cheryljthis year05:00
cheryljhaha05:00
cheryljin Denver05:01
natefinchhaha05:01
natefinchyes05:01
cheryljalexisb-afk: was going to work on getting sponsorship again05:01
natefinchI'05:01
cheryljso I'd let her know you're interested05:01
natefinchwill do05:01
natefinchI'd love to go, last year was impossible because we already had a vacation booked that week.  Year before was impossible because we had a 2 week old.05:02
natefinch(baby)05:02
cheryljI figured :)05:02
natefinch:)05:02
cheryljaight, it's time for bed for me.  see you guys tomorrow05:03
natefinchg'night05:03
mupBug #1532085 opened: Guarantee leadership revoked from departing unit before departed hooks run <juju-core:New> <https://launchpad.net/bugs/1532085>05:55
mupBug #1532085 changed: Guarantee leadership revoked from departing unit before departed hooks run <juju-core:New> <https://launchpad.net/bugs/1532085>06:04
mupBug #1532085 opened: Guarantee leadership revoked from departing unit before departed hooks run <juju-core:New> <https://launchpad.net/bugs/1532085>06:07
mupBug #1532130 opened: Config item 'version' vanishes with 1.26 <regression> <juju-core:New> <https://launchpad.net/bugs/1532130>09:43
mupBug #1532130 changed: Config item 'version' vanishes with 1.26 <regression> <juju-core:New> <https://launchpad.net/bugs/1532130>09:46
mupBug #1532130 opened: Config item 'version' vanishes with 1.26 <regression> <juju-core:New> <https://launchpad.net/bugs/1532130>09:52
=== dooferlad_ is now known as dooferlad
jamespagedimitern, hey - I'm having trouble with the MAAS spaces branch and reproducing thedac's deployments from yesterday10:24
jamespagedimitern, I can't bootstrap an  environment - the machines deploy ok, but when juju configures all of the bridges post deployment, it completely hoses the network configuration on the server...10:25
jamespage:(10:25
jamespagedimitern, help!10:26
dooferladjamespage: we are in our standup right now. I am sure he will respond soon.10:27
jamespagedooferlad, ack10:27
jamespagedimitern, http://paste.ubuntu.com/14436922/10:27
dimiternjamespage, uh oh .. that looks like the addresses are missing10:32
jamespagedimitern, uh-oh was my reaction10:32
dimiternjamespage, would you mind joining our standup to discuss this?10:32
jamespagedimitern, sure10:32
dooferladhttps://plus.google.com/hangouts/_/canonical.com/sapphire10:33
dooferladjamespage: ^^10:33
frobware_jamespage, can you paste the original /e/n/i -- juju creates a copy in /etc/network/10:33
jamespagehttp://paste.ubuntu.com/14436933/10:33
=== frobware_ is now known as frobware
jamespagefrobware, dimitern ^^10:33
jamespagedooferlad, can you direct invite me from the hangout - still using iphone atm10:34
jamespagehttp://paste.ubuntu.com/14436967/10:37
jamespagedooferlad, sorry my iphone drops me from g+ now as well :(10:57
jamespagethedac, when you awake ^^10:58
frobwarejamespage, will fix this in maas-spaces branch11:09
frobwaredimitern, can you raise the bug for the /e/n/i issue on 1.25 please11:10
frobwaredimitern, and if you have an /e/n/i that is bust can you attach it to the bug. thx.11:10
jamespagefrobware, ack - I think I can hack the add-bridges script for now to workaround11:14
jamespagetrying that now11:14
frobwarejamespage, http://pastebin.ubuntu.com/14437158/11:17
jamespagefrobware, I actuall specialized to dns-search11:19
frobwarejamespage, reading resolvconf and interfaces man pages indicates that dns- is not the beginning of any stanza, just options on the iface.11:20
jamespagefrobware, so infact those last two get appended to the last interface stanza right?11:21
frobwarejamespage, yep11:21
frobwarejamespage, otherwise you'll run into the same issue on dns-search - the script will think this a top-level stanza and break as it currently does.11:23
jamespagefrobware, hmm but dns-search is not part of the iface stanza's as generated right now11:27
jamespagethat might not matter if curtin also generates resolv.conf11:27
frobwarejamespage, the combination of ifup running resolvconf which plucks the dns-search from /e/n/i should end up in resolv.conf11:29
frobwarejamespage, I would still like to understand how/when/where the change to /e/n/i happened. Quite a few of the unit tests I have were cut+paste /e/n/i files from a deployed MAAS 1.9 node.11:34
jamespagefrobware, so would I - I also think the /e/n/i generated by maas/curtin is a little malformed right?11:35
dimiternfrobware, will do11:35
frobwarejamespage, the indentation and the separation of the dns-* entries confuse matters.11:36
* jamespage crosses fingers for network access11:39
jamespagefrobware, ok better - I'm only expecting a bridge for eth0 right now?11:47
frobwarejamespage, how many interfaces do you have? You should get a bridge per active NIC now.11:47
jamespagefrobware, eth0 is the only active physical nic - all others are vlans on eth111:48
frobwarejamespage, can you paste your original /e/n/i11:48
dimiternfrobware, I've filed bug 153216711:52
mupBug #1532167: maas bridge script handles VLAN NICs incorrectly <addressability> <maas-provider> <network> <juju-core:Triaged> <juju-core 2.0:Triaged> <https://launchpad.net/bugs/1532167>11:52
frobwaredimitern, thanks!11:52
frobwaredimitern, dooferlad, voidspace: should we propagate dns-* from the original iface to the new bridge stanza?11:54
dooferladfrobware: yes11:55
dimiternfrobware, yeah - because the bridge is taking over the nic and all its options, just adding the bridge-utils ones to them11:55
frobwaredimitern, dooferlad: which is what I am/was doing, just confirming.11:56
dooferladfrobware: great :-)11:56
frobwaredooferlad, dimitern: think this only holds true for bonds. e.g., http://pastebin.ubuntu.com/11:57
frobwarehttp://pastebin.ubuntu.com/14437347/11:57
dooferladfrobware: that seems reasonable, but I don't know for sure. Since it is a rule that says "add this nameserver to resolv.conf when I am activated" as long as the rule will run under the same conditions, that is fine.11:59
frobwaredooferlad, otherwise we have to special case which options we carry forward. Which is not a big deal because we already do it for the bond anyway.12:00
frobwaredimitern, actually for the bond it doesn't take all its options. I deliberately omit anything starting with bond.12:04
frobwarejamespage, any joy?12:04
jamespagefrobware, yeah12:05
mupBug #1532167 opened: maas bridge script handles VLAN NICs incorrectly <addressability> <maas-provider> <network> <juju-core:Triaged> <juju-core 2.0:Triaged> <https://launchpad.net/bugs/1532167>12:05
dimiternfrobware, that's because we verified what needs to stay for the bond-bridge(-vlan) device to still work12:05
frobwaredimitern, I'll actively try leaving them in. I think the fewer special cases the better.12:06
jamespagefrobware, dimitern - ok I have a bound ceph deployment running!12:06
jamespagew00t!12:06
frobwaredimitern, the new iface (i..e, the bridge) is not a bond so I didn't carry those options forward.12:07
frobwarejamespage, excellent!12:07
dimiternfrobware, ah, right12:08
frobwaredimitern, these are all just arbitrary rules. :-)12:08
mupBug #1532167 changed: maas bridge script handles VLAN NICs incorrectly <addressability> <maas-provider> <network> <juju-core:Triaged> <juju-core 2.0:Triaged> <https://launchpad.net/bugs/1532167>12:11
mupBug #1532167 opened: maas bridge script handles VLAN NICs incorrectly <addressability> <maas-provider> <network> <juju-core:Triaged> <juju-core 2.0:Triaged> <https://launchpad.net/bugs/1532167>12:14
dimiternfrobware, also filed bug 153217612:23
mupBug #1532176: maas bridge script in maas-spaces feature branch handles dns-* options incorrectly <addressability> <maas-provider> <juju-core maas-spaces:Triaged> <https://launchpad.net/bugs/1532176>12:23
dimiternfrobware, added the expected /e/n/i in jamespage's case (AIUI)12:24
dimiternjamespage, awesome!12:24
frobwaredimitern, do we want to raise bugs for feature branches?12:25
dimiternfrobware, we can - whether we should is another thing :)12:25
frobwaredimitern, seems overkill to me12:26
dimiternfrobware, but since I started composing it, esp. took care with the expected config, seemed good to have it filed12:26
dimiternbut I might've just as well added a card12:29
perrito666dimitern: ping12:35
dimiternperrito666, hey there12:37
perrito666hey, ill privmsg you12:38
mupBug #1532186 opened: lxd container creation fails semi - regularly <local-provider> <juju-core:Triaged> <https://launchpad.net/bugs/1532186>13:17
mupBug #1532186 changed: lxd container creation fails semi - regularly <local-provider> <juju-core:Triaged> <https://launchpad.net/bugs/1532186>13:26
mupBug #1532186 opened: lxd container creation fails semi - regularly <local-provider> <juju-core:Triaged> <https://launchpad.net/bugs/1532186>13:35
frobwaredimitern, dooferlad, voidspace: http://reviews.vapour.ws/r/3481/ - network/interfaces fix for demo13:55
dimiternfrobware, looking13:57
dimiternfrobware, LGTM with an extra test for the jamespage's case14:02
frobwaredimitern, done and thanks for the review14:11
dimiternfrobware, cheers14:12
dimiternfrobware, hmm wait a moment..14:14
frobwaredimitern, oh...14:14
dimiternfrobware, looking at the test now14:14
dimiternfrobware, why auto eth1.2667 and the others still remain?14:14
dimiternfrobware, also I can only see one bridge14:14
frobwaredimitern, I think we've danced this dance before.14:15
dimiternfrobware, either the expected is wrong or the script doesn't quite handle that as I'd have expected14:15
frobwaredimitern, the underlying device is not active.14:15
frobwaredimitern, I believe we previously said inactive devices don't get bridged.14:16
frobwaredimitern, however, what should the behaviour be...14:16
dimiternfrobware, but it's auto and it has auto children which are active14:16
frobwaredimitern, so the current test is... is the underlying vlan-raw-device eth1 active?14:17
dimiternfrobware, if this is the /e/n/i we'll use, how will multi-NIC containers work on that host node?14:17
frobwaredimitern, they obviously won't... :(14:17
dimiternfrobware, well, it looks active - "auto eth1", despite being "manual"14:17
dimiternit will be up when running ip link show14:17
dimiternotherwise the vlans won't work either14:18
frobwaredimitern, so I think we should nail down what we consider an active interface14:18
frobwaredimitern, btw, I don't believe this is a demo problem.14:18
dimiternfrobware, yeah, it's not but only because we're not using containers14:19
dimiternfrobware, and don't get me wrong - your fix is till valid14:19
frobwaredimitern, but let's fix containers whilst we're here.14:19
dimiternfrobware, but for the multi-NIC containers we'll need to fix that (for the os demo)14:19
frobwaredimitern, because some of this could go back into 1.25 too14:20
dimiternfrobware, I think "active" should mean either the NIC itself is up and has address (can send/receive packets) or any of it children are active14:20
frobwaredimitern, let's let the fix for the demo land and do another for multi-NICs14:21
dimiternfrobware, sgtm14:21
frobwaredimitern, so it's the "and has an address" - this is where we have stumbled before.14:21
frobwaredimitern, the eth1 in that test has no address.14:21
dimiternfrobware, yeah, but it has dependents which have14:22
frobwaredimitern, our parsing is too simplistic14:22
dimiternfrobware, eth1 just needs to be up14:22
frobwaredimitern, we don't really model it - we just do some pretty high-level text transformations.14:22
dimiternfrobware, yeah - one pass only14:22
frobwaredimitern, let me work on this now...14:23
dimiternfrobware, we need to get a simple model from the /e/n/i with a dict of NIC names to NIC info which includes an "active" flag and any children - similarly14:24
dimiternwell, it can also include all the options so you don't have to re-parse them when rendering14:25
frobwaredimitern, parsing is so cheap though.14:26
frobwaredimitern, open a file, read line by line.14:26
dimiternfrobware, just tried with the initial e/n/i, but changed eth1 to dhcp instead of manual and added "a" to each dns-nameservers options except the last one and this works better:http://paste.ubuntu.com/14438110/14:30
dimiternfrobware, what was the issue with just just always creating a bridge for each iface?14:30
dimiternbonds I presume.. or boot slowdowns?14:31
frobwaredimitern, heh. so that's an alternative.14:31
frobwaredimitern, not sure there is one.14:31
frobwaredimitern, I was trying to cater for the case where it is unconfigured.14:32
frobwaredimitern, if it is unconfigured and we create a bridge, what happens for the VIP?14:32
dimiternfrobware, well, it needs to have "auto" at least perhaps?14:34
dimiternfrobware, I don't mind creating an extra bridge we'll not use, unless that causes problems14:34
dimiternfrobware, the VIP is not involved I think14:35
dimiternfrobware,do you mean the VIPs added by corosync ?14:35
dimiternfrobware, with or without a bridge that will still work - adding an extra IP to an interface that's not up - but it simply won't pass any traffic14:36
frobwaredimitern, it shouldn't matter. I was thinking of the case where we want to give back a device14:36
frobwaredimitern, the dellstack case --> http://pastebin.ubuntu.com/14438169/14:37
dimiternfrobware, in that case we'll see that e.g. eth3 on node1 is linked to a subnet but in "link_up" state only, and that's what we'll give neutron-gateway14:37
dimitern(well, once network-get returns more than an address, but the full NIC info)14:38
frobwaredimitern, what did you think of ignoring is_active and just bridge the lot?!14:38
dimiternfrobware, I think we should try as the simplest thing we can do for multi-NIC containers14:39
dimiternfrobware, and seriously test it in an automated fashion with permutations of different NIC configs on different MAAS versions14:40
frobwaredimitern, my hack should you want this: http://pastebin.ubuntu.com/14438191/14:40
dimiternfrobware, cheers14:40
dimiternfrobware, I'll come up with something next week to automate setting up lxc-based maas of a given revision with a given set of networks14:41
frobwaredimitern, there's a certain amount of orthogonality that comes with that14:41
dimiternfrobware, yeah, but we need to at least make sure it works with bonds and vlans (and vlans onto a bond)14:42
frobwaredimitern, there are unit tests for that14:43
dimiternthe latter case is common in telcos14:43
dimiternfrobware, unit testing what we generate is a must, but live testing whether it will work (and didn't break across releases) is also needed when we can get it to work14:44
dimitern(get the automated testing to work I mean)14:44
frobwaredimitern, sure. I tried the vlans onto a bond a little while ago, but not with all the world bridged.14:44
frobwaredimitern, but from a parsing and creating bridges POV I believe we have some of these permutations. what happens in the wild... stays in the wild. :-)14:46
dimiternfrobware, yeah, we'll just keep updating those tests as we discover issues14:49
frobwaredooferlad, I just dumped 1531932 your way. Happy to answer questions here, in the card or wherever works.14:50
dooferladfrobware: ok14:51
dooferladI assume that is bug #153193214:51
mupBug #1531932: Unit agents unable to connect with MAAS 1.8 due to lack of default gateway in MAAS <juju-core:Triaged by dooferlad> <https://launchpad.net/bugs/1531932>14:51
frobwaredooferlad, yep. Before weds next week we need to land that, #1525280. And port #1528217 to master.14:53
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:Fix Committed by dimitern> <https://launchpad.net/bugs/1525280>14:53
mupBug #1528217: 1.25.2 doesn't set up DNS information with MAAS <blocker> <ci> <maas> <network> <regression> <juju-core:Incomplete> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1528217>14:53
frobwaredooferlad, to tickle the lack of gateway in 1.8 you just need to remove any entry you may have in MAAS already in the network (in my case maas-eth0).14:55
frobwaredimitern, if we don't have uniques hostnames on master I'm guessing we don't run into either lack of default gw and/or lack of DNS info - correct?  It looks like that patch switches the provisioner to use configType.static.15:00
frobwaredimitern, not sure if you saw that ^^ - formatting looks odd in my client15:02
dimiternfrobware, we don't have unique hostnames, but we still use static and I don't remember whether the dns and gateways were discovered when missing15:04
frobwaredimitern, just trying to see what's the easiest environment to initially fix this in. 1.25 is the best place today as we know it fails there.15:10
frobwaredooferlad, ^^15:10
dimiternfrobware, well, 1.25 can be fixed after the revert happens so I guess we should fix dns + gateway on master and also unique hostnames first15:12
frobwaredimitern, the reason why I'm asking is ... why doesn't it fail today in the CI tests.15:12
frobwaredimitern, if there's a default gw entry, then it will be fine. but it popped up in CI because there was no entry.15:13
dimiternfrobware, because there are hardly any serious tests that use containers and/or multiple envs bootstrapped concurrently15:13
frobwaredimitern, well 1.25.2 tripped over it as soon as we fixed dns15:14
frobwaredimitern, so there are some15:14
dimiternfrobware, and for the dns / GW - I don't believe any CI tests (except likely for dooferlad's) check containers networking accessibility etc.15:14
frobwaredimitern, anyway, I'm not suggesting we fix in 1.25.2 first, just that's a playground you can use today because it fails there atm15:14
dimiternfrobware, well, they started passing for the first time I guess :)15:15
dimiternfrobware, right, I see15:15
frobwaredimitern, was trying to lower dooferlad's entry point... :)15:16
mupBug #1528259 changed: undertakerSuite.TestAPICalls nil deref panic <ci> <i386> <panic> <regression> <test-failure> <juju-core:Fix Released by axwalk> <https://launchpad.net/bugs/1528259>15:20
mupBug #1532232 opened: maas 1.9 container networking broken <ci> <lxc> <maas-provider> <regression> <juju-core:Incomplete> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1532232>15:20
frobwaredimitern, ^^ LOL. sigh.15:21
* frobware takes up smoking...15:21
mupBug #1532232 changed: maas 1.9 container networking broken <ci> <lxc> <maas-provider> <regression> <juju-core:Incomplete> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1532232>15:26
mupBug #1528259 opened: undertakerSuite.TestAPICalls nil deref panic <ci> <i386> <panic> <regression> <test-failure> <juju-core:Fix Released by axwalk> <https://launchpad.net/bugs/1528259>15:26
dimitern:)(15:26
frobwaresinzui, dimitern, jog: when I looked at John's email earlier today he indicated that it had worked and the failure may be intermittent. Has that changed?15:32
dimiternfrobware, I haven't looked into it since then - want to finish the last 2 cards around interface_set parsing15:33
sinzuifrobware: dimitern: I cannot say exactly what is wrong. I see that non of the containers called home, which looks like container networking.15:34
dimiternsinzui, if we have the cloud-init-output.log of the containers it will tell us what went wrong15:35
frobwaresinzui, any of these nodes still up?15:35
sinzuidimitern: It is all there http://reports.vapour.ws/releases/3487/job/maas-1_9-OS-deployer/attempt/13015:35
frobwaresinzui, as in can we login to the node and look at the container setup, et al?15:35
sinzuifrobware: no.15:35
dimiternsinzui, well, notably cloud-init-output.log from the container's rootfs is not there15:36
dimiternI might have reported a bug for that some time ago15:36
sinzuidimitern: damn. Thzt is a bug in in CI. We need to change the rules. I think the globe is wrong15:37
dimiternhttps://bugs.launchpad.net/juju-ci-tools/+bug/142435715:38
mupBug #1424357: copy_local_logs should also get container logs <juju-ci-tools:Fix Released by sinzui> <https://launchpad.net/bugs/1424357>15:38
sinzuifrobware: structured-metadata is testing now. It is possible to re-run the failing job, or just deploy a smaller bundle that uses containers.15:38
dimiternit's marked as fix released15:38
frobwaresinzui, can we do that next?15:38
mupBug #1528259 changed: undertakerSuite.TestAPICalls nil deref panic <ci> <i386> <panic> <regression> <test-failure> <juju-core:Fix Released by axwalk> <https://launchpad.net/bugs/1528259>15:38
mupBug #1532232 opened: maas 1.9 container networking broken <ci> <lxc> <maas-provider> <regression> <juju-core:Incomplete> <juju-core 1.25:Triaged> <https://launchpad.net/bugs/1532232>15:38
sinzuidimitern: yes, but it is clear one log is missing15:38
dimiternsinzui, ah, sorry - I've now actually read what I posted originally, and I don't mention to get /var/lib/lxc/juju-*/rootfs/var/log/cloud-init*.log15:40
dimiternunlike with a broken kvm you can't get to, lxc rootfs is accessible from the host usually15:40
sinzuidimitern: I am going to make a one line change to get the missing log, then run a simpler job to get more information15:47
dimiternsinzui, thanks15:48
thedacjamespage: dimitern: frobware: Odd I did not run into that problem. Do things look ok for the demo now?15:50
frobwarethedac, yes - I believe jamespage reported a working ceph deployment.15:50
thedacok, great.15:51
frobwarethedac, so it did trigger a genuine problem and we were curious as to how/why we haven't seen this to date.15:51
frobwarethedac, the fix has been merged into the maas-spaces branch15:52
thedacYeah, me too. I have done dozens of deplys and never saw that issue.15:52
thedacs/deplys/deploys15:52
frobwarethedac, we were speculating that it may have been an external change in curtin/maas/trusty/...?15:53
thedachmm, well I am not going to touch those hosts in MAAS so as not to introduce new problems ;)15:53
sinzuidimitern: the cloud-init-ouput.log is not in /var/lib/juju/containers. I need larger hack to get the log.16:02
dimiternsinzui, yeah, it's in /var/lib/lxc/juju-*/rootfs/var/log/cloud-init-*.log16:27
mattywdimitern, ping?16:40
mattyw^^ also maybe sinzui ping?16:40
frobwaredooferlad, you about?16:42
dooferladfrobware: yep16:43
frobwaredooferlad, can we do a quick HO...16:43
dooferladfrobware: sure16:43
dimiternfrobware, dooferlad, voidspace, I'd appreciate a review on http://reviews.vapour.ws/r/3482/ when you can16:43
dimiternmattyw, pong16:43
mattywdimitern, hey hey - as I understand it juju doesn't support bootstrapping on CentOs yet - is that right?16:44
dimiternmattyw, I've never tried bootstrapping, but some time ago I fixed an issue with manual provisioning to a centos machine16:45
dimiternmattyw, but looking at the cloudconfig code it should be possible - except if mongodb is borked there or something16:46
mattywdimitern, I'm trying to help a guy out on the list who is bootstrapping on centos, I'm sure I remember some discussion about it not working yet, but can't find any evidence yet16:46
mattywdimitern, there seem to be some selinux issues coming up16:46
cheryljmattyw: see also bug 147438616:47
mupBug #1474386: Problems bootstrapping the manual provider with CentOS <centos> <manual-provider> <juju-core:Triaged> <https://launchpad.net/bugs/1474386>16:47
dimiternmattyw, right well, sorry I can't help with that16:47
mattywdimitern, no problem - just wanted to see if you had any experience, as you were around16:48
cheryljmattyw: I also recall a recent change to handle the selinux problem?  maybe?16:48
cheryljsounds familiar anyway16:48
mattywcherylj, I'm not sure, I'm sure I remembered hearing something about it not being implemented ages ago, I don't think we have a ci test for it?16:48
mattywcherylj, if we think bootstrapping on centos should work I'll help the guy raise a bug for us to look at16:49
cheryljmattyw: you can also attach more info that the one bug I linked to16:50
mattywcherylj, the log I've got is totally different, so I'm going to raise a new one16:51
cheryljmattyw: k16:51
natefinchkatco, ericsnow: putting juju show-service-resources back and making juju show-charm-resources into juju resource reminds me.... I think this is exactly backwards.  I think people will use show-service-resources 1000x as often as show-charm-resources.  You'll be constantly checking your environments to make sure they have the correct resources deployed, but how often will you really want to look at what's in the charm store from the CLI?  Hardly ev16:51
natefincher?  Why not just use the nice website we've spent so much time on?16:51
ericsnownatefinch: yep16:51
natefinchkatco, ericsnow: but hopefully thats something we can talk about during/after the demo16:52
natefinchkatco, ericsnow: just make john type show-service-resources like 20 times during the demo, and we'll get him on our side ;)16:52
mattywcherylj, https://bugs.launchpad.net/juju-core/+bug/153226616:54
mupBug #1532266: bootstrapping on Centos fails with SELinux policy denies access <juju-core:New> <https://launchpad.net/bugs/1532266>16:54
mupBug #1532266 opened: bootstrapping on Centos fails with SELinux policy denies access <juju-core:Triaged> <https://launchpad.net/bugs/1532266>17:17
frobwaredooferlad, qemu-img create -f qcow2 -o preallocation=metadata vm-100-disk-3.qcow2  1G17:21
natefinchanyone online familiar with the new charm upload/publish? I can't get my server to deploy the charm I uploaded18:28
natefinchericsnow or katco: trivial 2 line review of command rename?18:53
natefinchhttp://reviews.vapour.ws/r/3483/diff/#18:54
ericsnownatefinch: done18:55
natefinchearly afternoon is the best time to have a lot of stuff to land... no competition for the landing bot18:57
natefinchI do wish our CI was a little more continuous than it actually is.... like telling me pre-emptively when my code won't compile after someone changes master out from under me.... ericsnow.18:58
natefinch;)18:58
ericsnownatefinch: I thought I warned you :)18:58
natefinchericsnow: probably, I don't know... who can keep track?18:59
ericsnownatefinch: if you have a sec, could you take a look at https://github.com/juju/charm/pull/188?19:03
ericsnownatefinch: thanks!19:22
natefinchericsnow: welcome19:22
katcoericsnow: just finishing up some admin things19:33
katcoericsnow: and then we can pair agian19:33
ericsnowkatco: k19:33
katcoericsnow: if you want that is19:33
ericsnowkatco: yep19:33
natefinchericsnow, katco: 40 lines of demo code to save resource metadata to state on deploy  (most of this will probably be reused after the demo): http://reviews.vapour.ws/r/3484/diff/#20:05
ericsnownatefinch: sweet20:05
natefinchwrong diff: http://reviews.vapour.ws/r/3484/diff/#20:05
natefinchor not.. sorry, confusing myself between PR number and diff number20:06
natefinchholy crap it works20:48
ericsnownatefinch: :)20:49
natefinchrealized why the code wasn't working for saving resources at deploy time.... I was saving them using the serviceID for the doc, which includes the environment UUID, but we query them with the service name20:49
natefincheasy fix20:49
=== gberginc_ is now known as gberginc
katcoericsnow: ok sorry i'm ready if you're available20:52
ericsnowkatco: sure20:53
natefinchericsnow, katco: very quick review of a bugfix in the output for show-service-resources? 100% relevant to the demo: http://reviews.vapour.ws/r/3485/diff/#21:33
natefinchkatco, ericsnow:  btw:21:41
natefinch$ juju show-service-resources starsay21:41
natefinchRESOURCE        ORIGIN REV USED COMMENT21:41
natefinchstore-resource  upload -   no   One line that is useful when operators need to push it.21:41
natefinchupload-resource upload -   no   Who uses xml anymore?21:41
natefinchreal output stored in the database, derived from the metadata.yaml at deploy time21:41
natefinch...once my last two patches land :)21:42
natefinchhttps://media.giphy.com/media/b3u8anVaWFQ9G/giphy.gif21:42
natefinchthere are a lot more hits for grep "vespene gas" in the juju codebase than I would have suspected21:53
natefinchericsnow, katco: gotta run for dinner, but I'll be back after for a few hours. Feel free to shipit and $$merge$$ my branches if you wish, otherwise I will when I get back.  I started looking at eric's patches up for review, but they're big and will take a bit.  I'll do that if there's nothing else pressing when I get back.21:58
=== natefinch is now known as natefinch-afk
katconatefinch-afk: sorry for radio silence; ericsnow is a demanding pairing partner (sob)22:45
ericsnowkatco: lol22:45
katcoi feel so defeated22:45
ericsnowkatco: whatever!22:45
katconatefinch-afk: thx for patches, glad to see it's working :)22:45
ericsnowkatco: I thought we did well :)22:45
=== ericsnow is now known as ericsnow-afk
katcoericsnow: yeah jk that was awesome22:45
katcoericsnow-afk: you even used emacs!22:46
katcoericsnow-afk: i'm going to call you an emacs user now22:46
lazyPoweroh god, they're multiplying22:55
katcolazyPower: you don't know the power of the emacs23:00
lazyPoweryou're right23:00
katcolazyPower: give in to your fear and hatred. let it make you stronger23:01
lazyPowerkatco: i'll think about out... but my 8ball says the outlook is not good23:04
lazyPowers/out/it/23:04
lazyPoweri mean, why shop at walmart (emacs) when you've got amazon (vim) :)23:05
perrito666Ericsnow if you are still around pls take a look at the gce patch for storage uuid on description23:29
perrito666Eow bye all23:29
mupBug #1532354 opened: Juju 1.26-Alpha4 reports incorrect public-address with MaaS 1.9 <juju-core:New> <https://launchpad.net/bugs/1532354>23:30

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