[03:18] axw, axw_, your commit to the structured-metadata branch didn't run through CI because it needs a version update, since 1.26-alpha3 was released to devel late last week. [03:21] jog, ok, thanks [04:03] * thumper is done for another day [04:03] laters folks [08:32] jam, ping [08:34] frobware: pong [08:34] I heard you were up late trying to work on this stuff, thanks for helping me pick it up [08:34] jam, If I ask MAAS for the DNS info it comes back empty [08:35] jam, np - though I need to go out in about 10 mins [08:35] frobware: dns_servers for the subnet comes back with nothing? I wonder how maas is filling it out from DHCP. [08:35] I have the feeling there are some secret bits to configuration that neither MaaS nor we were realizing. [08:36] jam, I took a path to least resistance. We already parse the hosts /etc/resolv.conf so I took that route here too. [08:36] jam, if I `maas 9 nodes list |grep dns` I get no entries [08:36] jam, well, I get "dns_servers": [] [08:37] jam, when I say "already" that's what we do when address-allocation is enabled [08:38] frobware: k, I think the trick there is that maas has a space for people to set up dns servers for subnets that you define, but they don't actually put their own information into the one that they manage [08:38] jam, I was almost confused by "space" there. :) [08:39] frobware: can we think of anything other than nameservers that DHCP would be setting up that we would be missing? [08:39] heh [08:39] Like routes ? [08:39] jam, if you look at the containers /e/n/i it seems to do that itself [08:40] frobware: gateway IP seems to be in the DHCP message [08:40] but I'm guessing we know we need to set that up already? [08:41] jam, hmm. so this is specified in the LXC config [08:42] jam, and looking at my container I have a default route [08:42] so DHCP has a fair number of options, Router, Time Server, Name Server, Domain Name Server, Log Server, Cookie Server, LPR Server, Impress Server, Resource Location Server [08:43] Host Name, Boot File Size, Merit Dump File, Domain Name, Swap Server, Root Path, Extensions Path [08:43] I'm guessing we don't need to use all of those, but that would be the sort of thing that we need to be clear on what we are and aren't using as we switch away from DHCP [08:44] jam, ac [08:44] jam, ack [08:44] as long as its "ack" and not "ack!" :) [08:44] (eek! (?) ) [08:44] jam, try ag. or pt. [08:45] heh. I'm happy with ack, just bringing levity. [08:45] jam, and ag is nicely integrated with Emacs. But pt is written in go... [08:45] wouldn't it just be "p" in go ? [08:45] can't waste characters like that [08:46] jam, depends on font size [08:47] jam, is there anything else I can convey now? I'll check back in later but I suspect you'll be long gone. [08:48] frobware: no I think we're good. I'll take custody of your patch and add some tests, and do some due diligence that we aren't missing anything else. [08:48] frobware: thanks for helping on this during your holiday. enjoy your day [08:48] jam, great and thank you! [08:51] jam, so there was 1 unit tests failure. FAIL: client_validation_test.go:56: ClientValidationSuite.TestClaimLeaseName [08:51] jam, I didn't see that for the single run I did locally [08:53] * frobware needs to run - already late. Adios! [09:38] weird, that test passes here [09:38] seems like it is a random failure, but I'll investigate === Spads_ is now known as Spads === rvba` is now known as rvba [11:43] jog_: when you're around give me a ping === ashipika1 is now known as ashipika [13:48] Bug #1528572 opened: lxcBrokerSuite.TestStopInstance fails if a loopback is currently mounted === akhavr1 is now known as akhavr [15:05] natefinch: can you see or hear me on the hangout? === jog_ is now known as jog [16:18] ericsnow: trying to figure out the right place to convert Timestamp to used. I guess the question is - do we expect Used to be printed out in the yaml output, or not? [16:19] natefinch: convert it in the formatter [16:20] natefinch: Used should be a field on the new "formatted" struct [16:20] ericsnow: ok, yeah, that's basically what I was wondering - should it be in the struct or is it purely a "view" of the data in tabular format. [16:21] ericsnow: I'm fine with it being in the struct [16:21] natefinch: k [16:22] ericsnow: lol, just noticed resource.Type ... where there's only one valid value :/ (not your fault of course) .... do we know what other values besides "file" might be used? [16:23] natefinch: there was talk of other things like repos [16:23] ericsnow: that's interesting [16:23] natefinch: haven't worried about it because the semantics aren't clear and I don't have time :) [16:23] ericsnow: right. [16:55] jam, pong [17:04] jam: hey can we schedule a time after the shutdown to go over security groups in aws so I make sure I dont screw anything? [17:09] oh, cmoom, blocked? that is so unfair [18:52] ericsnow: I note that the FormattedCharmResource has a bunch of fields not actually used in the tabular format... do you think we should drop them until they're asked for? [18:52] natefinch: we expose them through the JSON and YAML formatters [18:53] ericsnow: yes, but there's not even anything in the spec about there being json and yaml formatters, let alone what fields are expected to be there [18:54] natefinch: so are you arguing that we should drop them? If so, why? [18:54] natefinch: ericsnow any list commands should take fornstters so they're consistent [18:55] rick_h_: ok [18:55] ericsnow: just don't want to presume what should be displayed [18:55] natefinch: understood [18:55] ericsnow: less to maintain [18:57] rick_h_: there's a limited amount of information shown in the two list resources commands, as written in the spec. Presumably this is to keep the tabular format small. But what should we put in the yaml/json? In theory, there's a lot more we can put in there, but my initial assumption would be to just put in the same data as in tabular [18:57] natefinch: we should put everything in there, which is what we've done [18:59] ericsnow: "everything" is a rather fungible concept, though [18:59] I guess that's why we do demos :) [18:59] natefinch: :) [19:00] * perrito666 imagines juju status returning even the source code for juju itself [19:01] natefinch: ericsnow i'm notnsure what thenlist of all metadats is but i'd think a basic dump of known details that matched up with a show command [19:01] natefinch: ericsnow but to be bqckward compatible best tonstart with less and add sipport than tonrekove later as anbackward incompatiblenchange [19:02] yeah, I was just thinking that... once we start writing things out, we have to support those fields for forever [19:02] though obviously that's not written in stone until we merge to master ;) [19:02] natefinch: let's table any changes there to after this iteration is complete (make a card) [19:02] natefinch: so i'm open tona list and starting feedback from stakeholders on 'need it' vs 'nope' [19:03] ericsnow: sounds good [20:32] * natefinch just invented a new word - charmtabular. [20:32] thumper: hope you're having a charmtabular day so far. [20:35] pretty quiet so far [20:35] get to just focus on hacking for a change [20:35] nice [20:36] I can tell I'm working with ericsnow's code, because everything gets a lot easier now that I have 5 windows open ;) [20:36] * ericsnow opens another tab to read natefinch's message [20:37] haha [20:38] honestly, it's not so hard with two big monitors, it's doijng it all on one 15" monitor that's the real problem (for me) [21:12] ericsnow: this is a bad habit to get into: https://github.com/juju/charm/blob/v6-unstable/resource/fingerprint.go#L23 [21:12] ericsnow: far better to make() the target slice the correct size and just use copy to copy it over [21:12] natefinch: I started doing it when I saw it done in the stdlib :) [21:13] ericsnow: hmm... maybe append is smarter than I'm thinking [21:44] ericsnow: far better to make() the target slice the correct size and just use copy to copy it over [21:45] oops [21:46] ericsnow: I was just doing some benchmarking... I guess apend actually is smarter than I realized. both are very very similar in memory usage and speed. [21:47] I figured append would be wasteful of space, but it looks like it's just rounding up a little on capacity [22:01] Bug #1528703 opened: juju unable to deploy juju-gui to lxc containers on servers with multiple networks [22:04] Bug #1528703 changed: juju unable to deploy juju-gui to lxc containers on servers with multiple networks [22:07] Bug #1528703 opened: juju unable to deploy juju-gui to lxc containers on servers with multiple networks === blahdeblah_ is now known as blahdeblah