/srv/irclogs.ubuntu.com/2014/02/20/#maas.txt

=== CyberJacob is now known as CyberJacob|Away
jtvbigjools: looks like "make lint" is broken in a really weird way...  tries to run "tail" on lp:~maas-maintainers/maas/packaging/debian/changelog (not even head, which would seem to make more sense)02:14
bigjoolsjtv: whut02:16
bigjoolsjtv: oh ARGH02:17
bigjoolsmy change has a boo boo02:17
* bigjools fixes02:17
jtvAh, it's all "make" attempts that get this — it's just that the message is sometimes drowned out by other output.02:23
bigjoolsjtv: yes, I was convinced by Gavin to use the lp branch but forgot it needs checking out somewhere ...02:24
bigjoolsso I've gone back to the old way for now until I figure out a sensible approach02:24
bigjoolsjtv: just got a random test failure02:35
bigjoolsERROR: maasserver.models.tests.test_node.NodeManagerTest.test_node_can_be_multiple_networks02:36
bigjoolsValidationError: {'vlan_tag': [u'Network with this Vlan tag already exists.']}02:36
jtvlemme look02:36
jtvAigh.02:37
jtvNastiness.02:37
jtvNot much we can do about that one I suspect.02:38
jtvUnless...02:38
jtvWe could start writing "plural" factory methods.02:38
jtv"Make me <n> networks."02:38
jtvWhich would then be responsible for preventing these clashes.02:38
bigjoolsjtv: do you know how to conditionally set a variable in Makefile? It evaluates everything on startup, even stuff inside a target02:48
bigjoolsI tried some shell but the value gets thrown away after...02:48
jtvNo, haven't had time to mess with that stuff for years...  Gavin's the one to ask.02:48
* jtv used to be knee-deep in GNU Make.02:49
bigjoolsme too02:49
bigjoolsnot done one from scratch for 8 yuears02:49
jtvThe friend and former colleague who showed me how to set up all the really hard stuff isn't even alive any more...02:50
jtvDidn't quite get to see his 20th anniversary with Debian.  :(02:51
jtvI don't suppose we care if our Makefile is GNU-specific.02:52
bigjoolsvictory is mine03:18
jtvNo!  I saw it first!03:19
jtvEr, what?03:19
bigjoolsmakefile victory03:31
bigjoolsit's looking nice now03:31
bigjoolsbranch forthcoming03:31
jtvBut does it work?03:31
bigjoolsyes!03:31
jtvReview also forthcoming.03:31
jtvOnce you let me know the MP is ready, of course.03:31
=== freeflying is now known as freeflying_away
=== mwhudson is now known as zz_mwhudson
=== freeflying_away is now known as freeflying
bigjoolsjtv: https://code.launchpad.net/~julian-edwards/maas/makefile-packaging-target/+merge/20734803:39
jtvComing right up.03:40
bigjoolsthe only thing I know will fail is if you have no-trees on by default (like me) when branching03:43
bigjoolsbut there's no option that's the opposite of --no-tree on branch :(03:43
bigjoolsjtv: what is that migration actually changing in PG?06:10
bigjoolsI can't see any change06:10
bigjoolsother than the django field name06:10
jtvIt might change it from a fixed-length varchar to a regular varchar.06:11
jtvBut yes, this is more of a UI change.  Did anyone mention lately that the layers get a little muddled in Django?06:11
bigjoolsjtv: django does not do varchar06:12
bigjoolseverything is fixed06:13
jtvWell... it creates varchar fields.06:13
jtvBut of fixed lenghts.06:13
bigjoolslook at the migration, nothing changed!06:13
jtvIt's called "varchar" because nul-terminating strings was a novel thing at the time.06:13
bigjoolsheh06:13
jtvSpace-padding used to be quite normal and socially acceptable.06:13
jtvNow, I hesitate to mention it in public.06:13
jtvArgh!  Yup, it's still 255 characters wide.  Damn.06:14
bigjoolsI think the field is only used as a hint for the UI06:15
jtvThe difference in field width is, yes.06:15
jtvI mean06:15
jtvsorry06:15
jtvThe difference in field _type_.06:16
bigjoolsyes06:16
jtvWant me to bump up the inanely fixed maximum size?06:16
jtvOh wait, it looks like you _can_ remove that size on a TextField, and get a proper varchar!06:17
bigjools!06:27
jtvUnstoppable progress.  Plunging head-first into the 1990s.06:33
bigjoolsDjango - unchained06:40
jtvbigjools: I updated my multiline-network-description branch with the unlimited description size.  Could you give it another go?06:56
bigjoolsjtv: done06:57
jtvThanks.06:57
bigjoolsjtv: make sure input is sanitised before display06:57
bigjoolsdon't want another xss06:57
jtvThat's what I added that test for.06:58
jtvDon't know why that wasn't tested in the original Vlan class, but the <pre> doesn't really change anything there.06:58
bigjoolsok07:01
jtvrvba: better get landing.  :)07:09
rvbajtv: landing my branches now.07:11
jtv\o/07:11
rvbajtv: I've got another one up for review: https://code.launchpad.net/~rvb/maas/network-mac-link-net-page/+merge/20721007:11
jtvOn it.07:11
bigjoolshey rvba07:12
rvbaThanks.07:12
rvba\o bigjools07:12
=== CyberJacob|Away is now known as CyberJacob
rvbajtv: rarg, you landed a migration.  It's conflicting with my branch… I'm fixing my branch now…07:56
jtvOh!  Yes...  I didn't realise we'd be clashing for a migration number.  Very sorry.07:57
jtvbigjools: any chance you could look at this MP?  https://code.launchpad.net/~jtv/maas/enlist-restore-avahi-code/+merge/20736207:58
bigjoolsjtv: sorry dinner time, later if nobody beat me to it08:11
bigjoolsand I was OTP before08:11
rvbajtv: I'll have a look in just a sec.08:11
rvbaFixing the migration first.08:11
rvba(Was OTP before too)08:11
=== CyberJacob is now known as CyberJacob|Away
rvbajtv: conflict in https://code.launchpad.net/~jtv/maas/api-connect_macs/+merge/20737410:18
bigjools    from maasserver import messages10:23
bigjoolsImportError: cannot import name messages10:23
bigjoolsloads of that when I run tests on trusty10:23
jtvGrrr10:25
jtvbigjools: got the packaged apiclient installed?10:25
jtvNeed to remove that.10:25
bigjoolsoh problaby.... meh10:26
jtvSometimes I think we need not just a file with requirements but one with antirequirements as well.10:26
jtv"If you have any of these installed, things will break."10:26
bigjoolsI wonder if we can fix this one day10:27
bigjoolsit's useful to have packages installed as well10:27
jtvYes...  I wonder why the branch versions don't simply take precedence over installed packages.10:28
rvbajtv: I guess a cleanup branch is in order to use the new make_networks() factory method in all the code I just landed.10:33
jtvrvba: always nice!10:33
jtvrvba: want me to do it?10:35
rvbajtv: if you don't mind.  I'd like to work on the "Disallow single MAC on multiple non-VLAN networks" task.10:36
rvbaIt's not trivial.  Requires the introducing of form-level validation where we don't even use forms.10:37
jtv:-/10:40
argeshi. is there some docs on xinstall_preseed with curtin? i'd like to be able to use the fastpath installer and then install an hwe kernel on a maas node. Thanks14:21
argeshttp://astokes.org/customizing-fastpath-curtin-installations/ answers it14:35
=== freeflying is now known as freeflying_away
=== chuck_ is now known as zul
evilnickveitchhello. does the tftp server for images live on the cluster controller or the region controller?19:01
roadmrevilnickveitch: methinks it lives on the cluster controller, but I'm just speculating19:02
evilnickveitchthe docs tend to suggest it does, but if i configure rgion controller to a different address, the tftp server seems to disappear too19:03
evilnickveitchbut thanks for your speculation roadmr  :)19:03
roadmroops :( that I have no idea, I have both on the same hardware19:04
=== CyberJacob|Away is now known as CyberJacob
=== zz_mwhudson is now known as mwhudson
ccopedoes anyone know if Canonical sells support for MAAS?19:22
ccopenvm found it in a pdf, the answer is yes19:46
=== mwhudson is now known as zz_mwhudson
=== zz_mwhudson is now known as mwhudson
=== kevin is now known as Guest24427
=== CyberJacob_ is now known as cyberJacob_
=== cyberJacob_ is now known as CyberJacob_
=== CyberJacob_ is now known as cyberjacob_
=== cyberjacob_ is now known as CyberJacob
=== CyberJacob is now known as CyberJacob_
=== CyberJacob_ is now known as CyberJacob
=== tooth_ is now known as tooth
=== ppetraki_ is now known as ppetraki
=== freeflying_away is now known as freeflying
bigjoolsevilnickveitch: yes the images all live on the cluster23:49
bigjoolsbut the cluster needs to talk to the region to ascertain the kernel params and whatnot23:50
=== CyberJacob is now known as CyberJacob|Away

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