ain 32bit tools, but the
kernel will able to execute 64bit executables inside the nfsroot.
--
regards Thomas
> is there a way, to set up an fai-config-server with nfsroot on an
> x86-based server, if the target-architecture is x64?
Depends on your definition of 'set up'.
You can install X86_64 clients from a X86_32 server.
You cannot create a 64bit nfsroot on a 32bit host.
You definitely need some 64bi
>>>>> On Sat, 19 Jan 2013 12:56:23 +0100, David Touzeau
>>>>> said:
> I'm trying to setup a CentOS client trough FAI 4.0.5
For 4.0.5 you do not need the fai4-config.tar.gz file. This FAI
version includes already the config space which works with CentOS.
--
regards Thomas
dded this line to my /etc/exports, created an empty
directory /srv/nfs4 and called exportfs -ra.
/srv/nfs41.2.3.4/28(rw,sync,fsid=0,crossmnt,no_subtree_check)
That did the trick.
P.S.:
I did not manage to disable nfsv4 on the install server, because it's
not sufficient to edit RPCMOUNTDOPTS in
/etc/default/nfs-kernel-server. A client still mounts via nfs4.
--
regards Thomas
>>> pcbind: rpcbind terminating on signal. Restart with "rpcbind -u"
>>> switch_root: failed to execute /sbin/init: Not a directory
>>> [ 12.262090] Kernel panic - not syncing: attempting to kill init!
JFTR:
This is also described in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676883#10
--
regards Thomas
Due to some work on the electric power supply, I will shutdown the
fai-project.org services until sunday evening.
--
regards Thomas
a bug report for this, if it does
not exist yet. I guess I had the same issue once.
--
regards Thomas
I just uploaded a new version of rinse, which is needed for installing
CentOS and Scientific Linux. It fixes bug #685640 (random devies
missing). I also created new basefiles which are available at
http://fai-project.org/download/basefiles/
--
regards Thomas
he
default behaviour an additional flag is not needed. BTW, which version
of FAI are you using? Please check if bug #695134 is related to this,
because it's fixed in FAI 4.0.5. If not, it would be nice if you could
file a bug report for this.
--
regards Thomas
> $kernel --ignore-install --show-depends \
This patch is already included in Debians dracut package 020-2. See
http://packages.debian.org/changelogs/pool/main/d/dracut/current/changelog
--
regards Thomas
s was already reported as bug #698158
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698158
--
regards Thomas
Wheezy was already at 4.0.
You should make a diff between all files in /etc/fai of you old FAI
3.x config and the default files of FAI 4 in /etc/fai.
--
regards Thomas
n at the end of the disk, it crashes.
Hi John,
could you please file a bug report for this. Please add the error
message and the relevant parts of the logs.
--
regards Thomas
>>>>> On Thu, 14 Feb 2013 16:37:38 +0100, Michael Pfeiffer
>>>>> said:
> @Thomas: I don't know how to get the fai-make-nfsroot to use the dracut
> package 020-2. Where would I define that? (I could chroot
> /srv/fai/nfsroot aptit
nd tested by me for the different Debian
distributions.
This does not apply to the Ubuntu packages! I do not test them at all
and currently noone cares about the FAI packages in Ubuntu. This is
the reason why FAI and Ubuntu is not running so smooth as with Debian.
--
regards Thomas
a problem.
Once again, please use FAI and Debian. This will cause much less
problems when using FAI on a new architecture. If you have any
problems, join #fai on irc or just post a mail, I'm happy to help you
installing ARM machines with FAI.
--
regards Thomas
racut packages?
FAI 3.4 does not work with dracut IIRC.
P.S.: Please do not send HTML mails.
--
regards Thomas
> be a similar structure perhaps /srv/fai-distro.release/... so that the
No. You may have all configuration data for all your install clients
in one structure. But you can also use differen directory structures
for that.
--
regards Thomas
nse because I don't do SuSE-installations
anymore and not because it's broken.)
bye
thomas
I installed a new FAI server from scratch. This page is based on the notes
I've taken while doing so. It not only details the taken steps, but also
implements some tests for specific, well-known (at least to me) problems.
http://wiki.fai-project.org/wiki/Installation_walkthrough
@Thomas: Yo
On Tuesday, February 26, 2013 11:39:56 PM Thomas Neumann wrote:
> http://wiki.fai-project.org/wiki/Installation_walkthrough
Added a tip on how to force NFSv3 in case it still causes trouble and added a
description on how to configure a just-the-absolutely-necessary configspace. I
think the p
to use a single logfile (e.g. 'scripts.log').
I'm in favour of c), but there may be good reasons to pick a) or b).
bye
thomas
P.S.: Is 'A test can also define a new class for executing another tests during
next boot via the variable $ADDCLASSES.' actually implemented? I
ll cfengine scripts from the simple examples, we
also removed cfengine from /etc/fai/NFSROOT. So, it you still have
cfengine in your configs space (same applies for me), just add
cfengine to your nfsroot.
--
regards Thomas
ot to change anything and maybe to
include much more software into the default nfsroot.
> BTW: What would you recommend, still using cfengine2 or should one
> migrate to cfengine3? Up to now the old version worked fine...
I'm still using cfengine2 and this works fine for me.
--
regards Thomas
On Monday, March 04, 2013 07:30:37 PM George VerDuin wrote:
> I see you tacked this on a thread I started Thomas -- I feel the need to
> thank you...:-)
You're welcome!
> On 02/28/2013 06:38 PM, Thomas Neumann wrote:
> I have successfully followed the former page you po
://github.com/ThomasNeumann/Public/blob/master/fai-config/FAI_ENV.pm
(if you store this in /srv/fai/nfsroot/usr/local/lib/site_perl you
can simply use this without worrying about Perl include path,
and perl taint mode)
As I said before - the only downside (that I can see) is that this doesn't work
for bash scripts. Could be worse.
bye
thomas
What about this hook? A hook called updatebase.AMD64 containing
$ROOTCMD dpkg --add-architecture i386
$ROOTCMD apt-get update
--
regards Thomas
On Wednesday, March 06, 2013 09:03:13 PM Thomas Lange wrote:
> What about this hook? A hook called updatebase.AMD64 containing
>
> $ROOTCMD dpkg --add-architecture i386
> $ROOTCMD apt-get update
It feels wrong to me. Couldn't really put my finger on it at first, but now
>>>>> On Thu, 07 Mar 2013 12:21:27 +0100, Sven Ulland said:
> On 03/06/2013 12:09 AM, Thomas Neumann wrote:
>> and you magically gain the ability to write this message to
>> a logfile, to some remote logserver and to the console all in one
>>
a fcopy
kopiert werden. Aber nur wenn der Nutzer entsprechende Dateien in
files/.. ablegt.
--
Gruss Thomas
On Thursday, March 07, 2013 10:12:31 PM Ingo Wichmann wrote:
[...]
> fai-chboot -B -I default
>
> creates a file
>
> pxelinux.cfg/default
>
> Here I need to add :vers=3
>
> Thomas writes:
> In other words change nfsroot directory from to IP>::vers=3
The
>>>>> On Thu, 07 Mar 2013 22:12:31 +0100, Ingo Wichmann
>>>>> said:
> while testing fai in wheezy I stumbled upon a bug which Thomas Neumann
> describes here
>
http://wiki.fai-project.org/wiki/Installation_walkthrough#single_network_in
>>>>> On Sat, 2 Mar 2013 21:17:56 +0100, Thomas Neumann
>>>>> said:
> P.S.: Is 'A test can also define a new class for executing
> another tests during next boot via the variable $ADDCLASSES.'
> actually implemented?
Yes. It's
>>>>> On Wed, 6 Mar 2013 21:19:57 +0100, Thomas Neumann
>>>>> said:
> On Wednesday, March 06, 2013 09:03:13 PM Thomas Lange wrote:
>> What about this hook? A hook called updatebase.AMD64 containing
>>
>> $ROOTCMD dpkg --a
Hiya
[I'm not ~the~ Thomas, but I still want to answer.]
On Monday, March 11, 2013 06:15:13 PM Holger Parplies wrote:
> Some of these are FAI tasks, some are not. You can probably argue about
> whether hostname and /etc/network/interfaces are the responsibility of FAI
> or of th
nfig file: /var/lib/fai/config/disk_config/FAIBASE
Maybe the usb kernel driver is not loaded early enough.
FAI calls setup-storage, which uses the list of all disks in the
variable $disklist. This variable is created by parsing
/proc/partitions. So, check if your USB stick ist listed there.
--
regards Thomas
rocess. But I never want to make FAI say
"This is the (only) way you have to install you computers". So, it's
not easy to say which steps are essential or which are optional (and
belong to the config space or belong in FAI itself). And therefore
some steps may be in the wrong part of FAI.
--
regards Thomas
>>>>> On Tue, 12 Mar 2013 11:14:31 +0100, Dirk Geschke
>>>>> said:
> I just found some solutions here:
> http://wiki.fai-project.org/wiki/Helper_scripts
Feel free to use the wiki for all kinds of documentation, hints,
tricks,.
--
regards Thomas
e also in git (g...@github.com:faiproject/fai-project.org.git),
so feel free to improve this page or use the wiki.
--
regards Thomas
mon problem like the aufs
problem belongs to the FAQ.
--
regards Thomas
>>>>> On Tue, 12 Mar 2013 10:53:27 +0100, Natxo Asenjo
>>>>> said:
> yes, it is there. I tried kickstarting centos and that works. When
> trying fai after failing I now see 2 partitions:
So, this means FAI now works?
--
regards Thomas
>>>>> On Tue, 12 Mar 2013 16:00:03 +0100, Natxo Asenjo
>>>>> said:
> Kickstarting centos works to usb mass storage, FAI stops.
> /proc/partitions has the right info, but it stops.
Does /tmp/fai/variables.log contains a line like this?
disklist='sda '
--
regards Thomas
It's
> probably supposed to mean "the Ubuntu package is unmaintained" and not
"we're
> not in the least interested what the Ubuntu package looks like".
Yes, that what I wanted to say. Sorry for the confusion.
I would be very happy if anyone would maintain the Ubuntu FAI
packages, but I do not have the time to do this.
--
regards Thomas
>>>>> On Wed, 13 Mar 2013 10:58:01 +0100, Natxo Asenjo
>>>>> said:
>> Get the usb-storage module loaded earlier, before the disks are counted?
> how?
Have a look at class/20-hwdetect.source.
P.S.: Please do not cite too much if only a few lines are sufficient.
--
regards Thomas
tribute my success story soon
> as I find one.
That would be very nice. We need more contributions for improving the
documentation.
--
regards Thomas
lib/dracut/hooks/pre-pivot/50mount-usr.sh: cannot open
> /sysroot/etc/fstab: No such file
> rcpbind: rcpbind terminating on signal.
fai 4.x?
It sounds very much like a NFSv4 problem. Please compare with
http://wiki.fai-
project.org/wiki/Installation_walkthrough#single_network_interface
bye thomas
ast remark, when the client reboots after finishing whatever it
> did, the fai-client hangs after the message: "
> Verifying DMI Pool Data ." that is from BIOS. My
> problem is deeper than NFSv4...? In any case, my next work is to review
> /etc/fai/NFSROOT and .../fai-doc/sample/simple for a clue to grub.
I don't know.
bye
thomas
ew' / '-a' option
Debugging a failed testcase is very easy too:
* execute run-tests with the '--show-diff' / '-d' option
I'd like to think it's pretty decent for a prototype ;)
bye
thomas
[1] 8 is the number of predefined loop devices, 256GB is the upper
To check this, try to ssh login into the
install client. Then have a look at /tmp/fai where the log files are
stored before the client reboots.
--
regards Thomas
ld remove the "reboot" flag to give me more time to
> explore?
Yes, remove the reboot flag.
> Since /tmp/fai is now gone, I presume it was ram-disk content and
> disappeared at reboot.
Yes, this is a ram disk, but the logs are also stored into
/var/log/fai/, where you can find the after the reboot.
--
regards Thomas
I integrated the tests Andrew and Thomas sent me. 60 tests in 30seconds. Not
bad. (Although all 15 of Andrew's tests are being currently skipped, because the
test harness doesn't support using '/dev/disk/by-' yet. On the other hand
the
maximum number of disk devices has
On Monday, March 18, 2013 07:04:18 PM andrew bezella wrote:
> On Sun, 2013-03-17 at 19:34 +0100, Thomas Neumann wrote:
>> @Andrew: I'm wondering if your configs are reliable, Let me explain:
>> disk_config /dev/disk/by-path/pci-:00:1f.2-scsi-0:0:0:0
>> disk
x27;filesystem creation'- and 'filesystem mount'-options. But this
is not a filesystem issue. The required flag belongs to the partition layer.
bye
thomas
d yet. You should also ask on #dracut on irc for this
feature.
--
regards Thomas
nto a FAI-client
but don't perform some kind of partitioning. ('Keep & reuse all existing
partitions' is a special case, but it is also handled via the partitioning
task.)
> So, partitioning is not at all just a "cosmetical issue".
I was referring only to the 'out-of-order' issue. This was not a general
comment. Maybe that's where the misunderstanding comes from?
bye
thomas
tftp setup.
Check is user tftp can read all file in /srv/tftp/fai.
> tftpd-hpa config:
> # /etc/default/tftpd-hpa
> TFTP_USERNAME="tftp"
> TFTP_DIRECTORY="/srv/tftp/fai"
> TFTP_ADDRESS="0.0.0.0:69"
> TFTP_OPTIONS="-l -s"
This looks good.
--
regards Thomas
>>>>> On Wed, 20 Mar 2013 10:17:41 +0100, Dirk Geschke
>>>>> said:
> So I guess a
> ip=eth0:dhcp
> should do the job? But I did never test it...
This works. I tested it.
--
regards Thomas
.. Kernel panic-no syncing: Attemptedto kill init! "
I guess the package live-boot is missing inside your nfsroot.
--
regards Thomas
Please, no HTML only postings!
My fai.log file
http://ubuntuone.com/6RDhZe910sj7PHUZf78m4L ;
It would also be nice, if you could describe your problem.
--
regards Thomas
;_" on the screen.
I guess grub is not properly installed into the MBR of your boot device.
--
regards Thomas
greater values than 255. Therefore call the subroutine task_error.
Example: task_error 888
--
regards Thomas
r/local/bin and call your script from inside /target via
$ROOTCMD.
--
regards Thomas
ation, if someone could help me or answer my questions i would
be very happy.
> PS : i hope i'm on the good list for this case of demand.
Yes, this is the right list. Now, just ask your questions. You could
also use the #fai irc channel.
--
regards Thomas
nfs://installserver/srv/fai/cskoeln FAI_ACTION=install rd.md=0
rd.dm=0 rd.lvm=0 rd.luks=0
Please check if NFS v3 is used and not NFSv4.
You can also add: rd.debug=1
for debugging.
--
regards Thomas
21333] Kernel panic - not syncing: Attempted to kill init!
This may be caused by an NFS v4 problem. Bug #676883 describes a
workaround.
--
regards Thomas
>>>>> On Tue, 11 Jun 2013 17:30:50 -0500, "John G. Heim"
>>>>> said:
> What does it mean to specify nfsvers=3 in the pxelinux.cfg file?
I would not use this workaround but the one that is in message #10 of
this bug. Fix your /etc/exports by adding an extry with fsid=0.
--
regards Thomas
. The Ubuntu packages are
not tested as good as the Debian packages.
--
regards Thomas
e machine. I have had to
> change several of my scripts to work around this.
Please check your boot.log. If it contains the FQDN, then it's a DHCP
issue IMO.
I do not have those problems. Also with FAI 4.0.6, I have the short
host names in my installations.
--
regards Thomas
> Since there is an expert admin, I want to do all these tasks
> automatically via DVD without using some kind of server.
> Can I use FAI to do all the above tasks?
Yep, that's what FAI was made for.
--
regards Thomas
ver file{a}
>isc-dhcp-server{a} libapt-pkg-perl{a} libevent-2.0-5{a}
> Q. Is there a way NOT to install isc-dhcp-server as I already have
dnsmasq on our network.
aptitude -R install fai-server
-R is the same as --without-recommends
--
regards Thomas
t
http://fai-project.org/doc/man/fai-nfsroot2image.html
--
regards Thomas
On Monday, July 22, 2013 10:58:44 AM Ken Hahn wrote:
> The output from this command has changed between squeeze and wheezy.
> The older version of this command has fewer fields.
>
> snippet of older output:
> LV Name/dev/vg/var
> VG Namevg
>
> snippit of newer
ted?
Ah yes. That's also something I found in 'setup-storage_1.4' and fixed in
'setup-storage_1.4+ami'. (posted to linux-fai-devel in Sep 2012)
bye
thomas
gain, but I'm pretty sure I broke preserve. Maybe some
other stuff too. Definitely needs some outside verification - that's the
main reason I called it 1.4something and not 1.4.1 or 1.5 - wanted to avoid
confusion if there's a real officially sanctioned update / bugfix later on.
bye thomas
>>>>> On Sat, 27 Jul 2013 15:31:28 +0200, Michał Dwużnik
>>>>> said:
> Hi,
> I can't seem to be able to connect to the repository. Did I miss some
announcement? Shall I worry?
We had a power shutdown this weekend. Now everything works again.
--
regards Thomas
srroot does not yet work.
Use live-boot instead of dracut in /etc/fai/NFSROOT and call:
fai-make-nfsroot -l. Then try fai-cd again.
--
regards Thomas
'm pretty sure, that this is the NFS v4 problem and not related to
multi nic. Read this mail
https://lists.uni-koeln.de/pipermail/linux-fai/2013-January/009899.html
and
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676883#10
--
regards Thomas
a client. Or when building the nfsroot?
Have a look at the log files. This is the first step you should always
do.
--
regards Thomas
nstall a new distro on the hdd remotely.
> Is this possible?
Yes. FAI can do this by PXE booting from network card, or you use the
FAI CD http://fai-project.org/fai-cd/. Remote access during
installation via ssh is default during an FAI installation.
--
regards Thomas
t; /srv/nfs4 192.168.1.1/255.255.255.0(fsid=0,ro,no_subtree_check)
> /srv/fai/config 192.168.1.1/255.255.255.0(async,ro,no_subtree_check)
> /srv/fai/nfsroot
192.168.1.1/255.255.255.0(async,ro,no_subtree_check,no_root_squash)
Looks perfect.
--
regards Thomas
of a distribution normally does not need any
change in FAI. But sometimes new added techniques (like upstart or
systemd) need changes in rinse or FAI.
--
regards Thomas
mand. How is your locale set? Please try using
C or en_US as locale.
--
regards Thomas
ot;POSIX"
> LC_IDENTIFICATION="POSIX"
> LC_ALL=
Mmm. When I set my locale to POSIX, I get the correct output.
But I'm pretty sure, that a wrong locale is the cause of your
problems. Please try to set your locale to another value.
Do you call setup-storage from within FAI? If yes, please check your
fai.log if there's any locale setting going on.
--
regards Thomas
reasoning sound?
Do the goals sound reasonable?
Is there a different way to achieve them?
= help =
It would be really nice if someone else is also willing to work on this.
Available topics: Analyze the existing code, design and/or write unit tests,
write/update/check the documentation. Whatever piques your interest.
requirements:
- English or German
- a desire to improve the world
- knowledge of perl and unit testing appreciated but not strictly necessary
thanks for your time
thomas
environment variable (which
> is a local NFS mount in my case).
For me, this works as expected using debootstrap 1.0.26+squeeze1 and
1.0.48+deb7u1 (wheezy). Have a look at at fai-make-nfsroot.log, how
deboostrap is called.
--
regards Thomas
Hello
On Thursday, October 03, 2013 11:01:24 AM Bjarne Bertilsson wrote:
> Hi Thomas,
> Any news regarding this?
I must confess I haven't actually got to coding a single line. Right after
the announcement there was a different one at my company - we've been bought
by another c
On Friday, October 04, 2013 12:54:40 AM Thomas Neumann wrote:
> I did not plan anything for this weekend. Hopefully I get the
> configuration parser into a presentable state so there's something to
> play with. Another big item on my list is a bugtracker. (I haven't really
uman reader '10-50GB' is likely to mean '10 to 50
GB', to setup-storage it means '10MiB to 50GB'. If you really want to
specify '10 to 50GB', then it needs to be written as '10GB-50GB'.
(The confusion results from setup-storage treating a unit-less value as
Mebibytes/MiB.)
bye
thomas
options were limited to the actual partition / RAID volume / logical volume
configuration. I haven't looked any further into this but I wonder what
happens if you specify different / conflicting options in both locations.
bye
thomas
> Is this the FAI team I should join?
> https://launchpad.net/~fai
Yes. siretart (see CC), can you add Steve to this website, or maybe
give him complete access to the FAI pages in launchpad?
--
regards Thomas
t; $ROOTCMD dpkg --add-architecture i386
> fi
Did you put those lines into hooks/updatebase.DEBIAN?
That works for me.
--
regards Thomas
On Thursday 17 October 2013 07:31:33 Thomas Lange wrote:
> >>>>> On Wed, 16 Oct 2013 16:12:04 -0700, Bob Apodaca said:
>> When installing AMD64 systems, I have created a small script:
>> #!/bin/sh
>>
>> if ifclass AMD64 ; then
>>
>>
an
create a bugreport at github or simply mail me (blacky+...@fluffbunny.de).
Later on it should be suitable to provide a reliable testing utility to
check you own disk_config files without having to perform an actual
installation.
thanks for your cooperation
thomas
fails because the NFS directory is not
> mounted into the install system. FAI creates the mount-point directory
> /mnt/mirror correctly, though.
Do you get any error messages? Please check if FAI_DEBMIRROR is also
defined during installation (check variables.log)
--
regards Thomas
providing this variable
as kernel parameter.
--
regards Thomas
se different mirrors during creation of nfsroot and during
installation. But normally, this should be the same vaule for this
variable.
--
regards Thomas
Did you install the package mdadm onto this machine?
If this does not help, please attach the format.log and parts of
the shell.log (concerning the grub script).
--
regards Thomas
way.
P.S.:
If you use dracut instead of initramfs-tools you have to add rd.auto
to the kernel command line, otherwise no RAID devices will be
activated by dracut.
--
regards Thomas
>>>>> On Tue, 29 Oct 2013 21:52:25 +0100, Thomas Lange
>>>>> said:
> I've added two lines to GRUB_PC/10-setup:
> faiserver[.../scripts/GRUB_PC]> ~/fai-4.1/examples/simple/scripts/GRUB_PC/
> 15,17d14
> < # see ht
ERROR. Installation
Stopped"
> Here is the full error message : http://i.imgur.com/bbrMu1y.png
I just tested your disk config. It works in my FAI 4.0.8 environment.
What is the content of your format.log file?
--
regards Thomas
501 - 600 von 2000 matches
Mail list logo