/srv/irclogs.ubuntu.com/2014/06/27/#maas.txt

=== CyberJacob is now known as CyberJacob|Away
AskUbuntuSquid Forbidden erro | http://askubuntu.com/q/48868000:42
=== 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
rvbabigjools: thanks for looking into it.07:23
jtvWell done finding the cause of the slowness, bigjools.07:24
* bigjools bows deeply07:24
bigjoolsnot hard once profiled tbh07:25
rvbabigjools: the code change is not that complicated; but the diff makes it look so.07:25
jtvYou got profiling working?07:25
bigjoolsjtv: yes, seem my email to maas-devel07:25
bigjoolssee*07:25
bigjoolsrvba: can we do a quick hangout and you can take me through your branch?07:28
rvbabigjools: sure07:28
bigjoolsrvba: just use daily hangout07:29
rvbak07:29
rvbaallenap: testing your fix from yesterday now: http://d-jenkins.ubuntu-ci:8080/view/MAAS/job/utopic-adt-maas-manual/65/07:29
rvbaallenap: 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:01
gmbrvba: Molto buona!08:02
bigjoolswe need to sort this out too https://bugs.launchpad.net/maas/+bug/131505108:06
ubot5Ubuntu bug 1315051 in MAAS "CNAME changes if host dhcps second nic" [Medium,Triaged]08:06
allenaprvba: \o/08:11
allenaprvba: Thanks for doing that, I really appreciate it.08:11
rvbaallenap: Thank *you* for fixing it!08:11
gmballenap: So ISTM that the best dynamic is this: I find broken things, other people fix them.08:16
=== gmb is now known as breakum-binns
=== breakum-binns is now known as gmb
allenapGraham "I see broken things” Binns08:18
allenapgmb: I’m using IPSet.__contains__(an_ip_address). Was the slow code using __contains__(an_ip_network)?08:18
gmballenap: No it was is_disjoint(IPSet()…)08:19
gmballenap: Could go either way really.08:19
gmballenap: But IPRange seems to be far more efficient08:19
gmbBecause I think it’s just doing maths behind the scenes08:19
AskUbuntuHow do I grant access to someone to a MAAS node which is running a a private network? | http://askubuntu.com/q/48876808:20
gmbWhereas IPSet seems to walk the set.08:20
=== vladk is now known as vladk|offline
rvbaallenap: As expected, the test was successful.  Let's get this branch MPed, reviewed and landed please.08:20
rvba(I'd like to merge trunk and do some more testing of my no-zone-pregeneration branch)08:21
allenaprvba: Okay. I need to write some tests :)08:22
* gmb runs the tests with a deliberately large network… might need to go and cook a roast at this speed…08:23
gmbCrumbs, I might actually have killed my VM by testing with an IPv6 /16…08:25
allenapgmb: 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:25
gmballenap: Load was 30, dropping like a stone now that I’ve kill -9’d the test runner08:27
gmbHah, yes.08:29
gmballenap: New code = 7 seconds with a /16.08:29
gmbOld code … never completed, load 30, moribund VM08:29
allenapgmb: 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
gmblol08:30
gmballenap, rvba, bigjools: For the love: https://code.launchpad.net/~gmb/maas/speed-up-clean_ip_ranges/+merge/22476608:39
* gmb -> off to find a power socket.08:49
=== gmb is now known as breakum-binns
breakum-binnsYay, faster test suite is faster.09:09
=== breakum-binns is now known as gmb
jtv\o/09:24
jtvMaybe we just need the existing code for "do these networks overlap" generalised to network ranges.09:24
=== CyberJacob is now known as CyberJacob|Away
=== vladk|offline is now known as vladk
g0ldr4k3hello everyone10:26
g0ldr4k3bigjools: 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:28
g0ldr4k3bigjools: 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:29
g0ldr4k3bigjools: I'd like to separate the service on more Svr10:31
=== roadmr is now known as roadmr_afk
* gmb -> lunch11:42
=== gmb is now known as breakum-binns
allenapgmb, rvba: Do either of you have time for a review? https://code.launchpad.net/~allenap/maas/ipv6-tftp-compat/+merge/22480512:44
breakum-binnsallenap: Already on it.12:45
breakum-binnsFFS12:45
=== breakum-binns is now known as gmb
* gmb stabs colloquy12:45
allenapgmb: Thanks!12:45
gmballenap: r=me with comments12:53
allenapgmb: Ta muchly.12:53
=== fader_` is now known as fader
=== vladk is now known as vladk|offline
=== jfarschman is now known as MilesDenver
rvbaallenap: 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:51
rvbaallenap: http://paste.ubuntu.com/7711494/14:52
allenaprvba: 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:53
allenapI’ll investigate as soon as I’ve finished reviewing your branch.14:54
rvbaCool.14:55
rharperin maas do tag kernel_opts values concatenate when tagging a machine with more than one tag ?14:56
rvbarharper: No, you can have only one tag with a non-empty kernel_opts field.14:59
rvbaIt's probably a bit suboptimal, please file a bug if this matters to you.14:59
allenaprharper: 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:03
allenaps/defined/defines/15:04
rharperrvba: 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 concat15:08
rvbarharper: like allenap said, it's not the last tag that wins.  It's the first one, sorted by name.15:09
rharperrvba: ah, thanks for the clarification15:10
rharperit appears last in the list of tags when you look at the node on the ui15:10
rharperbut it also is the first alphab-wise as well15:10
allenaprharper: It’s probably being sorted in the UI by database ID instead of name, or not sorted at all. That’s a bug :-/15:11
rharperhehe15:13
rvbaallenap: (re ipv6) yes, ::1 is the loopback address.15:14
allenaprvba: Is CI running as root? Or is it using authbind to allow port 69? Maybe we just need another authbind rule.15:14
rvbaallenap: I /think/ it's running as the jenkins user.15:14
allenapmatsubara: ^15:14
matsubaraallenap, tests run as root15:15
rvbaAh, right, inside the VM the tests run as root.15:15
=== gmb is now known as breakum-binns
rvbaBut the VM itself doesn't run as root on the host machine right?15:16
allenapmatsubara: Is there an IPv6 localhost configured, i.e. ::1 on lo.15:16
allenap?15:16
matsubararvba, nope, the VM is started as the jenkins user15:16
rvbaOkay.  Makes sense.15:16
rvbaallenap: Why did my first test succeed?  Did you change your code significantly after that test?15:17
matsubaraallenap, I'll need to check that but I don't think so (unless is configured by default)15:17
=== jfarschman is now known as MilesDenver
allenaprvba: 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:20
rvbaallenap: yeah, it's probably best if we work out why it's failing.15:22
matsubaraallenap, https://pastebin.canonical.com/112637/15:22
rharperrvba: allenap: bug https://bugs.launchpad.net/maas/+bug/133517515:28
ubot5Ubuntu bug 1335175 in MAAS "maas does not combine kernel_opts when nodes have multiple tags with kernel options" [Undecided,New]15:28
rvbarharper: ta15:29
rharperI'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
rharperis this a maas or a juju bug ?15:33
rharperor both ?15:33
rharperadding 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 tag15:36
rvbaI see.15:36
blake_rrharper: it could be a curtin issue as well15:38
blake_rrharper: curtin could touch /etc/udev.d/75-persistent-net-generator.rules15:38
rharperblake_r: ok, then I'll file it as a maas bug and we can add juju if needed15:39
rharperblake_r: bug  https://bugs.launchpad.net/maas/+bug/133517915:49
ubot5Ubuntu bug 1335179 in MAAS "deploying containers to maas environment breaks with nic renaming" [Undecided,New]15:49
=== vladk is now known as vladk|offline
allenapmatsubara: Is authbind used in the CI virtual machine?16:06
matsubaraallenap, 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 provides16:09
matsubaraallenap, s/packaged/packages/16:11
allenapmatsubara: Ah ha, okay, I’ll look at that then.16:11
matsubaraallenap,     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.yaml16:12
matsubaraallenap, that's from debian/maas-cluster-controller.maas-pserv.upstart16:12
kirklandcan someone help me with a command line "maas" invocation to set the global kernel parameters?16:16
=== breakum-binns is now known as gmb
=== robbiew is now known as robbiew-afk
roaksoaxkirkland: maas admin maas set-config name=kernel_opts value="console=ttyS0"16:32
roaksoaxkirkland: maas <user> maas set-config name=kernel_opts value="console=ttyS0"16:32
kirklandroaksoax: fantastic, thanks16:32
=== 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
AskUbuntuWhen I trey to add new node to MAAS, dose the node need physical internet connection? | http://askubuntu.com/q/48896818:48
=== 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
AskUbuntuHow Can I set the MAAS Network adaptor to do nat on ubuntu 14.04? | http://askubuntu.com/q/48902921:02
=== cmagina_ is now known as cmagina

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