| rofl__ (takinovah@212.117.169.179) left irc: Remote host closed the connection |
| ingard (cake@212.117.169.179) left irc: Remote host closed the connection |
| rofl_ (takinovah@212.117.169.179) joined #fai. |
| _julian_ (~quassel@hmbg-4d06dfe5.pool.mediaWays.net) joined #fai. |
| _julian (~quassel@hmbg-4d06b859.pool.mediaWays.net) left irc: Ping timeout: 480 seconds |
| alekibango (~alekibang@ip-94-113-34-47.net.upcbroadband.cz) joined #fai. |
| justL1 (~leen@rev-131-102.virtu.nl) joined #fai. |
| 08:26 oz_ | okay. fai-testing infrastructure seems to be complete now |
| sneumann (~sneumann@router-sub.ipb-halle.de) joined #fai. |
| 08:44 sneumann | Hi, I'd like to create a KVM guest with FAI. I could try to have qemu boot via PXE, |
| 08:44 sneumann | but would it be cleaner to do something similar to what's mentioned on |
| 08:44 sneumann | http://wiki.fai-project.org/wiki/Xen-tools_and_FAI_softupdates |
| 08:44 sneumann | i.e. write an image directly ? |
| psibox_ (~dreger@login.physik.fu-berlin.de) joined #fai. |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) joined #fai. |
| msc (~msc@gw1.cgn3.hosteurope.de) joined #fai. |
| eartoast (~glawe@login.physik.fu-berlin.de) joined #fai. |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. |
| Nic0 (~courtel@fw.tls.cena.fr) joined #fai. |
| menace (~toddel___@lhm246.muenchen.de) joined #fai. |
| \sh (~shermann@nat.de.netviewer.com) joined #fai. |
| 10:03 sneumann | Hi, are there recommendations how to FAI virtual KVM guests ? |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) left irc: Quit: Leaving. |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) joined #fai. |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) joined #fai. |
| Mrfai (~lange@kueppers.informatik.uni-koeln.de) left irc: Quit: leaving |
| Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) joined #fai. |
| 12:09 mgoetze | sneumann: personally i have been using virt-install --pxe |
| 12:09 sneumann | thx |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Read error: Connection reset by peer |
| 12:10 mgoetze | sneumann: in theory fai dirinstall should be useful too |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) joined #fai. |
| 12:11 sneumann | I read about dirinstall w.r.t Xen, but I am completely missing the big picture for dirinstall. |
| 12:12 mgoetze | basically it just skips a few tasks, such as partitioning |
| 12:17 sneumann | ah, so instead of PXE booting, I'd create the image, mount it loopback and call /usr/bin/fai (with or w/o chroot ?) into the target ? |
| 12:17 sneumann | And supply classes etc. via command line arguments ? |
| 12:18 mgoetze | you might want to have a short look at fai(8) :) |
| msantana (msantana@SDF.ORG) joined #fai. |
| cyril_ (~cyril@icare.eve-team.com) joined #fai. |
| 14:11 cyril_ | Hi Everybody, sorry for my poor english (i'm french) |
| 14:12 cyril_ | i have a question about disk_config, i would like set the name of vg_name with the hostname |
| 14:12 cyril_ | for example i would like done : vg $hostname sda3 |
| 14:12 cyril_ | but it work not |
| 14:13 cyril_ | if somebody know how to do that ? |
| 14:13 Mrfai | there's no variable substitution inside disk_config file available. |
| 14:14 Mrfai | But you can always do something like this by writing a hook |
| 14:14 Mrfai | put the config space on the client into a ram disk: mkramdisk ..... |
| 14:15 Mrfai | insert something like %%HOSTNAME%% into your disk_config file |
| 14:15 Mrfai | call sed -e "s/%%HOSTNAME%%/$HOSTNAME/" or similar |
| 14:15 Mrfai | I hope you get the idea of it |
| 14:16 cyril_ | you mean, i must launch a "sed" in my disk_config/FAIBASE directly ? |
| 14:16 Mrfai | no, no must put in in a hook |
| 14:19 cyril_ | how i can do that ? i can create for example : hooks/partition.FAIBASE with sed -e "s/%%HOSTNAME%%/$HOSTNAME/" /var/lib/fai/config/disk_config/COMPIL ? |
| 14:20 Nic0 | You could also give your volume group a standard name, like vg0, and rename it with vgrename in a script at the end of the installation |
| 14:20 cyril_ | nice idea Nic0 |
| 14:21 cyril_ | maybe more simple for me because i'm a beginner with FAI |
| 14:21 mgoetze | you'll also need to fix /etc/fstab in that case |
| 14:22 cyril_ | Nic0, i can try to do that in scripts/FAIBASE/40-misc for example ? |
| 14:22 cyril_ | exact mgoetze |
| 14:22 Nic0 | mgoetze: unless he uses UUIDs |
| 14:22 mgoetze | i would recommend that you put all your customisations in a new script, as you might want to update the default ones to new version when a new fai is released |
| 14:23 Mrfai | I would use the hooks/partition.FAIBASE thing. Than no modification on fstab is needed. |
| 14:23 cyril_ | Yes Mrfai but i'm not able to done your example |
| 14:24 cyril_ | maybe someone are able to explain me with details ? |
| 14:24 oz_ | Mrfai: the modification of fstab is no problem |
| 14:24 oz_ | the idea of Nic0 is excellent |
| 14:24 oz_ | makes it easy |
| 14:25 cyril_ | but the idea of Mrfai is more clean i think but not easy |
| 14:26 oz_ | vgrename should be fine, too |
| 14:26 oz_ | clean enough |
| 14:26 cyril_ | yes but you need modify fstab too |
| 14:26 oz_ | hope this works, tho |
| 14:26 oz_ | I personally dislike Volume groups |
| 14:27 Mrfai | cyril_: I think my solution is easy: |
| 14:27 Mrfai | hooks/partition.FAIBASE: |
| 14:27 Mrfai | mkramdisk /var/lib/fai/config/ |
| 14:27 Mrfai | then the sed command |
| 14:27 Mrfai | I think that's it |
| 14:28 cyril_ | and what i must add in my disk_config/FAIBASE ? |
| 14:29 Mrfai | instead of the vgname %%HOSTNAME%%. this will the be replaces ny the hostname before calling setup-storage |
| 14:32 oz_ | Mrfai: I think for a FAI beginner a 'vgrename' is more easy that using a hook |
| 14:33 cyril_ | i resume, in my disk_config/EXAMPLE i have one line with vg %%HOSTNAME%% sda3 next line i have %%HOSTNAME%%-home /home 10G ext3 defaults |
| 14:33 mgoetze | TIMTOWTDI :) |
| 14:33 cyril_ | and in hooks/partition.EXAMPLE i have 2 line : mkramdisk /var/lib/fai/config/ |
| 14:33 cyril_ | and sed -e "s/%%HOSTNAME%%/$HOSTNAME/" |
| 14:33 cyril_ | that's all ? i can done a test with that ? |
| 14:34 oz_ | mgoetze: YMMV ;-) |
| 14:34 Mrfai | add #! /bin/bash as the first line |
| 14:34 Mrfai | chmod a+rx |
| 14:34 cyril_ | ok |
| 14:34 Mrfai | the script |
| 14:35 cyril_ | i done a test now :) |
| 14:39 cyril_ | i obtain an error : vgcreate %%HOSTNAME%% sda3 |
| 14:39 cyril_ | command had non-zero exit code |
| 14:39 cyril_ | error in task partition |
| 14:40 Mrfai | you need -i with your sed command |
| 14:40 cyril_ | ok |
| 14:41 cyril_ | another try :) |
| 14:44 cyril_ | i have on the screen : |
| 14:44 cyril_ | calling hook : partition.EXAMPLE |
| 14:44 cyril_ | and ... nothing ... maybe it's not verbose ? |
| 14:45 cyril_ | i have an output |
| 14:45 Nic0 | Lokks like sed is reading STDIN :) |
| 14:45 cyril_ | tar : /tmp/tmp.A4mr0GJDT : wrote only 6144 of 10240 bytes |
| 14:46 cyril_ | tar : error is not recoverable: exiting now |
| 14:46 cyril_ | sed : no input files |
| 14:46 cyril_ | partition.EXAMPLE failed with exit code 4 |
| 14:46 Nic0 | Did you give the filename to your sed command? |
| 14:47 cyril_ | here my partition.EXAMPLE : |
| 14:47 cyril_ | #!/bin/bash |
| 14:47 cyril_ | mkramdisk /var/lib/fai/config/ |
| 14:47 cyril_ | sed -i "s/%%HOSTNAME%%/$HOSTNAME/" |
| 14:47 Nic0 | Add /var/lib/fai/config/EXAMPLE at the end of the sed command |
| 14:47 cyril_ | thanks Nic0 |
| 14:48 Mrfai | sed also need -e IIRC |
| 14:48 Mrfai | cyril_: man sed |
| 14:48 stockholm | sed's manpage is horrible. |
| 14:49 cyril_ | the sed must be done on disk_config/EXAMPLE ? |
| 14:50 cyril_ | because your path Nic0 /var/lib/fai/config/EXAMPLE don't exist |
| 14:50 cyril_ | or i forget something ... |
| 14:50 Nic0 | It should exist inside the nfsroot |
| 14:51 oz_ | Mrfai: see? a 'vgrename' is simpler for a beginner |
| 14:52 cyril_ | in /var/lib/config i have only directory class, debconf, disk_config and so on |
| 14:54 Nic0 | cyril: your fai config directory is mounted on /var/lib/fai/config on the host during the FAI installation |
| 14:54 cyril_ | yes but only in read only |
| 14:54 Mrfai | therefore you call mkramdisk ... |
| 14:54 Nic0 | This is why Mrfai told you to make a ramdisk |
| 14:55 Nic0 | Oops |
| 15:00 cyril_ | an i can not done in the hooks/EXAMPLE : sed -i "s/%%HOSTNAME%%/$HOSTNAME/" /var/lib/fai/config/disk_config/EXAMPLE ? |
| Action: sneumann has an FAI booting KVM instance. It's important to install the kvm-pxe BIOS package ... |
| 15:02 cyril_ | because with the mkramdisk i have the folllowing error : tar /tmp/tmp.Qi2eq28ghX : Cannot write : No space left on device |
| 15:02 cyril_ | howto increase the space ? |
| 15:11 Nic0 | man mkramdisk |
| 15:11 Nic0 | Unless you specify a size, it's only 512 bytes |
| oz_ (oz@anubis.coresystems.de) left #fai (TIMTOWTDI - YMMV - YMMD - SNAFU). |
| 15:20 Mrfai | cyril_: try mkramdisk /var/lib/fai/config/disk_config |
| 15:20 Mrfai | that should be enough |
| 15:20 Mrfai | Nic0: nonsens. Unless you specify a size it's half of the size of RAM |
| 15:21 cyril_ | in fact i have 1.4G on / but during the mkramdisk i have a no space left |
| 15:21 cyril_ | why ? 1.4G is not enough ? |
| 15:23 cyril_ | i have may be an answer : in the directory config/files/ i have a tar file (5G) . the mkramdisk use config/files/ directory ? |
| 15:23 Mrfai | that's the reason why you get the error. Therefore use mkramdisk /var/lib/fai/config/disk_config |
| 15:23 Mrfai | this will not need that much space |
| 15:23 cyril_ | ok i will done a test |
| 15:23 cyril_ | thanks for you support Mrfai |
| 15:24 Mrfai | you're welcome. |
| 15:24 cyril_ | and sorry for my english |
| 15:24 Mrfai | no problemn |
| sneumann (~sneumann@router-sub.ipb-halle.de) left irc: Ping timeout: 480 seconds |
| menace (~toddel___@lhm246.muenchen.de) left irc: Remote host closed the connection |
| justL1 (~leen@rev-131-102.virtu.nl) left irc: Quit: Leaving. |
| msc (~msc@gw1.cgn3.hosteurope.de) left irc: Quit: msc |
| 16:28 cyril_ | Mrfai, i done the test with your path and it works |
| 16:29 cyril_ | but now if have the following error : can't preserve /dev/%%HOSTNAME%%/home because it does not exist |
| 16:32 Mrfai | That should not happen, because task_partition does not see %%HOSTNAME%% at all. Or your sed command did not work. |
| 16:37 cyril_ | ok i'll check |
| 16:43 cyril_ | Big Kiss Mrfai :) |
| 16:43 cyril_ | it works :) |
| verwilst (~verwilst@router.begen1.office.netnoc.eu) left irc: Quit: Ex-Chat |
| 17:14 Mrfai | fine. Do not forget to fill out the FAI questionnaire laster. fai-project.org/questionnaire |
| psibox_ (~dreger@login.physik.fu-berlin.de) left irc: Quit: leaving |
| siggg (~jean@tra78-3-82-244-85-196.fbx.proxad.net) left irc: Ping timeout: 480 seconds |
| Mrfai (~lange@malzmuehle.informatik.uni-koeln.de) left irc: Quit: leaving |
| sneumann (~sneumann@p5B0F3E13.dip.t-dialin.net) joined #fai. |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) joined #fai. |
| siggg (~jean@tra78-5-88-172-128-32.fbx.proxad.net) left irc: Remote host closed the connection |
| msantana (msantana@SDF.ORG) left irc: Quit: Coyote finally caught me |
| we9rw (~sdf09s@83TAAEAZJ.tor-irc.dnsbl.oftc.net) joined #fai. |
| we9rw (sdf09s@83TAAEAZJ.tor-irc.dnsbl.oftc.net) left #fai. |
| utnapishtim (~8343@83TAAEAZK.tor-irc.dnsbl.oftc.net) joined #fai. |
| utnapishtim (~8343@83TAAEAZK.tor-irc.dnsbl.oftc.net) left irc: Remote host closed the connection |
| utnapishtim (~8343@83TAAEAZL.tor-irc.dnsbl.oftc.net) joined #fai. |
| utnapishtim (~8343@83TAAEAZL.tor-irc.dnsbl.oftc.net) left irc: |
| utnapishtim (~8343@83TAAEAZM.tor-irc.dnsbl.oftc.net) joined #fai. |
| utnapishtim (~8343@83TAAEAZM.tor-irc.dnsbl.oftc.net) left irc: Quit: Quit |
| utnapishtim (~8343@83TAAEAZN.tor-irc.dnsbl.oftc.net) joined #fai. |
| utnapishtim (~8343@83TAAEAZN.tor-irc.dnsbl.oftc.net) left irc: Quit: Quit |
| utnapishtim (~blafa3@83TAAEAZP.tor-irc.dnsbl.oftc.net) joined #fai. |
| Nick change: utnapishtim -> gilgamesh |
| Nick change: gilgamesh -> utnapishtim |
| utnapishtim (~blafa3@83TAAEAZP.tor-irc.dnsbl.oftc.net) left irc: |
| utnapishtim (~blafa3@83TAAEAZR.tor-irc.dnsbl.oftc.net) joined #fai. |
| \sh (~shermann@nat.de.netviewer.com) left irc: Remote host closed the connection |
| utnapishtim (~blafa3@83TAAEAZR.tor-irc.dnsbl.oftc.net) left irc: Quit: Quit |
| 22:10 alekibango | hi, everyone sleeping? i am looking for a way how to install upstart using fai on debian squeeze. It fails, because sysinitv is essential package... There in the log the installer is asking for Yes, I am aware this is a very bad idea..... |
| sneumann (~sneumann@p5B0F3E13.dip.t-dialin.net) left irc: Ping timeout: 480 seconds |
| --- Tue Feb 15 2011 |