/srv/irclogs.ubuntu.com/2016/10/02/#maas.txt

pmatulisMichaelFischer, sorry, no. i don't think maas supports custom kernels/images00:26
MichaelFischerBummer.. Thanks00:27
wililupyin MAAS 2.0, what is the CLI to add MX and CNAME records to DNS?08:07
wililupywooot! FIgured it out!08:43
wililupyCLI would be for MX records: maas <profile> dnsresource-records create fqdn=mail.maas rrtype=mx rrdata='<preference> mail.maas'08:45
wililupyCLI for CNAME is: maas <profile> dnsresource-records create fqdn=www.maas rrtype=cname rrdata=webserver.maas08:50
junaidaliHi everyone, how can i configure maas to add a user to nodes while deploying them?10:08
junaidaliwhile deploying those nodes*10:14
batkins61In maas 2.0, how can I override the boot disk.  I have a small USB installed directly on the motherboard that contains a boot image, which often enumerates as sda.  I see that apparently it was possible in 1.9, but I can't find it in 2.0.15:57
=== valeech_ is now known as valeech
pmatulisstack_korora, greetings, happy sunday to you19:34
stack_kororaGreetings! Happy Sunday to you as well!19:35
pmatulisstack_korora, now did you set up the power type for these vmware-backed nodes? and was the resulting power check successful?19:35
stack_kororaI set them to manual19:35
pmatulishm, i don't think i ever tried that. i've used 'virsh' and 'ipmi' for kvm-backed and hardware-backed nodes respectively19:36
stack_kororaI looked at setting up the automated path with the VMWare option, but it was asking for things that I think are ESX based, not workstation based. So when it didn't work, I didn't try that hard. I just set it to manual. :-)19:37
stack_kororaI am spinning up that box & vm's now.19:37
pmatulisstack_korora, i found this https://goo.gl/JzZmWD . it's dated but it may still be good19:40
stack_kororaOK. Let me try. I just got the systems up and verified network.19:40
MichaelFischerpmatulis, after further investigation, I discovered that my USB mic is supported by the xenial kernel; the problem I have is that the iface isn't configured in /etc/network/interfaces. So I don't think I need a custom kernel, just a way of configuring the iface.19:42
MichaelFischer*USB nic19:42
stack_kororaFound the info for the disk. Maas shows it to be a "VMWare Virtual S" it sees the path as /dev/sda. All of that is correct, so not sure why it tells me in the node Storage section that no storage is found.19:45
MichaelFischeris it possible to run some custom script when commissioning and during deployment? This only appears to be an issue with Ubuntu as centos configures the USB nic appropriately.19:45
pmatulisMichaelFischer, interesting. i believe you can customize the preseed stuff19:48
pmatulisMichaelFischer, are you familiar with preseed?19:49
pmatulisstack_korora, does the power check succeed?19:49
MichaelFischerpmatulis, Nope, do you know where I can find documentation for that?19:49
pmatulisMichaelFischer, i may have something that is maas-specific. lemme look19:50
pmatulisotherwise, in the meantime, just google 'ubuntu preseed' to get the basics of what it is19:51
pmatulisit's the debian/ubuntu version of red hat's kickstart19:51
stack_kororaNot yet. It doesn't seem to like any Host value I give it. It didn't like the host MAC for the same virtual LAN the vm's are on, nor did it like the real MAC address.19:51
pmatulisstack_korora, if the power check fails nothing will work19:52
stack_kororaOh. Really? Then why have a manual setup?19:52
stack_kororaOr am i misunderstanding something?19:53
pmatulisstack_korora, yeah, that i'm not sure about tbh19:53
pmatulismanual sounds like the user will need to power on and off but that needs to be done at very specific times. i need to play around with that19:53
pmatulisstack_korora, are you prompted to power cycle when you choose 'manual'?19:54
stack_kororaYes19:54
pmatulisohh19:54
pmatulisinteresting19:55
pmatulisi'm going to file a doc issue about providing more info on the different power types19:55
stack_kororaWhich I will probably need to use IRL anyway. Some of the specialty equipment we have runs SL6, but doesn't support PXE or IPMI. :-/19:56
stack_kororaAlthough the big concern for me ATM is the new hardware coming in which should all support IPMI and PXE. So I can worry about the manual stuff later.19:56
pmatulisthis page is srsly lacking: http://maas.io/docs/manage-power19:57
stack_kororaSo where I am stuck ATM on the power thing is that it "sees" my vmware host, but says it isn't a rack controller with access to that host.19:59
stack_kororaProbably because it is on a different lan segment.20:00
pmatulisoh my20:00
stack_kororaI was trying really hard to mimic my work environment virtually.20:00
stack_kororaI get a few ports on a network that I have zero control over. Those ports get me internet access.20:00
pmatulistbh, you should be testing in a more controlled and ideal environement, then start going towards something more realistic20:01
stack_kororaI have a few hosts plugged into them and a "back lan" where I manage my cluster farm.20:01
pmatulisget off the ground, test it out first20:01
stack_kororaFair enough, but I still haven't found a good document explaining what good MAAS environment looks like...20:01
stack_kororaI know it needs to be on the same LAN as the node sit controls, but that is about as much as the docs say about it.20:02
stack_kororaI also know it really doesn't like multiple networks.20:02
stack_kororaAnd I don't want it controlling (or attempting to control) other VMs or computers on the network.20:02
stack_kororaso I gave it its very own private LAN.20:03
stack_kororaAnd am adding VMs to that virtual LAN.20:03
stack_kororaso my "network" looks something like this:20:03
stack_korora"The Real Internet"<->My physical host <->my virtual network<->bridge VM<->private VM with all MAAS nodes.20:05
stack_kororaHrm. I am thinking about trying to move it onto a second virtual network that shares with the host directly.20:08
stack_kororaLet me see how that works...20:08
stack_kororaWell...I have goofed something in my routing...not getting out to the internet from the MAAS server...but the rest of the networking with the host is working....Let me try the chassis again.20:16
stack_kororaOK. That worked (at least to save the configuration!). Let me try adding a host now.20:17
stack_kororaHrm...nope....:-/ Let me try something else...20:19
pmatulisMichaelFischer, yeah, maas used preseed but now it looks like it now uses something called 'curtin' which is a faster way to install. i don't know it well but maybe this will get you started: https://goo.gl/xiIhfI20:21
pmatulisalso see contents of /etc/maas/preseeds20:21
MichaelFischerOkay, thanks for the info.20:22
stack_kororaYeah, I can't get the Shared VM (I created a new one) to talk to the MAAS VM, regardless of which network it is on.20:26
stack_kororaI have never used the Shared VM's before. Let me do some reading on them.20:27
stack_kororaOooooooohhhhhhh. That's why. The Shared VM's sit on the network proper! They are getting the same IP/network as my host system going out to the network!20:33
stack_kororaYeah...I can't have MAAS jacking around with that network....20:33
pmatulisstack_korora, i'm not sure about vmware networks but, generally, yes, you need to put MAAS on its own network b/c it must use its own DHCP for PXE booting (enlisting,commissioning)20:49
stack_kororaI am not sure how to link it to the network on the Shared VM. I have tried a half dozen things I found online but I still can't get the Shared VM's on the same network.20:53
stack_kororaBut I am trying something else20:53
stack_kororaI created a private LAN that removes most of the layers of the network. So the host is really just a gateway on the network right now.20:54
stack_kororaDoing a quick rebuild of MAAS from ISO.20:54
stack_kororaSo I won't have power control, but I should have a simpler network for the VM which I will do manual power on again.20:55
pmatulisMichaelFischer, stack_korora: if you still have troubles your next step would be a mailing list. i don't know why there is only a devel list but i guess that's all there is at this time. see channel topic21:04
stack_kororaOK. Thanks for your help pmatulis. I do appreciate you taking the time to help me out.21:06
MichaelFischerThanks Peter!21:33
batkins61100% failure to deploy trusty tahr.  Deployed, ssh 22 connect refused.  SSH key verifyed, account acquired.23:32
batkins61Can anyone help?23:32
pmatulisbatkins61, have you got any kind of node deployed?23:36
batkins61All nodes commissioned and deploy successfully. All nodes ping on ICMP.  Zero nodes respond to SSH.  All nodes acquired by root account in MAAS, with verified SSH key.23:42
batkins61All nodes report connect refused on ssh from maas controller.23:42
batkins61maas 2.023:43
batkins6114.04.5 installed, with 16.04.1 as commissioning OS (14.05 fails to handle disks correctly).23:43
batkins61In short, no.  Whether trying to deploy 16.04.1 or 14.04.05, nothing has deployed successfully.23:46
roaksoaxbatkins61: so the machines change from "deploying" to "failed deployment"23:49
roaksoax?23:49
batkins61No, all report deployed, and stay as deployed.  But, there is no ssh access, and no access from the consoel.23:53
batkins61console.23:53
batkins61ssh on 22 returns connect refused, no change of port configured at all.23:53
batkins61console just refuses ubuntu or root.23:54
batkins61Hey, maybe an override to allow ubuntu or root console access would be good?  Does one exist?23:54
roaksoaxbeisner: if the machine is "deployed" then it /must/ have imported ssh keys23:56
roaksoaxerr23:56
roaksoaxbatkins61: ^^23:56
roaksoaxbatkins61: othereise if wouldnt have been marked as deployed23:56
roaksoaxit wouldnt*23:57
batkins61That's what I thought.  But ssh ubuntu@<ip> gives connect refused.  In the GUI, that <ip> is what is reported as provided by DHCP for the server.23:57
batkins61No other interfaces are configured.23:58
roaksoaxbatkins61: is your interface in "auto assign"?23:58
batkins61No, DHCP23:58
roaksoaxbatkins61: probably the machine has a different IP and maas hasnt updated that yet23:58
roaksoaxbatkins61: try with "auto assign"23:59

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