problem with setup_storage and fai

kegstand kegstand at gmail.com
Tue Oct 14 03:34:03 CEST 2008


On Mon, Oct 13, 2008 at 6:29 PM, kegstand <kegstand at gmail.com> wrote:
>> Could you please add export debug=1 to an appropriate class/*.var file and send
>> an excerpt of your fai.log with debugging output? This particular problem should
>> really have been fixed in 3.2.10, this is really strange.
>
ok still running 3.2.11
amd64 64 bit lenny
lenny fai-server
lenny clients

I have turned on debug.

I get the same error



FAI_CLASSES

DEFAULT
LINUX
AMD64
FAIBASE
DHCPC
GRUB
base-01
LAST
boot.log

netdevices_all="eth0"
netdevices_up="eth0"
netdevices="eth0"
BROADCAST='10.10.53.255'
DOMAIN='local'
DNSSRVS='10.10.53.1'
DNSSRVS_1='10.10.53.1'
HOSTNAME='base-01'
IPADDR='10.10.53.137'
NETWORK='10.10.53.0'
GATEWAYS='10.10.53.1'
GATEWAYS_1='10.10.53.1'
NETMASK='255.255.255.0'
dhclient.log

Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:0c:29:29:d3:61
Sending on   LPF/eth0/00:0c:29:29:d3:61
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 1
DHCPOFFER from 10.10.53.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 10.10.53.1
bound to 10.10.53.137 -- renewal in 42614 seconds.
dmesg.log


             -------------------------------------------------
                   Fully Automatic Installation  -  FAI

               FAI 3.2.11, 01 Oct 2008  Copyright (c) 1999-2008
               Thomas Lange  <lange at informatik.uni-koeln.de>
             -------------------------------------------------

Calling task_confdir
Kernel currently running: Linux 2.6.26-1-amd64 x86_64 GNU/Linux
Kernel parameters: initrd=initrd.img-2.6.26-1-amd64 ip=dhcp
root=/dev/nfs nfsroot=/srv/fai/nfsroot boot=live
FAI_FLAGS=verbose,sshd,createvt FAI_ACTION=install
BOOT_IMAGE=vmlinuz-2.6.26-1-amd64
Reading /tmp/fai/boot.log
FAI_FLAGS: verbose sshd createvt
Configuration space leviathan:/srv/fai/config mounted to /var/lib/fai/config
No monitor daemon defined.
Calling task_setup
FAI_FLAGS: verbose sshd createvt
Press ctrl-c to interrupt FAI and to get a shell
Calling task_defclass
/usr/bin/fai-class: Defining classes.
Executing /var/lib/fai/config/class/10-base-classes.
10-base-classes      OK.
Executing /var/lib/fai/config/class/20-hwdetect.source.
loading kernel module usbkbd
loading kernel module ide-disk
loading kernel module ide-cd
loading kernel module ohci-hcd
loading kernel module usbhid
loading kernel module usbmouse
loading kernel module ide-generic
loading kernel module mptspi
loading kernel module ata_piix
loading kernel module dm-mod
loading kernel module md-mod
loading kernel module aes
loading kernel module dm-crypt
20-hwdetect.source   OK.
Executing /var/lib/fai/config/class/50-host-classes.
50-host-classes      OK.
List of all classes:  DEFAULT LINUX AMD64 FAIBASE DHCPC GRUB base-01 LAST
Calling task_defvar
Executing FAIBASE.var
++ FAI_ALLOW_UNSIGNED=1
++ CONSOLEFONT=
++ KEYMAP=us-latin1
++ UTC=yes
++ TIMEZONE=Europe/Berlin
++ ROOTPW='$1$kBnWcO.E$djxB128U7dMkrltJHPf6d1'
++ MODULESLIST='usbkbd ehci-hcd ohci-hcd uhci-hcd usbhid psmouse'
++ STOP_ON_ERROR=700
++ USE_SETUP_STORAGE=1
++ DEBUG=1
Loading keymap(s) us-latin1 ...done.
Calling task_action
FAI_ACTION: install
Performing FAI installation. All data may be overwritten!

Calling task_install
Calling task_partition
Partitioning local harddisks using setup-storage
Starting setup-storage 1.0.1
Using config file: /var/lib/fai/config/disk_config/FAIBASE
Executing: parted -s /dev/sda unit TiB print
Command parted -s /dev/sda unit TiB print had exit code 1
INTERNAL ERROR in setup-storage:
Table header not seen yet
Please report this error to the Debian Bug Tracking System.
Traceback: task_error task_partition task task_install task
task_action task main
format.log

Starting setup-storage 1.0.1
Using config file: /var/lib/fai/config/disk_config/FAIBASE
Executing: parted -s /dev/sda unit TiB print
Command parted -s /dev/sda unit TiB print had exit code 1
INTERNAL ERROR in setup-storage:
Table header not seen yet
Please report this error to the Debian Bug Tracking System.
status.log

10-base-classes      OK.
20-hwdetect.source   OK.
50-host-classes      OK.
variables.log

BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=([0]="149" [1]="144" [2]="308" [3]="0")
BASH_SOURCE=([0]="/usr/lib/fai/subroutines"
[1]="/usr/lib/fai/subroutines" [2]="/etc/init.d/rcS"
[3]="/etc/init.d/rcS")
BASH_VERSION='3.2.39(1)-release'
BOOT_IMAGE=vmlinuz-2.6.26-1-amd64
BROADCAST=10.10.53.255
CONSOLE=/dev/console
CONSOLEFONT=
DEBIAN_FRONTEND=noninteractive
DEBUG=1
DIRSTACK=()
DNSSRVS=10.10.53.1
DNSSRVS_1=10.10.53.1
DOMAIN=local
DPKG_ARCH=amd64
FAI=/var/lib/fai/config
FAI_ACTION=install
FAI_ALLOW_UNSIGNED=1
FAI_CONFIGDIR=/srv/fai/config
FAI_CONFIG_SRC=nfs://leviathan/srv/fai/config
FAI_ETC_DIR=/etc/fai
FAI_FLAGS='verbose sshd createvt'
FAI_LOGPROTO=ssh
FAI_ROOT=/target
FAI_VERSION='FAI 3.2.11, 01 Oct 2008'
FUNCNAME=([0]="task_defvar" [1]="task" [2]="fstart" [3]="main")
GATEWAYS=10.10.53.1
GATEWAYS_1=10.10.53.1
GROUPS=()
HOSTNAME=base-01
HOSTTYPE=x86_64
IFS=$' \t\n'
INIT_VERSION=sysvinit-2.86
IPADDR=10.10.53.137
KEYMAP=us-latin1
LOGDIR=/tmp/fai
LOGUSER=fai
MACHTYPE=x86_64-pc-linux-gnu
MNTPOINT=/media/mirror
MODPROBE_OPTIONS=-qb
MODULE=filesystem
MODULESLIST='usbkbd ehci-hcd ohci-hcd uhci-hcd usbhid psmouse'
NETBOOT=nfs
NETMASK=255.255.255.0
NETWORK=10.10.53.0
NOHOSTS=Yes
NOUSER=Yes
OLDPWD=/
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/usr/local/sbin:/usr/local/bin:/usr/lib/fai:/bin:/sbin:/usr/bin:/usr/sbin:
PIPESTATUS=([0]="0")
PREVLEVEL=N
PS4='+ '
ROOT=/dev/nfs
ROOTCMD='chroot /target'
ROOTDELAY=
ROOTFLAGS=
ROOTFSTYPE=
RUNLEVEL=S
SELINUX_INIT=YES
SHELL=/bin/bash
SHLVL=1
STATICIP=dhcp
STOP_ON_ERROR=700
TERM=linux
TIMEZONE=Europe/Berlin
UNIONTYPE=aufs
USERFULLNAME='Live user'
USERNAME=user
USE_SETUP_STORAGE=1
UTC=yes
blacklist=
boot=live
break=
cfclasses=DEFAULT.LINUX.AMD64.FAIBASE.DHCPC.GRUB.base-01.LAST
classes=$'DEFAULT\nLINUX\nAMD64\nFAIBASE\nDHCPC\nGRUB\nbase-01\nLAST'
device_size='sda 104857600'
disklist=sda
do_init_tasks=1
fai_rundate=20081013_182131
faimond=0
flag_verbose=1
init=/sbin/init
initrd=initrd.img-2.6.26-1-amd64
ip=dhcp
monserver=
netdevices=eth0
netdevices_all=eth0
netdevices_up=eth0
nfsroot=/srv/fai/nfsroot
odir=/
panic=
printk=6
quiet=n
readonly=y
resume=
resume_offset=
romountopt='-o async,noatime,nolock,ro,actimeo=1800'
root=/dev/nfs
rootmnt=/root
stamp=/var/run/fai/FAI_INSTALLATION_IN_PROGRESS
start_seconds=11
target=/target
task_error=0
task_error_func=
taskname=defvar
verbose=1


More information about the linux-fai mailing list