| Hugo (3ddc2355@ircip2.mibbit.com) joined #fai. |
| 03:38 Hugo | guten morgen |
| 03:39 Hugo | I'm testing FAI's functionalities |
| 03:39 Hugo | while I boot a install client up |
| 03:40 Hugo | after fetching IP-address |
| 03:40 Hugo | it shows TFTP TIME OUT |
| 03:40 Hugo | I check the daemon of TFTP which is working on |
| 03:41 Hugo | PS. I installed FAI server from FAI-CD that I downloaded from FAI web-site |
| 04:23 juri_ | how are you checking the tftp daemon remotely? |
| 04:25 juri_ | to my knowlege, you should be using a live CD (your faicd on a safe setting, preferably) to boot the client, then performing a tftp request from tha client with its proper mac address. |
| 05:02 Hugo | root 31048 0.0 0.0 2240 248 ? Ss 11:34 0:00 /usr/sbin/in.tftpd -l -s /srv/tftp on faiserver |
| 05:04 Hugo | I assign a client MAC which is belong to install client ,in dhcpd.conf on faiserver |
| justleen (~leen@s5591f74f.adsl.wanadoo.nl) joined #fai. |
| justleen (~leen@s5591f74f.adsl.wanadoo.nl) left irc: Ping timeout: 480 seconds |
| 07:28 oz_ | Hugo: what version of the tftpd did you install? |
| 08:01 Hugo | thanks for oz_ , I'm erase the old installation of FAI |
| 08:01 Hugo | I'm going to install FAI on Ubuntu Maverick |
| 08:02 Hugo | additional question , any one ever use DC2 for FAI GUI ? |
| 08:02 Hugo | is that good to using ? |
| 08:15 \sh | Hugo: it's difficult to install it right now ;) |
| 08:15 Hugo | you mean install on Ubuntu Maverick @@? |
| 08:15 \sh | Hugo: as there is no documentation how to do it...but it works ;) I'll have to find the time for documentation |
| 08:15 \sh | Hugo: no .. DC˛ ;) |
| 08:15 Hugo | oh got it |
| 08:16 Hugo | how about install FAI on ubuntu Maverick ? |
| 08:16 \sh | easy |
| 08:17 Hugo | thanks , but i think tftp version in Maverick is a little different from tftp in debian |
| 08:17 Hugo | am i right ? |
| 08:18 Hugo | Im facing a problem for now . there's no kernel image in /srv/tftp after I ran fai-setup |
| 08:18 Hugo | I still can not find out a document of FAI on Ubuntu Maverick in detail |
| 08:20 Hugo | btw , I'm just a beginner . :> |
| justleen (~leen@rev-131-102.virtu.nl) joined #fai. |
| 08:42 oz_ | Hugo: I think there is no Document |
| 08:43 Hugo | Confusing about the problem of no kernel image in /srv/tftp/fai ~"~ |
| 08:45 Hugo | which distro do you recommand for a beginner ? |
| 08:46 Hugo | Debian ? |
| 08:46 oz_ | yes |
| 08:47 Hugo | so , the easiest way is install FAI on debian by fai-cd 3.3 ? |
| 08:47 oz_ | I think so, yes |
| 08:49 Hugo | thanks , but while I install from fai-cd , the process of installation shows me several error . |
| osmo (~o@195.14.20.220) joined #fai. |
| 09:01 oz_ | Hugo: does it install sucessfully? |
| 09:03 Hugo | yes, Ido think so , I'll check install log later |
| 09:03 Hugo | reinstall again :> |
| 09:07 Hugo | a normal question , r u german ? |
| Action: \sh hates klibcs ipconfig |
| Action: \sh integrates now udhcpc in live-initramfs-tools for |
| 09:14 oz_ | :-) |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. |
| 09:16 Hugo | :D |
| 09:27 Hugo | it might be the problem on that I have two ethernet car on install server , eth0 is dhcp from our master dhcp server , eth1 is fai dhcp service for install client |
| 09:28 Hugo | after fai-setup , I found that /etc/exports nfsroot & config is assign to 172.16.2.94 |
| 09:28 Hugo | but my fai dhcp server is for 192.168.1.x clients |
| 09:28 Hugo | how to correct this issue ? |
| Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) joined #fai. |
| 09:46 osmo | why isn't mdadm initiated prior to or inside get_current_lvm? |
| 09:48 osmo | since you might have a configuration, as we do, where lvm is on top of software raid |
| 10:00 Hugo | thanks for your advice , but I don't know what's the meaning . |
| 10:00 Hugo | I just follow the guide which I found on google |
| 10:00 Hugo | http://www.akoestica.be/blog/home/sysadmin/15-provisioning/49-installing-fai |
| 10:27 Hugo | stuck on TFTP open timeout . using tftpd-hpa default by fai-cd |
| 10:28 oz_ | Hugo: can you do tftp from the commandline? |
| 10:35 Hugo | no command not found |
| 10:35 Hugo | should I install any tftp client package? |
| 10:37 \sh | looks like that I managed to use udhcpc as default dhcp client in live initramfs tools for fai... |
| 10:37 \sh | wow |
| 10:37 \sh | Mrfai: klibcs ipconfig + be2net != success , udhcpc + be2net == success |
| 10:39 Hugo | but I dpkg -L tftpd-hpa is already installed |
| 10:39 Mrfai | \sh: es waere prima, wenn du eine mail an linux-fai posten koenntest, wie du das gemacht hast. |
| 10:39 Mrfai | Hugo: you need the client: tftp-hpa |
| 10:41 Hugo | I search for package tftp , there is only one package named tftpd-hpa .... |
| 10:44 \sh | Mrfai: will do :) |
| 10:45 \sh | Mrfai: I wonder if it would be a good idea to create an initramfs overlay package just like the live-initramfs-tools for fai itself.... |
| 10:52 Mrfai | I'll guess mika will have a look at the udhcpc thing and will include it into initramfs-tools it it's useful |
| 10:52 Mrfai | Hugo: I'll have this: tftp-hpa - HPA's tftp client |
| 10:52 \sh | I'll just need to make it pretty..;) |
| 10:52 Mrfai | try apt-cache search tftp |
| 11:06 Hugo | reinstall again :< I screw it up ...... |
| ErKa (~keryell@APuteaux-154-1-18-140.w83-199.abo.wanadoo.fr) joined #fai. |
| 11:22 Hugo | err http://faiserver lenny/main packages connection failed [IP: 192.168.1.250 9999] |
| 11:57 Hugo | tftp open time out is due to no tftp client |
| nic (~niki@217.17.27.69) joined #fai. |
| 11:59 Hugo | the reason why I can't see apt-cache is bcz apt-proxy , the listen address should be assign to 192.168.1.250 |
| msc_ (~msc@gw1.cgn3.hosteurope.de) joined #fai. |
| msc (~msc@gw1.cgn3.hosteurope.de) left irc: Read error: Connection reset by peer |
| Nick change: msc_ -> msc |
| 12:17 nic | hi again. i created a script to touch /opt/file on install client during installation. tried with: |
| 12:17 nic | /tmp/target/live/filesystem.dir/opt/file1/tmp/target/opt/file2 |
| 12:17 nic | false |
| 12:17 nic | mom |
| HerrK (~keryell@APuteaux-154-1-13-222.w83-199.abo.wanadoo.fr) joined #fai. |
| 12:17 nic | /tmp/target/live/filesystem.dir/opt/file1 |
| 12:17 nic | /tmp/target/opt/file2 |
| 12:17 nic | /target/live/filesystem.dir/opt/file3 |
| 12:17 nic | /target/opt/file4 |
| 12:18 nic | but nothing on client after installation |
| 12:18 nic | script is executable |
| ErKa (~keryell@APuteaux-154-1-18-140.w83-199.abo.wanadoo.fr) left irc: Ping timeout: 480 seconds |
| 12:22 justleen | nic: you can use $TARGET/opt/file |
| 12:26 nic | thy |
| 12:27 nic | varable $TARGET must be in uppcase? |
| msc_ (~msc@gw1.cgn3.hosteurope.de) joined #fai. |
| msc_ (~msc@gw1.cgn3.hosteurope.de) left irc: |
| msc_ (~msc@gw1.cgn3.hosteurope.de) joined #fai. |
| msc (~msc@gw1.cgn3.hosteurope.de) left irc: Ping timeout: 480 seconds |
| msc_ (~msc@gw1.cgn3.hosteurope.de) left irc: Read error: Connection reset by peer |
| msc (~msc@gw1.cgn3.hosteurope.de) joined #fai. |
| msc_ (~msc@gw1.cgn3.hosteurope.de) joined #fai. |
| msc (~msc@gw1.cgn3.hosteurope.de) left irc: Remote host closed the connection |
| Nick change: msc_ -> msc |
| 12:40 nic | justleen: did not work |
| 12:45 justleen | why not? |
| 12:45 Mrfai | use $target/opt/file |
| 12:46 justleen | another way would be to use chroot, or $ROOTCMD |
| 12:50 nic | justleen: u mean chroot $target touch /opt/file right? |
| 12:51 Mrfai | yep. This is the same as $ROOTCMD touch /opt/file |
| 12:51 justleen | chroot $FAI_ROOT ln -s /data/shared/etc-lenny/php5 /etc/php5 |
| 12:51 justleen | yes |
| 12:51 Mrfai | I would always use $ROOTCMD. |
| 12:52 justleen | the uppper/lower case difference is kind of confusing btw |
| msc (~msc@gw1.cgn3.hosteurope.de) left irc: Quit: msc |
| msc (~msc@gw1.cgn3.hosteurope.de) joined #fai. |
| ebbie (~username@berlin046.server4free.de) joined #fai. |
| 13:06 ebbie | hi, i want to create a bootable cd containing the installation os (nfsroot) but not the packages needed for installation, is this in squeeze possible with "fai-tools" |
| 13:15 nic | script now looks like: |
| 13:15 nic | #!/bin/bash |
| 13:15 nic | #mount 128.10.1.1:/srv/fai/ityx /mnt |
| 13:15 nic | #cp -r /mnt/* /tmp/target/live/filesystem.dir/opt |
| 13:15 nic | touch $TARGET/opt/file1 |
| 13:15 nic | touch $target/opt/file2 |
| 13:15 nic | chroot $target touch /opt/file3 |
| 13:15 nic | chroot $TARGET touch /opt/file4 |
| 13:15 nic | $ROOTCMD touch /opt/file5 |
| 13:15 nic | chroot $FAI_ROOT touch /opt/file6 |
| 13:15 nic | nothing happened |
| 13:17 justleen | is the script executable? |
| 13:17 nic | y |
| 13:17 justleen | do you see it execued in log? shell.log ? |
| 13:18 nic | nope |
| 13:18 justleen | its in a correct class dir? |
| 13:18 justleen | /config/scripts/CLASS/script? |
| 13:19 justleen | and the gets that class? |
| 13:19 justleen | the host* |
| 13:19 nic | /srv/fai/config/scripts/ITYX/2-mount_cp-test |
| 13:19 nic | y it gets class |
| 13:19 justleen | and FAI_CLASSES contains ITYX |
| 13:19 nic | yep |
| 13:19 justleen | hm |
| 13:21 justleen | is there a 1- script? |
| 13:21 justleen | does that get executed? |
| 13:21 nic | it exists but i didnt made it executable yet |
| 13:27 Hugo | I got a problem in fai-setup |
| 13:28 Hugo | Faiserver had install on Ubuntu Maverick |
| 13:28 Hugo | there's no kernel in /srv/tftp |
| 13:35 nic | Hugo: did u try to copy it by hand from /boot ? |
| 13:36 justleen | nic: I only use double-digit scripts, but i cant imagine that having an impact |
| 13:37 justleen | bit weird that its not executed at all, even though the class is recognized.. |
| 13:38 nic | justleen: moved 2-mount_cp-test to 10-test and it gets executed now |
| msc (~msc@gw1.cgn3.hosteurope.de) left irc: Read error: Connection reset by peer |
| msc (~msc@gw1.cgn3.hosteurope.de) joined #fai. |
| 13:40 nic | justleen: file 2 3 5 and 6 where created |
| 13:40 mikap | fai-do-scripts executes all scripts in DIRECTORY which are also a |
| 13:40 mikap | defined class. If the name of the class is a directory, all scripts |
| 13:40 mikap | that match `[0-9][0-9]*' in this directory are executed. |
| 13:40 mikap | -- man fai-do-scripts(1) |
| 13:41 mikap | would have to check the source, but if that applies to the scripts you're talking about as well (i guess so) it should be [0-9][0-9]+ maybe? |
| 13:42 Hugo | thanks let me try it |
| 13:42 nic | mikap: looks like |
| 13:45 justleen | right, so it DOES make a diffenence to have 1-digit scripts |
| 13:46 justleen | good to know.. |
| 13:46 nic | agree |
| 13:46 nic | so a class can only include 89 scripts |
| 13:46 nic | ONLY |
| 13:47 justleen | 99 |
| 13:47 nic | 10 - 99 |
| 13:47 nic | ah |
| 13:48 justleen | 01- would be a valid match on [0-9][0-9] |
| 13:48 nic | 01 - 99 |
| 13:48 nic | ur right |
| 13:48 justleen | and you could be sneaky offcourse, 99-script could end by kicking off 100-script |
| 13:49 justleen | but I dont think I'll ever get to 99 scripts |
| 13:49 nic | true same with me |
| 13:50 mikap | Mrfai: ^^^ i think the [0-9][0-9]* in the docs isn't precise |
| 13:53 Hugo | fail to pxe boot from client TFTP error ~"~ |
| 13:54 Hugo | I already cp /boot kernel image to /srv/tftp/fai |
| 13:55 Hugo | should I change FAI_DEBOOTSTRAP="lenny http://cdn.debian.net/debian" to other string ? |
| 13:55 Hugo | due to my faiserver is on ubuntu maverick |
| 13:57 Hugo | btw my maverick is server x_64 |
| 14:03 Hugo | http://www.mail-archive.com/linux-fai@uni-koeln.de/msg03282.html I thinks this could be help |
| 14:03 nic | Hugo: looks like u do not even reach pxe rom. check /etc/default/tftp-hpa for TFTP_DIRECTORY="/srv/tftp/fai" |
| 14:07 Mrfai | mikap: but that's excatly what fai does : for f in $(echo $class/[0-9][0-9]* ) ; do |
| 14:07 justleen | Mrfai: doenst that mean that there is no difference on the match for 991-script and 992-script? |
| 14:08 mikap | Mrfai: because shell doesn't support "real regex" in that way |
| 14:08 mikap | Mrfai: demo -> |
| 14:08 mikap | mika@lunge /tmp/fai % touch 01-foo 1-bar 100-baz |
| 14:08 mikap | mika@lunge /tmp/fai % ls [0-9][0-9]* |
| 14:08 mikap | 01-foo 100-baz |
| 14:08 Hugo | yes you're right.... |
| 14:09 mikap | * == zero, one or more than 1 matches for me and what i'd expect |
| 14:09 mikap | + == at least one match for me |
| 14:09 Mrfai | mikap: yep, you are right |
| 14:09 mikap | when i read [0-9][0-9]* without having any implementation details available i'd expect to be able to use 0-foobar was well |
| 14:09 Mrfai | so it more a [0-9][0-9].* |
| 14:10 justleen | mrfai: yes |
| msc (~msc@gw1.cgn3.hosteurope.de) left irc: Quit: msc |
| 14:13 FBJ | fai: 3 lange committed revision 6264 to 7 fai: more precise description of matching file names |
| msc (~msc@gw1.cgn3.hosteurope.de) joined #fai. |
| _julian (~quassel@hmbg-4d06e4c5.pool.mediaWays.net) joined #fai. |
| 15:15 \sh | mikap: read my mail about udhcpc? |
| Action: \sh 's gone home for today...cu tomorrow |
| \sh (~shermann@nat.de.netviewer.com) left irc: Read error: Connection reset by peer |
| nic (niki@217.17.27.69) left #fai. |
| justleen (~leen@rev-131-102.virtu.nl) left irc: Quit: Leaving. |
| HerrK (~keryell@APuteaux-154-1-13-222.w83-199.abo.wanadoo.fr) left irc: Ping timeout: 480 seconds |
| Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) left irc: Quit: leaving |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat |
| Nick change: mfl_ -> mfl |
| ebbie (~username@berlin046.server4free.de) left irc: Quit: connection reset by user |
| Hugo (3ddc2355@ircip2.mibbit.com) left #fai. |
| hugo (72187e9f@ircip3.mibbit.com) joined #fai. |
| 18:12 hugo | how about add tftp-hpa (tftp client) into fai-quickstart |
| 18:13 oz_ | a dependency would be nice, yes |
| 18:16 hugo | :) |
| alekibango (~alekibang@ip-94-113-217-204.net.upcbroadband.cz) left irc: Read error: Connection reset by peer |
| 18:16 hugo | still learning about FAI configuration |
| 18:16 hugo | I got something confuse..... |
| 18:17 hugo | I success to pxe boot up install client and get tftp file.... |
| 18:17 hugo | in my lab today |
| 18:18 hugo | but still failed to install it .... |
| 18:18 hugo | it must be something wrong .... |
| 18:19 hugo | server distro is Ubuntu Maverick , |
| 18:19 hugo | may I ask a question , in this situation , what's the distro of nfsroot ? |
| 18:20 hugo | I think that should be debian 5.0 !? |
| 18:22 hugo | assume that I have success to install client , how about the distro ? Maverick or Debian ?? |
| 18:23 hugo | bcz I saw FAI_DEBOOTSTRAP= squeeze http://cdn.debian.net debian |
| pav5088 (~Mark@ppp118-208-160-195.lns20.bne4.internode.on.net) left irc: Ping timeout: 480 seconds |
| pav5088 (~Mark@ppp118-208-178-94.lns20.bne4.internode.on.net) joined #fai. |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. |
| alekibango (~alekibang@ip-94-113-217-204.net.upcbroadband.cz) joined #fai. |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. |
| msc (~msc@gw1.cgn3.hosteurope.de) left irc: Quit: msc |
| --- Wed Jan 12 2011 |