/srv/irclogs.ubuntu.com/2016/09/05/#maas.txt

=== frankban|afk is now known as frankban
gurkihello13:26
gurkiis there a way to have maas running on a centos?13:26
gurkii kind of have to have centos on the management node and i dont want to deploy a second one ...13:27
kikogurki, deploy an ubuntu container and run MAAS inside that14:11
NetNetAny idea what the default login details are for a deployed node???14:32
brendandubuntu/ubuntu14:33
brendandactually, there shouldn't be a login as it should use public key authentication14:34
NetNetTried that and it only returns login incorrect...I'm pulling my hair out with this! haha I have tried lots of combinations and nothing has worked - no matter what OS I install on the node, it comes up with the login prompt and I can get no further! :(14:35
NetNethmm...I have an SSH key setup on the web ui - I take it this would need adding to the actual MAAS appliance first though?14:36
brendandNetNet, that key needs to be wherever you want to ssh from14:37
NetNetdo you have to use the SSH key to login to the node locally (as in through direct KVM access to the node..)14:42
brendandNetNet, when you added the ssh key, where did you get it from?14:51
gurkikiko: thats kind of hard as maas is gonna try to create its own vms when running image builder15:17
gurki... breaking when run inside a vm.15:17
roaksoaxgurki: maas-image-builder has really nothing to do with MAAS. maas-image-builder simply creates a VM to be able to create a image with what's required for MAAS15:18
roaksoaxgurki: so yes, you'd need an ubuntu machine to run it, and then you can iport that image into MAAS15:19
roaksoaxNetNet: a deployed node will have the SSH key of the user in MAAS15:19
gurkiim aware of that. but not being able to create the images on the very node i intend to deploy them is kind of ... strange15:19
gurkii basically not only need a ubuntu vm but an ubuntu on a physical machine15:20
gurkiwhich is a problem15:20
gurkiid basically need a physical machine just for that as we just use centos atm15:20
gurkiyou might ask 'why use maas then' - been going for maas as it provides moonshot support15:21
gurkiis there actually some technical reason why it cannot run on $distribution?15:22
roaksoaxgurki: does the centos images provided by MAAS not working for your hardware?15:29
gurkiroaksoax: itll throw 'no such file or directory' at me when i try to do as said on https://maas.ubuntu.com/docs/os-support.html15:41
gurkiam i expected to put $thing taken from the centos iso to wherever?15:43
gurkii could create a tgz if i had some physical ubuntu which i dont have15:45
=== Beret- is now known as Beret
=== a0rora_ is now known as a0rora
=== plars_ is now known as plars
=== marlinc_ is now known as marlinc
=== zeestrat_ is now known as zeestrat
=== jefferai_ is now known as jefferai
kikogurki, actually, we provide the centos images in a stream15:59
kikogurki, so you just need to tick the box for them15:59
kikogurki, running MAAS bare-metal on CentOS is not a trivial project unfortuantely15:59
kikoI'm sure it could be done, but we are flat out as it is and can't really blink15:59
kikogurki, can't you just request an Ubuntu box? if necessary you can just deploy CentOS onto a container or VM on the same box16:00
gurkikiko: how can i grab said image?16:03
kikogurki, just tick the box on the images page16:03
gurkii can just tick ubuntu stuff there ... or did i miss sth?16:04
gurki*rechecking*16:04
kikogurki, what version of MAAS are you running?16:04
kikogurki, on 2.0 it's enabled out of the box16:04
gurkihum16:05
gurkii have 1.9.4 installing them from the ubuntu 14.04 repo.16:06
gurkii guess thats too old a version then.16:06
gurki*throwing a recent version on some vm*16:07
gurkikiko: were inside some moonshot stuff ... each node is kind of costly :s16:08
gurkiit is supposed to be manageable as-is, with no additional pcs/whatever required16:08
gurkia ubuntu vm added to the headnode is fine, the other way around is kind of tricky as we have other management stuff that needs to run there16:09
kikogurki, I see what your challenge is now16:09
=== frankban is now known as frankban|afk
roaksoax/w/win 416:34
PCdudehttp://askubuntu.com/questions/820925/how-do-i-set-a-dns-server-in-maas-that-will-be-passed-on-to-the-nodes17:27
PCdudeI hope that makes the question clear, anybody an idea?17:27
kikogurki, is there a strong rationale for putting the MAAS region controller on the chassis itself?17:52
kikogurki, is the chassis all you have?17:52
kikoPCdude, the nodes typically are set to use MAAS as their DNS server17:53
kikoPCdude, but you can configure forwarders, and that normally works fine17:53
kikoPCdude, does that not work in your case?17:53
PCdudeyes it indeed has the ip address of the MAAS controller and I indeed has set the value of the DNS forwarders, but nothing is resolved as far as DNS is concerned17:54
PCdudekiko: maybe there is a file I can change ?17:54
kikoPCdude, something is wrong. can you clarify to me something:17:56
kikoPCdude, you've deployed a node, you ssh into it, and "host google.com" fails?17:57
PCdudekiko: this is what I have done now, I have changed the interface of the maas controller facing the nodes to DHCP managed only (so no DNS) and that seems to work)17:59
PCdudekiko: it still has the IP of the maas controller, but I think he immidiatly sends it to the forwarder17:59
kikoPCdude, that doesn't make sense though17:59
PCdudekiko: and indeed in the "DHCP and DNS managed" situation the "host google.com" would not succeed18:00
PCdudekiko: exactly my thought :)18:00
kikoPCdude, something else is wrong18:00
PCdudekiko: like what?18:00
kikoPCdude, what version of MAAS?18:00
kikosounds like 1.918:00
PCdudekiko: 1.9.418:01
PCdudeI cant use 2.018:01
kikoPCdude, because of Juju?18:01
PCdudecoz of JUJU which I also need and is still in beta18:01
PCdudekiko yes JUJU18:01
PCdudekiko: is this a know issue of MAAS 1.9?18:01
kikoPCdude, no, it's not.18:02
kikoPCdude, it suggests something is wrong with your setup18:02
PCdudekiko: well I dont know what could be wrong haha, how can I check?18:02
kikoPCdude, can you revert back to manage dhcp+dns, and ensure the forwarders are correct, and redeploy a node?18:02
PCdudekiko: gonna do that right now18:02
PCdudekiko: deploying rn, it will take a minute or two18:03
kikothanks18:03
PCdudekiko: packages succeed.... I am really confused I did this before and suddenly it works now18:07
PCdudekiko: maybe the MAAS server got an update by changing the DNS and DHCP managing on the interface18:07
PCdude?18:07
kikoPCdude, yes, there could be a hidden bug somewhere18:07
kikoPCdude, but I'm happy you have a working setup now18:07
kikodo you want to try and reproduce, or move on? :)18:07
PCdudekiko: well lets try to reproduce, its easy I have snapshots :)18:08
kikoPCdude, cool. let's go back to the broken setup then.18:08
kikoPCdude, the first thing is to double-check the forwarders in the MAAS settings page, and get to a failing "host google.com" on the host18:09
PCdudekiko: nodes and controller are set back, I am starting the controller rn18:10
kikocool18:10
PCdudekiko: the setting page indeed has the right DNS follower, I am gonna deploy a node rn18:11
PCdudekiko: lets see what happens :)18:11
kikoPCdude, cool18:11
kikoPCdude, also, check out the BIND configuration we generate, which should be in /etc/maas/bind/18:12
kikoPCdude, see if the forwarder is correctly set there18:12
PCdudekiko: I indeed checked those before and they contain the right values but the nodes do not in the end, but let me check again18:12
PCdudekiko: I think its /etc/bind/maas btw , but np I am checking rn18:13
PCdudethe named.conf.options.inside.maas does indeed have the right value of the forwarder18:14
PCdudekiko: node is almost done with deploying18:15
PCdudeping: unknown host google.com18:19
PCdude""ping google.com" gives "ping : unknown host google.com"18:19
PCdude"host google.com" gives "connection timed out; no servers could be reached"18:19
kikoPCdude, excellent.18:19
kikoPCdude, what does resolv.conf say?18:20
PCdudekiko: "ping 8.8.8.8" does succeed so there is internet for sure18:20
kikoPCdude, cool18:20
kikoPCdude, I am thinking the DNS server on the MAAS side is either broken or not running18:20
kikobut first, resolv.conf18:20
PCdudethat file contains the wrong nameserver value and the right DNS name18:21
kikoPCdude, what do you mean?18:21
PCdudekiko:  let met put it on pastebin one second18:21
PCdudehttp://pastebin.com/raw/HFD8mabz18:22
PCdudethe IP address is the IP address of the MAAS controller itself18:22
kikoPCdude, but that's correct. the MAAS controller is the DNS server, right?18:23
kikoPCdude, next, "nslookup [IP-address]"18:23
kikoerr18:23
kikoPCdude, next, "nslookup google.com [IP-address]"18:23
PCdudekiko: yes that is right, indeed sorry I was mixing two situations18:23
kikook18:24
kikoPCdude, what's the name of the node that was deployed?18:24
PCdude"nslookup google.com [IP-address]" gives "server can't find google.com: SERVFAIL"18:25
PCdudethe name is very simple haha "node1"18:25
kikoPCdude, okay, and "nslookup node1.maas [IP-address]"?18:25
kikoPCdude, and finally, "nslookup google.com 8.8.8.8"18:25
PCdudeboth of those succeed18:26
kikookay18:26
kikolet's go to the MAAS server now18:26
PCdudeterminal window or web GUI of MAAS?18:27
kikoterminal window18:27
kikoand look at the syslog to see what BIND is complaining about18:27
kikoPCdude, grep " named" /var/log/syslog | tail18:27
kiko(I think bind logs to syslog)18:28
PCdudehttp://pastebin.com/raw/6ZPsEuGa18:30
PCdudesorry I have to remove some sensitive data here and there18:30
PCdude*had18:31
kikohah18:31
kikodnssec strikes again18:31
kikoPCdude, what does a "grep dnsssec" on your bind config return?18:32
PCdudeso I have to issue: grep "dnssec" /var/log/syslog | tail ?18:32
kikoPCdude, no, /etc/bind/*18:33
kikoPCdude, possibly -r as it's /etc/bind/maas yes?18:33
kikoPCdude, but basically, you need to set "dnssec-enable no;" somewhere, and otherwise to complain to your forwarders :)18:35
PCdudeI have done sudo grep "dnssec" -r /etc/bind/maas/ | tail18:35
PCdudeis that correct?18:35
kikoPCdude, do it in /etc/bind18:36
PCdudeu wanna see that output, right?18:37
PCdudehttp://pastebin.com/raw/Z7EQFz9i18:37
kikoPCdude, yeah18:38
kikoPCdude, so this line:18:38
kiko/etc/bind/maas/named.conf.options.inside.maas:dnssec-validation auto;18:38
kikoneeds to become "dnssec-enable no; dnssec-validation no"18:39
kikoerr18:39
kikoneeds to become "dnssec-enable no; dnssec-validation no;"18:39
kikodo that, restart bind and you'll be fine18:39
PCdudekiko: I think that can be done from within the MAAS web GUI :)18:39
kikoPCdude, it can?18:40
kikoPCdude, if it can, could you send me a screenshot showing it?18:40
kikogurki, if you see this later, just /msg me18:41
PCdudeon the settings page this setting is present18:42
PCdudehttp://imgur.com/a/fRUqK18:42
PCdudekiko: that is exactly what I need to change right?18:42
kikoPCdude, correct. turn that off.18:44
PCdudeYEAH! I turned it off and the DNS resolves succeed!18:45
PCdudekiko: many thanks!18:46
kikoPCdude, you're welcome. that's an annoying problem.18:54
PCdudekiko:  this really helped me out, where are u from?18:55
kikoPCdude, I work at Canonical, if that's what you are asking?18:56
PCdudehaha good to know too, but I was more interested in what country u are from?18:56
kikoPCdude, from brazil18:58
kikoPCdude, filled in the answer to http://askubuntu.com/questions/820925/how-do-i-set-a-dns-server-in-maas-that-will-be-passed-on-to-the-nodes/821368#82136818:58
PCdudekiko: ah ok, good to know! I upvoted and gave it the mark as correct answer18:59
kikoPCdude, thanks! where are you from?18:59
PCdudekiko: I am from the netherlands19:00
PCdudehow old are u?19:00
kikoPCdude, old enough to be on IRC!19:00
kikoheh19:00
PCdudekiko: haha good ;)19:01
PCdudekiko: any experience with openstack?19:03
kikoPCdude, well.. some19:03
PCdudekiko: the problem u helped with was the error that was stopping openstack from installing, so I thought that was the last one19:04
PCdudekiko:  but luckily..... its not19:04
PCdudekiko: u wanna help?19:04
kikoPCdude, heh, there are always more problems then time19:04
kikoPCdude, I can try19:05
PCdudekiko: let me post the error log of the isntall19:05
PCdudehttp://pastebin.com/raw/rLZUTvKP19:09
PCdudethis is the whole log of the install19:09
PCdudekiko: apparently for landscape it is trying to install a package that fails19:10
kiko[ERROR: 09-05 20:59:46, multi.py:384] Problem deploying Landscape: {'err': 'sudo: juju-deployer: command not found\n', 'status': 1, 'output': ''}19:10
kikoPCdude, you need juju-deployer installed19:11
kikois that a bug in landscape I wonder?19:11
kikoPCdude, apt-get install juju-deployer19:11
PCdudesudo apt-cache policy juju-deployer does indeed show that it is not installed19:12
PCdudebut I am wondering, this should be something that the landscape installer should do right?19:12
PCdudekiko: why do I even need that package? haha19:17
kikoPCdude, it's because landscape uses it. it seems like it's a real proper bug19:19
PCdudekiko: so for the time being I can install it myself and file a report for a bugt19:21
PCdude*bug19:21
kikoPCdude, yep19:22
PCdudekiko: ah ok, lets try that19:23
PCdudekiko: do u work remote with canonical or is there an office nearby?19:25
kikoPCdude, remote19:26
PCdudekiko: ah ok cool, what are u responsible for?19:29
PCdudekiko: I am trying to install openstack rn19:29
PCdudefingers crossed :)19:29
kikoPCdude, maas and storage are mine19:32
PCdudekiko: ah ok nice19:34
kikoI need to split -- catch you tomorrow19:35
PCdudekiko: ah ok, see u tomorrow19:36
PCdudekiko: I dont know if u are still around, but the openstack installer is failing again but at a later point20:26
PCdudestep 3 out of 420:26
PCdudethe screen show the following:20:26
PCdudehttp://imgur.com/a/Z47K120:30
PCdudeand just stays there20:30
PCdudethe nodes have internet so there can't be the problem21:20

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