| ErKa (~keryell@183.36.0-109.rev.gaoland.net) left irc: Ping timeout: 480 seconds |
| 01:10 alekibango | is it possible to use variables in fai_config/debconf/* ? |
| pav5088 (~Mark@110.144.140.138) left irc: Read error: Connection reset by peer |
| tokkee (tokkee@osprey.tokkee.org) left irc: Remote host closed the connection |
| tokkee (tokkee@osprey.tokkee.org) joined #fai. |
| torkel (~quassel@skruttibangbang.hpc2n.umu.se) joined #fai. |
| pav5088 (~Mark@58.171.15.97) joined #fai. |
| ErKa (~keryell@183.36.0-109.rev.gaoland.net) joined #fai. |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. |
| justleen (~leen@rev-131-102.virtu.nl) joined #fai. |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Quit: Leaving. |
| ErKa (~keryell@183.36.0-109.rev.gaoland.net) left irc: Ping timeout: 480 seconds |
| siggg (~jean@88.172.128.32) joined #fai. |
| ErKa (~keryell@183.36.0-109.rev.gaoland.net) joined #fai. |
| 09:39 alekibango | ballison: i am new to fai, but imho your boss is wrong. make backup and start it again... do not manually change things inside of the nfs chroot... use hooks for this |
| 09:39 alekibango | that way you can refresh it anytime without (big) problem |
| al (~d@niel.cx) left irc: Remote host closed the connection |
| al (d@niel.cx) joined #fai. |
| al (d@niel.cx) left irc: Read error: Connection reset by peer |
| al (d@niel.cx) joined #fai. |
| al (d@niel.cx) left irc: Ping timeout: 480 seconds |
| al (d@niel.cx) joined #fai. |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. |
| Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) joined #fai. |
| \sh (~shermann@nat.de.netviewer.com) joined #fai. |
| torkel_ (~quassel@skruttibangbang.hpc2n.umu.se) joined #fai. |
| torkel (~quassel@skruttibangbang.hpc2n.umu.se) left irc: Ping timeout: 480 seconds |
| ErKa (~keryell@183.36.0-109.rev.gaoland.net) left irc: Ping timeout: 480 seconds |
| Nick change: torkel_ -> torkel |
| pav5088 (~Mark@58.171.15.97) left irc: Quit: Leaving |
| 14:07 ballison | hello |
| 14:08 ballison | Mrfai: here's where I'm stuck at -> etchmirror:/etc/fai# make-fai-nfsroot -vk |
| 14:08 ballison | Using configuration files from /etc/fai |
| 14:08 ballison | Installing new kernel into the nfsroot. |
| 14:08 ballison | chroot: cannot run command `dpkg-divert': No such file or directory |
| 14:08 Mrfai | That's because you have a very old nfsroot and using newer fai packages. |
| 14:09 Mrfai | I suggest that you are building a new nfsroot. I would use lenny or maybe squeeze. |
| 14:09 ballison | let me move /svr/fai/nfsroot out of the way and try again. |
| 14:09 Mrfai | But you also may need some changes in your config space. |
| 14:09 Mrfai | If seems that your fai configs are very old. |
| 14:10 ballison | etchmirror:/srv/fai# make-fai-nfsroot -vk |
| 14:10 ballison | Using configuration files from /etc/fai |
| 14:10 ballison | Installing new kernel into the nfsroot. |
| 14:10 ballison | chroot: cannot change root directory to /srv/fai/nfsroot/live/filesystem.dir: No such file or directory |
| 14:10 Mrfai | -vk is not the way to create a new nfsroot. remove the -k, leave -v |
| 14:10 ballison | working |
| 14:11 ballison | Creating base system using debootstrap version 1.0.10lenny1 |
| 14:11 ballison | Calling debootstrap lenny /srv/fai/nfsroot/live/filesystem.dir http://etchmirror:9999/debian |
| 14:11 ballison | I: Retrieving Release |
| 14:12 Mrfai | ok, looks better :-) |
| 14:14 ballison | like baking cookies |
| 14:14 ballison | now will this give me the newest kernel is the question. |
| 14:14 ballison | my main problem is I have the new Dell R210 and when I PXE it neither the harddrive controller nor the network card was recognized by the older kernel. :/ |
| 14:15 ballison | since i know this works, should i Control-C out and change it to use squeeze instead? |
| 14:15 Mrfai | if make-fai-nfsroot finished, please put the log file onto paste.debian.net |
| 14:15 ballison | ok.. |
| 14:18 oz_ | Mrfai: s/if/when/ :) |
| 14:18 oz_ | anyway, I'll go for the weekend |
| 14:21 ballison | Get:10 http://etchmirror etch/updates/main dnsutils 1:9.3.4-2etch6 [181kB] |
| 14:21 ballison | Err http://etchmirror etch/updates/main rsync 2.6.9-2etch2 |
| 14:21 ballison | 404 Not Found |
| 14:21 ballison | Get:11 http://fai-project.org lenny/koeln linux-image-2.6.33-grml grml.02 [31.1MB] |
| 14:23 Mrfai | It seems that you have stil lsome etch entries in /etc/fai/apt/sources.list |
| 14:23 Mrfai | cp -a /etc/fai /etc/fai.old |
| 14:23 Mrfai | Then edit the sources.list in /etc/fai |
| 14:32 ballison | trying again |
| 14:44 ballison | now will i lose all my classes doing this? because this one of the classes is super important |
| 14:45 alekibango | hello. i tried to use variable in config/debconf/myclass but it seems to be empty.... is it possible to use variables in debconf config somehow? |
| 14:45 Mrfai | classes are in /srv/fai/config. You will not lose them. But maybe you have to adjust them that they will work using lenny. |
| 14:45 alekibango | ballison: for sure make some backup |
| 14:45 alekibango | and maybe put yuor config space in some git |
| 14:46 Mrfai | alekibango: variables can't be used in the debconf subdirectory. |
| 14:46 alekibango | or cvs if you are using that old system |
| 14:46 alekibango | :) |
| 14:53 ballison | make-fai-nfsroot finished properly. |
| 14:54 ballison | I'm a little bit worried though. |
| 14:54 ballison | because does this mean our newly imaged boxes will all be getting lenny now instead of etch? |
| 14:54 alekibango | stop being worried and learn to love the FAI |
| 14:54 alekibango | :) |
| 14:54 alekibango | ballison: yes it will be lenny |
| 14:54 alekibango | etch is not istallable now from internet directly |
| 14:55 ballison | i don't think that's going to be allowed because our product (which is sold) will be lenny now. :/ |
| 14:55 alekibango | ?? |
| 14:55 ballison | we image a box with a special image. that image was etch. |
| 14:56 ballison | i can't just change it to lenny under the covers |
| 14:56 alekibango | ouch lol :) |
| 14:56 ballison | what i trying to do was update the kernel fai used to install itself to support newer hardware |
| 14:56 alekibango | ballison: you can always use good old etch or potato installation cd :) |
| 14:56 alekibango | but that will not help much right |
| 14:57 alekibango | ballison: but how long you will keep etching? |
| 14:57 alekibango | this is not viable :) |
| 14:57 ballison | so if i go image a host with fai now - i should get lenny? |
| 14:57 ballison | let me go try it. |
| 14:58 ballison | i just finished running make-fai-nfsroot -v |
| 14:58 ballison | and it finished with no errors (using lenny as the source) |
| 14:59 alekibango | lenny should just work |
| 14:59 Mrfai | if you put your make-fai-nfsroot.log on paste.debian.net I can check this |
| 14:59 alekibango | try installing one node using it |
| 15:00 alekibango | Mrfai is right, paste it |
| 15:00 alekibango | rather, your installation is really old :) |
| 15:01 ballison | k |
| 15:01 ballison | i just tested it via PXE and it kernel paniced |
| 15:01 ballison | panicked |
| 15:02 alekibango | when? |
| 15:02 Mrfai | which kernel version? |
| 15:03 ballison | unknown |
| 15:03 ballison | i just changed the NFSROOT file to use lenny and updated the /etc/fai/apt/sources.list to use lenny |
| 15:03 ballison | http://pastebin.com/raw.php?i=rFA8Qmdj |
| 15:05 ballison | it never gave me a chance to pick kernels or anything. just started booting the initrd |
| 15:06 Mrfai | check /srv/tftp/fai/pxelinux.cfg. You can do this by calling fai-chboot -l |
| 15:07 Mrfai | what does it say for your install client? |
| torkel (~quassel@skruttibangbang.hpc2n.umu.se) left irc: Remote host closed the connection |
| 15:10 Mrfai | ballison: What does fai-chboot -l say? |
| 15:10 alekibango | ballison: did you run fai-chboot after lenny? |
| 15:11 alekibango | if not, that is the reason. nfs chroot looks fine |
| 15:11 alekibango | ballison: it was you who installed the fai years before? |
| 15:15 ballison | no - i inhereted this system |
| 15:15 justleen | best inheretence ever :) |
| 15:16 ballison | http://pastebin.com/raw.php?i=C8T76PDq |
| 15:16 Mrfai | ballison: ok |
| 15:16 Mrfai | you have to call fai-chboot for specifing a different kernel. |
| 15:17 Mrfai | But first we have to fix a minor thing inside the nfsroot |
| 15:17 Mrfai | the log looks good, but there was no initrd created for the 2.6.33-grml kernel |
| 15:17 Mrfai | chroot /srv/fai/nfsroot/live/filesystem.dir bash |
| 15:18 Mrfai | update-initramfs -k 2.6.33-grml -t -c |
| 15:18 Mrfai | exit |
| 15:18 Mrfai | this should create the initrd. Then copy it to /srv/tftp/fai |
| 15:19 Mrfai | then call: fai-chboot -SFv -s 2.6.33-grml installclient |
| 15:21 ballison | # update-initramfs -k 2.6.33-grml -t -c |
| 15:21 ballison | update-initramfs: Generating /boot/initrd.img-2.6.33-grml |
| 15:21 ballison | df: Warning: cannot read table of mounted file systems: No such file or directory |
| 15:21 ballison | warning: can't open /etc/mtab: No such file or directory |
| 15:21 ballison | W: mdadm: unchecked configuration file: /etc/mdadm/mdadm.conf |
| 15:21 ballison | W: mdadm: please read /usr/share/doc/mdadm/README.upgrading-2.5.3.gz . |
| 15:21 ballison | W: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays. |
| 15:21 ballison | W: mdadm: failed to auto-generate temporary mdadm.conf file. |
| 15:21 ballison | W: mdadm: no configuration file available. |
| 15:22 ballison | where should it have created the initrd to so i can copy it? |
| 15:22 Mrfai | you can ignore those messages, if you will get an initrd in /boot inside the nfsroot |
| 15:23 ballison | ./filesystem.dir/initrd.img |
| 15:23 ballison | that one? |
| 15:24 ballison | found it |
| 15:25 ballison | there is no /srv/tftp/fai/ |
| 15:26 ballison | nevermind... found it |
| 15:27 ballison | do i copy all the files from filesystem.dir/boot/ to /srv/tftp/fai or just the ones with grml in it? |
| 15:27 Mrfai | it must be a initrd.img-2.6.33-grml |
| 15:28 Mrfai | here's my server: |
| 15:28 Mrfai | ls /srv/fai/nfsroot/live/filesystem.dir/boot/ |
| 15:28 Mrfai | System.map-2.6.26-2-686 config-2.6.26-2-686 initrd.img-2.6.26-2-686 vmlinuz-2.6.26-2-686 |
| 15:28 Mrfai | System.map-2.6.33-grml config-2.6.33-grml initrd.img-2.6.33-grml vmlinuz-2.6.33-grml |
| 15:28 Mrfai | yours should look similar |
| 15:29 ballison | yep |
| 15:29 ballison | i copied initrd.img-2.6.33-grml and vmlinuz-2.6.33-grml to /srv/tftp/fai |
| 15:30 Mrfai | now call fai-chboot |
| 15:30 ballison | (( btw that kernel panic called everything on the network to go offline. for some reason it spammed the arp table after it panicked )) |
| 15:30 Mrfai | then boot your install client |
| 15:30 ballison | etchmirror:/srv/tftp/fai# fai-chboot |
| 15:30 ballison | fai-chboot version 3.4.4 16-january-2008 |
| 15:30 ballison | Please read the manual pages fai-chboot(8). |
| 15:30 Mrfai | fai-chboot -SFv -s 2.6.33-grml installclient |
| 15:31 ballison | "boot your install client" ?? i boot the host via pxe |
| 15:31 Mrfai | yes, boot it via PXE |
| 15:31 Mrfai | and check which kernel is received via tftp |
| 15:31 ballison | i'm confused... where do i run that fai-chboot command? on the fai server, or on the server that i'm pxe booting? |
| 15:32 Mrfai | on the fai server |
| 15:33 ballison | # fai-chboot -SFv -s 2.6.33-grml splunk |
| 15:33 ballison | Booting kernel vmlinuz-2.6.33-grml |
| 15:33 ballison | append initrd=initrd.img-2.6.33-grml ip=dhcp FAI_FLAGS=verbose,sshd,createvt |
| 15:33 ballison | splunk has 192.168.0.24 in hex C0A80018 |
| 15:33 ballison | Writing file /srv/tftp/fai/pxelinux.cfg/C0A80018 for splunk |
| 15:33 ballison | (( i'm trying to build a server to install splunk on. thus the name splunk )) |
| 15:35 Mrfai | Does the machine boot? |
| 15:38 ballison | ok - |
| 15:39 Mrfai | What does ok mean? |
| 15:39 ballison | 1- i pxe boot the server 2- it connects and pulls the initrd.img-2.6.33-grml kernel and boots that kernel |
| 15:39 Mrfai | good |
| 15:39 ballison | 3- a whole bunch of messages come up on the screen at the kernel boots |
| 15:39 ballison | 4- it says detecting hardware |
| 15:39 ballison | 5- more messages |
| 15:39 Mrfai | perfect! |
| 15:39 ballison | 6- then it says "press <return> to reboot server" |
| 15:39 Mrfai | This is FAI_ACTION=sysinfo |
| 15:40 Mrfai | it did not start the installation. |
| 15:40 Mrfai | yet |
| 15:40 ballison | nope - nothing installed |
| 15:40 Mrfai | If you call fai-chboot -IFv ..... (so -I instead of -S) and then reboot then you will start the isntallation |
| 15:41 ballison | on the fai server or on the client server? |
| 15:42 ballison | the pxe booted server is back to "press <return> to reboot server" |
| 15:43 ballison | # fai-chboot -IFv -s 2.6.33-grml splunk |
| 15:43 ballison | ran |
| 15:43 ballison | rebooting PXE client server |
| 15:44 ballison | looks like it's working |
| 15:48 ballison | is there a pastebin for images? |
| 15:49 ballison | oh no - the server is in a infinite reboot/pxe/reboot/pxe/reboot/pxe install cycle now. :) |
| 15:49 ballison | need to change the boot order |
| 15:50 Mrfai | bye |
| Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) left irc: Quit: leaving |
| 15:56 ballison | crap - didn't work and Thomas left |
| 15:56 ballison | the only option i have in grub is "kernel memtest" and that's it. |
| 15:59 ballison | how do i fix it so it shows all the kernels correctly in grub? |
| 15:59 ballison | memtest just runs the memory test. :/ |
| 16:03 ballison | anyone here? |
| 16:16 ballison | grrr |
| 16:17 ballison | need help |
| justleen1 (~leen@rev-131-102.virtu.nl) joined #fai. |
| justleen (~leen@rev-131-102.virtu.nl) left irc: Ping timeout: 480 seconds |
| justleen1 (~leen@rev-131-102.virtu.nl) left irc: Ping timeout: 480 seconds |
| 16:41 ballison | looks like it installed everything _except_ a kernel. |
| 16:41 ballison | :/ |
| 16:41 ballison | i had to KVM into it. chroot /target and then apt-get install the kernel |
| \sh (~shermann@nat.de.netviewer.com) left irc: Remote host closed the connection |
| Mrfai (~lange@xdsl-195-14-221-177.netcologne.de) joined #fai. |
| 17:07 Mrfai | ballison: did you got my email? |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat |
| Mrfai (~lange@xdsl-195-14-221-177.netcologne.de) left irc: Quit: leaving |
| Nic0 (~courtel@fw.tls.cena.fr) left irc: Quit: Leaving. |
| 19:04 ballison | anyone here? |
| 19:05 ballison | i need to know how to get a package that's in the lenny "non-free" repo to install via fai |
| alleehol (~quassel@allee.mpe.mpg.de) left irc: Remote host closed the connection |
| allee (~quassel@allee.mpe.mpg.de) joined #fai. |
| 20:36 ballison | got another question |
| 20:36 ballison | anyone here? |
| pav5088 (~Mark@120.154.41.212) joined #fai. |
| allee-k (~allee-k@p54A45AED.dip.t-dialin.net) joined #fai. |
| 20:53 ballison | anyone here who can tell me how fai maps a hostname to a CLASS ? |
| 20:56 allee-k | ballison: in class/50-... |
| 20:57 alekibango | ballison: include main contrib non-free section in the lenny line inside /etc/apt/sources.list |
| 20:58 alekibango | ballison: dont ask if we are here. asking or answering such questions is lost time... |
| 21:33 ballison | alek: thanks. i solved that one already. |
| 21:33 ballison | i actually got it all working. |
| 21:33 ballison | amazingly |
| 21:33 ballison | two seperate classes. installing non-free drivers (bnx2) |
| 21:33 ballison | all working. |
| 21:33 ballison | * happy dance * |
| siggg (~jean@88.172.128.32) left irc: Ping timeout: 480 seconds |
| allee-k (~allee-k@p54A45AED.dip.t-dialin.net) left irc: Ping timeout: 480 seconds |
| --- Sat Dec 11 2010 |