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