=== Spideyman is now known as Spideyman_afk === freeflying_away is now known as freeflying === Spideyman_afk is now known as Spideyman === freeflying is now known as freeflying_away === freeflying_away is now known as freeflying === CyberJacob|Away is now known as CyberJacob [07:21] mwhudson: poke about your recent patches [07:50] gmb: I'm done with the commissioning tests; where are you at with the enlistment test? We should probably briefly talk about that because I suspect those tests are almost identical. [07:51] Re: "allenap | 17:58:18> rvba: What's the direct_network setting for in maas-test?" [07:52] allenap: that's the definition of the node's network, the one MAAS' DHCP manages. If you leave it blank '192.168.2.0/24' will be used, but you might want to use a specific network for some reason, hence the presence of the (optional) parameter. [07:57] gmb: commissioning *test* [08:01] rvba: can gmb give you his tests migration task? I want him to sort out a caching proxy. [08:01] bigjools: no problem [08:01] Cool. [08:01] rvba: you are great [08:02] rvba: I haven't gotten much further than the code you passed me yesterday — it was close to my EoD and the MTTF on this has been killing me. [08:02] now, I need to know why allenap put "str=None" in the templates for our code [08:02] bigjools: To force us to use unicode and byte strings? [08:02] since I think I need it to convert a byte to a char [08:02] Ew. [08:03] more to the point, I have a bytes buffer from a DHCP server [08:03] and 4 of those bytes are an IP address I want to get out of it [08:03] str(byte) works perfectly. [08:03] gmb: all right, no worries. Like I said, the enlistment test is very similar to the commissioning test. I'm counting on you for the review though ;) [08:03] rvba: Deal. [08:04] rvba: bigjools and I have agreed that I'm about to engage in anger-driven development to make maas-test faster — or at least more informative. [08:04] * gmb *cracks knuckles* [08:04] Sounds like a very good idea. [08:04] * bigjools winces [08:05] rvba: yeah it sounds like you are hacking around slowness at the moment [08:05] Indeed. [08:05] hence me wanting gmb to do this proxy [08:05] since I believe that's what everyone said was best ;) [08:06] I agree :). [09:22] bigjools: bytes is a synonym for str in Python 2. [09:25] allenap: I can't do a straight replacement though, my code fails [09:25] good morning BTW === freeflying is now known as freeflying_away [09:25] bigjools: Morning! Want to share you code and I'll take a look? [09:26] allenap: in Python3 I can do: [09:26] buffer = b'\x10\x00\x00\xaa' [09:27] and then something like [09:27] '.'.join(str(byte) for byte in buffer) [09:27] et voila I get an IP [09:35] jam: oops, bed time [09:35] mwhudson: np. I think I've queued all your stuff to land === freeflying_away is now known as freeflying [10:05] allenap: gah only python3 has an ipaddress module [10:05] bigjools: just use netaddr then. [10:05] (If that suits your needs) [10:06] rvba: where? [10:06] What do you mean "where?"? [10:06] where is netaddr? [10:07] hmm maybe socket.inet_ntoa [10:07] We use it in MAAS already. [10:08] http://pythonhosted.org/netaddr/ [10:08] >>> socket.inet_ntoa(buffer[245:249]) [10:08] '16.0.0.170' [10:08] \o/ [10:09] allenap: FYI ^ [10:09] bigjools: Yay! [10:11] allenap: is it worth me taking the time to make a class look like a byte buffer or should I just stick with a property on the class to get the buffer out ...? [10:20] allenap: also this worked: '.'.join('%d' % ord(char) for char in buffer[245:249]) [10:20] * bigjools EODs [10:22] bigjools: Stick a property on. [10:57] rvba: mass-test took 34m41.123s from start to test_dummy() on Canonistack lcy01. Haven't got timings for individual components yet but packages + PXE files definitely took the longest, anecdotally. [10:57] That was with trunk, btw. [11:30] gmb: it took 40m5.924s to running locally (and I don't have the same bandwidth canonistack has *including* the enlistment and the commissioning tests. [11:30] gmb: care to have a look btw? https://code.launchpad.net/~rvb/maas-test/real-tests/+merge/195748 [11:47] rvba: Interesting. And it looks like uvt-kvm create tends to get stuck in a read() for long periods of time; can't figure out why yet. [11:47] rvba: Anyway, I'll look at your branch now. [12:04] * gmb -> lunch and errands [13:35] I just installed ubuntu MAAS, logged in for the first time to the web gui, and it says I have no boot images [13:36] how do I get them, do i do it from the gui or from command line? [13:36] cos I don't want to break my srv [13:41] http://pastebin.com/ncnDLfjV [13:41] anyone? [13:41] look at that and help humpy [13:43] it's ok, false alarm... i googled it [13:43] ;D [13:54] HumpyDumpy, yes, you can trigger that with the command line or from the gui. (through the cli, run as root maas-import-pxe-files or click the Import boot images in the web ui) [13:54] yay, someone woke up [13:55] what PXE settings do I need in my windows dhcp to make MAAS work? [13:57] OMG how many boot files are there [13:58] >:( === Beret- is now known as Beret === adam_g is now known as adam_g_afk === jamespag` is now known as jamespage [16:28] i got my first srv up and running, trying to add a node to it, the node is accepted and ready to do it's thing, but i can't PXE boot it, it's timing out. [16:29] they talk about avahiboot but i can't find anything on it [16:29] i added in my dhcp the boot ip for the maas srv and filename === CyberJacob is now known as CyberJacob|Away [16:57] i had to restart the pserv [16:57] ;D [16:58] i got a node installed now [16:58] woot === _jmp__ is now known as _jmp_ === CyberJacob|Away is now known as CyberJacob === mwhudson- is now known as mwhudson [21:57] HumpyDumpy: looking at backscroll, I suggest you read http://maas.ubuntu.com/docs === freeflying is now known as freeflying_away === CyberJacob is now known as CyberJacob|Away