ErKa (~keryell@183.36.0-109.rev.gaoland.net) left irc: Ping timeout: 480 seconds
01:10 alekibangois 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 alekibangoballison: 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 alekibangothat 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 ballisonhello
14:08 ballisonMrfai: here's where I'm stuck at -> etchmirror:/etc/fai# make-fai-nfsroot -vk
14:08 ballisonUsing configuration files from /etc/fai
14:08 ballisonInstalling new kernel into the nfsroot.
14:08 ballisonchroot: cannot run command `dpkg-divert': No such file or directory
14:08 MrfaiThat's because you have a very old nfsroot and using newer fai packages.
14:09 MrfaiI suggest that you are building a new nfsroot. I would use lenny or maybe squeeze.
14:09 ballisonlet me move /svr/fai/nfsroot out of the way and try again.
14:09 MrfaiBut you also may need some changes in your config space.
14:09 MrfaiIf seems that your fai configs are very old.
14:10 ballisonetchmirror:/srv/fai# make-fai-nfsroot -vk
14:10 ballisonUsing configuration files from /etc/fai
14:10 ballisonInstalling new kernel into the nfsroot.
14:10 ballisonchroot: 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 ballisonworking
14:11 ballisonCreating base system using debootstrap version 1.0.10lenny1
14:11 ballisonCalling debootstrap lenny /srv/fai/nfsroot/live/filesystem.dir http://etchmirror:9999/debian
14:11 ballisonI: Retrieving Release
14:12 Mrfaiok, looks better :-)
14:14 ballisonlike baking cookies
14:14 ballisonnow will this give me the newest kernel is the question.
14:14 ballisonmy 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 ballisonsince i know this works, should i Control-C out and change it to use squeeze instead?
14:15 Mrfaiif make-fai-nfsroot finished, please put the log file onto paste.debian.net
14:15 ballisonok..
14:18 oz_Mrfai: s/if/when/ :)
14:18 oz_anyway, I'll go for the weekend
14:21 ballisonGet:10 http://etchmirror etch/updates/main dnsutils 1:9.3.4-2etch6 [181kB]
14:21 ballisonErr http://etchmirror etch/updates/main rsync 2.6.9-2etch2
14:21 ballison  404 Not Found
14:21 ballisonGet:11 http://fai-project.org lenny/koeln linux-image-2.6.33-grml grml.02 [31.1MB]
14:23 MrfaiIt seems that you have stil lsome etch entries in /etc/fai/apt/sources.list
14:23 Mrfaicp -a /etc/fai /etc/fai.old
14:23 MrfaiThen edit the sources.list in /etc/fai
14:32 ballisontrying again
14:44 ballisonnow will i lose all my classes doing this?  because this one of the classes is super important
14:45 alekibangohello. 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 Mrfaiclasses 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 alekibangoballison: for sure make some backup
14:45 alekibangoand maybe put yuor config space in some git
14:46 Mrfaialekibango: variables can't be used in the debconf subdirectory.
14:46 alekibangoor cvs if you are using that old system
14:46 alekibango:)
14:53 ballisonmake-fai-nfsroot finished properly.
14:54 ballisonI'm a little bit worried though.
14:54 ballisonbecause does this mean our newly imaged boxes will all be getting lenny now instead of etch?
14:54 alekibangostop being worried and learn to love the FAI
14:54 alekibango:)
14:54 alekibangoballison: yes it will be lenny
14:54 alekibangoetch is not istallable now from internet directly
14:55 ballisoni don't think that's going to be allowed because our product (which is sold) will be lenny now. :/
14:55 alekibango??
14:55 ballisonwe image a box with a special image.  that image was etch.
14:56 ballisoni can't just change it to lenny under the covers
14:56 alekibangoouch lol :)
14:56 ballisonwhat i trying to do was update the kernel fai used to install itself to support newer hardware
14:56 alekibangoballison: you can always use good old etch or potato installation cd :)
14:56 alekibangobut that will not help much right
14:57 alekibangoballison: but how long you will keep etching?
14:57 alekibangothis is not viable :)
14:57 ballisonso if i go image a host with fai now  - i should get lenny?
14:57 ballisonlet me go try it.
14:58 ballisoni just finished running make-fai-nfsroot -v
14:58 ballisonand it finished with no errors (using lenny as the source)
14:59 alekibangolenny should just work
14:59 Mrfaiif you put your make-fai-nfsroot.log on paste.debian.net I can check this
14:59 alekibangotry installing one node using it
15:00 alekibangoMrfai is right, paste it
15:00 alekibangorather, your installation is really old :)
15:01 ballisonk
15:01 ballisoni just tested it via PXE and it kernel paniced
15:01 ballisonpanicked
15:02 alekibangowhen?
15:02 Mrfaiwhich kernel version?
15:03 ballisonunknown
15:03 ballisoni just changed the NFSROOT file to use lenny and updated the /etc/fai/apt/sources.list to use lenny
15:03 ballisonhttp://pastebin.com/raw.php?i=rFA8Qmdj
15:05 ballisonit never gave me a chance to pick kernels or anything. just started booting the initrd
15:06 Mrfaicheck /srv/tftp/fai/pxelinux.cfg. You can do this by calling fai-chboot -l
15:07 Mrfaiwhat does it say for your  install client?
torkel (~quassel@skruttibangbang.hpc2n.umu.se) left irc: Remote host closed the connection
15:10 Mrfaiballison: What does fai-chboot -l say?
15:10 alekibangoballison: did you run fai-chboot after lenny?
15:11 alekibangoif not, that is the reason. nfs chroot  looks fine
15:11 alekibangoballison: it was you who installed the fai   years before?
15:15 ballisonno - i inhereted this system
15:15 justleenbest inheretence ever :)
15:16 ballisonhttp://pastebin.com/raw.php?i=C8T76PDq
15:16 Mrfaiballison: ok
15:16 Mrfaiyou have to call fai-chboot for specifing a different kernel.
15:17 MrfaiBut first we have to fix a minor thing inside the nfsroot
15:17 Mrfaithe log looks good, but there was no initrd created for the 2.6.33-grml kernel
15:17 Mrfaichroot /srv/fai/nfsroot/live/filesystem.dir bash
15:18 Mrfaiupdate-initramfs -k 2.6.33-grml -t -c
15:18 Mrfaiexit
15:18 Mrfaithis should create the initrd. Then copy it to /srv/tftp/fai
15:19 Mrfaithen call: fai-chboot -SFv -s 2.6.33-grml installclient
15:21 ballison# update-initramfs -k 2.6.33-grml -t -c
15:21 ballisonupdate-initramfs: Generating /boot/initrd.img-2.6.33-grml
15:21 ballisondf: Warning: cannot read table of mounted file systems: No such file or directory
15:21 ballisonwarning: can't open /etc/mtab: No such file or directory
15:21 ballisonW: mdadm: unchecked configuration file: /etc/mdadm/mdadm.conf
15:21 ballisonW: mdadm: please read /usr/share/doc/mdadm/README.upgrading-2.5.3.gz .
15:21 ballisonW: mkconf: MD subsystem is not loaded, thus I cannot scan for arrays.
15:21 ballisonW: mdadm: failed to auto-generate temporary mdadm.conf file.
15:21 ballisonW: mdadm: no configuration file available.
15:22 ballisonwhere should it have created the initrd to so i can copy it?
15:22 Mrfaiyou can ignore those messages, if you will get an initrd in /boot inside the nfsroot
15:23 ballison./filesystem.dir/initrd.img
15:23 ballisonthat one?
15:24 ballisonfound it
15:25 ballisonthere is no /srv/tftp/fai/
15:26 ballisonnevermind... found it
15:27 ballisondo i copy all the files from filesystem.dir/boot/ to /srv/tftp/fai  or just the ones with grml in it?
15:27 Mrfaiit must be a initrd.img-2.6.33-grml
15:28 Mrfaihere's my server:
15:28 Mrfails /srv/fai/nfsroot/live/filesystem.dir/boot/
15:28 MrfaiSystem.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 MrfaiSystem.map-2.6.33-grml   config-2.6.33-grml   initrd.img-2.6.33-grml   vmlinuz-2.6.33-grml
15:28 Mrfaiyours should look similar
15:29 ballisonyep
15:29 ballisoni copied initrd.img-2.6.33-grml and vmlinuz-2.6.33-grml to /srv/tftp/fai
15:30 Mrfainow 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 Mrfaithen boot your install client
15:30 ballisonetchmirror:/srv/tftp/fai#  fai-chboot
15:30 ballisonfai-chboot version 3.4.4 16-january-2008
15:30 ballison Please read the manual pages fai-chboot(8).
15:30 Mrfaifai-chboot -SFv -s 2.6.33-grml installclient
15:31 ballison"boot your install client" ??  i boot the host via pxe
15:31 Mrfaiyes, boot it via PXE
15:31 Mrfaiand check which kernel is received via tftp
15:31 ballisoni'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 Mrfaion the fai server
15:33 ballison# fai-chboot -SFv -s 2.6.33-grml splunk
15:33 ballisonBooting 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 ballisonsplunk has 192.168.0.24 in hex C0A80018
15:33 ballisonWriting 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 MrfaiDoes the machine boot?
15:38 ballisonok -
15:39 MrfaiWhat does ok mean?
15:39 ballison1- i pxe boot the server 2- it connects and pulls the initrd.img-2.6.33-grml kernel and boots that kernel
15:39 Mrfaigood
15:39 ballison3- a whole bunch of messages come up on the screen at the kernel boots
15:39 ballison4- it says detecting hardware
15:39 ballison5- more messages
15:39 Mrfaiperfect!
15:39 ballison6- then it says "press <return> to reboot server"
15:39 MrfaiThis is FAI_ACTION=sysinfo
15:40 Mrfaiit did not start the installation.
15:40 Mrfaiyet
15:40 ballisonnope - nothing installed
15:40 MrfaiIf you call fai-chboot -IFv ..... (so -I instead of -S) and then reboot then you will start the isntallation
15:41 ballisonon the fai server or on the client server?
15:42 ballisonthe 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 ballisonran
15:43 ballisonrebooting PXE client server
15:44 ballisonlooks like it's working
15:48 ballisonis there a pastebin for images?
15:49 ballisonoh no - the server is in a infinite reboot/pxe/reboot/pxe/reboot/pxe install cycle now. :)
15:49 ballisonneed to change the boot order
15:50 Mrfaibye
Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) left irc: Quit: leaving
15:56 ballisoncrap - didn't work and Thomas left
15:56 ballisonthe only option i have in grub is "kernel memtest" and that's it.
15:59 ballisonhow do i fix it so it shows all the kernels correctly in grub?
15:59 ballisonmemtest just runs the memory test. :/
16:03 ballisonanyone here?
16:16 ballisongrrr
16:17 ballisonneed 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 ballisonlooks like it installed everything _except_ a kernel.
16:41 ballison:/
16:41 ballisoni 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 Mrfaiballison: 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 ballisonanyone here?
19:05 ballisoni 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 ballisongot another question
20:36 ballisonanyone here?
pav5088 (~Mark@120.154.41.212) joined #fai.
allee-k (~allee-k@p54A45AED.dip.t-dialin.net) joined #fai.
20:53 ballisonanyone here who can tell me how fai maps a hostname to a CLASS ?
20:56 allee-kballison: in class/50-...
20:57 alekibangoballison: include    main contrib non-free    section in the lenny line inside /etc/apt/sources.list
20:58 alekibangoballison: dont ask if we are here. asking or answering such questions is lost time...
21:33 ballisonalek: thanks.  i solved that one already.
21:33 ballisoni actually got it all working.
21:33 ballisonamazingly
21:33 ballisontwo seperate classes.  installing non-free drivers (bnx2)
21:33 ballisonall 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

Generated by irclog2html.pl 2.1_h01ger1 by Jeff Waugh - find it at freshmeat.net! Customized by Holger 'h01ger' Levsen