/srv/irclogs.ubuntu.com/2016/06/25/#maas.txt

f1gjamok ill ask there00:01
mpontillobdx: looks great; glad MAAS is working well for you =)00:43
f1gjamhey guys i tried #ubuntu-solutions - no joy00:48
f1gjamalso trying in ubuntu-server00:48
mpontillof1gjam: the traceback is saying juju tried to deploy a MAAS node but it failed to change state to "Deployed". Can you try using MAAS to deploy a node manually and see if it works? Which version of MAAS did you install?00:55
f1gjamMaas version 1.901:22
f1gjamMAAS Version 1.9.3+bzr4577-0ubuntu1 (trusty1)01:23
f1gjamgoing to deploy OS now01:23
f1gjamso the machine looks like its done01:28
f1gjambut MaaS is saying deploying still01:28
f1gjamis there a log i can follow to see what MaaS is waiting on?01:30
mpontillof1gjam: hmm, that may indicate a lack of connectivity to the MAAS server from the deployed node01:36
mpontillof1gjam: is there an installation log on the node details page? (it would be in the drop-down box alongside the commissioning results and summary)01:37
mpontillof1gjam: are you able to SSH to the machine and check the cloud-init logs?01:38
f1gjamok01:39
f1gjamso its finsihed but still saying deploying01:39
f1gjamdo you want commissioning oupiut01:40
bdxsure would be cool if dns was modifiable from the gui .....01:46
bdxi guess it wouldn't really make sense though01:47
bdxpushing for container hostname specification capibility ... I guess that would be on the juju side of things though eh?01:49
f1gjamok i am going to sleep - will try again in the morning01:49
bdxf1gjam: yea, the more logs the better01:50
bdxyou can easily get them shareable with the tool 'pastebinit'01:50
bdxflgjam: e.g. `cat /var/log/apache2/error.log | pastebinit`01:51
bdxflgjam: would return a url with your log01:52
bdxflgjam: you should try to compile a list of logs, and paste them on #ubuntu-solutions01:52
bdxflgjam: if no one is around, they will answer you when they come back01:53
mpontillof1gjam: if there is commissioning output, that's good, but I was more interested in if there was an install log01:54
wililupyUsing MAAS 2.0 with an external DHCP server, I keep running into deployment issues. The servers start up, they get an IP, but when they try to go online to setup, they try an APIPA address and then default back to my gateway's IP address, but never successfully commision. Anyone else expirience this?06:33
wililupyIf I have MAAS act as DHCP/DNS server, I can commission, but I don't want to have to create a seperate routeable network segment if I don't have to.06:34
f1gjamhey mpontillo - Are you around. The installation of the OS failed. There isnt an install available either.12:04
=== quack_quack_ is now known as quack_quack
=== tai271828_ is now known as tai271828
=== hazmat_ is now known as hazmat
f1gjamthis is all i get:  [ERROR] OS-LEN1: Marking node failed: Node operation 'Deploying' timed out after 0:40:00.14:32
f1gjamis there a proper up to date guide which tells you how to setup MaaS step by step?16:27
mpontillof1gjam: the docs linked off of http://maas.io/ should be relatively up to date.  can you take a look at the system console during the deployment to see if there are any errors? is there an installation log available in the node details page?18:01
mpontillof1gjam: you might also check /var/log/maas/rsyslog/<node> for clues18:01
* mpontillo won't be watching IRC closely, as it's the weekend, just so you know18:02
f1gjamhey mpontillo18:03
f1gjamok going to check now18:03
f1gjamlet me re-provision18:03
f1gjamsince i released all the nodes18:03
f1gjammpontillo, appreciate any help however slow it is :)18:04
f1gjamone question18:04
f1gjamdo i need to do any iptables configuration18:04
f1gjammy networks are - 192.168.10.0/24 (External) - 192.168.20.0/24 (Internal)18:05
f1gjamwhen i look at the system being provisioned it seems to provision all the way.... albeit i cant logon ...18:06
mpontillof1gjam: well, the deployed node must be able to access the MAAS server (to fetch SSH keys and send the indication that the node is now "Deployed"). Not sure about iptables; depends on your setup, but you'll want to verify that if a host is configured on that network it is able to reach MAAS18:21
f1gjamits installed18:22
f1gjamcurrenlty at18:22
f1gjamSource MaaS http://192.168.10.1/MAAS/metadata/curtin18:22
mpontillof1gjam: often times if there is a firewall or NAT involved and the deployed node cannot reach MAAS, what you need to do is "sudo dpkg-reconfigure -plow maas-rack-controller" and make sure the URL to the MAAS region is set to one that will be able to be reached from the network the nodes are deployed on18:22
f1gjamrsyslog is empty18:22
f1gjamok - so my network setup is as follows:18:23
mpontillof1gjam: so what I would do is make sure that the 192.168.20.x IP address is being used for the MAAS URL. it's possible that the deployment network cannot reach the "external" IP you are using for the MAAS region?18:23
f1gjam192.168.10.0/24 - MAAS IP 192.168.10.1 / GATEWAY = 192.168.10.254 (REAL FIREWALL/ROUTER) -This is my external network18:23
f1gjam192.168.20.0/24 - MAAS given adress of  192.168.20.1 on interface eth118:24
mpontillof1gjam: also make sure that all the proper subnet gateways are configured in MAAS (check the details page for each subnet under "Networks" in MAAS)18:24
f1gjamthats one quesion18:24
f1gjamso lets say external network 192.168.10.118:24
f1gjamhas the correct gatwway etc...18:25
f1gjambut in 192.168.20.118:25
mpontillof1gjam: okay, and how are the deployed nodes expected to get off-subnet? what is their router supposed to be? the MAAS server?18:25
f1gjamMAAS18:25
f1gjam192.168.20.118:25
mpontillof1gjam: okay then yes you'll need to ensure routing is enabled on the MAAS server and whatever iptables rules necessary are in place18:25
f1gjamwhy?18:26
mpontillof1gjam: my guess is that the deployed nodes are trying to hit MAAS on the external IP address and it isn't working due to routing issues18:26
f1gjamI mean the document statues to set18:26
mpontillof1gjam: alternatively you can do the dpkg-reconfigure command I suggested earlier to make sure the deployed nodes hit MAAS on the internal network interface18:27
f1gjamand change the MaaS IP?18:27
f1gjamto the internal address?18:27
mpontillof1gjam: yes18:27
f1gjamhttps://screencloud.net/v/lVjd18:28
f1gjamhttps://screencloud.net/v/xzDb18:29
f1gjamhttps://screencloud.net/v/37718:31
f1gjambrb18:37
f1gjamif i change the router ip to the REAL router for the .20 netowkr18:40
f1gjami get18:40
f1gjamcalling 192.168.20.254//latest/meta--data/instance-id sp im guessing it has to be the address of the MaaS server18:40
mpontillof1gjam: ah, you are on MAAS 1.9? for some reason I was assuming you were on 2.019:04
mpontillof1gjam: some of my instructions were wrong then. "sudo dpkg-reconfigure -plow maas-cluster-controller" (not rack-controller)19:05
mpontillof1gjam: did you send a screenshot of the configuration of the eth0 interface?19:06
mpontillof1gjam: there is no requirement that the router IP is the MAAS server. you can define the router IP on the cluster interface settings page19:07
f1gjamim back sorry was afk19:30
f1gjamthe problem is19:30
f1gjamif i set the GW IP of eth0 which is the private interface to 192.168.20.25419:30
f1gjamit those that error about19:30
f1gjamhttps://screencloud.net/v/3m9g <-- eth0 configuration (private network)19:33
f1gjamhttps://screencloud.net/v/64N19:44
f1gjamif i put the gateway as19:44
f1gjam192.168.20.25419:44
f1gjamI get that issue19:44
mpontillof1gjam: oh, that's interesting. are you redirecting MAAS to an SSL-enabled site?20:15
mpontillof1gjam: I would try running "dpkg-reconfigure -plow maas-cluster-controller" and make sure the MAAS URL is set to http://192.168.20.1:5240/MAAS/20:17
mpontillof1gjam: that way you'll ensure you are talking directly to MAAS without any thing in between20:17
f1gjamok20:18
f1gjambut..20:18
f1gjamif you look from that pick thats when i point it to the router as the default GW for the 192.168.20.x network20:18
f1gjamthat issue doesnt come up20:18
f1gjamif i make the gateway 192.168.20.1 = MAAS20:18
mpontillof1gjam: yeah, that is weird and I can't explain that right now (though I've seen it in the past, I wonder if it's some kind of a fallback); I'm pretty sure it should be using the MAAS URL configured on the cluster, not the gateway, to attempt to contact the cloud-init data source20:42
f1gjammpontillo, sorry i disconnected21:22
f1gjamback now21:22
f1gjamhttps://screencloud.net/v/QUf22:23
=== lifeless_ is now known as lifeless
boxoHello23:30
boxoi ned more info for mass23:31

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