/srv/irclogs.ubuntu.com/2012/06/21/#maas.txt

burnbrightercheez0r: thanks.  I started over.  We'll see how it goes this time.02:40
=== Aaton is now known as Aaton_off
burnbrightercheez0r: ut?05:07
burnbrighterbigjools: how exactly should the /etc/hosts file look for the primary maas node?  There seems to be some confusion around this.06:28
bigjoolsyou don't need one, cobbler updates your dns06:30
burnbrighterI see two entries - 127.0.0.1 for localhost - the usual06:38
burnbrighterthen I see 127.0.1.1 for my host's name06:38
burnbrighter(maas01)06:38
burnbrightercheez0r experienced ssh problems in juju because of his dual-homed set up - which is what I have06:39
burnbrighterand I continue to see problems with commissioning06:40
burnbrightersometimes it works, sometimes it doesn't06:40
burnbrighterand, cobbler updates internal dns, how about external dns?06:52
burnbrighterlike when you need to update packages and such or maas-import-isos?06:52
burnbrightermy external dns doesn't seem to work06:53
bigjoolsit updates the dns server you configured on it, which is probably your local dnsmasq06:53
burnbrighterif I try to update resolvconf/resolv.conf/base or something else, that mucks with the required 127.0.0.1 entry06:53
bigjoolsyes, resolv.conf defers to dnsmasq locally06:54
burnbrighteranything in resolvconf overwrites resolv.conf06:54
burnbrighterand if you add something to base in resolvconf, it messes up the external dns06:55
burnbrighterso how can you get around that?06:55
burnbrighteram I missing some basic configuration?06:56
burnbrighteror are these known issues06:56
bigjoolsyou don't need to change this stuff06:58
bigjoolsif the box is multi homed then make dnsmasq serve on all addresses06:58
burnbrighterdo you have hints on how I would go about doing this?07:03
bigjoolsI don't know without looking but I'd start with "man dnsmasq" :)07:04
burnbrighterisn't a dual-homed system for the maas server one of the common configurations, out of curiosity?07:05
burnbrighterI mean, how are people deploying them mostly07:06
bigjoolsmost people will use bind for real deployments - dnsmasq is not proven in larger environments07:06
bigjoolsand in fact we are removing support for dnsmasq in the next revision of maas07:07
burnbrighterinteresting, ok07:16
=== matsubara is now known as matsubara-lunch
cheez0rburnbrighter: the trick is to ensure that you have two hosts configured- one for your eth0 ip and one for your eth1 ip; to have whichever of those two networks is your MaaS network's hostname in /etc/hostname; and to ensure that you've installed maas, maas-dhcp and ensured that either during the install or with dpkg-reconfigure you've specified the IP data of the MaaS network.11:52
cheez0rI find that building the initial MaaS install by specifying the public or 'outside' IP network and DNS servers that are reachable, and then adding the MaaS network to the machine, setting the hostnames up, then dpkg-reconfigure maas, and apt-get install maas-dhcp to be the easiest procedure.11:54
=== matsubara-lunch is now known as matsubara
roaksoaxrvba: yui is shipping some non free files right?14:00
rvbaroaksoax: off-hand, I've got no idea.14:01
roaksoaxrvba: what about these two? rm maas-$(VER).orig/src/maasserver/static/jslibs/yui/3.4.1/build/uploader/assets/uploader.swf rm maas-$(VER).orig/src/maasserver/static/jslibs/yui/3.4.1/build/io-xdr/io.swf14:03
rvbaroaksoax: note that in the version we currently use (3.5.1), uploader.swf is in ./src/maasserver/static/jslibs/yui/uploader-deprecated/assets14:05
roaksoaxrvba: http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/2012-June/003761.html14:06
roaksoaxDaviey: ^^14:06
rvbaroaksoax: io.swf is a tiny flash component required (I think) to circumvent some of the limitations of the browsers.14:07
burnbrightercheez0r: any chance I could see what your host file looks like?  And did you have to do any dnsmasq tweaking?  Did you have external dns resolution issues there?16:43
=== Aaton_off is now known as Aaton
cheez0rburnbrighter: http://pastebin.ubuntu.com/105295517:01
cheez0rTHe /etc/dnsmasq.conf file is populated from a cobbler template at /etc/cobbler/dnsmasq.template so that's where those dhcp-host lines are located, and then when you maas-import-isos it moves that file into place at /etc/dnsmasq.conf and does service dnsmasq restart for you.17:02
burnbrighterthanks - what did you do with the 127.0.1.1 address maas created?  did you get right of that?17:02
cheez0rIt never created such an address for me.17:02
cheez0rwhen you do the initial install you configure the public side network (outside)17:03
cheez0rthen you add the internal network and reconfigure maas, then install the maas-dhcp package17:03
cheez0r127.0.0.1 is a loopback address and should remain; I'm unclear where the 127.0.1.1 address is originating from.17:04
burnbrighterthat was confusing for me because the hostname actually points to that address17:04
cheez0rshouldn't.17:04
burnbrighterfor example, my host name is maas01, so that was pointed to 127.0.1.117:05
cheez0rweird. 127.0.0.1 should point to localhost17:05
cheez0ryour hostname should point to the maas network IP address17:05
cheez0rand a second host should be configured for the public IP side17:05
burnbrighterand everything just worked for you?17:05
cheez0ryeah17:06
burnbrighterhow about external dns resolution problems?17:06
burnbrightersorry, I haven't read everything you wrote above - too many meetings :)17:06
cheez0rnone- if you do the initial install with the public IP configured, you can reference your real DNS servers17:06
cheez0rthat should eliminate any issues once you install maas-dhcp and that installs dnsmasq17:06
burnbrighterhmmm.  I'm seeing dnsmasq or resolvconf overwriting dns17:09
burnbrighterI mean resolv.conf17:09
burnbrighterit always gets written to 127.0.0.117:09
cheez0ryeah you have to configure dns-nameserver to /etc/network/interfaces17:09
cheez0rso on your public interface you configure dns-nameservers and then service network restart and it should populate /etc/resolv.conf appropriately.17:09
burnbrighterand you set each one separately there?17:09
cheez0rone line, multiple servers separated with spaces17:10
cheez0rgotta run- good luck, I'll respond in ~1hr when I get back17:10
burnbrighterahhh...resolv.conf is populated based on the interfaces file???17:10
burnbrighterok, thanks for the info17:10
cheez0rburnbrighter: with resolvconf they are, and resolvconf is on the MaaS node by default.18:43
burnbrighterI don't think I see any entries in resolvconf from maas18:46
cheez0rMaaS has nothing to do with resolvconf.18:47
burnbrighterexactly18:47
cheez0rwhen you configure the node during the install of MaaS, you supply DNS server IP addresses.18:47
cheez0rIt inserts them into the /etc/network/interfaces file, from which the resolv.conf is generated.18:47
burnbrighter? I don't it does18:47
burnbrighters/don't/don't think/18:47
cheez0rDuring the install of the MaaS node it prompts you for DNS servers.18:48
cheez0rYou must've typed in 127.0.1.1.18:48
burnbrighterk, I don't remember that part18:48
burnbrighterno, I definitely do not18:48
burnbrighterI never put in 127.0.0.118:48
burnbrighterthat's populated by maas18:48
cheez0r127.0.0.1 is a loopback address. It is present on most unix/linux systems.18:48
burnbrighterwhich version are you using.  and yes I know that18:49
cheez0rI'm installing from the Ubuntu 12.04 CD.18:49
burnbrighterare you using the regular apt-get version?18:49
burnbrighteryeah - I don't recall it asking about DNS, and I know for certain I've never put in the loop back address18:49
cheez0rNo, you install the MaaS head node by booting it from the Ubuntu ISO and choosing to install MaaS, and then having it install Ubuntu for you.18:49
burnbrightercorrect18:50
cheez0rIf you're doing it a different way I've got no experience with it and therefore can't help you.18:50
burnbrighterthe only two ways I know how to do it are the one you mention, the other is installing base 12.04, then adding maas after the fact18:50
burnbrighterin any case, back to our conversation above - are you saying what's in /etc/network/interfaces gets written to /etc/resolv.conf by the OS?18:52
cheez0rNo, by the resolvconf package.18:52
burnbrighterok, and you can set it separately for each interface?18:53
cheez0ryes, but generally you dont.18:53
cheez0rYou only set it for the interface that can see that DNS server, and then it resolves there for the entire box.18:54
burnbrightermy problem is I either get internally resolvable dns OR external dns, but never both together18:54
cheez0rwhat does that statement mean?18:54
cheez0rWhat is an 'internally resolvable dns'?18:54
burnbrighterthe internally resolvable addresses for dns created by maas-dhcp18:55
burnbrighteror cobbler18:55
burnbrighternot sure which18:55
cheez0rYou are creating a MaaS network. You are installing the MaaS node. It should have 'external' DNS servers that the MaaS node resolves against. The MaaS node should resolve hosts for the rest of the MaaS cluster.18:55
burnbrighterlet me explain a little...18:55
burnbrighterif I do a ping against node-0050c06467.maas.local and my resolv.conf has nameserver 127.0.0.1, it works18:56
burnbrighterif I do a ping against www.cnn.com with nameserver set to same, it doesn't18:56
cheez0rI don't know enough about dnsmasq to help with that issue.18:57
cheez0rIf you follow the steps I gave, it will work. Beyond that I don't know.18:57
burnbrighterif I change resolv.conf to external dns, or even my router which passes dns ie. 192.168.1.1, then pinging www.cnn.com works, but node-0050c06467.maas.local doesn't18:57
burnbrighterbigjools was suggesting tweaking the dnsmasq config, but also informed me they are dropping support in the next release anyways18:58
cheez0rMy solution to that was to statically map my DNS entries in /etc/hosts and to statically assign DHCP entries in /etc/dnsmasq.conf18:59
cheez0ryou saw that configuration.18:59
burnbrighteryeah, I'm going to try it.  I've been trying to get this right for two weeks and I'm becoming a bit frazzled19:00
cheez0rI hear ya, I've been banging on mine for about a month now19:00
burnbrighterI'm trying to do this in a VM too19:01
burnbrighterwith fully virtualized network19:01
burnbrighterwell, not fully19:01
burnbrighterbridging the set up adds its own set of complications19:01
burnbrightereventually I will need to add a third network in for a third party piece of software the works with openstack19:02
burnbrighterthat needs to communicate over a bridged dmz interface.  been having problems with bleed over in bridging19:02
=== Aaton is now known as Aaton_off
=== Aaton_off is now known as Aaton
=== Aaton is now known as Aaton_off
=== robbiew1 is now known as robbiew

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