[00:51] roaksoax: how close to the quantal SRU are we? [00:54] bigjools: i uploaded a new verrsion today for quantaul, haven't uploaded a precise one yet [00:54] bigjools: but there's 1 more packaging change i need to make [00:54] and we should be good [00:54] roaksoax: \o/ [00:54] we're testing the precise package in earnest [00:55] a few bugs, but getting there [00:55] I am upload a new one ATM [00:55] uploading* [00:55] bigjools: right, so the most tedious thing is filing SRU bugs [00:55] roaksoax: yeah :( [01:55] bigjools, awake ? [01:55] smoser: of course [01:55] https://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs [01:55] i'm trying to do: [01:55] {{node.architecture|default:"nothing"}} [01:55] in a preseed [01:55] and it says [01:56] we don't use django templates in preseeds [01:56] http://pythonpaste.org/tempita/ [01:56] gah [01:56] :) [01:56] that would be why the trace said 'tempita' :) [01:56] haha [02:01] bigjools, so... 2 things iw ant to do. [02:01] it seems that node.distro_release might be None when evaluated (which generally seems wrong to me) [02:02] and second i want the architecture portion of 'node.architecture' [02:02] (which is 'amd64/generic') [02:02] suggestions on how to do that? [02:02] I don't know why release would be None [02:03] for arch, you can include a python block [02:03] so {{py: .... }} [02:04] you can split on the / [02:04] not None, but renders to empty string [02:05] hmm [02:05] can you see if it's set in the DB? [02:07] bigjools, well, from http://localhost:8080/MAAS/nodes/node-628a5c14-24db-11e2-84ac-d4ae527ac125/preseedview/ [02:08] i'm using {{node.distro_series}} [02:08] how easiest to check the db ? [02:08] sudo maas shell [02:08] from maasserver.models import Node [02:08] thats for an un-allocated node [02:09] one that is "ready" [02:09] for one that is deployed, it does have one [02:09] oh ok, then that makes sense [02:09] if it's not deployed it doesn't have any OS [02:10] it should have the default. [02:10] why? [02:10] what are you trying to do? [02:15] i'm trying to use it. [02:15] and the rendered view of the preseed is broken [02:15] because it doesn't have a value. [02:15] but there is a default value [02:15] so it should have that [02:17] I don't think it's broken based on the intended usage [02:17] what do you need the preseed for, before it's deployed? [02:18] if i dont need it, then why does it show it to me? [02:18] that's not what I asked :) [02:18] if it weren't nicely displayed in the UI, i'd have no argument. [02:18] the info presented is correct [02:19] you could argue that the distro series is not useful though - but it would also be incorrect if it showed the defaut and you then deployed a different series [02:19] well that would clearly be wrong. [02:20] but if it displayed the default, and then deployed the default (because i didn't specifically request something else) that would be right. [02:20] but if i change it, then, well, i changed it, didnt i [02:21] not a terribly large deal, but if this is something that is surfaced to users (which it generally ise) then it is confusing at best to have "" there. when there is (i think) a system wide default. [02:21] I think your expectations are different to mine here. That's not to say you're wrong, just different. It's an interesting problem. === jonas_ is now known as Guest82921 === rnbrady_ is now known as rnbrady === jonas_ is now known as Guest70663 === matsubara is now known as matsubara-lunch [15:45] roaksoax: thanks for the backport of raphael js. I've tested the package in -proposed. It fixes the apparmor problem all right. [15:46] rvba: awesome then! I can start taking care of filing SRU bugs then [15:47] roaksoax: the package of python-django that Julian has put in the experimental ppa is also fine. [15:48] rvba: alright, I need to review that and make sure we can SRU it [15:48] rvba: i believe he put a patch which is upstream and not fixed in raring? [15:48] roaksoax: I hope you'll succeed because we need it ;). Well, technically, there is a last resort option but the SRU would be much better. [15:49] roaksoax: he has backported a new utility method 'prefetch_related' that we need to optimise SQL queries. [15:50] roaksoax: he has backported the fix for 16937. [15:50] roaksoax: https://code.djangoproject.com/ticket/16937 [15:50] Django bug 16937 in Database layer (models, ORM) "Prefetch related objects" [Normal,Closed] [15:55] rvba: right, nt is that right but is that part of django in precise? [15:55] err [15:55] i mean in raring? [15:55] It's part of Django 1.4 which is in Quantal [15:56] rvba: oh ok, so it is easy to SRU then [15:56] Cool === matsubara-lunch is now known as matsubara === rnbrady_ is now known as rnbrady [18:53] greetings maas devs === pcarrier_ is now known as pcarrier === matsubara is now known as matsubara-afk