/srv/irclogs.ubuntu.com/2013/05/14/#maas.txt

=== Sargun_ is now known as Sargun
=== racedo` is now known as racedo
epic_how do i get out of this one: https://bugs.launchpad.net/ubuntu/+source/maas/+bug/979630 ? :)13:54
ubot5`Launchpad bug 979630 in maas (Ubuntu) "Unable to re-install maas after truncating/flushing database" [Medium,Confirmed]13:54
epic_yay I'm stuck on a 1 year old confirmed bug14:03
epic_which hangs apt-get which gets me into all sorts of trouble (two locked dbs)14:04
roaksoaxepic_: how did you get there in the first place?14:05
roaksoaxepic_: i would suggest yo remove everything, its dependencies, and install everything again14:05
epic_i purged the maas packages14:06
epic_thats how I got there14:06
roaksoaxepic_: in precise, quantal, raring? how did you try to reinstall? was dbconfig-common purged as well?14:07
epic_13.04 i believe14:08
epic_now I cannot purge.. "E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem." and if i run that command it fails again14:09
epic_with "FATAL:  password authentication failed for user "maas"" which locks up apt-get again14:09
epic_round and round ;)14:09
roaksoaxepic_: so I'd be great to see what are the steps you followed and put those in the bug report14:09
roaksoaxepic_: + all of the answers on debconf14:10
roaksoaxepic_: maybe one combination of answers actually broke your environment when it shouldn't have14:10
roaksoaxepic_: but for what I read, is that MAAS cannot connect to the DB14:10
roaksoaxbecause there's a wrong password14:10
epic_yeah I understand, but I have not changed it afaik14:11
roaksoaxyeah dbconfig-common that's that14:12
roaksoaxdoes*14:12
epic_I just wanted to purge all maas config to to a clean install14:12
epic_and packages14:12
epic_now all purging ends in apt-get lock, which i need to hardkill, which leads to messyness14:13
epic_ooh purging the dbconfig-common seems to get me through14:15
epic_once again going to try apt-get install maas maas-dhcp maas-dns14:15
epic_seems to have worked14:17
epic_thanks for the help :)14:17
epic_the steps i took to reproduce was the same as in the bug; tried to purge packages, said yes to remove everything14:18
epic_maas-import-pxe-files does not seem to do anything though, no network traffic14:21
roaksoaxthat might be other issue. maas-import-pxe-files wget's from ubutnu archives14:26
epic_yeah I changed the pxe importer config file to raring, that seemed to get it going but it failed with a 404 on http://ports.ubuntu.com/ubuntu-ports//dists/raring/main/installer-armhf/current/images/highbank/netboot//vmlinuz , i guess raring is not there yet14:29
roaksoaxepic_: raring is there yet, but mainy not for arm14:29
roaksoaxepic_: edit the architectures to only include amd64 and i39614:30
roaksoaxepic_: edit the architectures to only include amd64 and i38614:30
epic_ah, why did it try to dl arm ? :)14:30
epic_can i remove that arch?14:30
roaksoaxits default14:30
roaksoaxepic_: yeah, so just specify amd64 and i386 without arm14:30
epic_sweet14:30
epic_some commands (such as import-pxe) should have built-in screen, didn't realise it would take this long, now I'm stuck at work until it finishes :P14:37
=== koolhead17 is now known as koolhead17|afk
=== sfeole` is now known as sfeole
=== dannf` is now known as dannf
epic_is there a way to get the maas-dhcp to only listen to one interface?15:22
roaksoaxepic_: so when you configure the DHCP/DNS you specify to what interface to server the DHCP requests15:26
roaksoaxepic_: you can do it through the WebUI or maas-cli15:27
epic_yeah i checked  /var/lib/maas/dhcpd-interfaces  and it pointed to the correct one (the iface not pointing out to my corporate network) :)15:28
epic_It seems everything is up and running, and I am rebooting a server of mine (it tries PXE at boot), how can I see that my maas controller is getting the PXE request?15:29
roaksoaxepic_: /var/log/maas/pserv.log15:30
epic_seems that is not there, so pserv is not started..15:30
roaksoaxepic_: yeah probably15:31
epic_huh start: Job is already running: maas-pserv15:31
epic_0:01 /usr/bin/python /usr/bin/twistd -n --uid=maas --gid=maas --pidfile=/run/maas-pserv.pid --logfile=/dev/null maas-pser --config-file=/etc/maas/pserv.yaml15:31
epic_logfile dev null ? :D15:31
epic_but my server reboots into it's linux anyway, so it is not caught by the PXE boot it seems15:32
roaksoaxepic_: the logfile is being get from the config in /etc/maas/pserv.yaml15:32
epic_/var/log/maas/pserv.log ..15:33
epic_a service restart spawned the file15:34
epic_its now empty15:34
roaksoaxepic_: so change the zone name from master to something else15:35
roaksoaxand make sure you enable DNS/DHCP management15:35
roaksoaxand that should do it15:35
epic_no hits in the logs15:41
roaksoaxepic_: so probably DHCP is not working15:41
epic_it still boots to the HD15:41
roaksoaxepic_: remove the cluster controller from maas webui15:41
roaksoaxepic_: then sudo dpkg-reconfigure maas-cluster-controller15:41
roaksoaxaccept it again in MAAS15:41
roaksoaxand configure DNS/DHCP once again15:41
roaksoaxand make sure you change the zone "master" to something else15:42
epic_ok15:42
epic_ok15:42
roaksoaxor you can try that first, changeing the zone name from "master" to something else15:42
epic_i did that :)15:42
epic_DNS zone name?15:42
roaksoaxyeah15:42
roaksoaxrobbiew: ping15:53
roaksoaxerr15:53
roaksoaxrobbiew: sorry :) was meant for rvba`15:53
roaksoaxrvba`: ping15:53
epic_I should not need to add the node before i reboot it into pxe right?16:54
roaksoaxepic_: nope16:55
epic_the two machines are connected via a ethernet cable and I can ping/ssh to it when it boots into the current ubuntu installation, so the dhcp (configured on the same interface) should reach it..16:59
roaksoaxepic_: so go to settings17:02
roaksoaxthen Cluster Controllers17:02
roaksoaxedit the cluster controller17:02
epic_yep17:02
roaksoaxthen go to the interface you want it to manage DHCP/DNS17:02
roaksoaxdoes it show something like? eth010.16.255.255/16Manage DHCP and DNS17:02
epic_em210.0.0.254/24Manage DHCP and DNS17:02
roaksoaxthen does "DNS zone name" is different from master?17:03
epic_which is the inteface which is connected to the machine17:03
epic_yes i changed the zone name17:03
roaksoaxepic_: check /etc/maas/dhcpd.conf is created17:03
roaksoaxepic_: and check maas-dhcp-server is running17:03
epic_first is there17:04
epic_second:17:04
epic_ps aux | grep maas-dhcp-server17:04
epic_gives nothing17:04
roaksoaxepic_: isc-dhcpd17:04
roaksoaxerr17:04
roaksoaxdhcpd17:04
roaksoaxepic_: as in: dhcpd     1018  0.0  0.1  19136  4912 ?        Ss   May09   0:01 /usr/sbin/dhcpd -f -q -4 -pf /run/maas/dhcp/dhcpd.pid -cf /etc/maas/dhcpd.conf -lf /var/lib/maas/dhcp/dhcpd.leases eth017:05
epic_yep usr/sbin/dhcpd -user dhcpd -group dhcpd -f -q -4 -pf /run/maas/dhcp/dhcpd.pid -cf /etc/maas/dhcpd.conf -lf /var/lib/maas/dhcp/dhcpd.leases em217:05
epic_does this dhcp have any log output?17:06
roaksoaxepic_: is /etc/bind/maas/<zone-file> created according to the name?17:06
roaksoaxaccroding to the zone name you configured?17:06
epic_yep17:06
roaksoaxok so everything seems to be working jsut fin17:07
roaksoaxepic_: what's the output of the nodes when they try to PXE boot?17:07
epic_PXE trying to find DHCP ...17:07
epic_hehe, right now i cannot view the output (its remote, i can only reboot it), but earlier today this was the output i saw17:08
epic_and i have not changed the bios boot settings after i saw the PXE looking for the DHCP17:08
epic_but does the maas dhcp have any log output? maybe i can see some errors17:08
roaksoaxepic_: syslog is your best bet17:17
=== kentb-out is now known as kentb
=== kentb is now known as kentb-out
=== wgrant_ is now known as wgrant

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