[01:07] roaksoax: ya, i tried that command and nothing happened, you would think that would be right [04:36] Bug #1602093 changed: [2.0r1] maas webui error updating subnet mtu when dhcp is configured [04:42] Bug #1602093 opened: [2.0r1] maas webui error updating subnet mtu when dhcp is configured [04:45] Bug #1602093 changed: [2.0r1] maas webui error updating subnet mtu when dhcp is configured === frankban|afk is now known as frankban [14:11] kiko: I understand I must not provide 2 default gw for maas server as well for enlisted nodes. But should I add a default gw to the public subnet? not the subnet on which nodes pxe boot [14:25] Hi. I want to use KVM machines for maas setup using http://maas.io/docs/installconfig-add-nodes. So I created one kvm machine for maas-admin node. From that machine I ran $sudo virsh list --all. It was returning empty. Please provide me solution for this. [14:42] neith: you can change the interface which will configure the default gateway [14:43] neith: look into "maas interface set-default-gateway" [14:43] rock_: i think you have the wrong conception of what KVM/virsh do [14:44] rock_: if you do: sudo virsh list --all -> that will list of KVM's VM's running on the system where you are running that command [14:44] rock_: if that's a VM, it is most likely you don't have nested VM's on that machine [14:44] rock_: so you need to log into a external KVM/libvirt, to be able to list running VM's [14:46] roaksoax: Thank you. I have a question with KVM machines maas setup. [14:48] rock_: so, are you running MAAS as a VM right ? [14:49] rock_: so say, MAAS is in subnet 192.168.122.0/24, and your KVM host is 192.168.122.1/24 right ? [14:49] roaksoax: Yes. [14:50] rock_: so you'd need to do something like: virsh -c qemu+ssh://192.168.122.1/system list --all [14:50] rock_: so you'd need to do something like: virsh -c qemu+ssh://@192.168.122.1/system list --all [14:51] roaksoax: I created one kvm machine for MAAS installation It has taken 192.168.122.98 [DHCP] [14:52] rock_: right, so you need to: [14:52] 1. configure you MAAS VM with static IP address [14:52] 2. disable libvirt DHCP, or it wont let MAAS provide DHC{P [14:54] roaksoax: So can I configure static IP for MAAS VM using 192.168.122.0/24 range IP. [14:56] roaksoax: For remaining 4 maas-slave nodes, No need to install OS. Enabling pxe boot is sufficient? Then MAAS will do auto discovery ? [14:58] roaksoax: (or) for adding nodes manually, I need power ID and adress of slave nodes right. Power ID means name of slave-node. So How can I get power address? [14:59] rock_: so do 1 and 2 above, then name the VM's maas will control somthing different from MAAS< for example: [14:59] maas-server, node01,node02, etc (in livirt) [15:00] rock_: 3. name your MAAS VM vs your node's differently, so they have a different prefix [15:01] rock_: 4. Go to MAAS, click on 'Add Chassis', and input for power address: qemu+ssh://@192.168.122.1/system power password: your psasword, prefix filter - a prefix to import all of those machines that start with that prefix (that does NOT match the MAAS server) [15:01] rock_: 5. configur DHCP in MAAS [15:01] rock_: 6. Download images in MAAS [15:04] roaksoax: OK. Thank you. So I have give the same power address :qemu+ssh://@192.168.122.1/system power for all slave nodes right. In MAAS node am I need to create a bridge (or) router kind of thing. [15:05] rock_: no, since they are all vm's, theu will all access the internet via the KVM host machine [15:05] rock_: via 192.168.122.1 [15:05] rock_: if you were running maas in the KVM host machine (uinstead of inside a VM), they you may need to create a bridge [15:07] roaksoax: Ok. Thank you. [15:10] SO in maas VM i have to take 192.168.122.1 as gateway, 192.168.122.0/24 as network , and 255.255.255.0 as netmask and address as 192.168.122.x right. [15:12] roaksoax: And have to make the given IP as static. [15:12] roaksoax: Thank you for your patience in providing the detailed answers.. [15:53] roaksoax: How can I remove the default gateway?? [16:48] kiko: hé again, I had alot of work in the last couple of days, but gonna try and troubleshoot again :) . My question is if u know how to trim down the time that the installer fails. Right now its 3000 seconds which is enormous for troubleshooting [16:53] PCdude: define trim down the installer fails ? [16:54] neith: don't put a gateway int he subnet, but why would you want to do that ? machines wouldn't be able to install packages and such without it [16:55] roaksoax: good point, I am trying to install openstack with "openstack-installer". I am using the autopilot option in there. It fails and I have had some good help a couple of days ago from different people on IRC. I am wanna try to troubleshoot some more, but the installer fail takes 3000 seconds. There should be a file somewhere on the disk that [16:55] defines that number. I wanna change that so I can troubleshoot faster and see what changes in the error log. [16:55] roaksoax: does that make sense? === frankban is now known as frankban|afk [17:09] PCdude: it does, the 3000 seconds though seems to be a timeout someone else holds that it is not MAAS [17:09] PCdude: MAAS has a 40 minute deployment timeout, where if the machine has not been deployed in 40 minutes, it gets marked as failed deployment [17:09] PCdude: and that is non-configurable in MAAs [17:10] PCdude: that said, when deploying opestanck you may want to identify two things: [17:10] 1. MAAS 2. Juju. [17:10] 1. does MAAS mark the amchine deployed ? IF it does, then JUju (or something else) cases the machjine to have failed in Juju) [17:12] roaksoax: it is know where the issue is. JUJU is staring an container on a node, but either is communicating wrong or LXC is giving no IP to the container. Which makes that the container cannot be reached. The problem is that I want to try some things out, but yeah that is gonna take me all day. The reason I asked kiko was simply coz I spoke about [17:12] this a reasonable amount. So maybe he knew, but I am aware of the fact that this is not MAAS related. [17:49] Hey all, I'm trying to deploy maas-2.0 and I'm running into problems. I have a region controller and a rack controller on separate boxes. The rack controller is registered, but when I try to provide dhcp for its subnet, the region controller has an empty list for the rack controller. [17:49] Any ideas? [17:55] sgoller, seems like a bug. 2.0 final? [17:56] sgoller, basically you registered the cluster controller with the region and it doesn't show up? [17:56] sgoller, or perhaps are you missing the registration step? [17:58] the steps I took were: [17:58] installed region controller [17:58] made sure it could be logged into [17:58] installed the rack controller [17:58] registered it with the region controller [17:58] and the registration succeeded? [17:58] yes [17:59] the subnet for the rack controller is present [17:59] roaksoax, ^^ what do you think? [17:59] I created a separate fabric for the subnet, moved the rack controller's subnet over [18:00] then went to the untagged vlan for that fabric and selected "provide dhcp" [18:00] the subnet shows up fine, but the list of rack controllers is empty. [18:01] MAAS Version 2.0.0+bzr5189-0ubuntu1 (16.04.1) [18:01] is there a newer version? I'm pulling from ppa:maas/stable [18:05] i'm going to blow everything away and start from scratch [18:14] sgoller, that's the right version [18:14] sgoller, let me get somebody to help before you blow it away [18:15] kiko, ok. [18:21] sgoller, does anything show up in your /var/log/maas or syslog? [18:21] sgoller, anything suggesting a problem? [18:22] not seeing anything obvious. I'm going to go through provide dhcp again to see if something shows up [18:22] Sep 12 11:21:23 maas-region sh[3771]: 2016-09-12 11:21:23 [HTTPChannel,20,127.0.0.1] Opening connection with IPv4Address(TCP, '127.0.0.1', 54928) Sep 12 11:21:23 maas-region sh[3771]: 2016-09-12 11:21:23 [-] Closing connection: ('Failed to authenticate user.') [18:22] this shows up periodically [18:22] on the region controller [18:23] here's more [18:23] Sep 12 11:22:37 maas-region sh[3771]: 2016-09-12 11:22:37 [-] 127.0.0.1 - - [12/Sep/2016:18:22:36 +0000] "GET /MAAS/rpc/ HTTP/1.1" 200 220 "-" "provisioningserver.rpc.clusterservice.ClusterClientService" Sep 12 11:22:41 maas-region sh[3771]: 2016-09-12 11:22:41 [HTTPChannel,23,127.0.0.1] Opening connection with IPv4Address(TCP, '127.0.0.1', 55068) Sep 12 11:22:41 maas-region sh[3771]: 2016-09-12 11:22:41 [-] Closing connection: WAT [18:24] ok, now it's shown up [18:25] mpontillo, ^^ [18:25] sgoller, did you change anything? [18:25] I had shutdown both the rack controller and the region controller [18:25] because i was going to reinstall them [18:25] but then on your suggestion I brought them back up [18:25] ugh. [18:27] sgoller, I'm wondering what you changed beyond restarting things that made it function [18:27] sgoller: think I've seen something like that before when I played with 2.0 beta a while back [18:27] I had to restart the dhcp service [18:28] koaps: hm. This was a fresh install, and no dhcp had been configured yet, so it wasn't running at all on the rack controller. It's running now, however, since I was able to provision that subnet. [18:30] I've been meaning to setup my dev env with 2.0, if I get a chance I'll do that an maybe file a bug if I get same behavior, or look for yours :) [18:30] sgoller, what did you do exactly to register the controller? [18:31] sgoller, I'm wondering if you changed anything else after that and before restarting [18:34] i clicked on add rack controller, which outputs a series of commands [18:34] like i said, i moved the subnet connected to the rack controller over to fabric-1. [18:34] maybe something to do with that [18:35] and i had moved it back but it still had a problem [18:35] so i suspect there may be some issue there. [18:37] the rack controller is having problems syncing images with the region controller, so I think i'm going to reinstall again anyway. [18:37] kiko, thanks for your help. [19:05] sgoller, wait, don't reinstall :) [19:05] sgoller, what issues are happening? let's look at the logfiles? [19:06] sgoller, I think you hit an underlying bug I'd love to figure out [19:17] sorry, I already reinstalled. :( [19:19] sgoller, okay, let's keep an eye out if the problem reoccurs [19:20] kiko, for sure. I'm going to follow the same steps. [20:13] kiko, ok, I'm in that exact same scenario now. The order of operations was: Install region controller. create account, login to make sure it was up. install rack controller software, use add rack controller in the ui to show the commands to run to register it. register rack controller via cli... [20:13] kiko, then move the rack controller's subnet to a different fabric [20:14] then go to the untagged vlan on the new fabric, and select "Provide DHCP". The following screen does not have a selectable rack controller. [20:14] kiko, so this is reproducible [20:14] sgoller, same log entry? and if you restart rackd, does it work? [20:15] so this is interesting. [20:15] going to the node page for the rack controller [20:16] it lists it as being the rack controller for things only connected to the region controller [20:16] kiko, this seems to imply that maas really doesn't like a standalone region controller [20:17] kiko, the region controller has associated the subnets that are attached to itself to the rack controller, which is on a completely separate network. [20:17] sgoller, I think it's actually that registration is failing [20:17] but I'm not sure why [20:17] which is why I'm keen on the logs [20:18] what logs would you like? /var/log/syslog from the rack controller? [20:18] sgoller, /var/log/maas actually [20:21] hm. you can't upload a file to pastebin? weak. [20:22] sgoller, you can pipe to pastebinit! [20:22] kiko, got it, thanks! [20:38] sgoller: sudo pastebinit /var/log/maas/rackd.log , and that for maas.log and regiond.log [20:40] kiko: https://www.reddit.com/r/homelab/comments/4p3k9j/trouble_getting_lxc_networking_up_containers_not/ [20:41] kiko: no time tonight, but maybe the solution to my problem [20:42] Bug #1565467 opened: twistd3 crashed with PermissionError in touch(): [Errno 13] Permission denied: '/etc/maas/rackd.conf' [20:48] Bug #1565467 changed: twistd3 crashed with PermissionError in touch(): [Errno 13] Permission denied: '/etc/maas/rackd.conf' [20:51] Bug #1565467 opened: twistd3 crashed with PermissionError in touch(): [Errno 13] Permission denied: '/etc/maas/rackd.conf' [21:41] just wonder if maas 2 works with juju 2 yet ? [21:43] kv, yes, though juju2 is not final yet -- still a beta [21:43] kv, I hear the next release is an RC now! [21:43] so the combo maas 2, juju 2, and conjure-up should work? [21:43] yes [21:44] and stokachu and mmcc are here to ensure conjure-up does ;) [21:44] cool... i am going to give it another shot [22:10] Hey guys, I just installed the latest stable 2.0 release and although I have imported ubuntu 16.04 and 14.04 images I still can not add any bare metal machines (The save button is disabled). One weird thing I've noticed is that under my settings I have no default comissing OS or deployment OS (The lists are empty except for an item telling me there are none to choose from) [22:10] Anyone ever seen this before? Logs don't seem too crazy, this is a fresh install of both OS and maas, installation performed via apt [22:22] jwitko, hmm, that's slightly odd [22:23] jwitko, have you added SSH keys? [22:23] jwitko, however it does look like you've run into.. a bug? [22:23] those lists AIUI should not be empty [22:23] have the images finished syncing completely? [22:23] how can I tell ? [22:24] But they should have, its been a long time since I selected them to be imported [22:24] jwitko, there's UI feedback that it completed, so I'm guessing it did [22:26] kiko, http://paste.ubuntu.com/23171284/ [22:28] also, un-selecting the ubuntu releases that I've imported and hitting "apply changes" does not remove the images [22:28] jwitko, what shows up in /var/lib/maas? [22:28] drwxr-xr-x 2 maas maas 4096 Sep 12 14:02 gnupg [22:28] -rw------- 1 maas maas 6 Sep 12 15:21 maas_id [22:28] -rw-r--r-- 1 maas maas 1689 Sep 12 15:21 maas-proxy.conf [22:28] -rw-r----- 1 maas maas 32 Sep 12 14:02 secret [22:28] okay [22:28] jwitko, and anything suspicious /var/log/maas? [22:30] maas.log:Sep 12 15:18:23 maas1 maas.bootresources: [WARNING] Unable to import boot images, no image descriptions avaliable. [22:31] jwitko: do you have a console log for the machine or /var/log/maas/rsyslog/maas-enlisting-node/* or /var/log/maas/rsyslog//* [22:31] jwitko: i dont think you are running into issue [22:31] i think you are running into a bug with the kernel [22:31] http://paste.ubuntu.com/23171298/ [22:32] I'm running into a bug with the kernel... on the stable 2.0 release.. on a stock 16.04 fully updated install ? [22:33] regiond.log:2016-09-12 14:22:25 [-] Error on request (2428) controller.check_images: 4y3h7p [22:33] regiond.log: raise HandlerDoesNotExistError(pk) [22:33] regiond.log: maasserver.websockets.base.HandlerDoesNotExistError: 4y3h7p [22:33] kiko, all errors, crits, warns, fails from the logs: http://paste.ubuntu.com/23171298/ [22:33] oh you sa [22:33] w [22:33] roaksoax? [22:34] jwitko: ah! yes, so no your bug is not what I was thinking about then [22:35] have to let the dog out, brb in 5m [22:36] jwitko: can you pastebin all of rackd.log and regiond.log ? [22:43] roaksoax, sure [22:43] roaksoax, there is no rackd.log ? [22:44] maas.log and regiond.log [22:45] Bug #1622770 opened: [2.1, vanilla] Can't select CentOS images [22:46] roaksoax, here is maas.log [22:46] http://paste.ubuntu.com/23171341/ [22:47] and here is regiond.log http://paste.ubuntu.com/23171343/ [22:55] jwitko: rackd.log ? [22:57] roaksoax, I said above there is no rackd.log in /var/log/maas [22:59] jwitko: ok, so it seems you dont have a rack controller [22:59] jwitko: on this machine [22:59] jwitko: dpkg -l | grep maas [23:00] lol are you serious [23:00] this asshole [23:00] (the guy who installed it) [23:00] so a rack controller is the updated name for a 'cluster controller' ? [23:01] jwitko: yes, the internals are completely different but yes [23:01] ty [23:15] Hi all - very new to maas and having trouble with pxe boots appearing not to do what they are meant to.. i see errors where it is trying to hit the 169.x.x.x subnet and many time outs and eventually it will land at an ubuntu prompt. running maas on physical hardware ubuntu 16 lts. also pxe boots are very unreliable. Machines trying to enlist are VMs. [23:25] Unable to connect to: ws://xx.x.x.x/MAAS/ws [23:25] any idea why I am getting that error kiko? [23:27] a brand new setup...maas 2.0.0+bzr5189-0ubuntu1~16.04.1 [23:30] i see what is going on..it's listening on 5240 by default [23:51] Bug #1622786 opened: [2.0] Error "could not terminate the child" on node UI page above power parameters