[00:00] <travnewmatic> well i'm super flipping happy that i've managed to get maas setup
[00:00] <travnewmatic> i got juju on one of the deployed nodes
[00:00] <travnewmatic> with two machines part of that juju environment
[00:00] <travnewmatic> life is good
[00:00] <travnewmatic> HOWEVER..  how to centos?  can someone point me in a direction?
[00:01] <catbus1> according to kiko, j^2 might know how.
[00:01] <j^2> :)
[00:01] <travnewmatic> :D
[00:01] <j^2> ah yeah
[00:02] <travnewmatic> sorry i forgot how to read :D
[00:02] <travnewmatic> well j^2 can you point me in a direction?
[00:03] <j^2> the tl;dr of getting Centos working: https://github.com/jjasghar/maas/blob/centos/recipes/centos.rb
[00:03] <travnewmatic> ooooo
[00:06] <travnewmatic> hmm
[00:06] <travnewmatic> would this same thing work for centos 6.5?
[00:12] <j^2> i think so but i’m not 100% sure
[00:13] <j^2> my requirements where just centos7 and 1404
[00:14] <travnewmatic> mhm
[00:28] <travnewmatic> j^2, apparently i dont know how to execute ruby scripts
[00:29] <travnewmatic> root@tnewman3:~# ruby centos.rb
[00:29] <travnewmatic> centos.rb:1:in `<main>': undefined method `include_recipe' for main:Object (NoMethodError)
[00:30] <j^2> oh sorry
[00:30] <j^2> yeah it’s a chef recipe
[00:30] <j^2> you’ll have to covert it to what you need done
[00:30] <j^2> the first one is check out the bazaar repo
[00:31] <travnewmatic> mhm
[00:31] <j^2> then the execute blocks (command) are the bash commands you need to do
[00:31] <travnewmatic> so i need to install chef
[00:32] <j^2> technically no, that recipe is pretty straight forward, you should be able to pull out the code that you need to repo
[00:33] <travnewmatic> hmm
[00:35] <travnewmatic> still not sure how to use this thing :(
[00:35] <j^2> ah ok
[00:35] <j^2> yeah that’s the best i got :(
[00:36] <travnewmatic> well poop
[00:43] <travnewmatic> perhaps if i could find out how the ubutu image was created and deployed
[01:33] <travnewmatic> so for those interested
[01:33] <travnewmatic> https://code.launchpad.net/~maas-maintainers/maas/maas-image-builder
[01:34] <travnewmatic> currently using this to attempt to build a centos 6 image (slightly modified to use our own mirrors)
[01:36] <travnewmatic> this thing here:
[01:36] <travnewmatic> sudo ./bin/build centos amd64 --centos-edition 7
[01:38] <travnewmatic> for our purposes
[01:38] <travnewmatic> we changed the 7 to 6
[01:39] <travnewmatic> and as i mentioned before, modified the urls to our own centos mirror to speed things up a bt
[01:39] <travnewmatic> bit
[01:39] <travnewmatic> it seems as though it fetches the installer iso, installs it to a qemu virtual machine, takes a snapshot, and thats what gets sent to the node
[01:40] <travnewmatic> right now its in the process of getting installed to the qemu vm on the maas controller
[02:17] <travnewmatic> so i wonder
[02:17] <travnewmatic> do yall know the guy that wrote this?
[02:17] <travnewmatic> Author: Blake Rouse <blake.rouse@canonical.com>
[02:24] <rbasak> blake_r: blake_r: ^^
[02:47] <travnewmatic> rbasak, thats awesome!  thanks!
[09:56] <mn_> Hi, i've got a problem with sticky ip addresses. even i assigned them successfully, during dhcp they are not assigned to the node - instead one from the dynamic pool is picked (using maas 1.7.1)
[09:59] <mn_> any ideas what the issue could be?
[12:40] <kiko> travnewmatic_, woot!
[12:41] <kiko> travnewmatic_, but I thought you were not even managing to netboot -- did you get past that point or was a PXE request actually happening?
[12:41] <kiko> oh I had an answer for mn_
[12:46] <kiko> travnewmatic_, what's the size of the resulting image?
[16:13] <travnewmatic_> good news everyone!  it appears as though the image creation succeeded!  when i arrived at work this morning i was greety with this: https://www.dropbox.com/s/rbjlf7pafjk6g6t/Screenshot%202015-02-20%2010.09.25.png?dl=0
[16:16] <travnewmatic_> hmm
[16:16] <travnewmatic_> kiko, -rw-r--r-- 1 root root 264M Feb 19 22:02 centos6-amd64-root-tgz
[16:23] <kiko> travnewmatic_, that's what I get as well
[16:24] <kiko> cool thanks
[16:24] <kiko> j^2, see ^^
[16:24] <kiko> -rw-r--r-- 1 root root 264M Feb 19 15:26 centos6-amd64-root-tgz
[16:24] <travnewmatic_> https://www.dropbox.com/s/ogv1mx9psq6tcvf/Screenshot%202015-02-20%2010.23.54.png?dl=0
[16:24] <kiko> -rw-r--r-- 1 root root 264M Feb 19 13:41 centos6-amd64-root-tgz
[16:24] <kiko> travnewmatic_, is your mirror public?
[16:25] <travnewmatic_> our centos mirror is public yes
[16:25] <kiko> I'm asking because j^2 was having issues using the default centos mirrors and perhaps switching to yours would work better
[16:25] <travnewmatic_> yeah lemme find the url
[16:25] <kiko> travnewmatic_, either that or a bzr diff that he can just apply as a patch?
[16:29] <travnewmatic_> http://dist1.800hosting.com/centos/6/os/x86_64
[16:30] <j^2> Ah that's cent6
[16:30] <travnewmatic_> but we've got 7 on there as well
[16:30] <travnewmatic_> browse away!
[16:30] <j^2> kiko: how do I override the URL?
[16:31] <kiko> travnewmatic_ has a patch :)
[16:32] <j^2> Oh ok, link? And I'm not too versed in bzr, so some advice there too would be nice ;)
[16:35] <travnewmatic_> i just cut and paste
[16:35] <travnewmatic_> :D
[16:36] <travnewmatic_> i modified the the urls in ~/maas-image-builder/builder/osystems/centos.py
[16:36] <travnewmatic_> easy peasy
[16:38] <travnewmatic_> you know what would be super mega flipping awesome
[16:38] <travnewmatic_> is if the maas image builder was build into maas proper
[16:50] <j^2> travnewmatic_: thanks for the pointer
[16:50] <travnewmatic_> welcome!
[16:50] <travnewmatic_> though my friend suggested that things like this are supposed to use the round robin mirror
[16:51] <travnewmatic_> so the load is distributed
[16:52] <travnewmatic_> but of course we dont mind we're happy to help!
[17:00] <travnewmatic_>  https://www.dropbox.com/s/ql9bkd9zqyg0bq1/Screenshot%202015-02-20%2010.59.58.png?dl=0
[17:00] <travnewmatic_> the shit worked
[17:00] <travnewmatic_> absolutely amazing
[17:01] <kiko> course it did!
[17:03] <travnewmatic_> that image builder thing needs to get built into the maas front end
[17:03] <travnewmatic_> for realsies
[17:04] <kiko> we know
[17:05] <travnewmatic_> sorry :D
[17:06] <travnewmatic_> still
[17:07] <travnewmatic_> this is all very very very impressive
[17:07] <travnewmatic_> anything i can do to help?
[17:07] <kiko> yes, blog about it :)
[17:08] <travnewmatic_> i plan to ;)
[17:19] <roadmr> travnewmatic_: /me should merge curtinator into maas-image-builder https://launchpad.net/curtinator
[17:20] <roadmr> er... me :)
[17:20] <travnewmatic_> :D
[17:20] <travnewmatic_> i've seen curtains around
[17:20] <travnewmatic_> but i'm not sure what that does in the grand scheme of things
[17:20] <roadmr> travnewmatic_: it builds maas-installable images from stock Ubuntu isos, useful if you want to deploy ubuntu desktop using maas
[17:21] <travnewmatic_> vs the maas image builder method with installs to a VM and takes a snapshot
[17:21] <roadmr> travnewmatic_: that's pretty much what curtinator does, only the hooks it has are customized for ubuntu rather than rhel or centos
[17:22] <travnewmatic_> hmm
[17:22] <travnewmatic_> is theres a time difference?
[17:22] <travnewmatic_> the maas-image-builder took a very very long time (though i can't argue with the results ;))
[17:22] <roadmr> travnewmatic_: as in, how long it takes? curtinator takes about 10 minutes on an SSD system, I'd imagine about 30 on a rotary hard disk
[17:23] <travnewmatic_> i think my centos bake took a few hours to complete
[17:23] <travnewmatic_> granted, this isnt super bleeding edge hardware
[17:24] <roadmr> travnewmatic_: if yours is much slower (i.e. takes over 1 hour), maybe you're not using hardware virtualization...
[17:24] <travnewmatic_> mmmmmmmm
[17:25] <travnewmatic_> tahts a good point
[17:25] <travnewmatic_> the servers i'm using arent super recent
[17:25] <travnewmatic_> dell 1950's
[17:26] <roadmr> travnewmatic_: they should support hardware virtualization, nearly every server from the past 6-8 years should support it
[17:26] <travnewmatic_> hmm then thats something i can look into
[17:36] <kiko> roadmr, yeah, we should totally merge
[18:43] <travnewmatic_> http://www.travnewmatic.com/2015/02/ubuntu-maas-maas-image-builder-centos-6.html
[18:43] <travnewmatic_> rip it to shreds!
[18:54] <catbus1> travnewmatic_: \o/
[19:02] <kiko> travnewmatic_ rocks the boat
[19:03] <kiko> Linux clippings, dance music, and more
[19:03] <kiko> literally
[19:05] <j^2> travnewmatic_: good writeup :)
[19:05] <travnewmatic_> weeeew
[19:06] <travnewmatic_> feedback feedback what can i add or change or what do yall recommend?
[19:34] <j^2> travnewmatic_: that link to the script is to my pr isnt it?
[19:34] <j^2> yeah that’s to abranch that’ll be merged into master soonish
[20:37] <kiko> j^2, when you can actually get the build to work i guess :)
[20:47] <travnewmatic_> j^2, what do you mean?
[20:47] <j^2> you linked a WIP branch
[20:48] <j^2> kiko: sad but true yeah
[20:49] <kiko> j^2, were you able to reproduce your problem?
[20:49] <j^2> yep
[20:49] <kiko> oh, really!
[20:49] <kiko> and you don't have a transp proxy in front of you or something odd like that?
[20:50] <travnewmatic_> j^2, https://code.launchpad.net/~maas-maintainers/maas/maas-image-builder <-this
[20:51] <j^2> kiko: nope, it’s a direct connection
[20:52] <j^2> travnewmatic_: https://github.com/jjasghar/maas/blob/centos/recipes/centos.rb
[20:52] <travnewmatic_> oh thats you!
[20:52] <travnewmatic_> :D
[20:52] <travnewmatic_> didnt make that connection
[20:52] <j^2> yep
[20:53] <kiko> j^2, so two machines on your network present the same issue
[20:53] <kiko> mmmmm!
[20:53] <kiko> and always on different packages?
[20:53] <kiko> I assume you are able to install centos standalone (i.e. not in a VM) normally..
[21:00] <j^2> yep
[21:01] <j^2> and yeah it’s been different pkgs