[06:26] rraphink (~quassel@193.252.149.222) left irc: Quit: No Ping reply in 180 seconds. [06:31] raphink (~quassel@193.252.149.222) joined #fai. [07:07] ErKa (keryell@keryell.pck.nerim.net) joined #fai. [07:09] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. [07:36] ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [07:44] joschi_ (~quassel@zuse.schalanda.name) joined #fai. [08:02] raphink (~quassel@193.252.149.222) left irc: Ping timeout: 480 seconds [08:08] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. [08:11] raphink (~quassel@193.252.149.222) joined #fai. [08:50] ErKa (keryell@dhcp3.info.enstb.org) joined #fai. [08:53] allee-k_ (~allee-k@alleehol.mpe.mpg.de) joined #fai. [08:56] allee (~ach@allee.mpe.mpg.de) joined #fai. [09:08] verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. [09:20] Nic0 (~courtel@fw.tls.cena.fr) joined #fai. [09:33] Mrfai (~lange@suenner.informatik.uni-koeln.de) joined #fai. [09:57] Kajeci (~Kajeci@pa1-84-91-3-196.netvisao.pt) joined #fai. [11:28] ErKa (keryell@dhcp3.info.enstb.org) left irc: Ping timeout: 480 seconds [11:44] blic (d4c8220d@webchat.mibbit.com) joined #fai. [11:49] blic (d4c8220d@webchat.mibbit.com) left irc: Quit: http://www.mibbit.com ajax IRC Client [13:15] ErKa (keryell@dhcp3.info.enstb.org) joined #fai. [13:49] spiral (~spiral@LAubervilliers-153-52-21-128.w217-128.abo.wanadoo.fr) joined #fai. [13:49] hello [13:53] hi [13:57] I'm trying to use fai and having a hard time configuring everything up [13:57] now I think nfs, pxe, dhcp & dns are ok [13:58] fai even seems to do the install correctly [13:58] I'm trying a demohost [13:59] however, when I reboot the client, it sticks to grub prompt [14:04] you mean no kernel got installed? [14:05] you'll want to have a look at software.log [14:06] mgoetze: well in fact this time I can't reproduce the problem... I've relaunched fai-setup [14:07] mgoetze: & this time I get stuck when FAI tells me /var/lib/fai/config/class is unavailable [14:08] well [14:08] this seems to be true [14:09] it's empty on the server [14:09] there's definitely something I don't get with this tool [14:10] 'm trying again with a fai-setup -v [14:20] well, it's still empty [14:20] wtf ? [14:20] mgoetze: would you by any luck have some hints ? [14:22] spiral: did you copy the simple-examples as your config [14:22] spiral: ? [14:23] mgoetze: maybe I forgot to relaunch this one this time [14:23] mgoetze: thanks [14:24] mgoetze: but this isn't the same directory, ain't it ? [14:24] Or is /srv/fai/nfsroot/live/filesystem.dir/var/lib/fai/config populated by /srv/fai/config/ ? [14:25] spiral: if you haven't modified fai.conf, then /srv/fai/config will be nfs-mounted to /var/lib/fai/config in the install system [14:25] mgoetze: alright, so this is what's missing [14:26] mgoetze: I'm rebooting the pxe to try & check if everything's ok [14:26] mgoetze: but I guess I'll probably be back to my grub issue [14:26] allee-k_ (~allee-k@alleehol.mpe.mpg.de) left irc: Read error: Connection reset by peer [14:26] allee-k_ (~allee-k@alleehol.mpe.mpg.de) joined #fai. [14:34] mgoetze: well, still the same problem... [14:34] mgoetze: /var/lib/fai/config/class not found [14:35] spiral: so, is /srv/fai/config mounted? (type "mount" in the install client) [14:36] mgoetze: well, it's not... Only /srv/fai/nfsroot is mounted [14:37] spiral: so, why not? is it being exported? ("showmount -e" on server) [14:37] mgoetze: yep, it's exported the same way as /srv/fai/nfsroot [14:37] what happens if you try to mount it manually? [14:39] mgoetze: well, it works [14:40] mgoetze: I got a warning about rpc.statd not running, so I had to append -o nolock to my mount command [14:40] mgoetze: maybe this is the reason? [14:42] allee-k_ (~allee-k@alleehol.mpe.mpg.de) left irc: Ping timeout: 480 seconds [14:42] hm maybe, i've heard of some people having this problem but i haven't encountered it myself [14:43] maybe search the mailing list archives for rpc.statd [14:43] mgoetze: what's amazing is that it's worked once before :-P [14:50] mgoetze: well, I found this: https://lists.uni-koeln.de/pipermail/linux-fai/2009-November/007468.html [14:50] mgoetze: but I don't think this is my problem, because I didn't modify FAI_CONFIG_SRC [14:51] and now i will watch fai 3.3.4 implode with only 128mb of ram... [14:51] ;-) [14:53] mgoetze: well, I tried to completely remove the configuration in /etc/exports & to relaunch fai-setup -v so that it tries to generate it correctly... [14:57] Mrfai: fai 3.3.4 breaks on a VM with only 128 MiB RAM [14:59] mgoetze: hmm, it only creates one line in my /etc/exports file for nfsroot, & nothing for config [15:07] gotcha [15:08] mgoetze: is there a way to redo only the configuration part of the fai-setup, without the download? [15:08] mgoetze: 'cause I have to switch between connexions for the download & fai tests [15:08] mgoetze: & of course the ip isn't the same [15:09] spiral: i have no idea what you mean by "configuration part" and "download part" [15:09] spiral: i've never had a need to run fai-setup more than once on a server. i might occassionally rerun make-fai-nfsroot again [15:10] mgoetze: I could use it as well [15:10] pardon? [15:11] mgoetze: well, the problem I have is that I can't use the same ip for the debootstrap & so on... [15:11] mgoetze: & for the installation tests [15:13] mgoetze: 'cause it's not on the same network [15:15] spiral: i see. well, fai-setup doesn't do anything magical. you just need to to fix /etc/exports, your pxe config, and possibly /etc/hosts within the nfsroot [15:15] mgoetze: well, I'm trying, thanks for your help ;-) [15:16] spiral: as a matter of fact, it's a 200-line shell script, so easy to read all of it [15:16] mgoetze: yeah, that's what I might do next if it still doesn't want to work [15:17] all right, got it [15:17] now it's running the installation [15:17] mgoetze: I'll tell you in a few minutes if I get stuck to grub prompt or if it goes beyond [15:18] allee-k (~allee-k@alleehol.mpe.mpg.de) joined #fai. [15:19] mgoetze: on a more general point of view, I consider using fai in the company I work for, and am doing a study on it in order to determine wether it could be used to create a pxe server able to easily deploy OpenSuse & Ubuntu VMware hosts, with VMWare installation & configuration scripted [15:20] <\sh> spiral, ubuntu works -> opensuse should work too [15:21] <\sh> spiral, for opensuse you need to do some more work (yum repository or zypper repositories)...yum, smart are supported..I think zypper too..but for zypper I'm not sure [15:22] \sh: well, that's what I've read [15:22] one precision though : this has to be able to work in an offline environment [15:22] not connected to the internet [15:22] which is kinda frustrating with those kind of tools [15:22] <\sh> spiral, if you have onsite package repositories, this works out of the box (ubuntu and opensuse) [15:23] <\sh> spiral, for ubuntu debian I always have a complete mirror of the repositories... [15:23] \sh: well, that's part of the plan, but it's gonna take a while to get this up & running :-P [15:23] <\sh> spiral, in my past I installed sles9 as well with FAI and for that I needed also an onsite package mirror of novell [15:23] \sh: I guess I'll have to create those mirrors at home & copy them to this offline site [15:24] hmmm... [15:24] <\sh> spiral, ubuntu -> less then 2 hours (20 mins rudimentary FAI + 1h40m for mirroring ubuntu) [15:24] after the install process I get a message telling me that some errors occured [15:24] & that I could read /tmp/fai/error.log [15:24] is there any way I could get a tty on the system? [15:25] <\sh> spiral, you mean a console tty? or ssh vty? [15:25] \sh: btw, re: your recent blog post, if i were working for your employer no extra work on fai in ubuntu would get done, as i just install ubuntu from a lenny nfsroot and it works great ;) [15:26] spiral: yes, both are possible, read the fai-chboot manpage [15:26] (both ssh and vt) [15:27] <\sh> mgoetze, well...I'm on 95% ubuntu for our DC :) so 4% is windows and 1% is debian...I want to get up to 96% ;) [15:27] mgoetze: well, without rebooting would be nice... [15:27] mgoetze: in fact FAI tells me that some errors occured, & I would like to be able to review those [15:28] raphink (~quassel@193.252.149.222) left irc: Quit: No Ping reply in 180 seconds. [15:28] mgoetze: if this is too late for this time, then I'll reboot & cross fingers... [15:28] <\sh> spiral, you tell fai-chboot -F and then ssh [15:28] <\sh> user root pw: fai ;) [15:29] spiral: if you didn't have openvt or ssh options set it won't work this time. but logs are copied to /var/log/fai on target system by default [15:29] mgoetze: well, if the target systems manages to boot :-P [15:30] mgoetze: 'm stuck to grub again [15:30] spiral: so, presumably you didn't install a kernel [15:30] mgoetze: I'm working on a debian stable with latest fai packages downloaded through apt [15:31] spiral: change your pxe config (by hand or with fai-chboot) to create a vt or start an ssh server, redo the install, and check /tmp/fai/software.log [15:31] mgoetze: I saw messages about the kernel during fai-setup, & I followed the instructions in the fai quickstart tutorial [15:33] mgoetze: I guess it's because of the ram disk (introduced in 3.3.3). You can set FAI_NORAMDISK=1 [15:34] Mrfai: right, the ram disk got full. so i guess i'll have to write a new class LOWRAM or something? [15:34] Mrfai: it'd be nicer if fai just detected the problem ahead of time ;) [15:34] mgoetze: hmmm, in fact according to the man page, I probably already have the vt, 'cause I did a fai-chbot -IFv demohost [15:35] yeah, you probably have both ssh and a vt then [15:35] mgoetze: y?p [15:36] mgoetze: however I didn't manage to switch to the vt by using neither alt + F2 nor ctrl+alt+f2 [15:37] spiral: hm, i just do alt-rightarrow [15:37] mgoetze: I'll try this one in a few minutes then ;-) [15:38] spiral: alternatively, ssh should work too; as \sh said it's root / fai by default [15:39] mgoetze: got it... [15:39] mgoetze: it even uses internet when installing the client [15:40] mgoetze: well, I won't be able to complete my tests until I have local mirrors then [15:41] mgoetze: I really thought that the packages were fetched by fai-setup [15:46] mgoetze: I really think a nice schema would be something wonderfull to help newcomers to have an overview of the process & services involved [15:47] ErKa (keryell@dhcp3.info.enstb.org) left irc: Ping timeout: 480 seconds [15:47] spiral: http://www.informatik.uni-koeln.de/fai/poster/ is the best we have to offer, feel free to submit something better ;) [15:49] mgoetze: well, I've already seen this one, & for the moment I don't think I have enough knowledge of the tool to do more than that, but this would really come in a handy, & I will have to create a schema in the framework of my study, which I could maybe share with you [15:56] allee-k (~allee-k@alleehol.mpe.mpg.de) left irc: Ping timeout: 480 seconds [16:00] well, FAI seems really powerfull, but it implies a lot of peripheral configuration in order to be useful in a network [16:01] isn't there a way to build for example a fully automated installer self-contained in a DVD, that wouldn't need to go fetch packages on the Internet? [16:01] you can build a FAI CD cntaining the same installation process with only two commands [16:02] Mrfai: yeah, & with the apt mirror included ? :-P [16:02] Mrfai: so that it could be used on a standalone client [16:03] yep, excatly that [16:04] Mrfai: the two commands you mention are only at the end of the process I suppose ? It presuposes that fai is already fully operationnal via pxe ? [16:05] Mrfai: I'm kinda afrayed because I can't even manage to reproduce a configuration in which I could make the default example work [16:05] afraid sorry [16:07] if fai via PXE is working, you only need the fai-mirror and fai-cd command to created the ISO image for a CD/DVD. It will contain the same installation process, without the need of PXE, lcoal mirror,... because everything is on the CD then. [16:07] Mrfai: yeah, that's the problem [16:07] Mrfai: to get PXE fai working [16:08] Mrfai: without internet access in the server room... [16:08] Mrfai: at once I thought I could do this on VMs on my laptop using my personnal connexion... [16:08] Mrfai: but even this is kinda hasardous... [16:09] Mrfai: because for pxe & fai to be running correctly, I have to provide a dhcp server, which is in conflict with my isp box's... [16:10] you can also create the FAI CD without working pxe. But then you have to create a CD, test it, fix problems in your config space, create a new CD, test it,... [16:10] Using PXe makes the test process much faster [16:10] Mrfai: yeah, if you can use it [16:10] Mrfai: but I don't see a way I could use it if even the installation process needs to be done online [16:11] Using the FAI CD, you can do it completely offline. [16:12] Creating the CD needs a local mirror, or network access to a mirror [16:12] Mrfai: do you mean i can create a customized FAI CD from the FAI CD ? [16:13] Mrfai: yeah, if I don't need the PXE, dhcp & so on, I could use my home internet access to access distribution mirrors [16:15] Mrfai: so, to sum-up... Do you confirm that with an empty virtual machine bridged to my isp's box, and the fai CD, I can create a new iso for a fully offline automatic installation of let's say ubuntu? [16:16] yes. [16:17] But you will still need to setup your virtual machine a fai server. On the fai-cd, there's an example for a fai server. Try this one. [16:17] Mrfai: ok... Could you point me to the correct chapters in the documentation in order to do so, or a tutorial, or give me pointers? [16:18] Maybe some things do not work out-of-the-box, it's been quiet a while since I tested those. [16:18] read the whole FAI guide. [16:18] Mrfai: yeah, sure, & the whole internet is next in my list... [16:18] however I only have 2 days for my preliminary study [16:18] Or hire a FAI expert :-) [16:19] 2 days and 2 nights ? ;-) [16:19] Mrfai: I don't work at HR [16:19] Mrfai: no, my girlfriend wouldn't agree with the nights part :-P [16:21] well, thanks for your help, I gotta blaze [16:21] spiral (~spiral@LAubervilliers-153-52-21-128.w217-128.abo.wanadoo.fr) left irc: Quit: Bye [16:24] Mrfai (~lange@suenner.informatik.uni-koeln.de) left irc: Quit: leaving [16:30] Kajeci (~Kajeci@pa1-84-91-3-196.netvisao.pt) left irc: Read error: Connection reset by peer [16:32] Kajeci (~Kajeci@pa1-84-91-3-196.netvisao.pt) joined #fai. [16:33] Kajeci (~Kajeci@pa1-84-91-3-196.netvisao.pt) left irc: Read error: Connection reset by peer [16:37] verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat [16:49] Kajeci (~Kajeci@pa1-84-91-3-196.netvisao.pt) joined #fai. [17:05] Kajeci (~Kajeci@pa1-84-91-3-196.netvisao.pt) left irc: Ping timeout: 480 seconds [17:18] Kajeci (~Kajeci@pa1-84-91-3-196.netvisao.pt) joined #fai. [17:31] Kajeci (~Kajeci@pa1-84-91-3-196.netvisao.pt) left irc: Ping timeout: 480 seconds [17:53] ErKa (~keryell@keryell.pck.nerim.net) joined #fai. [19:56] ase-reja (~chatzilla@125.21.209.11) joined #fai. [19:56] how to create a mirror for ubuntu9.10, with the packages available on the cd ??? [20:04] ase-reja: install approx and use approx-import to import the packages from the cd [20:05] or instead of approx use another proxy like apt-proxy, apt-cacher or apt-cacher-ng [20:06] joschi_: ok.. n dat will go to my apache mirror dir ... /var/www/.....main/ubuntu with appropriate Package.tar.gz etc ? [20:07] ase-reja: never used approx-import myself [20:07] joschi_: i d use n let ppl knw ;) [20:08] nice :) [20:25] fai: 3 mt committed revision 5746 to 7 fai: no unnecessary pvcreate for pre-existing volume groups [20:49] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. [21:03] ErKa (~keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [21:37] ErKa (keryell@keryell.pck.nerim.net) joined #fai. [21:57] WofFS (ejabberd@85.190.42.81) joined #fai. [22:27] mgoetze (~mgoetze@mgoetze-2-pt.tunnel.tserv4.nyc4.ipv6.he.net) left irc: Remote host closed the connection [22:27] mgoetze (~mgoetze@mgoetze-2-pt.tunnel.tserv4.nyc4.ipv6.he.net) joined #fai. [23:01] siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. [23:20] WofFS (ejabberd@85.190.42.81) left #fai. [23:57] ErKa (keryell@keryell.pck.nerim.net) left irc: Ping timeout: 480 seconds [00:00] --- Tue Mar 23 2010