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

mupBug #1582070 opened: Pick up wrong grub.cfg if another filesystem exist <MAAS:New> <https://launchpad.net/bugs/1582070>04:22
=== Guest16410 is now known as CyberJacob
Nikos4333hello!11:33
Nikos4333I have downloaded images to install to my nodes but maas sends me "could not find kernel image"11:34
Nikos4333do you know whats happening11:34
Nikos4333?11:34
Nikos4333plz ? :D4711:53
Nikos4333fantastic maas gurus? :D12:10
mupBug #1569483 changed: [2.0] Can't deploy CentOS  <MAAS:Fix Released by ltrager> <https://launchpad.net/bugs/1569483>13:45
mupBug #1582243 opened: [2.0b5] Rack controller FAILED authentication from '192.168.10.3:59270'; dropping connection. <MAAS:New> <https://launchpad.net/bugs/1582243>14:15
=== frankban|afk is now known as frankban
mupBug #1582293 opened: Allow secure wipe of New systems before Commissioning [fails] <MAAS:New> <https://launchpad.net/bugs/1582293>16:04
terjehi, I have some compute nodes I'd like to install, that contain a pre-existing OS.16:56
terjeThey have a /ec2/ directory with some cloud-init stuff in there and so maas isn't imaging them properly.16:56
terjeIs there a way to tell MAAS to wipe the disks before trying to commissioning them?16:57
shewlesshello. I installed maas on ubuntu 16.04 and I cannot find the "DHCP configuration" part in the web interface. I think I have to add a subnet but I'm not sure17:07
mupBug #1582323 opened: Commissioning fails when competing cloud metadata resides on disk <MAAS:New> <https://launchpad.net/bugs/1582323>17:07
shewlessI know which interface I want to be the dhcp/pxe server. But I'm unsure exactly how to configure that.  Do I just add a subnet and "provide DHCP"? Do I have to assign an IP from the DHCP range on my MAAS server?17:08
shewlessThe getting started page is kind of useless http://maas.io/get-started I think because I'm using 16.04... but17:09
shewlessThe turn on DHCP and DNS part is totally different17:09
terjeshewless: networks -> click untagged for the network17:10
terjethen, take action17:10
kikoshewless, what terje said17:12
kikoshewless, it will get better with the new install experience we're working on17:12
shewlessterje: thanks. I did that. It told me there is no subnet. So I created a subnet17:12
shewlessterje: but do I have to manually assign an IP address to my maas interface?17:13
shewlessor does maas take care of that17:13
shewless(I have a management network already setup so I can get to the UI, but I want to use a different interface for dhcp)17:14
shewlesskiko: I think I have to assign an IP address to the interface I intend to use as the dchp provider. Is there a way to do that through maas?17:17
terjemanually assign it17:17
terjeno, there isn't. Edit /etc/network/interfaces17:18
kikoshewless, no, it's a common question17:18
shewlessthanks guys. I can do that. Should the "gateway" be the maas server itself (I'm setting up a private network just for maas to provision)17:19
terjeshewless: that's how I do it.17:20
terjeyou then have to configure nat/masquerading in iptables17:21
terjeso you're computes can get out to the world and download stuff they need.17:21
terjeon the gateway/maas system.17:21
shewlessyikes.. how do I do that?17:22
terjesomething like this: http://pastebin.com/raw/fvVjJPg917:25
shewlesseth0 would be my "management" port with internet access?17:27
terjeyes, the interface with an IP that can 'ping 8.8.8.8' for example.17:30
shewlessterje: Sould the "dhcpd" service be running in the "services" section of my maas controller?17:33
shewlessmy machines don't appear to be getting dhcp offers from my maas server17:33
terjeon the maas server, do: ps aux|grep dhcp17:33
shewlesshmm.. doesn't appear to be running17:34
terjecan you show me (on pastebin):17:34
terjeip a s17:34
terjeand17:34
terjecat /etc/network/interfaces17:35
shewlesshttp://pastebin.com/26zy0TWC17:36
terjeyou don't have an IP on enp2s0 for your private network17:36
jhobbs4817:37
jhobbsoops17:37
terjeactually..17:37
terjeyou're using 169.25417:38
terjethis is a special network - don't use it.17:38
terjechange that to 172.20.0/24 for example.17:38
shewlessah crap.. how embarassing17:39
shewlessterje: that actually makes more sense. as soon as a added the IP to the interface maas automatically picked up the subnet17:45
shewlessterje: okay dhcpd is now running .. that's good. for some reason my device still didn't pxe boot though17:48
shewlessterje: I can see that dhcpd is running, but when I boot my node via PXE is does not receive an offer. I tried booting my node from hard disk and then manually configuring the pxe NIC to ensure they can talk.. and they can18:15
shewlessany ideas?18:15
shewlessI see this in the logs:18:21
shewlessDHCPDISCOVER from 00:25:90:52:3c:cd via enp2s0: network vlan-5002: no free leases18:21
shewlessI tried to reconfigure the dhcp in the "take action" menu. we'll see if that helps18:23
terjeyou can't pxeboot on a VLAN'd interface.18:28
terjeneeds to be a flat network18:29
shewlessterje: I'm not sure why it has a vlan there. After re-configuring DHCP on the interface it seems to allow the systems to PXE boot18:32
shewlessI can see they are all running 16.04 LTS now.. but they are not showing up in maas for some reason18:32
shewlessWould I see them in the "Nodes" tab?18:32
terjeyes18:32
terjeso, login on console to one of them and manually pxeboot it18:33
terjethen, watch it go18:33
shewlessI did18:33
shewlessit looks like it puts ubuntu on it18:33
terjethat's not how it works.18:33
shewlessso I shouldn't be staring at a login prompt?18:34
terjeno18:34
terjethat's likely from a previous install18:34
shewlessI can see it PXE boots18:34
shewlessI'll watch the console more closely18:34
terjeit will pxeboot an image, then publish information to maas about the hardware.18:34
terjemaas will mark the hardware as 'new'18:35
terjecan you login to one of the 16.04 systems?18:35
terjeI'm curious about something18:35
shewlessI see booting under MAAS dircation..18:35
shewlessloading ubunttu/amd64/generic/xenial/release/boot-kernel18:36
terjeyep, that's all correct18:36
shewlessand then it proceeds to boot18:36
terjecan you login to the OS once it boots?18:36
shewlessuh.. not sure what the login would be18:36
terjeunder nodes, you don't see anything, correct?18:37
shewlessoddly it's presenting itself as "node-1" should it have that hostname?18:37
shewlesscorrect.. .nodes is empty18:37
terjeok, so maas didn't install that OS18:37
shewlessbut I can see the whole "MAAS direction"18:38
terjewhat's happening is18:38
shewlessand I know these guys weren't running 16.04before18:38
terjemaas pxeboot's the thing18:38
terjeloads a ramdisk18:38
terjedecides for some reason that it's not going to use it and it reboots from disk.18:39
terjeyou're maas didn't put an OS on there..18:39
terjetrust me. :)18:39
shewlessI trust you :)18:39
terjeok, so you need to login to one of those computes.18:39
shewlessI don't know what the login is18:40
terjeok, so boot one of those computes from the ubuntu 16.04 install ISO and go into rescue mode.18:41
shewlessokay. I can do that. What will I be looking for?18:42
terjeyou want to boot into a shell18:42
terjeonce you have a shell, run: dd if=/dev/zero of=/dev/sda bs=512 count=100018:42
terjethen, pxeboot that compute again18:43
terjethis obviously nukes your disk so just tripple check this is the compute you think it is. :)18:43
shewlessI see. I used a different "imager" mirantis fuel.. so maybe it left these nodes in a weird state18:44
terjeI think I know the issue18:45
terjeand that is, maas uses cloud-init when it profiles the system.18:45
terjeif the previous installer left some cloud-init stuff on sda, maas will refuse to use it.18:45
shewlessI see. it's weird because I knew what the root password was but maas seemed to have changed it.. is that possible?18:47
terjeby wiping sda, you'll resolve the issue.18:47
terjeno18:47
terjemaas isn't doing anything to those systems.18:48
shewlessokay. let me try and wipe the disks18:49
terjeif booting from ISO, use "rescue a broken system" to get a shell19:03
shewlessterje: thanks.. . my first system is now showing in "nodes" so I guess that did the trick19:11
terjeone last question for you..19:11
shewlesssure19:13
terjewho's the man?19:13
terje:P19:13
shewlessterje is the man :P19:15
terjeI'm setting up my own 16.04 OS cluster right now as well.19:16
terjeso, maybe we can help each other19:16
shewlessI'll do what I can to help19:16
shewlessit would be supper if MAAS could give the option to auto clear the cloud-init space19:18
terjeor just wipe the disks prior to doing an inventory19:18
shewlessyeah19:18
terjeperhaps it can19:19
terjeand I just don't know about it19:19
shewlessterje: So My IPMI is on my "management" network.. my maas controller is on the same network but for some reason cannot ping the IPMI guys19:32
terjeyou're not able to ping your IPMI interfaces from the maas controller?20:12
terjethat doesn't sound right to me.20:14
terjeare you planning to install openstack on your cluster?20:14
shewlessterje: I can now. I guess the default state for un-commissioned nodes is to turn them off20:14
terjeyea, it is.20:15
shewlessthat kept screwing with me20:15
terjeah20:15
terjeso, again, is this going to be an openstack deployment?20:15
shewlessI am planning on installing openstack, yes20:15
terjehave a look at this: http://conjure-up.io/20:15
shewlesshmm. so maas, juju, and now conjure-up?20:17
terjeconjure-up is for 16.04 only20:17
terjeif you're using 14.04 then I think it's autostart20:17
kikoand pretty awesome20:17
shewless"autopilot"?20:17
shewlessI guess I need to figure out how to get juju installed then first20:19
terjeno, I don't think you do20:19
terjesudo apt-get install conjure-up20:19
terjesudo conjure-up openstack20:19
shewlessso what is the intention of this conjure-up?20:22
shewlessand should I conjure "OpenStack" or "OpenStack Autopilot"20:23
terjedone for now.. good luck20:24
shewlessokay thanks terje20:24
bdxnetwork-interface-peeps: https://github.com/juju/juju/issues/540920:36
mupBug #1582418 opened: # of cpu cores and amount of ram incorrectly reported <MAAS:New> <https://launchpad.net/bugs/1582418>21:41
pacavacaHey guys! Is it possible to deploy an image created by clonezilla with maas? Or, what's the other good way to get customized (some configs + packages) ubuntu/centos version deployed by maas?22:30

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