/srv/irclogs.ubuntu.com/2018/02/13/#maas.txt

BlackDexadmin0: there are some ways by adding/changing the curtin installer scripts if i'm correct. But not easy.08:32
BlackDexadmin0: You can check this article, maybe it will help you: https://insights.ubuntu.com/2017/06/02/customising-maas-installs/08:36
admin0BlackDex, thanks10:11
admin0checking10:11
admin0BlackDex, exactly what i needed10:45
admin0many thanks10:45
BlackDexadmin0: yw :)12:31
mupBug #1749210 opened: node powered off after reboot from rescue mode <amd64> <apport-bug> <uec-images> <xenial> <MAAS:New> <maas (Ubuntu):New> <https://launchpad.net/bugs/1749210>15:12
mupBug #1749210 opened: node powered off after reboot from rescue mode <amd64> <apport-bug> <uec-images> <xenial> <MAAS:New> <maas (Ubuntu):New> <https://launchpad.net/bugs/1749210>15:14
mupBug #1741013 changed: [Wishlist] Ability that can add custom cloud-init configuration <cpe-onsite> <MAAS:Invalid> <https://launchpad.net/bugs/1741013>16:09
mupBug #1749246 opened: nodes boot into 4.13 (hwe kernel) with no minimum kernel set <amd64> <apport-bug> <uec-images> <xenial> <maas (Ubuntu):New> <https://launchpad.net/bugs/1749246>17:09
xygnalroaksoax: ping17:12
mupBug #1749246 opened: nodes boot into 4.13 (hwe kernel) with no minimum kernel set <amd64> <apport-bug> <uec-images> <xenial> <MAAS:Incomplete> <maas (Ubuntu):Incomplete> <https://launchpad.net/bugs/1749246>17:15
mupBug #1749246 changed: nodes boot into 4.13 (hwe kernel) with no minimum kernel set <amd64> <apport-bug> <uec-images> <xenial> <MAAS:Incomplete> <maas (Ubuntu):Incomplete> <https://launchpad.net/bugs/1749246>17:21
mupBug #1749246 opened: nodes boot into 4.13 (hwe kernel) with no minimum kernel set <amd64> <apport-bug> <uec-images> <xenial> <MAAS:Incomplete> <maas (Ubuntu):Incomplete> <https://launchpad.net/bugs/1749246>17:39
xygnalmpontillo: ping18:48
roaksoaxxygnal: pong18:52
xygnalroaksoax:  json outputs in that bug report for you. needs review and next stepzn18:58
xygnal174476518:58
roaksoaxxygnal: I saw, thank you. Were you able to try a test environment in hardware?18:59
xygnalno. my team is not convinced you have enough evidence to prove it as a vmware issue so they have not been in a hurry to try it.19:01
xygnaldo you have a technical theory WHYn19:02
xygnal?19:02
xygnalwe dont see any indication of perf issues on the box itself.19:03
xygnaljust the app, which by itself, consumes all memory regularly.19:03
xygnaleven with 8 threads now,  no change.19:04
xygnalcli commands are still quick19:05
xygnalonly UI impacted19:05
roaksoaxxygnal: are you running xenial? or are you running a newer version ?19:11
xygnal16.04.319:16
xygnalyes xenial19:16
jtcressyDoes anyone know why a MAAS controller would fail to set a static IP on an interface? Once I set the interface to an IP, the physical adapter is never changed (verified with ip addr show) and upon reboot, the controller shows the interface as unconfigured. What's wrong?19:19
mpontilloxygnal: sorry for slow responses; I'm swamped with other work19:21
mpontilloxygnal: when you say "by itself", are you saying that even if there are zero users of the web UI, there are still issues?19:21
mpontillojtcressy: at what point does it change? how are you setting the static IP?19:22
jtcressyNodes>Controllers>(my only controller)>Interfaces>(second ethernet adapter)> edit physical19:23
jtcressyAm I wrong in assuming that the MAAS server would change the IP configuration of interfaces on the server it's running on?19:24
roaksoaxjtcressy: the maas controller doesn't change interface configuration19:24
roaksoaxjtcressy: is this a physical interface ? have you restarted maas-rackd again ?19:25
jtcressyIt is a physical interface19:25
jtcressySo, then what I need to do is configure the interface via /etc/network/interfaces and then maas will be able to use it?19:25
jtcressy(fyi the way I have this setup is one interface is management network that provides dhcp and the other interface is the rack that the controller should provide DHCP to)19:26
xygnali double  checked this and even maas cli takes ages to complete a machines read.19:27
xygnaler no..19:28
xygnalnot ages.... 120 seconds19:28
roaksoaxxygnal: yeah that's a non issue with the cli19:29
roaksoaxknown*&19:30
mpontillojtcressy: yes, for controllers MAAS uses the interfaces as-configured.19:32
xygnalonly the ui is slow.  monsterously slow. even takes several minutes to see a node page. like, just a single node's page.19:33
jtcressyyaaay stuff works after doing all the static assignment stuff in etc/network/interfaces19:41
jtcressyHow can I reconfigure dhcp? machines timeout on trying to get tftp19:51
jtcressyPXE E32: TFTP open timeout19:59
jtcressycommissioning node just sits there spinning and doing nothing19:59
jtcressyhave wireshark open and I see the TFTP requests on the wire. maas server just doesn't reply atall20:00
mupBug #1749281 opened: MAAS 2.3 does not revert system proxy back to original state when MAAS is removed <MAAS:New> <https://launchpad.net/bugs/1749281>20:01
jtcressyWait, do I have to manually install an OS on machines before I can commission it?20:06
mpontillojtcressy: once you enable DHCP in MAAS, machines that boot from your DHCP-enabled VLAN should enlist automatically. are you saying MAAS is responding to DHCP but not TFTP requests? are you using any kind of network filtering, DHCP forwarding, or third-party DHCP server, or are your machines just booting directly onto a DHCP-enabled VLAN?20:14
jtcressythe machines are directly getting DHCP from the maas machine20:15
jtcressyabsolutely zero network filtering. I have a gateway at the '.1' address of the network which is declared accordingly on the maas server20:16
jtcressymaas server is at '.2' with a static address20:16
jtcressyand that '.2' address is declared as the dhcp address for the maas controller20:16
mpontillojtcressy: can you pastebin the output of /usr/lib/maas/maas-test-enlistment?20:16
jtcressympontillo: https://pastebin.com/wJUjUYNL20:18
mpontillojtcressy: er, I meant for you to execute the script so I could see its output; sorry if that wasn't clear20:19
jtcressyoh ok20:19
jtcressympontillo: https://pastebin.com/1C70p44520:20
jtcressympontillo: FYI, I just checked 'netstat -tnap | grep LISTEN' and port 69 does NOT show up in the output!!!!20:22
mpontillojtcressy: well, looks like the TFTP server is responding and serving up bootloaders - at least when the test script runs. you can see that TFTP is indeed responding, so not sure why your command doesn't see it.20:23
mpontillojtcressy: I would try `sudo dpkg-reconfigure -plow maas-rack-controller`and make sure that the URL specified is a URL that the booting machines will be able to reach20:23
mpontillojtcressy: by default it uses `localhost`, which tries to determine the URL for enlisting nodes to use automatically - this doesn't always work20:24
jtcressyok, i set the api address accordingly20:26
jtcressyrebooting a node still results in tftp timeout and a bunch of node -> maas controller tftp read requests on the wire20:27
jtcressyWhat should I do when TFTP is apparently *non-functional* ?20:27
mpontillojtcressy: is there anything else about your setup that might be unusual? your pastebin proved that TFTP works to some extent; the `maas-test-enlistment` script basically uses `curl`to mimic what the bootloader does, and you can see the MAAS TFTP server responding20:29
jtcressybut this is weird.... netstat shows that port 69 is NOT listening, so how did the script verify that tftp was working?20:30
mpontillojtcressy: well, that's why I was wondering if there was something unusual in your setup. ;-)20:31
jtcressyI installed this maas server from the "install maas region controller" option at the boot prompt of the installer ISO20:31
jtcressyand running this all in vmware shouldnt affect it as long as i have the networking in order, which I've verified using wireshark20:32
jtcressyand the fact that they can communicate with maas via dhcp20:33
mpontillojtcressy: netstat doesn't show udp ports in LISTEN mode; if you grep your netstat for "udp" you will most likely see the open ports20:33
mpontillojtcressy: for example, I see `udp        0      0 127.0.0.1:69            0.0.0.0:*                           10842/python3` on my test MAAS20:34
jtcressyjust 'netstat -na | grep udp' ?20:34
mpontillojtcressy: I used `netstat -anp | grep udp`20:34
mpontillojtcressy: did you enable `ufw` when you installed the server? if so, try turning it off?20:35
jtcressyok, 69 shows up in netstat with udp now20:36
jtcressydidnt touch ufw20:37
mpontillojtcressy: ok. well, you could copy the maas-test-enlistment script to another machine to test if it works from somewhere else across the network. if you pass it a hostname or IP address as a parameter, it will query a remote MAAS20:37
mpontillojtcressy: so far you've proved that TFTP is up and running on the MAAS server, but you haven't proven you can talk to it over the network20:38
jtcressyworking on it. rebooting it for good measure, then going to try tftp from my host system20:39
jtcressytftp works from my host system20:41
jtcressy*and* this is to the IP that the commissionable nodes are supposed to be talking to20:43
jtcressyI just don't understand why '.191' is completely ignored from tftp requests, when '.1' is answered for tftp requests.20:47
jtcressyOk, i'm noticing one thing. I filtered my wireshark for just tftp packets to compare it directly. When running tftp from my host machine, it initially talks to the maas server on port 6420:50
jtcressybut the node keeps trying port 6920:50
jtcressythe node also trys port 7420:50
jtcressyoh, forget what I said. I was reading the wrong field20:50
jtcressyboth of them are reading port 6920:51
jtcressympontillo: I see another discrepancy: My host is requesting type "netascii" while the node is requesting type "octet"20:57
jtcressyso, netascii works and octet does not20:57
mpontillojtcressy: netascii vs. octet shouldn't matter; MAAS will always return the same response regardless.21:00
mpontillojtcressy: when you say .191 is ignored and .1 is answered, what do you mean?21:00
jtcressy<network address>.1 i.e "192.168.1.1"21:00
jtcressysupposedly, there is a hosts.allow file somewhere on the ubuntu server but i don't know where it is21:03
jtcressympontillo: ran tcpdump on the maas controller for port 69 and watched the node request pxelinux.0 and the maas controller just never responds https://pastebin.com/rQ08vDvq21:15
mpontillojtcressy: weird, and yet when you use the script (or something like `curl -s`?) it replies?21:19
jtcressyyep21:20
mpontillojtcressy: is the MAC seen by the PXE address known to MAAS? you might check /var/log/maas/*.log for any clues21:20
jtcressyI just ran tftp 172.16.207.2, then get pxelinux.0 from my macbook and it also works21:20
jtcressyi'll check the maas log. the mac address is known to maas21:20
mpontillojtcressy: is 172.16.207.2 configured on ens38?21:21
jtcressyyes21:22
jtcressy172.16.207.1 is my macbook21:22
jtcressyand 172.16.207.119 is the node, and the node got this IP from the maas server via dhcp21:22
mpontillojtcressy: what is the output of `ip r g 172.16.207.191` on the MAAS server?21:23
jtcressy172.16.207.191 dev ens38  src 172.16.207.2      cache21:23
jtcressyneither /var/log/maas/maas.log or ''/rackd.log say anything when I reboot my node and do pxe again21:24
mpontillojtcressy: anything unusual in regiond.log that corresponds?21:26
jtcressyNope just a bunch of HTTP 200 logs21:26
mpontillojtcressy: if you run the tcpdump while one of the working nodes on that network requests the file, how does the output differ? I know tftp switches ports for the data transfer, so it's not clear to me if the 'port 69' filter would catch everything21:43
jtcressyNo, tcpdump does not catch whether or not tftp actually works, I just used it to verify that the maas server was receiving it from the network21:44
jtcressywhat DOES verify when tftp work, is when i see about 200 packets flow across the network that I can see via wireshark21:45
jtcressyWhat I need to know is if the tftp server that maas runs ever discriminates. This is the only thing I can think of, and I cant find ANY tftp logs at all21:46
jtcressympontillo: Found this, reading through it... https://bugs.launchpad.net/maas/+bug/146500021:47
mpontillojtcressy: it doesn't discriminate with regard to the boot loader, but it does return a custom pxelinux.cfg depending on which node booted21:47
jtcressybut it fails to even send pxelinux.0 so that can't be it.21:49
mpontillojtcressy: that was why I asked about interface configuration and routing; setups with the same subnet configured on more than one interface could cause this type of issue21:49
jtcressyBut that's exactly what I don't have. ens33 has 172.16.97.145/24 and ens28 has 172.16.207.2/24. They are completely different networks21:49
jtcressyens38*21:50
mpontillojtcressy: what version of MAAS are you running?21:50
jtcressy2.321:51
jtcressyMAAS version: 2.3.0 (6434-gd354690-0ubuntu1~16.04.1)21:51
roaksoaxwhat it would be interesting to see is what the virtual network in esxi is doing22:03
roaksoaxalso, jtcressy can you connect to the tftp server?22:03
roaksoaxmanually ?22:03
roaksoaxand get files from it?22:04
roaksoaxfrom the internal vmware network ?22:05
roaksoaxalso, are there anu other dhcp servers in the vlan ?22:05
jtcressyroaksoax: Sorry, i'm back. Yes, i can contact tftp via the virtual network using my host machine. maas is the only machine giving out dhcp on the lan.23:20

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