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

=== CyberJacob is now known as zz_CyberJacob
=== tai271828_ is now known as tai271828
mupBug #1583392 opened: Cannot disable DHCP if you remove the subnet first ("Cannot configure DHCP: At least one dynamic range is required.") <MAAS:New> <https://launchpad.net/bugs/1583392>01:15
mupBug #1583393 opened: Web UI shows DNS server as 0.0.0.0 when it is not set <MAAS:New> <https://launchpad.net/bugs/1583393>01:27
mupBug #1583395 opened: "Enable DHCP" on VLAN does not setup a Reserved Dynamic range for secondary (IPv6) subnets <MAAS:New> <https://launchpad.net/bugs/1583395>01:57
mupBug #1583402 opened: Generated hostnames in 2.0 are much less friendly than 1.9 <MAAS:New> <https://launchpad.net/bugs/1583402>02:33
mupBug #1583393 changed: Web UI shows DNS server as 0.0.0.0 when it is not set <MAAS:Invalid> <https://launchpad.net/bugs/1583393>06:31
mupBug #1583402 changed: Generated hostnames in 2.0 are much less friendly than 1.9 <MAAS:Won't Fix> <https://launchpad.net/bugs/1583402>06:31
johnny__hello!09:29
johnny__I am trying to add some nodes to my maas server09:29
johnny__but they stack in status new09:30
johnny__they never go to commisioning09:30
johnny__do you have any idea whats going on?09:30
=== terje is now known as Guest83947
sbvhi everyone, with MAAS 1.9.2 is it possible to add custom A or CNAME records into zone controlled by MAAS?11:19
shewlessHi. I had a working maas server but I tried to change the networking a bit  so that it would assign an IP on the pxe interface as well as another interface. Since I've done that I can't deploy anymore. I see a message flash on the console about some network problem.. do you know if there is a console log I'd be able to view to get more info?13:22
shewlessHere are the logs I can see: http://pastebin.com/Nh3880Hh13:23
shewlessSince my devices are failing deployment I see this on the console on boot: Cloud-init: url_helper.py.: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id failed  Failed to establish a new connection (errno 101 Network is unreachable)14:18
shewlessBut I can see that PXE booting is working correctly so the pxe network must be at least partially working14:18
shewlessDoes my subnet which is providing DHCP HAVE to have a gateway? I removed the gateway because I wanted to add a default gateway on a different subnet after the fact - could that be causing the problem?14:19
shewlessI'm trying with a gateway set on my PXE/DHCP network. I'll report progress14:28
=== Guest83947 is now known as terje
mupBug #1583670 opened: [2.0b5] No way to read settings, like proxy, for non-admin users <juju> <MAAS:New> <https://launchpad.net/bugs/1583670>16:12
shewlessanyone happen to be around to help me figure out why I can't commission/deploy servers? I previously described my problem. After adding a gateway I still have a problem16:20
roaksoaxshewless: it seems that you don't have network connectivity to the region controller16:22
roaksoaxshewless: so it is unable to access the metadata16:22
shewlessroaksoax: but wouldn't pxe fail if that was the case?16:22
roaksoaxshewless: what do you have in /etc/maas/rackd.conf ?16:23
shewlesscluster_uuid: 6137711c-bc3f-4ffd-9080-c76c26635bb3 maas_url: http://localhost:5240/MAAS16:24
mupBug #1583685 opened: [2.0b5] Can't force the import of images per Rack COntroller <MAAS:New> <https://launchpad.net/bugs/1583685>16:24
roaksoaxshewless: change localhost with the IP address of the region controller that the machine you are deploying can reach16:25
roaksoaxshewless: for example, if it is a single maas server16:25
roaksoaxshewless: and your DHP range is 10.10.10.0/2416:25
roaksoaxshewless: put the IP address of the region under the same range16:25
shewlessroaksoax: it is a single maas server. Currently I'm using 172.20.0.1/2016:26
roaksoaxshewless: ok, so your maas server has an IP in 172.20.0.1/20 right ?16:26
shewlessroaksoax: actually I just tried "commissioning" a server which was previously working and it does not receive an offer while PXE booting.. so that's not good16:26
shewlessyes. the maas server is 172.20.0.116:27
roaksoaxshewless: so just change localhost with the IP of your maas server in that range and that should fix it16:27
roaksoaxshewless: ok so do that, change localhost with 172.20.0.116:27
shewlessroaksoax: okay.  any idea how it got "messed up"?16:27
roaksoaxshewless: the problem when chossing localhost is that MAAS would take all of the IP's of your region controller and chose "any"16:27
roaksoaxshewless: sometimes it will chose the right one, sometimes it may not and ther emay be various resons why it may not16:27
roaksoaxbut I think we can look into trying to be starter16:27
shewlesshmm. I also have an "external facing" IP on my maas server16:28
shewlessshould I put that IP in or the PXE network IP?16:28
shewlessalso, do I need to restart any services after changing rackd.conf?16:29
roaksoaxshewless: no, the reason why it may be failing, it is because is taking the "external facing" isntead of the "internal facing"16:30
roaksoaxshewless: so ensuring that /etc/maas/rackd.conf points to the "internal facing" would solve your problem16:30
mupBug #1583685 changed: [2.0b5] Can't force the import of images per Rack COntroller <MAAS:New> <https://launchpad.net/bugs/1583685>16:30
shewlessroaksoax: okay I tried that. the host still isn't pxe booting. When I tcpdump on the interface with the 172.20.0.1 IP on the maas server I see the Bootp/dhcp requests come in from the server I'm trying to commision.. but no repsonse16:33
roaksoaxshewless: restart maas-rackd16:36
roaksoaxshewless: and that should trigger a reconfiguration16:36
roaksoaxshewless: if you have a full console log16:36
roaksoaxshewless: it would be helpful as well16:36
shewlesshow do I restart maas-rackd? can I get the console log from the maas server somehow?16:37
roaksoaxshewless: sudo service maas-rackd restart16:38
roaksoaxshewless: and no, maas doesn't store console logs16:39
shewlessunfortunately I don't have console logging on my servers at the moment16:39
shewlessroaksoax: restarting maas-rackd seemed to help at least a little. The PXE boot worked.. we'll see how far it gets16:40
mupBug #1583685 opened: [2.0b5] Can't force the import of images per Rack COntroller <MAAS:New> <https://launchpad.net/bugs/1583685>16:42
roaksoaxshewless: if maas makes it to networking and cloud-init configures networking, you will find console logs in /var/log/maas/rsyslog/ , but only starting from 2.0916:43
roaksoaxshewless: if maas makes it to networking and cloud-init configures networking, you will find console logs in /var/log/maas/rsyslog/ , but only starting from 2.016:43
shewlessroaksoax: Okay my system comissioned correctly!! So is it okay if I remove the gateway and dns settings from the network that provides PXE? What I mean is I don't want the hosts I'm deploying to have a "gateway" of 172.20.0.1.  Is that okay to do that?16:44
shewlessroaksoax: I'm using 2.0.0 so I guess I could check those logs16:44
dbainbriis there a URL that can be hit in MAAS to just verify that MAAS is "up" and accepting APIs calls, w/o first authenticating? looking to use that URL in an Ansible script to determine when to move forward16:47
kikodbainbri, good question16:52
kikoroaksoax, what of the idea of asking when the package is installed the first time what interface(s) rackd should be listening on?16:52
kikodbainbri, GET /api/2.0/version/16:53
kikodbainbri, I don't think that requires authentication16:53
kikodbainbri, care to ask in askubuntu.com? I'll provide a working example too16:53
dbainbrikiko: that resulted in HTML, which looked like a redirect for login16:55
kikohmm16:55
kikodbainbri, could you make an askubuntu.com question so I don't lose your request?16:55
dbainbriy16:55
kikomeanwhile talking to a developer16:56
dbainbrikiko: http://askubuntu.com/questions/774792/unauthorized-maas-url-to-validate-server-is-up-and-running17:04
dbainbrikiko: right now using an unauthorized response from /api/1.0/maas/17:04
kikodbainbri, <allenap> kiko: Ah, /MAAS/api/version/ (note no "2.0") is probably best. It ought to return HTTP 200, content-type text/plain, with the body content "2.0".17:29
kikodbainbri, also, https://bugs.launchpad.net/maas/+bug/158371517:29
dbainbrikiko: allenap: on a 1.9 server I get a HTTP 302, no content17:32
dbainbrikiko: allenap: also a Location redirect to login17:33
kikobejesus17:33
kikothat's depressing17:35
kikoI will need to look at the source now17:35
shewlessHello. Thanks to roaksoax I was able to get my maas server to work again!  I have 4 servers I can commission/deploy but I have 1 server that fails to commission. Here are the console logs: http://pastebin.com/59L7Km8t17:36
shewlessLooks like some modules-final thing didn't run all the way to completion.17:36
kikoshewless, is there nothing relevant prior to that?17:39
shewlesskilo: I'll paste the whole thing in a minute17:42
kikodbainbri, this is really weird.17:47
kikothe VersionHandler is marked with AnonymousOperationsHandler17:48
kikoor inherits from it17:48
mupBug #1583715 opened: MAAS version API call should not require authentication <MAAS:New> <https://launchpad.net/bugs/1583715>17:49
shewlesshmm.. it seems deleting the console log wasn't a great idea.. it's not populating at all now :)17:59
kikoindeed18:02
=== zz_CyberJacob is now known as CyberJacob
shewlessHello. Does anyone know if maas can be easily integrated into ansible?20:30
terjehttps://github.com/waldemarbautista/maansible21:04

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