/srv/irclogs.ubuntu.com/2014/09/26/#maas.txt

=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
lkthomashey guys07:08
lkthomasI am trying to find out if MAAS would work for provision general servers instead of cloud structure07:08
sarnoldlkthomas: hello :)07:09
lkthomassarnold: .07:09
lkthomassarnold: hi07:09
lkthomasso should I go for cluster provision approch ?07:09
lkthomasI just not sure if this cloud provision system would work for me07:09
lkthomasI used to run Cobbler, but it's redhat based and tons of crap is broken07:09
sarnoldlkthomas: fair warning, I've only ever used maas with virtual machines; I've never had the hardware to try it out on actual metal :)07:10
lkthomaserr07:10
lkthomasbasically I am looking for a functional provision server07:10
sarnoldlkthomas: (I also don't know the usual 'busy hours' of this channel, I'm not sure if anyone with more experience will be around soon or if you'll have to wait a while..)07:11
lkthomassure07:11
sarnoldlkthomas: what are you looking to do with these machines? is the idea to re-image and reboot them every hour between classes? or every morning? or when new employees start?07:12
lkthomasnope07:12
lkthomasI just need to quickly provision server using preseed files07:12
lkthomasmy company culture is short notice provisioning07:13
jtvlkthomas: there's nothing cloud-specific in maas.07:15
jtvIt's just one of those nice use-cases.07:15
lkthomasjtv: I see, so how does it work with physical machines ?07:16
jtvSomething you _can_ do is use the physical machines in a cloud-like way.07:16
lkthomaslike, power it on by myself ?07:16
jtvPhysical machines are the main use for maas.07:16
jtvYes, assuming you have IPMI or AMT or something like it.07:16
lkthomasif not ?07:16
lkthomasI might need to provision workstation too07:16
lkthomaslike those Dell workstation you know07:17
jtvIf you don't, then you need to turn the machine on/off by hand to get it done.07:17
lkthomasjtv: so it would still work, cool07:17
jtvYup.07:17
lkthomashonestly I don't want to deal with preseed, but cobbler force me to write my own07:18
jtvYou can also use Juju on top of it, for things like "add a few database slaves."07:18
lkthomashow is the learning curve on MAAS ?07:18
jtvIt depends on what you want to do.  What did Cobbler make you write preseeds for?07:18
lkthomasJuju is second level stuff to learn, it's nice to have and save time for longer term, but now I just need a quick solution to provision server07:18
lkthomasjtv: disk partition, network setting, host name setting07:18
lkthomasfed up with those steps, LOL07:19
jtvHost names MAAS does for you automatically.  Network settings not yet, although I happen to be implementing the IPv6 side of that.07:19
lkthomasIPv6 ?! WTF ?07:19
* jtv looks apologetic07:19
jtvDid I say something wrong?07:19
sarnoldnetwork settings not yet?07:19
lkthomaswait, network settings is not yet complete ?07:19
sarnoldhow do they talk to each other? :)07:19
lkthomasjtv: internal network usually still using v407:20
jtvYeah.07:20
jtvErm, let's take this one thing at a time.07:20
lkthomasjtv: so network settings still not exist07:20
jtvYou _can_ submit user-data to do things like configure the network.  Juju knows how to do that.07:20
lkthomaslooks like I need to seek for alternative solution07:20
jtvBut right now with MAAS, you get DHCP by default (for IPv4).07:20
lkthomasyeah, make sense too because elastic structure of IP allocation on cloud07:21
lkthomasthat's why I am saying, it might not suitable for box provisioning07:21
jtvWell, we configure IPv6 addresses statically, and we'll probably move IPv4 in that direction too.07:21
jtv*But* we do run IPv4 & IPv6 DHCP servers, so unmanaged machines, containers, and VMs running on the network can still get dynamic addresses.07:22
jtvYou configure those through the MAAS UI.07:22
lkthomassorry, I could config which part on UI ?07:22
jtv(Or you can use your own DHCP server, but for the management network you'll have to tell the DHCP server that nodes should netboot off the MAAS server.)07:22
lkthomasOH07:22
lkthomasthat part07:22
lkthomaswe have a provision VLAN07:22
jtvIn the UI you configure things like "serve IPv4 on this network interface, with this address range for static addresses, and this other range for static ones."07:23
lkthomasthat's not what I meant07:23
lkthomaslike when it's being install, set the IP address and hang the machine07:23
jtvHang the machine!?07:23
lkthomasonce I power cycle it, I will add this machine to actual VLAN network07:24
=== jfarschman is now known as MilesDenver
lkthomaspreseed you could do that07:24
lkthomasdon't reboot but hang after installation complete07:24
jtvYeah.  That's how we currently still do VLANs too, I'm afraid.  It's something we're hoping to change soon.07:24
jtvDo your PXE (or whatever) clients support VLANs?07:24
lkthomasjtv: but my question, is it possible to set that next IP ?07:25
lkthomasno, I just do that on switch level07:25
jtvAh, so from the node's perspective it doesn't look like a VLAN?07:25
lkthomasnode level doesn't know it's on VLAN07:25
lkthomasI flip it manually07:25
jtvRight.  So you install on one network, then change the switch configuration to "move" the node to another network?07:26
lkthomasyes07:26
lkthomasI want to know before it boot to another network, can I set IP address during provision process ?07:26
jtvI need to think about that — it's not one I've come across before.07:26
lkthomashmm07:26
* lkthomas is using this method on Cobbler07:26
lkthomasI would like to run post-install script too if possible07:27
jtvI can't think of a reason why it wouldn't work just now, but it's not something we've been keeping in mind either.07:27
lkthomaserrr07:28
* lkthomas bang his head to the wall 07:28
lkthomasmaybe I will look for alternative solution07:28
lkthomasmoving from a semi-broken solution to another semi-broken solution doesn't help07:28
jtvTrue enough.  And this is one we'll have to keep in mind for the upcoming networking discussions.07:29
jtvBut we try to discover automatically which node network interfaces connect to which networks.07:29
jtvIf that changes, things will get a little confused.07:29
lkthomastry to build something that could manual override07:29
lkthomaswe still have a lot of Ubuntu workstation here07:30
lkthomasprovision those is pain in the axx07:30
jtvRight.07:30
lkthomasI think the whole world spent too much effort on Cloud and ignore everything else which is sad07:30
jtvIndeed.07:30
lkthomassigh, thank you for your time07:31
jtvI wish I could help you more.  It's something that will probably get better soon.07:31
lkthomasgood to hear that, good night07:31
lkthomasbrb07:31
sarnoldlkthomas: darn :)07:31
lkthomassarnold: LOL07:32
jtvnn07:32
lkthomasUbuntu seems don't care fast provision process07:32
sarnoldlkthomas: I've heard o fother people using 'fai-server' and 'fai-client' with success. no idea if it'll do what you want.. but it's miserable to discover otherwise07:32
lkthomaswhile redhat have tons of management tools deal with that07:32
sarnoldlkthomas: yeah, not too many people know their way around the preseed files07:32
lkthomasLOL07:32
lkthomasbecause lot of crap is undocumented07:33
lkthomasI have to dig into source code to find out options07:33
lkthomasI would say it's a mess07:33
jtvI remember what the Cobbler source tree looked like...  We try to keep ours cleaner.  And we write documentation sometimes.  :)07:34
lkthomasjtv: Cobbler is a crap as well, but they introduce something else07:35
lkthomasspacewalk...etc07:35
lkthomassarnold: let me have a look FAI, thanks07:36
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
jtvrvba: so you're seeing that same problem?  I removed the init scripts manuall, and now I'm getting "no connections available" between cluster & region.07:56
rvbajtv: it seems the Upstart script (/etc/init/maas-pserv.conf) is still there… and thus the service still declared and started on boot07:57
jtvYes, that's what I saw.07:58
jtvBut even without that it's not working for me.07:58
=== kickinz1|afk is now known as kickinz1
rvbajtv: If I stop the old service and restart the new one it works again07:59
jtvSurely a reboot should do that though..?07:59
rvbajtv: apparently a reboot starts the two services.08:07
jtvIf you still have the old upstart script, yes.  But I deleted that.08:08
jtvI think I'm running into an unrelated failure.08:08
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
=== jfarschman is now known as MilesDenver
DitmaHey Hey14:36
DitmaIs there someone who has some experience regarding mass and port aggeration?14:39
lutostagDitma: I have experience with the two separately, not in conjunction; what are you looking to do?14:44
lutostagim guessing you have servers with multiple nics you want aggregated and allow your maas to serve them (maybe setup the machines after the fact as well during comissioning)14:45
Ditmalutostag: Hey i got a cluster with serveral nodes and want to use maas for the hardware management14:45
Ditmayep thats exactly what i want to do14:46
Ditmathe main problem is that the switches use the 802.3ad standard to communicate thats why the maas clients boot up via ipxe fine but cannot connect to the network afterwards14:47
Ditmasomehow i need to reconfigure the boot images to setup the network interfaces correct14:48
lutostagDitma: the easiest way I can think of to get it to work would be kernel cmdline params -- if not you will probably have to disable fast-installer and write your own preseed14:56
Ditmalutostag: currently i used ifenslave to bond the network interfaces but thats not preinstalled is it possible to integrate the package into the boot image?14:58
natefinchanyone available to help on #juju with johnmc who's having problems with LXC on his maas cluster, as well as problems with glance and hacluster... I'm of minimal use with LXC and totally useless with glance and hacluster15:06
lutostagDitma: you could do that, but I think it might be better to set commandline params for those, Ive been looking at http://superuser.com/questions/502793/how-to-bring-network-up-at-boot-time-in-linux, https://www.kernel.org/doc/Documentation/kernel-parameters.txt, https://www.kernel.org/doc/Documentation/networking/bonding.txt, http://linux.die.net/man/8/ifenslave and it seems you can do it without the userspace program15:07
Ditmalutistag: that looks pretty good i didn't come up with the kernel parameters15:09
Ditmalutostag: i think i'll give it a try and write a tutorial if it works15:10
Ditmalutostag: thanks a lot that could be the hint i needed15:10
lutostagDitma: if that turns out to be too much, we can walk thru creating other boot images -- but that seems like more work15:10
Ditmalutostag: thanks for the offer i'll report back if it worked or not15:11
lutostagDitma: sure, glad to help :)15:12
Ditmalutostag: Thanks again! I'll report back as soon as im done. See you in a bit!15:13
=== kickinz1 is now known as kickinz1|afk
rvbaallenap: I get an error when I run the JS tests from short-poll-module16:53
rvbaI get: Uncaught TypeError: Cannot read property 'NODE_STATUS' of undefined16:53
allenaprvba: Ooh, interesting. I’ll see if I can recreate.16:54
rvbaallenap: arg, maybe I forgot to build enums.js16:54
rvbaallenap: yeah, that was it, all good now16:54
allenaprvba: Phew :)16:56
rvbaallenap: so the short poll stuff doesn't include something akin to a timer?17:00
allenaprvba: Haha, I just came to that same conclusion :)17:01
allenaprvba: Thanks for the review on the other one.17:01
roaksoaxallenap: do you guysprefer to have the branches ready to land and have me do the packaging first17:14
roaksoaxallenap: and so I can land both at the same time?17:14
roaksoaxrvba: ^^17:14
allenaproaksoax: I don’t mind, whatever suits you. I have to go now, but I’ll be back.17:18
roaksoaxallenap: ok, thanks! Let me know when everything is ready to land and w ecan make a decision then17:19
=== CyberJacob|Away is now known as CyberJacob
=== roadmr is now known as roadmr_afk
newellgmb building packages from trunk is currently broken19:14
newellnot sure what gives19:14
newellProcessing triggers for man-db (2.6.7.1-1) ...19:14
newellErrors were encountered while processing:19:14
newell build-area/maas-proxy_1.7.0~beta3+bzr3082-0ubuntu1_all.deb19:14
=== lazyPower is now known as lazyPower|Spinni
=== sebas538_ is now known as sebas5384
=== roadmr_afk is now known as roadmr
d4rkn3thello guys, one question for MaaS, is there a way to make the security upgrade on nodes added on MaaS without make that one by one? thanks. If not it may be a suggest to add as app on MaaS21:09
d4rkn3tanyone can answer me?21:21
=== CyberJacob is now known as CyberJacob|Away
=== lazyPower|Spinni is now known as lazyPower

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