/srv/irclogs.ubuntu.com/2016/09/12/#maas.txt

koapsroaksoax: ya, i tried that command and nothing happened, you would think that would be right01:07
mupBug #1602093 changed: [2.0r1] maas webui error updating subnet mtu when dhcp is configured <MAAS:Expired> <https://launchpad.net/bugs/1602093>04:36
mupBug #1602093 opened: [2.0r1] maas webui error updating subnet mtu when dhcp is configured <MAAS:Expired> <https://launchpad.net/bugs/1602093>04:42
mupBug #1602093 changed: [2.0r1] maas webui error updating subnet mtu when dhcp is configured <MAAS:Expired> <https://launchpad.net/bugs/1602093>04:45
=== frankban|afk is now known as frankban
neithkiko: 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 boot14:11
rock_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:25
roaksoaxneith: you can change the interface which will configure the default gateway14:42
roaksoaxneith: look into "maas <user> interface set-default-gateway"14:43
roaksoaxrock_: i think you have the wrong conception of what KVM/virsh do14:43
roaksoaxrock_: if you do: sudo virsh list --all -> that will list of KVM's VM's running on the system where you are running that command14:44
roaksoaxrock_: if that's a VM, it is most likely you don't have nested VM's on that machine14:44
roaksoaxrock_: so you need to log into a external KVM/libvirt, to be able to list running VM's14:44
rock_roaksoax: Thank you. I have a question with KVM machines maas setup.14:46
roaksoaxrock_: so, are you running MAAS as a VM right ?14:48
roaksoaxrock_: so say, MAAS is in subnet 192.168.122.0/24, and your KVM host is 192.168.122.1/24 right ?14:49
rock_roaksoax: Yes.14:49
roaksoaxrock_: so you'd need to do something like: virsh -c qemu+ssh://192.168.122.1/system list --all14:50
roaksoaxrock_: so you'd need to do something like: virsh -c qemu+ssh://<user>@192.168.122.1/system list --all14:50
rock_roaksoax: I created one kvm machine for MAAS installation It has taken 192.168.122.98 [DHCP]14:51
roaksoaxrock_: right, so you need to:14:52
roaksoax1. configure you MAAS VM with static IP address14:52
roaksoax2. disable libvirt DHCP, or it wont let MAAS provide DHC{P14:52
rock_roaksoax: So can I configure static IP for MAAS VM using 192.168.122.0/24 range IP.14:54
rock_roaksoax: For remaining 4 maas-slave nodes, No need to install OS. Enabling pxe boot is sufficient? Then MAAS will do auto discovery ?14:56
rock_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:58
roaksoaxrock_: so do 1 and 2 above, then name the VM's maas will control somthing different from MAAS< for example:14:59
roaksoaxmaas-server, node01,node02, etc  (in livirt)14:59
roaksoaxrock_: 3. name your MAAS VM vs your node's differently, so they have a different prefix15:00
roaksoaxrock_: 4. Go to MAAS, click on 'Add Chassis', and input for power address: qemu+ssh://<user>@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
roaksoaxrock_: 5. configur DHCP in MAAS15:01
roaksoaxrock_: 6. Download images in MAAS15:01
rock_roaksoax: OK. Thank you. So I have give the same power address :qemu+ssh://<user>@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:04
roaksoaxrock_: no, since they are all vm's, theu will all access the internet via the KVM host machine15:05
roaksoaxrock_: via 192.168.122.115:05
roaksoaxrock_: if you were running maas in the KVM host machine (uinstead of inside a VM), they you may need to create a bridge15:05
rock_roaksoax: Ok. Thank you.15:07
rock_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:10
rock_roaksoax: And have to make the given IP as static.15:12
rock_roaksoax: Thank you for your patience in providing the detailed answers..15:12
neithroaksoax: How can I remove the default gateway??15:53
PCdudekiko: 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 troubleshooting16:48
roaksoaxPCdude: define trim down the installer fails ?16:53
roaksoaxneith: 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 it16:54
PCduderoaksoax: 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 that16:55
PCdudedefines that number. I wanna change that so I can troubleshoot faster and see what changes in the error log.16:55
PCduderoaksoax: does that make sense?16:55
=== frankban is now known as frankban|afk
roaksoaxPCdude: it does, the 3000 seconds though seems to be a timeout someone else holds that it is not MAAS17:09
roaksoaxPCdude: MAAS has a 40 minute deployment timeout, where if the machine has not been deployed in 40 minutes, it gets marked as failed deployment17:09
roaksoaxPCdude: and that is non-configurable in MAAs17:09
roaksoaxPCdude: that said, when deploying opestanck you may want to identify two things:17:10
roaksoax1. MAAS 2. Juju.17:10
roaksoax1. does MAAS mark the amchine deployed ? IF it does, then JUju (or something else) cases the machjine to have  failed in Juju)17:10
PCduderoaksoax: 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 about17:12
PCdudethis a reasonable amount. So maybe he knew, but I am aware of the fact that this is not MAAS related.17:12
sgollerHey 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
sgollerAny ideas?17:49
kikosgoller, seems like a bug. 2.0 final?17:55
kikosgoller, basically you registered the cluster controller with the region and it doesn't show up?17:56
kikosgoller, or perhaps are you missing the registration step?17:56
sgollerthe steps I took were:17:58
sgollerinstalled region controller17:58
sgollermade sure it could be logged into17:58
sgollerinstalled the rack controller17:58
sgollerregistered it with the region controller17:58
kikoand the registration succeeded?17:58
sgolleryes17:58
sgollerthe subnet for the rack controller is present17:59
kikoroaksoax, ^^ what do you think?17:59
sgollerI created a separate fabric for the subnet, moved the rack controller's subnet over17:59
sgollerthen went to the untagged vlan for that fabric and selected "provide dhcp"18:00
sgollerthe subnet shows up fine, but the list of rack controllers is empty.18:00
sgollerMAAS Version 2.0.0+bzr5189-0ubuntu1 (16.04.1)18:01
sgolleris there a newer version? I'm pulling from ppa:maas/stable18:01
sgolleri'm going to blow everything away and start from scratch18:05
kikosgoller, that's the right version18:14
kikosgoller, let me get somebody to help before you blow it away18:14
sgollerkiko, ok.18:15
kikosgoller, does anything show up in your /var/log/maas or syslog?18:21
kikosgoller, anything suggesting a problem?18:21
sgollernot seeing anything obvious. I'm going to go through provide dhcp again to see if something shows up18:22
sgollerSep 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: <STATUSES=PROTOCOL_ERROR> ('Failed to authenticate user.')18:22
sgollerthis shows up periodically18:22
sgolleron the region controller18:22
sgollerhere's more18:23
sgollerSep 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: <STATUSES18:23
sgollerWAT18:24
sgollerok, now it's shown up18:24
kikompontillo, ^^18:25
kikosgoller, did you change anything?18:25
sgollerI had shutdown both the rack controller and the region controller18:25
sgollerbecause i was going to reinstall them18:25
sgollerbut then on your suggestion I brought them back up18:25
sgollerugh.18:25
kikosgoller, I'm wondering what you changed beyond restarting things that made it function18:27
koapssgoller: think I've seen something like that before when I played with 2.0 beta a while back18:27
koapsI had to restart the dhcp service18:27
sgollerkoaps: 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:28
koapsI'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
kikosgoller, what did you do exactly to register the controller?18:30
kikosgoller, I'm wondering if you changed anything else after that and before restarting18:31
sgolleri clicked on add rack controller, which outputs a series of commands18:34
sgollerlike i said, i moved the subnet connected to the rack controller over to fabric-1.18:34
sgollermaybe something to do with that18:34
sgollerand i had moved it back but it still had a problem18:35
sgollerso i suspect there may be some issue there.18:35
sgollerthe rack controller is having problems syncing images with the region controller, so I think i'm going to reinstall again anyway.18:37
sgollerkiko, thanks for your help.18:37
kikosgoller, wait, don't reinstall :)19:05
kikosgoller, what issues are happening? let's look at the logfiles?19:05
kikosgoller, I think you hit an underlying bug I'd love to figure out19:06
sgollersorry, I already reinstalled. :(19:17
kikosgoller, okay, let's keep an eye out if the problem reoccurs19:19
sgollerkiko, for sure. I'm going to follow the same steps.19:20
sgollerkiko, 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
sgollerkiko, then move the rack controller's subnet to a different fabric20:13
sgollerthen 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
sgollerkiko, so this is reproducible20:14
kikosgoller, same log entry? and if you restart rackd, does it work?20:14
sgollerso this is interesting.20:15
sgollergoing to the node page for the rack controller20:15
sgollerit lists it as being the rack controller for things only connected to the region controller20:16
sgollerkiko, this seems to imply that maas really doesn't like a standalone region controller20:16
sgollerkiko, 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
kikosgoller, I think it's actually that registration is failing20:17
kikobut I'm not sure why20:17
kikowhich is why I'm keen on the logs20:17
sgollerwhat logs would you like? /var/log/syslog from the rack controller?20:18
kikosgoller, /var/log/maas actually20:18
sgollerhm. you can't upload a file to pastebin? weak.20:21
kikosgoller, you can pipe to pastebinit!20:22
sgollerkiko, got it, thanks!20:22
roaksoaxsgoller: sudo pastebinit /var/log/maas/rackd.log , and that for maas.log and regiond.log20:38
PCdudekiko: https://www.reddit.com/r/homelab/comments/4p3k9j/trouble_getting_lxc_networking_up_containers_not/20:40
PCdudekiko: no time tonight, but maybe the solution to my problem20:41
mupBug #1565467 opened: twistd3 crashed with PermissionError in touch(): [Errno 13] Permission denied: '/etc/maas/rackd.conf' <amd64> <apport-crash> <xenial> <MAAS:Confirmed> <twisted (Ubuntu):Expired> <https://launchpad.net/bugs/1565467>20:42
mupBug #1565467 changed: twistd3 crashed with PermissionError in touch(): [Errno 13] Permission denied: '/etc/maas/rackd.conf' <amd64> <apport-crash> <xenial> <MAAS:Confirmed> <twisted (Ubuntu):Expired> <https://launchpad.net/bugs/1565467>20:48
mupBug #1565467 opened: twistd3 crashed with PermissionError in touch(): [Errno 13] Permission denied: '/etc/maas/rackd.conf' <amd64> <apport-crash> <xenial> <MAAS:Confirmed> <twisted (Ubuntu):Expired> <https://launchpad.net/bugs/1565467>20:51
kvjust wonder if maas 2 works with juju 2  yet ?21:41
kikokv, yes, though juju2 is not final yet -- still a beta21:43
kikokv, I hear the next release is an RC now!21:43
kvso the combo maas 2, juju 2, and conjure-up should work?21:43
kikoyes21:43
kikoand stokachu and mmcc are here to ensure conjure-up does ;)21:44
kvcool... i am going to give it another shot21:44
jwitkoHey 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
jwitkoAnyone ever seen this before?  Logs don't seem too crazy, this is a fresh install of both OS and maas, installation performed via apt22:10
kikojwitko, hmm, that's slightly odd22:22
kikojwitko, have you added SSH keys?22:23
kikojwitko, however it does look like you've run into.. a bug?22:23
kikothose lists AIUI should not be empty22:23
kikohave the images finished syncing completely?22:23
jwitkohow can I tell ?22:23
jwitkoBut they should have, its been a long time since I selected them to be imported22:24
kikojwitko, there's UI feedback that it completed, so I'm guessing it did22:24
jwitkokiko, http://paste.ubuntu.com/23171284/22:26
jwitkoalso, un-selecting the ubuntu releases that I've imported and hitting "apply changes" does not remove the images22:28
kikojwitko, what shows up in /var/lib/maas?22:28
jwitkodrwxr-xr-x  2 maas maas 4096 Sep 12 14:02 gnupg22:28
jwitko-rw-------  1 maas maas    6 Sep 12 15:21 maas_id22:28
jwitko-rw-r--r--  1 maas maas 1689 Sep 12 15:21 maas-proxy.conf22:28
jwitko-rw-r-----  1 maas maas   32 Sep 12 14:02 secret22:28
kikookay22:28
kikojwitko, and anything suspicious /var/log/maas?22:28
jwitkomaas.log:Sep 12 15:18:23 maas1 maas.bootresources: [WARNING] Unable to import boot images, no image descriptions avaliable.22:30
roaksoaxjwitko: do you have a console log for the machine or /var/log/maas/rsyslog/maas-enlisting-node/* or /var/log/maas/rsyslog/<machine-name>/*22:31
roaksoaxjwitko: i dont think you are running into issue22:31
roaksoaxi think you are running into a bug with the kernel22:31
jwitkohttp://paste.ubuntu.com/23171298/22:31
jwitkoI'm running into a bug with the kernel... on the stable 2.0 release..  on a stock 16.04 fully updated install ?22:32
kikoregiond.log:2016-09-12 14:22:25 [-] Error on request (2428) controller.check_images: 4y3h7p22:33
kikoregiond.log:        raise HandlerDoesNotExistError(pk)22:33
kikoregiond.log:    maasserver.websockets.base.HandlerDoesNotExistError: 4y3h7p22:33
jwitkokiko,  all errors, crits, warns, fails from the logs:   http://paste.ubuntu.com/23171298/22:33
jwitkooh you sa22:33
jwitkow22:33
kikoroaksoax?22:33
roaksoaxjwitko: ah! yes, so no your bug is not what I was thinking about then22:34
jwitkohave to let the dog out,  brb in 5m22:35
roaksoaxjwitko: can you pastebin all of rackd.log and regiond.log ?22:36
jwitkoroaksoax, sure22:43
jwitkoroaksoax, there is no rackd.log ?22:43
jwitkomaas.log and regiond.log22:44
mupBug #1622770 opened: [2.1, vanilla] Can't select CentOS images <ui> <ux> <vanilla> <MAAS:New> <https://launchpad.net/bugs/1622770>22:45
jwitkoroaksoax, here is maas.log22:46
jwitkohttp://paste.ubuntu.com/23171341/22:46
jwitkoand here is regiond.log  http://paste.ubuntu.com/23171343/22:47
roaksoaxjwitko: rackd.log ?22:55
jwitkoroaksoax, I said above there is no rackd.log in /var/log/maas22:57
roaksoaxjwitko: ok, so it seems you dont have a rack controller22:59
roaksoaxjwitko: on this machine22:59
roaksoaxjwitko: dpkg -l | grep maas22:59
jwitkolol are you serious23:00
jwitkothis asshole23:00
jwitko(the guy who installed it)23:00
jwitkoso a rack controller is the updated name for a 'cluster controller' ?23:00
roaksoaxjwitko: yes, the internals are completely different but yes23:01
jwitkoty23:01
newtomaasHi 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:15
kvUnable to connect to: ws://xx.x.x.x/MAAS/ws23:25
kvany idea why I am getting that error kiko?23:25
kva brand new setup...maas 2.0.0+bzr5189-0ubuntu1~16.04.123:27
kvi see what is going on..it's listening on 5240 by default23:30
mupBug #1622786 opened: [2.0] Error "could not terminate the child" on node UI page above power parameters <oil> <MAAS:New> <https://launchpad.net/bugs/1622786>23:51

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