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

jogaxw, 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:18
axwjog, ok, thanks03:21
* thumper is done for another day04:03
thumperlaters folks04:03
frobwarejam, ping08:32
jamfrobware: pong08:34
jamI heard you were up late trying to work on this stuff, thanks for helping me pick it up08:34
frobwarejam, If I ask MAAS for the DNS info it comes back empty08:34
frobwarejam, np - though I need to go out in about 10 mins08:35
jamfrobware: dns_servers for the subnet comes back with nothing? I wonder how maas is filling it out from DHCP.08:35
jamI have the feeling there are some secret bits to configuration that neither MaaS nor we were realizing.08:35
frobwarejam, I took a path to least resistance. We already parse the hosts /etc/resolv.conf so I took that route here too.08:36
frobwarejam, if I `maas 9 nodes list |grep dns` I get no entries08:36
frobwarejam, well, I get  "dns_servers": []08:36
frobwarejam, when I say "already" that's what we do when address-allocation is enabled08:37
jamfrobware: 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 manage08:38
frobwarejam, I was almost confused by "space" there. :)08:38
jamfrobware: can we think of anything other than nameservers that DHCP would be setting up that we would be missing?08:39
jamheh08:39
jamLike routes ?08:39
frobwarejam, if you look at the containers /e/n/i it seems to do that itself08:39
jamfrobware: gateway IP seems to be in the DHCP message08:40
jambut I'm guessing we know we need to set that up already?08:40
frobwarejam, hmm. so this is specified in the LXC config08:41
frobwarejam, and looking at my container I have a default route08:42
jamso 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 Server08:42
jamHost Name, Boot File Size, Merit Dump File, Domain Name, Swap Server, Root Path, Extensions Path08:43
jamI'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 DHCP08:43
frobwarejam, ac08:44
frobwarejam, ack08:44
jamas long as its "ack" and not "ack!"  :)08:44
jam(eek! (?) )08:44
frobwarejam, try ag. or pt.08:44
jamheh. I'm happy with ack, just bringing levity.08:45
frobwarejam, and ag is nicely integrated with Emacs. But pt is written in go...08:45
jamwouldn't it just be "p" in go ?08:45
jamcan't waste characters like that08:45
frobwarejam, depends on font size08:46
frobwarejam, is there anything else I can convey now? I'll check back in later but I suspect you'll be long gone.08:47
jamfrobware: 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
jamfrobware: thanks for helping on this during your holiday. enjoy your day08:48
frobwarejam, great and thank you!08:48
frobwarejam, so there was 1 unit tests failure. FAIL: client_validation_test.go:56: ClientValidationSuite.TestClaimLeaseName08:51
frobwarejam, I didn't see that for the single run I did locally08:51
* frobware needs to run - already late. Adios!08:53
jamweird, that test passes here09:38
jamseems like it is a random failure, but I'll investigate09:38
=== Spads_ is now known as Spads
=== rvba` is now known as rvba
jamjog_: when you're around give me a ping11:43
=== ashipika1 is now known as ashipika
mupBug #1528572 opened: lxcBrokerSuite.TestStopInstance fails if a loopback is currently mounted <testing> <juju-core:Triaged> <https://launchpad.net/bugs/1528572>13:48
=== akhavr1 is now known as akhavr
ericsnownatefinch: can you see or hear me on the hangout?15:05
=== jog_ is now known as jog
natefinchericsnow: 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:18
ericsnownatefinch: convert it in the formatter16:19
ericsnownatefinch: Used should be a field on the new "formatted" struct16:20
natefinchericsnow: 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:20
natefinchericsnow: I'm fine with it being in the struct16:21
ericsnownatefinch: k16:21
natefinchericsnow: 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:22
ericsnownatefinch: there was talk of other things like repos16:23
natefinchericsnow: that's interesting16:23
ericsnownatefinch: haven't worried about it because the semantics aren't clear and I don't have time :)16:23
natefinchericsnow: right.16:23
jogjam, pong16:55
perrito666jam: 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:04
perrito666oh, cmoom, blocked? that is so unfair17:09
natefinchericsnow: 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
ericsnownatefinch: we expose them through the JSON and YAML formatters18:52
natefinchericsnow: 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 there18:53
ericsnownatefinch: so are you arguing that we should drop them?  If so, why?18:54
rick_h_natefinch: ericsnow any list commands should take fornstters so they're consistent18:54
natefinchrick_h_: ok18:55
natefinchericsnow: just don't want to presume what should be displayed18:55
ericsnownatefinch: understood18:55
natefinchericsnow: less to maintain18:55
natefinchrick_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 tabular18:57
ericsnownatefinch: we should put everything in there, which is what we've done18:57
natefinchericsnow: "everything" is a rather fungible concept, though18:59
natefinchI guess that's why we do demos :)18:59
ericsnownatefinch: :)18:59
* perrito666 imagines juju status returning even the source code for juju itself19:00
rick_h_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 command19:01
rick_h_natefinch: ericsnow but to be bqckward compatible best tonstart with less and add sipport than tonrekove later as anbackward incompatiblenchange19:01
natefinchyeah, I was just thinking that... once we start writing things out, we have to support those fields for forever19:02
natefinchthough obviously that's not written in stone until we merge to master ;)19:02
ericsnownatefinch: let's table any changes there to after this iteration is complete (make a card)19:02
rick_h_natefinch: so i'm open tona list and starting feedback from stakeholders on 'need it' vs 'nope'19:02
natefinchericsnow: sounds good19:03
* natefinch just invented a new word - charmtabular.20:32
natefinchthumper: hope you're having a charmtabular day so far.20:32
thumperpretty quiet so far20:35
thumperget to just focus on hacking for a change20:35
natefinchnice20:35
natefinchI 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 message20:36
natefinchhaha20:37
natefinchhonestly, 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)20:38
natefinchericsnow: this is a bad habit to get into: https://github.com/juju/charm/blob/v6-unstable/resource/fingerprint.go#L2321:12
natefinchericsnow: far better to make() the target slice the correct size and just use copy to copy it over21:12
ericsnownatefinch: I started doing it when I saw it done in the stdlib :)21:12
natefinchericsnow: hmm... maybe append is smarter than I'm thinking21:13
natefinchericsnow: far better to make() the target slice the correct size and just use copy to copy it over21:44
natefinchoops21:45
natefinchericsnow: 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:46
natefinchI figured append would be wasteful of space, but it looks like it's just rounding up a little on capacity21:47
mupBug #1528703 opened: juju unable to deploy juju-gui to lxc containers on servers with multiple networks <juju-core:New> <https://launchpad.net/bugs/1528703>22:01
mupBug #1528703 changed: juju unable to deploy juju-gui to lxc containers on servers with multiple networks <juju-core:New> <https://launchpad.net/bugs/1528703>22:04
mupBug #1528703 opened: juju unable to deploy juju-gui to lxc containers on servers with multiple networks <juju-core:New> <https://launchpad.net/bugs/1528703>22:07
=== blahdeblah_ is now known as blahdeblah

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