/srv/irclogs.ubuntu.com/2017/04/18/#juju-dev.txt

* babbageclunk goes for a walk00:31
axwjam: FYI, https://azure.microsoft.com/en-au/updates/ga-multiple-ips-per-nic/ & https://azure.microsoft.com/en-au/updates/dual-nic-support/02:06
rick_haxw: oooooh02:18
axwrick_h: :)02:19
axwrick_h: also, did you see there's SR-IOV support, so you can have moar faster mellanox networks02:19
axwrick_h: still in preview tho02:19
rick_haxw: no, I didn't. I get the summary emails from GCE and AWS but not from Azure. I need to find that I guess.02:20
axwrick_h: I'm not subscribed, I just stumbled across it. not sure where to subscribe to these sorts of things02:21
rick_haxw: https://cloud.google.com/newsletter/ and https://aws.amazon.com/new/ (via rss) are the things I follow I think02:25
axwrick_h: thanks. i'm on the google one already, prob should read aws too02:25
* rick_h tries https://azure.microsoft.com/en-us/community/newsletter/subscribe/ to see if that'll send news02:26
babbageclunkwallyworld, axw - I'm assuming we don't rely on the name of the firewalls created by GCE to be the hash of the rules, it's just how we make them unique. Does that sound right?02:51
wallyworldbabbageclunk: that's my understanding, but to change the algorithm would require upgrade steps02:51
wallyworldmaybe02:51
wallyworldor at least compatibility code02:51
axwbabbageclunk: no idea sorry02:52
axwthat's what I would expect though02:52
babbageclunkwallyworld: I'm not changing the way the name's generated, just not updating it when we change the rules it contains (since it looks like that's not supported). The code finds firewalls by rules, not by relying on the name, so I don't *think* we'll need any upgrade steps.02:55
wallyworldthat sounds ok02:55
babbageclunkwallyworld: easiest review ever: https://github.com/juju/juju/pull/724603:37
wallyworldok03:38
babbageclunkI mean, I guess I have seen 1-line PRs, so it could technically be easier03:38
wallyworldbabbageclunk: sorry, was just otp. don't we need to rename the rule with the new hash so it can be found next time?03:43
wallyworldor so that the name matches the hash03:44
babbageclunkwallyworld: I don't think so - we don't find it by name, otherwise we wouldn't have been able to find existingFirewallName. You can see above in OpenPorts that it finds it by CIDR and/or port.03:46
wallyworldbabbageclunk: ok, something is bothering me about having the name start out as a hash of the ports and then not being the hash. what happens if a new sec group is created with the old rules, there will be a name clash?03:48
babbageclunkwallyworld: hmm, I see what you mean.03:49
babbageclunkwallyworld: so in that case maybe we need to delete the firewall and add a new one? Although I guess that could kill connections. :(03:52
wallyworldbabbageclunk: could do. can we rename a firewall?03:52
babbageclunkwallyworld: oh right - maybe as a separate call from updating its rules.03:53
babbageclunkwallyworld: reading some docs03:53
wallyworldok03:53
babbageclunkwallyworld: I can't find any way to rename one.04:20
wallyworldbabbageclunk: create new one and then delete old?04:20
wallyworldbabbageclunk: or maybe just use a uuid type thing to generate a unique name up front and not tie to rules hash04:21
babbageclunkwallyworld: yeah, I was just about to say that04:21
babbageclunkwallyworld: ugh, using a random number requires stitching errors through and making the tests handle nondeterministic results. Do you think I should do the add and then delete thing instead? Feels a bit more fragile though05:24
wallyworldbabbageclunk: you can mock out the name generation for the tests using a func that doesn't error05:25
wallyworldand that returns a deterministic result05:25
babbageclunkwallyworld: yeah, but there are are higher-level tests that also (incidentally) check the name because they're looking at calls.05:35
babbageclunkwallyworld: oh, you mean reassign the function in export_test?05:36
wallyworldsomething like that, or pass in as a dep, so the test can control the name generated05:36
babbageclunkwallyworld: yeah, I was passing it in as a dep (since I've seen people object to the rebinding), but it means that I need to pass it down multiple levels05:39
babbageclunkwallyworld: tempted to make the tests not look at the random bit of the name.05:40
wallyworldbabbageclunk: sgtm06:30
axwjam: teeny review please? https://github.com/juju/gomaasapi/pull/6906:31
jamaxw: I assume that information was always in the API response, even for older versions of MAAS?06:32
axwjam: yeah, and we use it when connecting to MAAS 1.x06:32
jamsgtm06:37
wallyworldaxw: no rush, if you get a chance at some point https://github.com/juju/juju/pull/723907:14
axwwallyworld: sure. pool leak dude is here, bbs07:15
wallyworldouch, hope it's not too bad07:15
=== frankban|afk is now known as frankban
axwwallyworld: pool has been losing water for months, just recently got to 3-4cm each day. my regular pool guy was hopeless, had a few shots at finding the leak08:44
axwwallyworld: so called up a specialist and he found it in 30 minutes...08:44
axwwallyworld: haven't seen the invoice yet, hopefully that's not too special08:44
wpk$1 for hitting it with a hammer, $999 for knowing where to hit08:48
axwwpk: yeah, pretty much. except the guy who didn't solve the problem still charged $1000 (figuratively, not really that much)08:54
wallyworldaxw: was it in a connecting pipe? or the pool itself?11:26
anastasiamacwallyworld: wow \o/ m just curious if it's fixed :D regardless of where it is.. altho the location would probably determine the price of work..11:29
axwwallyworld anastasiamac: bottom of the pool. he swam down and filled the crack with some type of glue/filler11:39
anastasiamacaxw: niiice :) how old is the pool? some builders have extended warantees...11:41
axwanastasiamac: good question/idea. I don't know - I'll check later11:41
=== frankban is now known as frankban|afk
* babbageclunk is popping out, back in a bit20:47

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