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

rmiguelhi friends, I have doubts concerning the nodes maas, the documentation does not make clear what procedure to be performed after the MAAS set the IP SERVER, NODE in the installation, after which it shuts the machine automoticatimente and does not proceed to installation of the NODE .00:20
rmiguelGrateful for help00:21
bigjoolsrmiguel: hi00:21
rmiguelHi00:21
bigjoolsthe node goes through different states:00:22
bigjoolsStarts life as "declared".  When you hit "accept" it will transition to "commissioning" and turns on, does some tests, and shuts off, then goes to "Ready"00:22
bigjoolsWhen it's in the "Ready" state it will become available as a resource for clients.  When you hit "start" in the UI, or it gets used by Juju, its state changes to "allocated"00:23
bigjoolsat that point an OS is installed00:23
bigjoolsand it reboots after installation00:23
bigjoolsdoes this help?00:23
rmiguelyes, the name is in another virtual machine.  I'm using vmware virtualizer00:26
rmiguel*node00:26
rmiguelMy station node in state commissioning00:28
rmiguelmy nodes are in state commissioning00:28
rmiguelwhich and the procedure to be done now.00:29
chris38home__rmiguel, are you sure they started to run , how do ypu make them  start in the power on config ?00:31
chris38home__you have to be sure the wm will net boot on the corntroler node00:33
* chris38home__ away00:34
rmiguela question which this service dhcp documentation guides to do, is essential for the operation of nodes?00:36
rmiguelIn my setup it did not set, I'm using my network cards in NAT.00:38
bigjoolsrmiguel: you must have DHCP set up correctly00:45
bigjoolsmaas will not work without it00:45
bigjoolshttp://maas.ubuntu.com/docs/install.html#configure-dhcp00:46
rmiguelOK Bigjools,  I'll make the necessary settings in case you need to ask questions back.00:48
rmiguelThank you for your attention.00:48
bigjoolsrmiguel: no problem00:50
=== freeflying is now known as freeflying_away
bigjoolsroaksoax: I did an FFE https://bugs.launchpad.net/ubuntu/+source/maas/+bug/128188103:10
ubot5Launchpad bug 1281881 in MAAS "FFE: maas support for third party hardware drivers" [Critical,Triaged]03:10
=== freeflying_away is now known as freeflying
bigjoolsjtv: which migration had the vlan tag !null change?04:20
jtvI think it was 66, but lemme look.04:21
bigjools            ('vlan_tag', self.gf('django.db.models.fields.PositiveSmallIntegerField')(unique=True, null=True, blank=True)),04:22
jtvYup.04:22
bigjoolsso it was applied locally04:22
jtvI think what may have happened is:04:22
bigjools vlan_tag    | smallint               | not null04:22
bigjoolsWTF04:22
jtv1. You installed a development version with revision 66, which creates that table.04:22
jtv2. I wrote a migration that made the column nullable.04:23
jtv3. You told me to merge my new migration into migration 66.04:23
bigjoolsI don't use dev versions on this box04:23
jtvIt could still have produced a daily build, wouldn't it?04:23
bigjoolsoh, yes04:23
bigjoolsquite probably04:23
bigjoolsok04:23
jtvAnd so you already have schema version 66, but it's the old version of version 66.04:24
bigjoolsok04:24
jtvOne feature I would still have loved to add for networks is bulk actions.04:24
jtv"Connect all these nodes to network: <network>"04:24
jtv"Disconnect all selected nodes from: <network>"04:25
jtvSince we know how to do that kind of thing now.04:25
=== freeflying is now known as freeflying_away
bigjoolsmaasdb=# alter table maasserver_network alter column vlan_tag drop not null;04:26
jtvYes, that should do it.04:26
jtvAssuming that's the only other change that got merged into that schema migration.04:27
bigjoolsyeah04:27
jtvYou see why I like to keep those migration steps separate even if it gets messy.04:27
bigjoolsI do04:32
bigjoolsbut the damage is limited to daily PPA users04:32
bigjoolsand it's advertised as dangerous to use04:32
bigjoolsso I don't care so much04:32
jtvJust a stupid time sink.  Surprising that it still bites you so long after.04:33
jtvDaily-build installs probably need regular fresh reinstalls.04:33
bigjoolsjtv: the commissioning script display is excellent work dude04:35
jtvThanks!04:35
jtvI was chuffed to bits with Gavin's review, apologetic though he was about it.04:36
jtvIt really wasn't so nice to look at before that.04:36
bigjoolsI am sending an email with my review of the latest UI work04:36
roaksoaxbigjools: finally back05:49
bigjoolsroaksoax: long trip!05:50
roaksoaxbigjools: ok so the maas-enlis change makes sense?05:50
bigjoolsyes05:50
bigjoolsI have another suggestion for you05:50
roaksoaxshoot05:50
bigjoolsI think we should get rid of the packaging branch and put debian/ in upstream05:50
bigjoolsthe silence is deafening :)05:51
roaksoaxbigjools: nope05:51
roaksoaxbigjools: :)05:51
bigjoolsis that a "nope, don't do it?"05:51
roaksoaxbigjools: normally... when upstream ships its own packaging we 1. remove it and provide our own. 2. improve it and remove it from the source and use our improved one05:52
bigjoolsok05:52
bigjoolsbut we are both here :)05:52
bigjoolsok let me ask this another way05:52
bigjoolsI want to make a simple makefile target, in upstream code, to build a package05:52
bigjoolsthe location of the packaging branch becomes an issue05:53
roaksoaxbigjools: right. So let me think about this becausd we normally w ship both separately regardless of us being upstream (unless policies have changex)05:54
bigjoolsalso there's a damn bug in bzr builddeb which makes this a PITA05:55
roaksoaxbigjools: but im not fully agaisnt it... im just talking with my packager hat05:55
roaksoaxwhats the bug?05:55
bigjoolsotherwise, combining the branches and a bzr db --split would have DTRT05:55
bigjoolsit always looks for upstream tarballs before considering the fact I told it to look for a local branch05:55
bigjoolsI found the code with the bug, considering submitting a patch05:56
roaksoaxbigjools: how do you build?05:56
bigjoolsI was trying to use:05:56
roaksoaxi mean whT command?05:56
bigjoolsbzr bd --export-upstream=../mybranch --export-upstream-revision=NNNN --merge05:56
bigjoolsor if debian/ is local you can just use --split05:57
roaksoaxrright05:57
bigjoolsand it's supposed to create a tarball from the local  branch05:57
roaksoaxright05:57
bigjoolsbut bzrlib/plugins/builddeb/cmds.py at line 417 should be insert, not append05:58
roaksoaxso i dont have strong objections to it ... but normLly packaging should go outside the code itself05:58
bigjoolsyeah - I don't care honestly, I just want this to work :)05:58
roaksoaxbigjools: so let me dig into this and i'll get back to you on that. Lets just make this happen post 10.04 if possible05:59
bigjoolsI can *assume* that packaging is always at ../packaging/debian/05:59
bigjoolsfor now, anyway05:59
roaksoaxok cool05:59
roaksoaxbigjools: but anyway. ameetp was looking pn major dofferences between 12.04 maas and 14.04 maas... can you put something together?06:00
bigjoolsroaksoax: it's all in the changelogs06:00
roaksoaxbigjools: he wants major features tho06:00
bigjoolsoh pre-13.10 is not06:00
bigjoolsroaksoax: he can look at LP milestones06:01
bigjoolsit's all there06:01
roaksoaxok06:01
bigjoolsroaksoax: btw can you can iscpy packaged before the deadline?  And in main?06:01
bigjoolsit's needed for this command you wanted to run from packaging to insert the forwarders06:02
roaksoaxbigjools: i thought the forwarders were already being inserted...?06:03
roaksoaxbigjools: i can try to take care of it tomorrow bit wven if i do is up to a archive admin to review the package and accwpt it in the archives and it might not make it in time06:04
bigjoolsroaksoax: shit06:04
bigjoolscan we file ffe?06:04
bigjoolsthe forwarders file is created but we need to modify named.conf.options to have an include statement06:04
roaksoaxbigjools: btw... i'm gonna upload maas tomorrow my morning before feature freeze. will i be able to upload lateat trunk? or what rev?06:05
bigjoolsthe config for named is a fucking PITA06:05
bigjoolsbest to check with the guys at the time06:05
bigjoolswe have quite a lot of stuff left to land06:05
roaksoaxbigjools: ok i'll try to make it happen by tomorrow (not the MIR though, that would require FFe)06:06
bigjoolsroaksoax: ok cheers.  We definitely need FFE for it then.06:07
roaksoaxyup06:07
bigjoolssorry for leaving this so late, there was so much other stuff to do :(06:07
roaksoaxyeah i can imagine06:08
roaksoaxalright then. i'll test the maas-enlist thing tomorrow and land it if everything works as expwctex06:08
roaksoaxand release maas06:09
bigjoolssweeet06:09
roaksoaxalrighty then. Off to bed. Have a gpod rest of the day!06:09
bigjoolsroaksoax: cheers, sleep well06:11
bigjoolsjtv: there?06:14
jtvbigjools: here06:23
bigjoolsjtv: we missed our call, want one?06:23
jtvpolitics intervened for a while06:23
jtvOh!  Call!  Forgot all about that, what with all the !@#$^ going on.  Yes I do.06:23
bigjoolsok06:23
bigjoolsgive me 2 mins to get a drink06:23
bigjoolswill call you06:23
jtvOK06:24
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== freeflying is now known as freeflying_away
=== CyberJacob|Away is now known as CyberJacob
rvbagmb: are you available for a tiny review? https://code.launchpad.net/~rvb/maas-test/always-update/+merge/20710508:12
gmbrvba: Sure08:12
rvbaThanks.08:12
gmbrvba: LGTM.08:13
jtvbigjools: you might like https://code.launchpad.net/~jtv/maas/dbshell/+merge/20710808:35
rvbabigjools: could you please review https://code.launchpad.net/~rvb/maas-test/fix-maas-admin/+merge/207111 ?08:42
bigjoolsyep08:42
rvbaTa08:43
bigjoolsrvba: ummm lol08:43
bigjoolsoh dear08:43
rvba:)08:43
rvbabigjools: the original paste I gave you was broken so it's only fair that this comes back to me :)08:44
bigjoolswell I missed that too08:44
bigjoolsjtv: +                subprocess.check_call(08:51
bigjools+                    ['sudo', '-u', 'postgres', 'psql', database])08:51
bigjoolsdid that actually work?08:51
bigjoolsoh you're doing it differently to how I did it earlier, never mind08:52
bigjoolsrvba: is it wrong of me to find it hilarious that you continually get caught out by the "additional revisions" tarmac message? :)08:53
rvbabigjools: it is, indeed, wrong of you :).08:53
bigjoolsrvba: so why is maas-test qa complaining about bin/pip?08:54
rvbaWell, I'd be happy to know.  Like I said, I can't reproduce it locally or on canonistack.08:54
bigjoolslet's just fix the damn makefile08:55
bigjoolsbin/python -m pip08:55
bigjoolsI tried but one of the lines starting .deps/bin/pip confused me08:55
jtvbigjools: do we have enough information to implement the card "Node MACs must be linked to their networks" to your satisfaction?08:57
bigjoolsjtv: I think the card says it all08:58
jtvAFAICS we only have that information for NICs that are on the MAAS-managed network.08:58
jtvSo... only one MAC per node linked, and only if DHCP management is enabled?08:58
bigjoolsyeah we need to link MACAddress with network08:58
jtvWe can't.08:58
bigjoolswe need to :)08:58
jtvWe can link MACAddress with NodeGroupInterface.08:59
bigjoolsno08:59
bigjoolsthat's not the same thing08:59
jtvThat's why I said it.08:59
bigjoolsthis is manual input08:59
jtvSo... additional schema, additional UI.08:59
bigjoolsnot auto08:59
bigjoolsyes :(08:59
jtvAnd API changes.08:59
bigjoolsyes08:59
bigjoolsotherwise users won't know which NIC can access which network09:00
bigjoolswe need to think carefully about the UI09:00
bigjoolsmight need some JS09:00
=== freeflying_away is now known as freeflying
rvbaHi rbasak, I just got a pretty confusing error from uvt-kvm.  Looks related to the data it got from simplestreams but you might know better: http://paste.ubuntu.com/6959216/10:41
rvbajtv: time for a review? https://code.launchpad.net/~rvb/maas/network-mac-rel/+merge/20713511:01
jtvrvba: that's a WIP11:02
rvbajtv: not anymore11:02
jtvSaved by the bell!11:02
jtvSorry, I made promises, remember?  :-)11:02
rvbagree11:03
rvbagrrrr* even11:03
jtvSorry!11:03
jtvIf it doesn't get reviewed, I can just branch off it — no biggie.11:03
jtvnn!11:03
rvbann11:03
=== freeflying is now known as freeflying_away
=== mwhudson is now known as zz_mwhudson
=== zz_mwhudson is now known as mwhudson
=== mwhudson is now known as zz_mwhudson
=== zz_mwhudson is now known as mwhudson
=== freeflying_away is now known as freeflying

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