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

=== menn0_ is now known as menn0
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
=== mjs0 is now known as menn0
SpadsI've just upgraded some MAAS infrastructure from Precise and 1.4 to Trusty and 1.5, and I notice that one of my cluster controllers is running low on disk due to /var/lib/maas/ephemeral being full of old data.  Everything's from months ago, though the Web UI says it has up to date images (which I can find elsewhere).  Is it safe for me to blow away /var/lib/maas/ephemeral after my 1.5 upgrade?08:38
onicromhello everyone10:51
SpadsThe cluster controllers in MAAS 1.5 seem to be trying to connect to two high-numbered ports on the region controller.  Apache is listening on those ports on the region controller, but I can't find the configuration that sends them there.  What are these ports, and are they predictable?13:12
=== jfarschman is now known as MilesDenver
onicromare the files in /etc/maas/templates/pxe essentially pxelinux.cfg/syslinux.cfg files?14:42
onicromand is it safe to edit them (once you copy/rename?)14:42
jhobbsonicrom: yes, they are templates for generating files like pxelinux.cfg files14:45
jhobbsonicrom: what are you trying to get done by copying/editing them?14:46
onicromi was looking to add "CONSOLE 0" and "SERIAL 1 115200 0"14:47
jhobbsonicrom: have a look at http://maas.ubuntu.com/docs/kernel-options.html14:47
onicromive appended console=tty0 console=ttyS1,115200n8 to that14:47
onicromwasn't sure if the actual pxeboot section14:48
jhobbsoh - those are pxelinux directives?14:48
onicromwould be sent to console, or just the install part14:48
onicromcorrect14:48
jhobbsso you can see pxelinux output on the serial console?14:48
onicromthats the goal14:48
jhobbsif it's pxelinux stuff you should be able to add it in the file wherever you would in a normal pxelinux file14:49
jhobbswas copying/renaming just to get a backup?14:49
onicromwell i wasnt sure if i needed to rename either the config.commissioning.template to config.commissioning14:50
onicromor edit the template14:50
jhobbsahh yeah just edit the template14:50
onicromor edit the arch specific file14:50
jhobbsmaas opens the template and renders it and then sends it off via tftp14:50
onicromok cool14:50
onicromso would it be best to add to config.install.tem... config.commissioning.tem... or config.local.amd64.tem....14:51
jhobbsthey're for different stages14:52
jhobbsif you want pxelinux output all the time, do all of them14:52
onicromwould it be correct in assuming editing the amd64 would be invoked at all stages14:52
onicromassuming you are using that arch14:52
jhobbsconfig.local.amd64.template is only for localbooting, after an install is complete14:53
jhobbsotherwise amd64 uses the generic ones without arch names in the files14:53
onicromgot it14:53
jhobbsthey're not hierarchical so you have to edit them all14:53
onicromthanks much14:54
jhobbsyou're welcome14:54
onicromconfig.local and config.local.arch need to be changed then?14:54
=== chuck_ is now known as zul
jhobbshmmm14:55
jhobbsi'm not sure why there are both there14:55
jhobbscouldn't hurt :)14:55
onicromdo you work on the project?14:55
jhobbsyes14:55
onicrommight i suggest something... the .template extension makes me think these files , should you need to change them, should be renamed removing the .template14:57
onicromor copy, without .template and make changes, the system reads the non.template files should they exist14:57
onicrom(dont mean to complain just how i assume things to work on other tools)14:58
jhobbsi could see how that's confusing14:58
jhobbsfeel free to file a bug on https://bugs.launchpad.net/maas14:58
jhobbsbest to have stories from real users for that sort of thing14:59
onicromi wouldnt vcall it a bug :)15:01
onicrombut sure thing15:01
onicromi have another question :) around preseed15:01
jhobbsok15:03
* jhobbs in and out, just ask and i'll try to answer15:03
onicromhttps://bugs.launchpad.net/maas/+bug/135293815:06
ubot5Launchpad bug 1352938 in MAAS "the use of the file extension .template can be confusing" [Undecided,New]15:06
onicrombug filed :)15:06
jhobbscool, thanks15:08
onicromjhobbs: i'm not familair with preseed at all so this is going to be amateur hour, under /etc/maas/preseeds what are the purposes for the various files15:10
jhobbsonicrom: have you read this? https://maas.ubuntu.com/docs/development/preseeds.html15:14
jhobbsonicrom: preseeds for maas either generate cloud-init, curtin, or debian-installer config, depending on which state/install type is being used15:17
jhobbsonicrom: users can use them to customize enlistment/commissioning/installation15:18
jhobbsthey're template files again, just like the pxe ones15:18
onicromcool15:18
onicromi read references to the debian-installer but my maas only says default or fast install15:19
onicromi assume default is debian installer?15:19
jhobbsyeah15:19
onicromwoah i missed this doc entirely somehow :)15:19
onicromthanks! also... the terms commission,enlist etc are these defined somwhere?15:20
jhobbsi can't find anything15:25
jhobbsthat sucks15:25
jhobbsenlistment makes maas aware of the node, commissioning does some hardware inventory15:25
jhobbsgotta run for a bit15:25
=== med_ is now known as Guest26240
onicromany takes on 'curtin'15:33
jhobbsonicrom: it's the fastpath installer15:37
jhobbsonicrom: it's default in newer maas's - it's all i ever use15:37
onicromintttersting15:40
onicromhow does customization work in this new fancy faster method15:40
rbasakIt's designed to be very customisable15:41
rbasakSee: http://bazaar.launchpad.net/~curtin-dev/curtin/trunk/view/head:/doc/topics/overview.rst15:41
rbasakYou can pretty much replace everything.15:42
onicromcool i shall readup15:42
onicromdoes 14.04's maas pkg get upgraded as releases go stable (1.5->1.6) or is that a more manual process?15:50
onicromby 'get upgraded' i mean apt-get upgrade or dist-upgrade if more appropriate15:50
jhobbsyou can apt-get upgrade mas15:53
jhobbs*maas15:53
jhobbsit will pick up whatever the latest release for trusty is15:54
jhobbsas long as that's what you're running15:54
onicromwill trusty upgrade to mewer point releases?15:57
onicromrather... be upgraded to.15:57
jhobbshmm i think roadmap questions are above my paygrade15:58
jhobbsyou can always pin to a newer version if you want to though15:58
onicromnods16:04
onicrombtw16:04
onicromdamn fine job on this thing16:04
onicromive setup my fair share of build systems from scratch with jump/kickstart16:04
onicromall the annoying stuff is taken care of, just need to sort out the customizations :)16:05
jhobbsglad you like it and thanks for the feedback!16:06
jhobbsbugs on any issues or annoyances you run into are welcome16:06
onicromwell i have 2 data centers im building out (~40 servers) so im going to be diving real deep :)16:15
onicromdoes maas read all files in /etc/maas/preseeds? ... if i 'backup' the files in /etc/maas/preseeds (as in /etc/maas/preseeds/preseed_master.dist) will it do badness?17:13
=== matsubara is now known as matsubara-lunch
=== roadmr is now known as roadmr_afk
=== CyberJacob|Away is now known as CyberJacob
=== matsubara-lunch is now known as matsubara
=== jfarschman is now known as MilesDenver
onicromlooks like the installer output is not being sent to my serial console .. the commissioning is sent to serial console but the install is not19:11
onicromhrms19:11
newellonicrom, have you been checking the logs in /var/log/maas?19:19
onicromnow its hung19:26
onicromchecking logs thanks :)19:30
newellnp19:59
=== roadmr_afk is now known as roadmr
onicrom<bitching> damn dell drac seems to drop offline whenever the ubuntu installed 'probes' the network devices </bitching>20:15
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== CyberJacob is now known as CyberJacob|Away
=== menn0_ is now known as menn0
=== jfarschman is now known as MilesDenver

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