/srv/irclogs.ubuntu.com/2015/02/17/#maas.txt

dimiternrvba, blake_r, mpontillo, roaksoax, maas+juju net call?14:02
kikodimitern, they are sprinting this week fwiw14:05
rvbaHi dimitern.14:05
dimiternkiko, rvba, hi14:07
dimiternok, nothing new14:07
dimiternhappy sprinting ;)14:07
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
travnewmatichello all, got an enlistment question21:03
travnewmaticthe first node that i'm trying to add to my maas cluster boots from pxe, ultimately ends up at an ubuntu login prompt, but my cluster controller has no knowledge of the node321:03
travnewmaticof the node*21:03
travnewmatichttp://pastebin.com/xQedSKqV21:05
travnewmatichttp://pastebin.com/gXrMwwUF21:26
roaksoaxtravnewmatic: is the node in MAAS marked New ?21:34
travnewmaticthe node does not show up anywhere in my maas interface21:34
travnewmaticbut it did boot into an os over the network21:34
travnewmaticso the dhcp stuff is working21:34
travnewmaticand i can ping it21:34
travnewmaticbut its like the region controller or the cluster controller have no knowledge of it21:35
roaksoaxtravnewmatic: so it needs to dhcpd from maas, then pxe, then you will see a prompt like maas-enlist21:38
roaksoaxtravnewmatic: and the node needs to do stuff inseide of itself to register itself in maas21:38
travnewmatichmm21:38
travnewmaticwell iknow dhcp is working21:39
travnewmaticand the pxe part is pushing an image to the server21:39
travnewmatici see a table21:41
travnewmaticnet device info21:42
travnewmaticroute info21:42
travnewmaticand then it goes into some url_helper.py[WARNING] stuff21:42
=== menn0_ is now known as menn0
travnewmaticerrno 113 no route to host21:42
travnewmatichttp://i.imgur.com/A5D5hXR.jpg21:45
travnewmaticthen this http://i.imgur.com/RE4cHtm.jpg21:46
travnewmaticaaaaand then this http://i.imgur.com/6SqfzvD.jpg21:48
travnewmaticand if i hit enter the usual ubuntu login: pops up21:48
roaksoaxtravnewmatic: can your nodes contact 192.168.100.2 ?21:48
roaksoaxtravnewmatic: 192.168.100.2 is the address of the MAAS region server?21:48
roaksoaxtravnewmatic: it seems the nodes can't access it21:49
travnewmaticyes!21:49
travnewmatichmm :|21:49
travnewmaticalright21:49
travnewmaticsubnet issue?21:49
roaksoaxtravnewmatic: that might be it. can you ensure your nodes would be able to ping the maas server?21:50
travnewmaticlemme check21:50
roaksoaxtravnewmatic: is the DHCP range configured in maas in the same network, and can actually ping?21:50
travnewmaticwell21:50
travnewmaticas it is now21:50
travnewmatici only have one node21:50
travnewmaticand that node is presenting me with a login prompt21:50
travnewmaticand i'm not sure what the un/pw is21:50
travnewmaticalso21:51
travnewmatici first setup the region controller21:51
travnewmaticthen i setup the cluster controller21:51
roaksoaxtravnewmatic: that's fin21:51
roaksoaxtravnewmatic: let the user auto register itself in maas, and you will see it appear there21:51
travnewmatichmm21:52
travnewmaticwell i ran the dkpg configure cluster controller command thing21:52
travnewmaticput in the api address of the region controller21:52
travnewmaticand added the second maas controller to the first21:52
travnewmaticso the first maas controller, the 192.168.0.2 machine, lists 2 clusters21:53
travnewmaticon the region controller, i went into that added cluster controller and added a managed interface, with dhcp and dns21:53
travnewmaticthe cluster controllers address is 192.168.0.321:54
travnewmaticwhen i go to  192.168.0.3/MAAS21:54
travnewmaticits like everything is fresh21:54
travnewmatici dont see that managed interface that i created21:54
travnewmaticalthough it does exist on the  192.168.0.2 interface for the  192.168.0.3 cluster controller21:55
roaksoaxtravnewmatic: that's because you don't need to install the Region controller on the Cluster controller21:55
travnewmaticaaaaaah okay21:55
roaksoaxtravnewmatic: when you install sudo apt-get install maas , it will install both Region (maas-reiogn-controller) and Cluster (maas-cluster-controller)21:55
travnewmaticuhuh21:55
roaksoaxtravnewmatic: if you want to add *another* cluster controller, which is not running on the same machine of the region, you only have to install maas-cluster-controller, and then dpkg-reconfigure maas-cluster-controller to point it to the *region* controller21:56
travnewmaticmmm i see21:56
travnewmaticwhen i did the cluster controller, i did it from the ubuntu server install media maas option21:57
roaksoaxtravnewmatic: so the base installation (sudo apt-get install maas) should allow you to control your maas and configure the *default* cluster (the one runnin with the region)21:57
travnewmaticmhm21:57
roaksoaxtravnewmatic: and if you have nodes that can talk ot the maas server, you just need to allow them to PXE boot and that's it21:57
travnewmaticso the cluster controllers act as intermediaries between nodes and the region controller21:58
roaksoaxtravnewmatic: correct21:59
travnewmatichmm21:59
travnewmatichttps://www.dropbox.com/s/bjhn5qrs3ma02rf/Screenshot%202015-02-17%2015.59.38.png?dl=022:00
travnewmaticso if i wanted to put everything on the same subnet22:00
travnewmatici think right now i'm using 192.168.0.1 through 192.168.0.422:01
travnewmaticwhat is the router ip?22:02
roaksoaxtravnewmatic: depends whether you hvae a default gw, or maas is your default gw22:03
travnewmatici've got a box doing nat22:03
travnewmaticso 192.168.0.1 is what i've got everything point to for their gateway22:04
roaksoaxtravnewmatic: say, your router is 192.168.0.1, your maas server 192.168.0.2. When you configure your dynamic range, it will use 0.4 to 0.14, and static range from 0.15 to 0.2522:06
roaksoaxtravnewmatic: so router address is 192.168.0.122:06
travnewmaticmhm22:06
catbus1looks like he has 1.5 there. not 1.7.22:06
catbus1maas I mean.22:07
roaksoaxtravnewmatic: ah, so if there's just 1 range, then you only need 1 range22:07
travnewmatici'm putting everything on 192.168.0.022:07
travnewmatichttp://pastebin.com/0nRnmUpH22:10
travnewmatichttps://www.dropbox.com/s/duoi6f19nt8vlw5/Screenshot%202015-02-17%2016.10.59.png?dl=022:11
travnewmaticaaand now dhcp and pxe is borked :D22:12
travnewmaticrestarting my cluster controller22:16
travnewmaticthe cluster controller has the only managed interface22:16
travnewmatici forgot to change the network in the network tab in the maas interface22:19
travnewmaticmight that have had something to do with it?22:19
catbus1dpkg-reconfigure maas-cluster-controller didn't help to get dhcp back?22:21
travnewmaticyaaay pxe works again22:23
travnewmatici think22:23
travnewmatichmm22:23
travnewmaticnow its just sitting there22:23
travnewmaticTFTP.22:23
travnewmaticgateway ip is 192.168.0.122:23
travnewmatichttp://imgur.com/2vQfpf722:24
travnewmatichanging on the tftp thing22:25
travnewmaticHNNNG it should be .222:26
travnewmatichold on22:26
travnewmaticshould it?22:26
travnewmaticmy gateway to my nat box is .122:27
travnewmaticregion controller is .222:27
travnewmaticcluster controller is .322:27
travnewmaticand the interface with dhcp is .422:27
catbus1You set the router IP to 192.168.0.1. It should be .1.22:28
travnewmaticso thats right?22:28
travnewmaticyeah its still hangin on the tftp thing22:29
catbus1That's right, it's getting IP address from the dhcp server which you set to .4. But I *think* the node needs to reach cluster controller to get the image files.22:29
travnewmaticbut it is getting an address from dhcp22:29
travnewmatichmm22:29
catbus1could you set eth1 internface as unmanaged on maas web ui, and set eth0 interface to manage dhcp and dns with the same settings, except IP would be 192.168.0.3 not 192.168.0.4.22:30
travnewmaticthis is odd i was getting farther with having stuff on a separate subnet22:30
travnewmatichmm alright i can try that22:30
travnewmaticso i'll ditch eth122:31
travnewmatichttps://www.dropbox.com/s/026yyfjix0h5zpr/Screenshot%202015-02-17%2016.32.13.png?dl=022:32
travnewmaticdidnt ditch it just set it to unmanaged22:32
catbus1that looks good.22:32
travnewmaticand moved the config stuff to eth022:32
catbus1config stuff?22:33
travnewmatici mean22:33
travnewmaticthe dhcp and dns form stuff22:33
travnewmaticrouter ip , high, low, etc22:33
catbus1right.22:33
travnewmaticaaaaaand we're on our way22:33
travnewmaticpxe pushing stuff over as it should22:33
travnewmaticmaas-enlisting-node login!22:35
travnewmaticwow thanks guys this is really flipping sweet22:35
catbus1great. does the node show up on the nodes page on maas web ui now? as New.22:35
travnewmaticmmm22:36
travnewmaticdoes not :(22:36
catbus1or Declared22:36
catbus1the node should power off, after that it will show up on the web UI.22:36
travnewmaticerhmahgerd thats exactly what it did22:37
travnewmatichttps://www.dropbox.com/s/8v58n0ppiswxhoa/Screenshot%202015-02-17%2016.37.28.png?dl=022:38
travnewmatichttps://www.dropbox.com/s/q33bvk4nz7s5wgx/Screenshot%202015-02-17%2016.38.00.png?dl=022:38
catbus1great. now you can commission the node, so MAAS knows how many CPU cores and RAM it has.22:38
travnewmatici'm not sure it knows how to power it back on22:39
catbus1Click Edit node on the node page.22:39
catbus1MAAS should have created IPMI credentials to power control the node.22:40
travnewmaticdid not :(22:42
travnewmaticmanually powering it back on22:42
catbus1could you show the screen shot of the node details page (click Edit node).22:43
travnewmaticunmomento22:43
travnewmatichttps://www.dropbox.com/s/10b8tv3izrs9jmp/Screenshot%202015-02-17%2016.44.55.png?dl=022:45
catbus1It says the cluster controller for this node is not responding, power type validation is not available.22:46
travnewmatic:(22:47
catbus1do you mind doing dpkg-reconfigure maas-cluster-controller again to make sure you tell the cluster controller where region controller is?22:47
travnewmaticafter the restart https://www.dropbox.com/s/ids7cnfcm1jntu7/Screenshot%202015-02-17%2016.47.40.png?dl=022:48
travnewmaticdone22:49
catbus1If it's all working as it should, you should not need to power on/off the node manually, MAAS should take care of that for you.22:49
catbus1MAAS region controller API URL should be http://192.168.0.2/MAAS for the cluster controller configuration.22:50
travnewmaticyep thats exactly what i put22:50
catbus1you mentioned you had two cluster controllers.22:51
travnewmaticno, a region and a cluster22:51
catbus1ok.22:51
catbus1i don't remember exactly how maas 1.5 should show the power control info on the node page.22:52
travnewmaticwell22:53
travnewmaticthres a dropdown in the edit page "power type"22:54
catbus1MAAS should have it filled up automatically after the enlistment.22:54
catbus1i don't know what log files to look at in /var/log/maas/ to find out what's going on.22:55
travnewmaticERROR 2015-02-17 16:54:46,136 maasserver Unable to get RPC connection for cluster 'maas'22:56
travnewmaticmight this be it?22:56
catbus1https://bugs.launchpad.net/maas/+bug/135092522:57
ubot5Launchpad bug 1350925 in MAAS "Unable to get RPC connection for cluster 'maas'" [Critical,Fix released]22:57
travnewmaticpoop22:58
catbus1could be DNS hostname resolve issue23:00
travnewmatichmmmm23:01
travnewmaticor an ssh key issue23:01
catbus1does putting hostname in the /etc/hosts file help?23:07
j^2if anyone uses chef here, i just pushed up: https://rubygems.org/gems/knife-maas23:07
j^2it would be awesome if yall could give it a shot and report any bugs to the issues page23:08
travnewmaticcatbus1, on the region controller?23:08
travnewmaticyeah i tried it on another 1950 and it doesnt like the ipmi23:14
travnewmatici see that thread though23:15
travnewmatichttps://bugs.launchpad.net/ubuntu/+source/maas/+bug/132188523:15
ubot5Launchpad bug 1321885 in openipmi (Ubuntu) "IPMI detection and automatic setting fail in Ubuntu 14.04 maas" [Undecided,Confirmed]23:15
catbus1travnewmatic: I am not sure actually. I have never deployed region and cluster on different nodes. Region couldn't contact cluster, and it could be name resolving issue, cluster is providing DNS service, so region should reach to cluster for DNS service. I would try this, edit /etc/resolv.conf and have cluster controller IP as the first nameserver entry, and see if it works.23:17
travnewmaticwell23:17
travnewmatici could try cutting out the cluster controller23:17
travnewmaticdoes this not appear to be an issue with the ipmi in the 1950?23:18
travnewmaticmy error does seem to match what is described in that bug23:18
catbus1it could be related to hardware. yes.23:18
catbus1travnewmatic: you can find your maas version with apt-cache policy maas23:21
travnewmatic1.523:21
catbus1fix verified with 1.723:22
travnewmaticso i should upgrade23:23
catbus1travnewmatic: you can get 1.7.1 from maas-maintainers/stable ppa, sudo add-apt-repository ppa:maas-maintainers/stable23:24
travnewmaticgotcha23:25
catbus1sudo apt update and sudo apt install maas23:25
catbus1choose to use the new configuration template during the install maas process. after it's upgraded to 1.7, you need to re-import the image files and there is a new IP range (Dynamic and Static) in the network interface you will need to configure.23:27
travnewmatichmm i see23:28
travnewmaticboth region and cluster are upgrading23:30
travnewmatic Y or I  : install the package maintainer's version23:30
travnewmaticthis is what you're referring to?23:31
catbus1yes.23:31
travnewmaticgotcha23:31
travnewmatici really appreciate all the help this afternoon23:32
travnewmaticshit you guys are awesome https://www.dropbox.com/s/0rq88uhv6872tcb/Screenshot%202015-02-17%2017.39.57.png?dl=023:40
travnewmatici was wondering why some of the screenshots in some of the guides looks a tad different than what i was seeing on my screen23:41
travnewmaticwow it seems like this update adds a lot23:42
travnewmaticalso it appears that my cluster controller has been disconnected from my region controller after the upgrade23:49
j^2travnewmatic: yeah 1.7.1+ is the way to go23:49
j^2most of the docs are 1.523:50
travnewmaticive noticed23:50
travnewmatichopefully the documentation will catch up soon23:52
travnewmaticwhere does juju get installed?  on the region controller?23:56

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