=== CyberJacob is now known as CyberJacob|Away [00:42] Squid Forbidden erro | http://askubuntu.com/q/488680 === cmagina_ is now known as cmagina === wgrant_ is now known as wgrant === CyberJacob|Away is now known as CyberJacob === vladk|offline is now known as vladk === roadmr_afk is now known as roadmr === roadmr is now known as roadmr_afk === roadmr_afk is now known as roadmr [07:23] bigjools: thanks for looking into it. [07:24] Well done finding the cause of the slowness, bigjools. [07:24] * bigjools bows deeply [07:25] not hard once profiled tbh [07:25] bigjools: the code change is not that complicated; but the diff makes it look so. [07:25] You got profiling working? [07:25] jtv: yes, seem my email to maas-devel [07:25] see* [07:28] rvba: can we do a quick hangout and you can take me through your branch? [07:28] bigjools: sure [07:29] rvba: just use daily hangout [07:29] k [07:29] allenap: testing your fix from yesterday now: http://d-jenkins.ubuntu-ci:8080/view/MAAS/job/utopic-adt-maas-manual/65/ [08:01] allenap: gmb: Test in the CI lab is not finished yet… but we've passed the point where it was failing yesterday so I'm reasonably optimistic allenap's branch is sound. [08:02] rvba: Molto buona! [08:06] we need to sort this out too https://bugs.launchpad.net/maas/+bug/1315051 [08:06] Ubuntu bug 1315051 in MAAS "CNAME changes if host dhcps second nic" [Medium,Triaged] [08:11] rvba: \o/ [08:11] rvba: Thanks for doing that, I really appreciate it. [08:11] allenap: Thank *you* for fixing it! [08:16] allenap: So ISTM that the best dynamic is this: I find broken things, other people fix them. === gmb is now known as breakum-binns === breakum-binns is now known as gmb [08:18] Graham "I see broken things” Binns [08:18] gmb: I’m using IPSet.__contains__(an_ip_address). Was the slow code using __contains__(an_ip_network)? [08:19] allenap: No it was is_disjoint(IPSet()…) [08:19] allenap: Could go either way really. [08:19] allenap: But IPRange seems to be far more efficient [08:19] Because I think it’s just doing maths behind the scenes [08:20] How do I grant access to someone to a MAAS node which is running a a private network? | http://askubuntu.com/q/488768 [08:20] Whereas IPSet seems to walk the set. === vladk is now known as vladk|offline [08:20] allenap: As expected, the test was successful. Let's get this branch MPed, reviewed and landed please. [08:21] (I'd like to merge trunk and do some more testing of my no-zone-pregeneration branch) [08:22] rvba: Okay. I need to write some tests :) [08:23] * gmb runs the tests with a deliberately large network… might need to go and cook a roast at this speed… [08:25] Crumbs, I might actually have killed my VM by testing with an IPv6 /16… [08:25] gmb: That’s going to take an awfully long time to complete. You’ve got time to start a farm and the breed the livestock before you start the roast. [08:27] allenap: Load was 30, dropping like a stone now that I’ve kill -9’d the test runner [08:29] Hah, yes. [08:29] allenap: New code = 7 seconds with a /16. [08:29] Old code … never completed, load 30, moribund VM [08:30] gmb: If we were American I’d do a high-5, but as we’re British we’ll have to make do with a virtual belly barge. [08:30] lol [08:39] allenap, rvba, bigjools: For the love: https://code.launchpad.net/~gmb/maas/speed-up-clean_ip_ranges/+merge/224766 [08:49] * gmb -> off to find a power socket. === gmb is now known as breakum-binns [09:09] Yay, faster test suite is faster. === breakum-binns is now known as gmb [09:24] \o/ [09:24] Maybe we just need the existing code for "do these networks overlap" generalised to network ranges. === CyberJacob is now known as CyberJacob|Away === vladk|offline is now known as vladk [10:26] hello everyone [10:28] bigjools: coming back with about MaaS RC and CC while I'm reading the guide I found this "maas-cluster-controller - controls a group (“cluster”) of nodes including DHCP management." the link is https://maas.ubuntu.com/docs/install.html#pkg-install. For that I thought that CC manages the nodes. [10:29] bigjools: anyway I've try to install maas-region-controller's package via apt on a clear Ubuntu Svr, but received the same error during the installer. [10:31] bigjools: I'd like to separate the service on more Svr === roadmr is now known as roadmr_afk [11:42] * gmb -> lunch === gmb is now known as breakum-binns [12:44] gmb, rvba: Do either of you have time for a review? https://code.launchpad.net/~allenap/maas/ipv6-tftp-compat/+merge/224805 [12:45] allenap: Already on it. [12:45] FFS === breakum-binns is now known as gmb [12:45] * gmb stabs colloquy [12:45] gmb: Thanks! [12:53] allenap: r=me with comments [12:53] gmb: Ta muchly. === fader_` is now known as fader === vladk is now known as vladk|offline === jfarschman is now known as MilesDenver [14:51] allenap: I see you landed your ipv6-twisted branch but the build is still broken. This is weird since my test from this morning was successful. [14:52] allenap: http://paste.ubuntu.com/7711494/ [14:53] rvba: Ah, that’s interesting. I changed the code to only avoid link-local addresses. ::1:69 is a new thing to me. I wonder if it’s meant to be [::1]:69, i.e. 69 is the port? [14:54] I’ll investigate as soon as I’ve finished reviewing your branch. [14:55] Cool. [14:56] in maas do tag kernel_opts values concatenate when tagging a machine with more than one tag ? [14:59] rharper: No, you can have only one tag with a non-empty kernel_opts field. [14:59] It's probably a bit suboptimal, please file a bug if this matters to you. [15:03] rharper: The first tag, lexicographically, that defined kernel options is used, and these override the global kernel options. I agree this isn’t super-duper. [15:04] s/defined/defines/ [15:08] rvba: allenap: ok -- yeah, it seems the last tag applied with kernel_ops wins -- which is OK for now, I just superset my tags, but yes, it would be very good to allow to compose kernel params based on tag concat [15:09] rharper: like allenap said, it's not the last tag that wins. It's the first one, sorted by name. [15:10] rvba: ah, thanks for the clarification [15:10] it appears last in the list of tags when you look at the node on the ui [15:10] but it also is the first alphab-wise as well [15:11] rharper: It’s probably being sorted in the UI by database ID instead of name, or not sorted at all. That’s a bug :-/ [15:13] hehe [15:14] allenap: (re ipv6) yes, ::1 is the loopback address. [15:14] rvba: Is CI running as root? Or is it using authbind to allow port 69? Maybe we just need another authbind rule. [15:14] allenap: I /think/ it's running as the jenkins user. [15:14] matsubara: ^ [15:15] allenap, tests run as root [15:15] Ah, right, inside the VM the tests run as root. === gmb is now known as breakum-binns [15:16] But the VM itself doesn't run as root on the host machine right? [15:16] matsubara: Is there an IPv6 localhost configured, i.e. ::1 on lo. [15:16] ? [15:16] rvba, nope, the VM is started as the jenkins user [15:16] Okay. Makes sense. [15:17] allenap: Why did my first test succeed? Did you change your code significantly after that test? [15:17] allenap, I'll need to check that but I don't think so (unless is configured by default) === jfarschman is now known as MilesDenver [15:20] rvba: I changed it to exclude link-local addresses, instead of only including all IPv4 and a limited subset of IPv6 addresses. The IPv6 localhost would have been excluded before. I can change it again, but I’m puzzled as to why it’s a problem. [15:22] allenap: yeah, it's probably best if we work out why it's failing. [15:22] allenap, https://pastebin.canonical.com/112637/ [15:28] rvba: allenap: bug https://bugs.launchpad.net/maas/+bug/1335175 [15:28] Ubuntu bug 1335175 in MAAS "maas does not combine kernel_opts when nodes have multiple tags with kernel options" [Undecided,New] [15:29] rharper: ta [15:33] I've got a node that when it's started, it does nic renaming (eth0 -> em1) (trusty amd64 on some hp box) -- this is fine for most cases, but when we attempt to start a container on the machine, it fails because br0 isn't available (it was configured to make br0 out of eth0, which is now em1) [15:33] is this a maas or a juju bug ? [15:33] or both ? [15:36] adding net.ifnames=1 biosdevname=0 to the kernel_opts tag of the node fixes it, but that's where I ran into the bug I just filed as I need other options from another tag [15:36] I see. [15:38] rharper: it could be a curtin issue as well [15:38] rharper: curtin could touch /etc/udev.d/75-persistent-net-generator.rules [15:39] blake_r: ok, then I'll file it as a maas bug and we can add juju if needed [15:49] blake_r: bug https://bugs.launchpad.net/maas/+bug/1335179 [15:49] Ubuntu bug 1335179 in MAAS "deploying containers to maas environment breaks with nic renaming" [Undecided,New] === vladk is now known as vladk|offline [16:06] matsubara: Is authbind used in the CI virtual machine? [16:09] allenap, If that's used by the services installed by the maas packaged, then yes. The CI VM doesn't do anything other than what the package provides [16:11] allenap, s/packaged/packages/ [16:11] matsubara: Ah ha, okay, I’ll look at that then. [16:12] allenap, exec /usr/bin/authbind --deep /usr/bin/twistd -n --uid=maas --gid=maas --pidfile=/run/maas-pserv.pid --logfile=/dev/null maas-pserv --config-file=/etc/maas/pserv.yaml [16:12] allenap, that's from debian/maas-cluster-controller.maas-pserv.upstart [16:16] can someone help me with a command line "maas" invocation to set the global kernel parameters? === breakum-binns is now known as gmb === robbiew is now known as robbiew-afk [16:32] kirkland: maas admin maas set-config name=kernel_opts value="console=ttyS0" [16:32] kirkland: maas maas set-config name=kernel_opts value="console=ttyS0" [16:32] roaksoax: fantastic, thanks === matsubara is now known as matsubara-lunch === cmagina_ is now known as cmagina === roadmr_afk is now known as roadmr === CyberJacob|Away is now known as CyberJacob === vladk|offline is now known as vladk === matsubara-lunch is now known as matsubara [18:48] When I trey to add new node to MAAS, dose the node need physical internet connection? | http://askubuntu.com/q/488968 === jfarschman is now known as MilesDenver === jfarschman is now known as MilesDenver === jfarschman is now known as MilesDenver === CyberJacob is now known as CyberJacob|Away === vladk is now known as vladk|offline [21:02] How Can I set the MAAS Network adaptor to do nat on ubuntu 14.04? | http://askubuntu.com/q/489029 === cmagina_ is now known as cmagina