=== CyberJacob is now known as CyberJacob|Away === jfarschman is now known as MilesDenver === jfarschman is now known as MilesDenver [02:30] jtv: I realised why our tests are so slow to start up - it's doing migrations. I wonder if we can avoid them for test runs? [02:30] We can, but it's one of the two things that are hard. [02:30] We can "cache the schema." [02:32] I'm not sure but the South test runner may be doing this for us already, between tests in a single run. [02:32] Two ways of doing it spring to mind: template database, or SQL dump. [02:33] When you create a database in postgres, it basically copies a template. You can choose the template, but of course it defaults to the built-in template. === cmagina_ is now known as cmagina [02:37] we could create a template every time a schema change is checked in [02:37] create/modify whatever [02:38] jtv: did you see my email to maas-devel about migrations? [02:38] backporting thereof [02:38] * jtv looks [02:39] I'm never quite sure how South is going to barf at me [02:39] I can add a new migration in 1.6 as allenap suggested, but I think it would need to go in trunk as well, which negates its usefulness === jfarschman is now known as MilesDenver === jfarschman is now known as MilesDenver === jfarschman is now known as MilesDenver [05:11] jtv: any ideas with this? https://bugs.launchpad.net/maas/+bug/1354309 [05:11] Ubuntu bug 1354309 in MAAS "metadata request fails during node commission" [Undecided,New] === jfarschman is now known as MilesDenver === jfarschman is now known as MilesDenver === CyberJacob|Away is now known as CyberJacob [06:46] bigjools: first impression is it's an excellent bug report. Looking into it. [06:58] Infuriating that the traceback barely contains a hint of our code. Hard to figure out what's going on. === jfarschman is now known as MilesDenver === CyberJacob is now known as CyberJacob|Away [08:23] bigjools: I forgot all about the fact that people running 1.5 will want to upgrade at some point, therefore we need continuity in migrations. === jfarschman is now known as MilesDenver [08:24] allenap: pesky upgraders [08:24] allenap: while you're here [08:24] periodic lease uploading service - I think I need a new RPC for that since we want to replace the API call for this, right? [08:25] at least I don't think we can shortcut this because pserv doesn't have the cluster secrets [08:26] bigjools: Once we have mutual authn between clusters and regions (using TLS) we can have a RPC call to just ask for the secrets. [08:26] That might be quicker right now. [08:26] Seeing as we need the authn bits. [08:26] allenap: mmyes. arse [08:26] ok, how do we do this... let's chat on the hangout [08:26] Okeydoke. === jfarschman is now known as MilesDenver === jfarschman is now known as MilesDenver === jfarschman is now known as MilesDenver === jfarschman is now known as MilesDenver === jfarschman is now known as MilesDenver === jfarschman is now known as MilesDenver [15:41] gmb: I see metadataserver/__init__.py still uses Python's logging module directly instead of using the utility you've added during the sprint… is that okay or should we change that? [15:43] gmb: the CI is failing with a different error now: we expect the images for i386 to be imported and they aren't anymore (I'm guessing someone changed the default set of images to be imported). [15:45] blake_r: ping [15:48] rvba: Do you know why I’d get byte strings from MACAddress.mac_address instead of a MAC instance? [15:55] rvba: Don’t worry, I’ll just do unicode(instance_of_MACAddress) which seems to have been created to deal with this. [15:56] rvba: We should change the logging thing. I’ll do a branch now. I’ll look into the CI issue, too. [15:56] allenap: all right. [15:56] gmb: see the email I sent (to blake_r). [15:57] rvba: Okay, thx [16:10] gmb: bzr grep "import logging" [16:11] says there are still a couple of places that use logging directly [16:26] so shouldn't all the branches we are landing noew include proper logging? [16:26] are we doing that? === cmagina_ is now known as cmagina === roadmr is now known as roadmr_afk === roadmr_afk is now known as roadmr === jfarschman is now known as MilesDenver === jfarschman is now known as MilesDenver