[07:08] <lkthomas> hey guys
[07:08] <lkthomas> I am trying to find out if MAAS would work for provision general servers instead of cloud structure
[07:09] <sarnold> lkthomas: hello :)
[07:09] <lkthomas> sarnold: .
[07:09] <lkthomas> sarnold: hi
[07:09] <lkthomas> so should I go for cluster provision approch ?
[07:09] <lkthomas> I just not sure if this cloud provision system would work for me
[07:09] <lkthomas> I used to run Cobbler, but it's redhat based and tons of crap is broken
[07:10] <sarnold> lkthomas: 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] <lkthomas> err
[07:10] <lkthomas> basically I am looking for a functional provision server
[07:11] <sarnold> lkthomas: (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] <lkthomas> sure
[07:12] <sarnold> lkthomas: 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] <lkthomas> nope
[07:12] <lkthomas> I just need to quickly provision server using preseed files
[07:13] <lkthomas> my company culture is short notice provisioning
[07:15] <jtv> lkthomas: there's nothing cloud-specific in maas.
[07:15] <jtv> It's just one of those nice use-cases.
[07:16] <lkthomas> jtv: I see, so how does it work with physical machines ?
[07:16] <jtv> Something you _can_ do is use the physical machines in a cloud-like way.
[07:16] <lkthomas> like, power it on by myself ?
[07:16] <jtv> Physical machines are the main use for maas.
[07:16] <jtv> Yes, assuming you have IPMI or AMT or something like it.
[07:16] <lkthomas> if not ?
[07:16] <lkthomas> I might need to provision workstation too
[07:17] <lkthomas> like those Dell workstation you know
[07:17] <jtv> If you don't, then you need to turn the machine on/off by hand to get it done.
[07:17] <lkthomas> jtv: so it would still work, cool
[07:17] <jtv> Yup.
[07:18] <lkthomas> honestly I don't want to deal with preseed, but cobbler force me to write my own
[07:18] <jtv> You can also use Juju on top of it, for things like "add a few database slaves."
[07:18] <lkthomas> how is the learning curve on MAAS ?
[07:18] <jtv> It depends on what you want to do.  What did Cobbler make you write preseeds for?
[07:18] <lkthomas> Juju 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 server
[07:18] <lkthomas> jtv: disk partition, network setting, host name setting
[07:19] <lkthomas> fed up with those steps, LOL
[07:19] <jtv> Host names MAAS does for you automatically.  Network settings not yet, although I happen to be implementing the IPv6 side of that.
[07:19] <lkthomas> IPv6 ?! WTF ?
[07:19]  * jtv looks apologetic
[07:19] <jtv> Did I say something wrong?
[07:19] <sarnold> network settings not yet?
[07:19] <lkthomas> wait, network settings is not yet complete ?
[07:19] <sarnold> how do they talk to each other? :)
[07:20] <lkthomas> jtv: internal network usually still using v4
[07:20] <jtv> Yeah.
[07:20] <jtv> Erm, let's take this one thing at a time.
[07:20] <lkthomas> jtv: so network settings still not exist
[07:20] <jtv> You _can_ submit user-data to do things like configure the network.  Juju knows how to do that.
[07:20] <lkthomas> looks like I need to seek for alternative solution
[07:20] <jtv> But right now with MAAS, you get DHCP by default (for IPv4).
[07:21] <lkthomas> yeah, make sense too because elastic structure of IP allocation on cloud
[07:21] <lkthomas> that's why I am saying, it might not suitable for box provisioning
[07:21] <jtv> Well, we configure IPv6 addresses statically, and we'll probably move IPv4 in that direction too.
[07:22] <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] <jtv> You configure those through the MAAS UI.
[07:22] <lkthomas> sorry, 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] <lkthomas> OH
[07:22] <lkthomas> that part
[07:22] <lkthomas> we have a provision VLAN
[07:23] <jtv> In 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] <lkthomas> that's not what I meant
[07:23] <lkthomas> like when it's being install, set the IP address and hang the machine
[07:23] <jtv> Hang the machine!?
[07:24] <lkthomas> once I power cycle it, I will add this machine to actual VLAN network
[07:24] <lkthomas> preseed you could do that
[07:24] <lkthomas> don't reboot but hang after installation complete
[07:24] <jtv> Yeah.  That's how we currently still do VLANs too, I'm afraid.  It's something we're hoping to change soon.
[07:24] <jtv> Do your PXE (or whatever) clients support VLANs?
[07:25] <lkthomas> jtv: but my question, is it possible to set that next IP ?
[07:25] <lkthomas> no, I just do that on switch level
[07:25] <jtv> Ah, so from the node's perspective it doesn't look like a VLAN?
[07:25] <lkthomas> node level doesn't know it's on VLAN
[07:25] <lkthomas> I flip it manually
[07:26] <jtv> Right.  So you install on one network, then change the switch configuration to "move" the node to another network?
[07:26] <lkthomas> yes
[07:26] <lkthomas> I want to know before it boot to another network, can I set IP address during provision process ?
[07:26] <jtv> I need to think about that — it's not one I've come across before.
[07:26] <lkthomas> hmm
[07:26]  * lkthomas is using this method on Cobbler
[07:27] <lkthomas> I would like to run post-install script too if possible
[07:27] <jtv> I 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:28] <lkthomas> errr
[07:28]  * lkthomas bang his head to the wall 
[07:28] <lkthomas> maybe I will look for alternative solution
[07:28] <lkthomas> moving from a semi-broken solution to another semi-broken solution doesn't help
[07:29] <jtv> True enough.  And this is one we'll have to keep in mind for the upcoming networking discussions.
[07:29] <jtv> But we try to discover automatically which node network interfaces connect to which networks.
[07:29] <jtv> If that changes, things will get a little confused.
[07:29] <lkthomas> try to build something that could manual override
[07:30] <lkthomas> we still have a lot of Ubuntu workstation here
[07:30] <lkthomas> provision those is pain in the axx
[07:30] <jtv> Right.
[07:30] <lkthomas> I think the whole world spent too much effort on Cloud and ignore everything else which is sad
[07:30] <jtv> Indeed.
[07:31] <lkthomas> sigh, thank you for your time
[07:31] <jtv> I wish I could help you more.  It's something that will probably get better soon.
[07:31] <lkthomas> good to hear that, good night
[07:31] <lkthomas> brb
[07:31] <sarnold> lkthomas: darn :)
[07:32] <lkthomas> sarnold: LOL
[07:32] <jtv> nn
[07:32] <lkthomas> Ubuntu seems don't care fast provision process
[07:32] <sarnold> lkthomas: 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 otherwise
[07:32] <lkthomas> while redhat have tons of management tools deal with that
[07:32] <sarnold> lkthomas: yeah, not too many people know their way around the preseed files
[07:32] <lkthomas> LOL
[07:33] <lkthomas> because lot of crap is undocumented
[07:33] <lkthomas> I have to dig into source code to find out options
[07:33] <lkthomas> I would say it's a mess
[07:34] <jtv> I remember what the Cobbler source tree looked like...  We try to keep ours cleaner.  And we write documentation sometimes.  :)
[07:35] <lkthomas> jtv: Cobbler is a crap as well, but they introduce something else
[07:35] <lkthomas> spacewalk...etc
[07:36] <lkthomas> sarnold: let me have a look FAI, thanks
[07:56] <jtv> rvba: 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:57] <rvba> jtv: it seems the Upstart script (/etc/init/maas-pserv.conf) is still there… and thus the service still declared and started on boot
[07:58] <jtv> Yes, that's what I saw.
[07:58] <jtv> But even without that it's not working for me.
[07:59] <rvba> jtv: If I stop the old service and restart the new one it works again
[07:59] <jtv> Surely a reboot should do that though..?
[08:07] <rvba> jtv: apparently a reboot starts the two services.
[08:08] <jtv> If you still have the old upstart script, yes.  But I deleted that.
[08:08] <jtv> I think I'm running into an unrelated failure.
[14:36] <Ditma> Hey Hey
[14:39] <Ditma> Is there someone who has some experience regarding mass and port aggeration?
[14:44] <lutostag> Ditma: I have experience with the two separately, not in conjunction; what are you looking to do?
[14:45] <lutostag> im 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] <Ditma> lutostag: Hey i got a cluster with serveral nodes and want to use maas for the hardware management
[14:46] <Ditma> yep thats exactly what i want to do
[14:47] <Ditma> the 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 afterwards
[14:48] <Ditma> somehow i need to reconfigure the boot images to setup the network interfaces correct
[14:56] <lutostag> Ditma: 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 preseed
[14:58] <Ditma> lutostag: currently i used ifenslave to bond the network interfaces but thats not preinstalled is it possible to integrate the package into the boot image?
[15:06] <natefinch> anyone 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 hacluster
[15:07] <lutostag> Ditma: 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 program
[15:09] <Ditma> lutistag: that looks pretty good i didn't come up with the kernel parameters
[15:10] <Ditma> lutostag: i think i'll give it a try and write a tutorial if it works
[15:10] <Ditma> lutostag: thanks a lot that could be the hint i needed
[15:10] <lutostag> Ditma: if that turns out to be too much, we can walk thru creating other boot images -- but that seems like more work
[15:11] <Ditma> lutostag: thanks for the offer i'll report back if it worked or not
[15:12] <lutostag> Ditma: sure, glad to help :)
[15:13] <Ditma> lutostag: Thanks again! I'll report back as soon as im done. See you in a bit!
[16:53] <rvba> allenap: I get an error when I run the JS tests from short-poll-module
[16:53] <rvba> I get: Uncaught TypeError: Cannot read property 'NODE_STATUS' of undefined
[16:54] <allenap> rvba: Ooh, interesting. I’ll see if I can recreate.
[16:54] <rvba> allenap: arg, maybe I forgot to build enums.js
[16:54] <rvba> allenap: yeah, that was it, all good now
[16:56] <allenap> rvba: Phew :)
[17:00] <rvba> allenap: so the short poll stuff doesn't include something akin to a timer?
[17:01] <allenap> rvba: Haha, I just came to that same conclusion :)
[17:01] <allenap> rvba: Thanks for the review on the other one.
[17:14] <roaksoax> allenap: do you guysprefer to have the branches ready to land and have me do the packaging first
[17:14] <roaksoax> allenap: and so I can land both at the same time?
[17:14] <roaksoax> rvba: ^^
[17:18] <allenap> roaksoax: I don’t mind, whatever suits you. I have to go now, but I’ll be back.
[17:19] <roaksoax> allenap: ok, thanks! Let me know when everything is ready to land and w ecan make a decision then
[19:14] <newell> gmb building packages from trunk is currently broken
[19:14] <newell> not sure what gives
[19:14] <newell> Processing triggers for man-db (2.6.7.1-1) ...
[19:14] <newell> Errors were encountered while processing:
[19:14] <newell>  build-area/maas-proxy_1.7.0~beta3+bzr3082-0ubuntu1_all.deb
[21:09] <d4rkn3t> hello 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 MaaS
[21:21] <d4rkn3t> anyone can answer me?