| bastian (~bastian@p5B077FA6.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep |
| bastian (~bastian@p5B077FA6.dip.t-dialin.net) joined #fai. |
| bastian (~bastian@p5B077FA6.dip.t-dialin.net) left irc: |
| puck (~puck@leibniz.catalyst.net.nz) left irc: Ping timeout: 480 seconds |
| puck (~puck@leibniz.catalyst.net.nz) joined #fai. |
| simNIX (~simNIX@156-60.bbned.dsl.internl.net) joined #fai. |
| simNIX (~simNIX@156-60.bbned.dsl.internl.net) left irc: Quit: Ik ga weg |
| kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) joined #fai. |
| bastian (~bastian@p5B077FA6.dip.t-dialin.net) joined #fai. |
| bastian (~bastian@p5B077FA6.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep |
| kai_bo (~kai@statdsl-085-016-072-173.ewe-ip-backbone.de) left irc: Remote host closed the connection |
| bastian (~bastian@p5B077FA6.dip.t-dialin.net) joined #fai. |
| bastian (~bastian@p5B077FA6.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep |
| 06:29 \sh | moins |
| 06:54 oz_ | moins ook |
| bastian (~bastian@p5B077FA6.dip.t-dialin.net) joined #fai. |
| bastian (~bastian@p5B077FA6.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep |
| edoreld (~Adium@p57A0970D.dip0.t-ipconnect.de) joined #fai. |
| simNIX (~simNIX@156-60.bbned.dsl.internl.net) joined #fai. |
| simNIX (~simNIX@156-60.bbned.dsl.internl.net) left irc: |
| simNIX (~simNIX@156-60.bbned.dsl.internl.net) joined #fai. |
| ErKa (~keryell@APuteaux-154-1-13-187.w83-199.abo.wanadoo.fr) joined #fai. |
| 09:44 edoreld | oz: would you mind giving me a hand with this "expect" script -> http://paste.debian.net/41313/ <- It executes fine ( At least from command-line, need to test it with fai yet), but if I try to execute a command afterwards it will hang up... T_T |
| 10:24 oz_ | edoreld: remove the '-exact' and line 54 |
| 10:24 oz_ | then it should run |
| 10:24 oz_ | and I see no sense in line 49, too |
| 10:25 edoreld | oks |
| 10:42 edoreld | wow the user thing was easier than I had expected O_O. I found a line in $FAI/scripts/DEMO/10-misc -> http://paste.debian.net/41319/ <- I added my own but was getting puzzled because before rebooting there's no user on /etc/passwd or elsewhere! but after reboot the user gets added automatically :) |
| 10:43 edoreld | altough the gecos line "fai demo user" appears as "fai demo user,,," on /etc/passwd....weird |
| 10:43 mgoetze | edoreld: you mean $target/etc/passwd . i see you still haven't understood the basics |
| 10:44 edoreld | on, I mean /etc/passwd |
| 10:44 edoreld | no* |
| 10:44 edoreld | on the final running system |
| 10:44 mgoetze | edoreld: that's your problem then. may i recommend reading a b.... no wait, i already recommended that a month ago |
| 10:45 edoreld | Well I actually haven't checked $target/etc/passwd, I just tried to login with "user" and it didn't work, so I just assumed...wrongly ^_^ |
| bastian (~bastian@p5B0765A5.dip.t-dialin.net) joined #fai. |
| bastian (~bastian@p5B0765A5.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep |
| 11:51 \sh | user adding inside $target via fai: |
| 11:51 \sh | makepasswd --chars=8 --crypt-md5|while read pw password ; do |
| 11:51 \sh | $ROOTCMD useradd -d /home/${user} -s /bin/bash -G admin -m -p ${password} -U ${user} |
| 11:52 \sh | add_system_users_password ${user} ${pw} |
| 11:52 \sh | done |
| 11:52 \sh | the add_system_users_password is a function of mine, which pushes the temp passwords inside a db ;) so you have random secure passwords |
| 11:52 \sh | and only I can see them ;) |
| Action: edoreld praises \sh's work |
| 11:53 \sh | btw...I have found the bugger regarding the dhcp mess |
| 11:53 \sh | it's definitly klibcs ipconfig |
| 11:54 \sh | ipconfig is just semi-amateure software written from guys with only low cost table switches... |
| 11:55 mgoetze | heh |
| 11:56 \sh | a timeout of -t 60 of ipconfig and using cisco switches with spanning trees and portfast configs...doesn't help, really...-t 180 doesn't help too, -t >240 helps here...because then ipconfig realizes that it has to re-request a dhcp ... other values below, kernel failes to mount nfs root ... |
| ErKa (~keryell@APuteaux-154-1-13-187.w83-199.abo.wanadoo.fr) left irc: Remote host closed the connection |
| 11:57 \sh | the explanation of this: the kernel doesn't bring up the NIC interfaces, it doesn't matter if only one NIC needs to get an ip (kernel append: ip=dhcp) or all interfaces (kernel append: ip=all) |
| 11:57 \sh | ipconfig does bring up the NICs and before the kernel really inits the NIC, ipconfig tries to send out the dhcp request. |
| 11:58 \sh | strangely, eventually not understanding the meaning of timeout in ipconfigs case, ipconfig refuses to re-request the dhcp part when -t set smaller then 240 secs... |
| 11:59 \sh | setting -t greater or equal 240 ipconfig manages to re-transmit the dhcp request and catches an IP from the dhcp server (time interval: exactly 60sec) and initramfs manages to mount the nfsroot (5 to 10 seconds after the ip has reached the NIC) |
| 12:00 \sh | this holy shit costed my 18 hours of debugging...means: reconfiguring the whole network switch infrastructure...banging head on desk, using google |
| 12:01 mgoetze | 18 hours of your work time? maybe it would have been cheaper for your employer to sponsor a cisco switch for kernel developers :) |
| 12:01 \sh | mgoetze: one cisco switch is not enough ;) |
| 12:02 \sh | you need at least two of them where you setup a spanning tree. |
| 12:02 mgoetze | spanning tree in a single-vendor environment is boring, anyway |
| 12:02 \sh | but a 2960G is not expensive, so yes agreed...but my bosses are somewhat ... strange |
| 12:02 mgoetze | we have cisco *and* juniper switches, imagine the fun ;) |
| 12:03 \sh | mgoetze: oh well...cisco and juniper routers are ok...but I do like switch infra from one vendor ;) |
| 12:03 \sh | and two of our switches are 6509 ;) with fibre and copper...and some of the machines do have cisco switches inside a HP BL7000c ; |
| 12:03 mgoetze | our NOC thinks differently... they insist on only juniper routers |
| 12:04 \sh | juniper routers are ok when you want reliable multicasting |
| 12:04 \sh | cisco is (or better was) in a bad shape when we needed routers and do some multicasting ;) |
| 12:13 \sh | btw...I'm marriaging fai amd django, fai with a nice webapp, which helps to inventarize unknown servers and then you can configure them to your needs... |
| 12:13 oz_ | \sh: whuut? |
| 12:17 \sh | oz_: i changed something of the task_sysinfo, it's now using python-dmidecode to gather some data like serial numbers etc. directly into a database...it catches all available hardware interfaces and (not implemented right now) also the hw disk/raid controller and all disks |
| 12:18 \sh | then you have your server hardware...then you can map your NICs (identifed via MAC) to linux devicenames, which are written into a 70-persistent-net.rules file for udev... |
| 12:19 \sh | you will get an IP database, and you can setup a host, mapped to a server hardware, and all the needed linux network interfaces (ethN, bonding, bridges, loopbacks, vlans etc.) |
| 12:21 \sh | the data from this db is then read via some magic python django standalone scripts and will be passed onto the $target or to determine the classes (which can be set per host also via webapp) |
| 12:22 \sh | eventually I'll do some work on using the first steps to create something like i-do-it as cmdb |
| 12:37 oz_ | very neat. |
| 12:37 oz_ | a dream. |
| 12:39 \sh | oh well...5 calls open with HP |
| 12:39 \sh | 4 in FFM and one in NBG |
| edoreld (Adium@p57A0970D.dip0.t-ipconnect.de) left #fai. |
| edoreld (~Adium@p57A0970D.dip0.t-ipconnect.de) joined #fai. |
| uchimata (~uchimata@i3ED6D81B.versanet.de) joined #fai. |
| uchimata_ (~uchimata@i3ED6D49D.versanet.de) left irc: Ping timeout: 480 seconds |
| ErKa (~keryell@APuteaux-154-1-13-187.w83-199.abo.wanadoo.fr) joined #fai. |
| edoreld (~Adium@p57A0970D.dip0.t-ipconnect.de) left irc: Quit: Leaving. |
| ErKa (~keryell@APuteaux-154-1-13-187.w83-199.abo.wanadoo.fr) left irc: Ping timeout: 480 seconds |
| bastian (~bastian@p5B0765A5.dip.t-dialin.net) joined #fai. |
| bastian (~bastian@p5B0765A5.dip.t-dialin.net) left irc: |
| simNIX (~simNIX@156-60.bbned.dsl.internl.net) left irc: Quit: Ik ga weg |
| bastian (~bastian@p5B0765A5.dip.t-dialin.net) joined #fai. |
| bastian (~bastian@p5B0765A5.dip.t-dialin.net) left irc: Quit: This computer has gone to sleep |
| bastian (~bastian@p5B0765A5.dip.t-dialin.net) joined #fai. |
| bastian (~bastian@p5B0765A5.dip.t-dialin.net) left irc: |
| ErKa (keryell@keryell.pck.nerim.net) joined #fai. |
| --- Thu Jul 9 2009 |