/srv/irclogs.ubuntu.com/2014/08/15/#maas.txt

=== CyberJacob is now known as CyberJacob|Away
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
bigjoolsjtv: 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
jtvWe can, but it's one of the two things that are hard.02:30
jtvWe can "cache the schema."02:30
jtvI'm not sure but the South test runner may be doing this for us already, between tests in a single run.02:32
jtvTwo ways of doing it spring to mind: template database, or SQL dump.02:32
jtvWhen 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.02:33
=== cmagina_ is now known as cmagina
bigjoolswe could create a template every time a schema change is checked in02:37
bigjoolscreate/modify whatever02:37
bigjoolsjtv: did you see my email to maas-devel about migrations?02:38
bigjoolsbackporting thereof02:38
* jtv looks02:38
bigjoolsI'm never quite sure how South is going to barf at me02:39
bigjoolsI 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 usefulness02:39
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
bigjoolsjtv: any ideas with this? https://bugs.launchpad.net/maas/+bug/135430905:11
ubot5Ubuntu bug 1354309 in MAAS "metadata request fails during node commission" [Undecided,New]05:11
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== CyberJacob|Away is now known as CyberJacob
jtvbigjools: first impression is it's an excellent bug report.  Looking into it.06:46
jtvInfuriating that the traceback barely contains a hint of our code.  Hard to figure out what's going on.06:58
=== jfarschman is now known as MilesDenver
=== CyberJacob is now known as CyberJacob|Away
allenapbigjools: I forgot all about the fact that people running 1.5 will want to upgrade at some point, therefore we need continuity in migrations.08:23
=== jfarschman is now known as MilesDenver
bigjoolsallenap: pesky upgraders08:24
bigjoolsallenap: while you're here08:24
bigjoolsperiodic lease uploading service - I think I need a new RPC for that since we want to replace the API call for this, right?08:24
bigjoolsat least I don't think we can shortcut this because pserv doesn't have the cluster secrets08:25
allenapbigjools: 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
allenapThat might be quicker right now.08:26
allenapSeeing as we need the authn bits.08:26
bigjoolsallenap: mmyes.  arse08:26
bigjoolsok, how do we do this... let's chat on the hangout08:26
allenapOkeydoke.08:26
=== 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
rvbagmb: 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:41
rvbagmb: 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:43
rvbablake_r: ping15:45
allenaprvba: Do you know why I’d get byte strings from MACAddress.mac_address instead of a MAC instance?15:48
allenaprvba: Don’t worry, I’ll just do unicode(instance_of_MACAddress) which seems to have been created to deal with this.15:55
gmbrvba: We should change the logging thing. I’ll do a branch now. I’ll look into the CI issue, too.15:56
rvbaallenap: all right.15:56
rvbagmb: see the email I sent (to blake_r).15:56
gmbrvba: Okay, thx15:57
rvbagmb: bzr grep "import logging"16:10
rvbasays there are still a couple of places that use logging directly16:11
roaksoaxso shouldn't all the branches we are landing noew include proper logging?16:26
roaksoaxare we doing that?16:26
=== 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

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