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