LVM: Fai aborts on gvdisplay
Nico -telmich- Schottelius
nico-fai-devel at schottelius.org
Tue Jun 9 09:08:12 CEST 2009
Hello!
I am trying to reinstall some redhat boxes with Debian using fai.
Redhat makes an extensive use of LVM.
Thus, the LVM metadate is still availabe, when installing with fai.
The problem is, that on the LVM system, the installation fails:
With 3.2.16/3.2.17 I get this error:
--------------------------------------------------------------------------------
Executing: vgdisplay --units m -v sysvg
Unexpected vgdisplay output "vg1" 12800.00 MB [12800.00 MB used / 0 MB free]
Traceback: task_error task_partition task task_install task task_action task main
--------------------------------------------------------------------------------
With 3.2.20 I get this error:
--------------------------------------------------------------------------------
Executing: /lib/udev/vol_id -u /dev/hda3
Command /lib/udev/vol_id -u /dev/hda3 had exit code 4
Failed to obtain UUID for /dev/hda3
Error in task partition. Traceback: task_error task_partition task task_install task task_action task main
--------------------------------------------------------------------------------
With 3.2.20 I also get a lot of errors telling me that
udevsettle is not available:
--------------------------------------------------------------------------------
Command udevsettle --timeout=10 && parted -s /dev/hda mkpart primary xfs 44095726080B 82343278079B had exit code 127
Executing: udevsettle --timeout=10 && mkswap /dev/hda2
sh: udevsettle: command not found
--------------------------------------------------------------------------------
Full log attached for both cases.
Greetings,
Nico
--
Currently moving *.schottelius.org to http://www.nico.schottelius.org/ ...
PGP: BFE4 C736 ABE5 406F 8F42 F7CF B8BE F92A 9885 188C
-------------- next part --------------
-------------------------------------------------
Fully Automatic Installation - FAI
FAI 3.2.20, 04 May 2009 Copyright (c) 1999-2009
Thomas Lange <lange at informatik.uni-koeln.de>
-------------------------------------------------
Calling task_confdir
Kernel currently running: Linux 2.6.26-2-486 i686 GNU/Linux
Kernel parameters: initrd=initrd.img-2.6.26-2-486 ip=dhcp root=/dev/nfs nfsroot=/home/services/nfs/fai/i386/squeeze boot=live FAI_FLAGS=verbose,sshd,createvt,reboot FAI_ACTION=install monserver=fai.inf.ethz.ch BOOT_IMAGE=vmlinuz-2.6.26-2-486
Reading /tmp/fai/boot.log
FAI_FLAGS: verbose sshd createvt reboot
Monitoring to server fai.inf.ethz.ch enabled.
Configuration space fai.inf.ethz.ch:/home/services/nfs/fai/config mounted to /var/lib/fai/config
Calling task_setup
FAI_FLAGS: verbose sshd createvt reboot
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.
dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead.
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.
Executing /var/lib/fai/config/class/90-eth.
90-eth OK.
List of all classes: DEFAULT LINUX I386 FAIBASE DHCPC GRUB ETH NETOS DRYAD LDAP ikdesk1 LAST
Calling task_defvar
Executing FAIBASE.var
++ FAI_ALLOW_UNSIGNED=1
++ CONSOLEFONT=
++ KEYMAP=us-latin1
++ UTC=yes
++ TIMEZONE=Europe/Zurich
++ ROOTPW='$1$Y9UUM.UG$xgTjPdEZGFEOqUpMaoFT9/'
++ MODULESLIST='usbkbd ehci-hcd ohci-hcd uhci-hcd usbhid psmouse'
++ STOP_ON_ERROR=700
++ USE_SETUP_STORAGE=1
Executing ETH.var
++ LOGSERVER=fai.inf.ethz.ch
++ SERVER=fai.inf.ethz.ch
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.5
Using config file: /var/lib/fai/config/disk_config/DRYAD
Executing: parted -s /dev/hda unit TiB print
Executing: parted -s /dev/hda unit B print free
Executing: parted -s /dev/hda unit chs print free
Finding all volume groups
Finding volume group "sysvg"
Creating directory "/etc/lvm/archive"
Archiving volume group "sysvg" metadata (seqno 5).
Creating directory "/etc/lvm/backup"
Creating volume group backup "/etc/lvm/backup/sysvg" (seqno 5).
Finding volume group "vg1"
Archiving volume group "vg1" metadata (seqno 2).
Creating volume group backup "/etc/lvm/backup/vg1" (seqno 2).
Finding all volume groups
Finding volume group "sysvg"
Finding volume group "vg1"
Finding all volume groups
Finding volume group "sysvg"
Finding volume group "vg1"
Finding all volume groups
Finding volume group "sysvg"
Finding volume group "vg1"
Finding all volume groups
Finding volume group "sysvg"
Finding volume group "vg1"
Finding all volume groups
Finding volume group "sysvg"
Finding volume group "vg1"
Finding all volume groups
Finding volume group "sysvg"
Finding volume group "vg1"
Executing: mdadm --detail --scan --verbose -c partitions
Preserved partition 1 retains size 41948895744
/dev/hda1 will be preserved
Executing: udevsettle --timeout=10 && true
sh: udevsettle: command not found
Command udevsettle --timeout=10 && true had exit code 127
Executing: udevsettle --timeout=10 && true
sh: udevsettle: command not found
Command udevsettle --timeout=10 && true had exit code 127
Executing: udevsettle --timeout=10 && true
sh: udevsettle: command not found
Command udevsettle --timeout=10 && true had exit code 127
Executing: udevsettle --timeout=10 && true
sh: udevsettle: command not found
Command udevsettle --timeout=10 && true had exit code 127
Executing: udevsettle --timeout=10 && true
sh: udevsettle: command not found
Command udevsettle --timeout=10 && true had exit code 127
Executing: udevsettle --timeout=10 && true
sh: udevsettle: command not found
Command udevsettle --timeout=10 && true had exit code 127
Executing: udevsettle --timeout=10 && true
sh: udevsettle: command not found
Command udevsettle --timeout=10 && true had exit code 127
Executing: udevsettle --timeout=10 && true
sh: udevsettle: command not found
Command udevsettle --timeout=10 && true had exit code 127
Executing: udevsettle --timeout=10 && parted -s /dev/hda mklabel msdos
sh: udevsettle: command not found
Command udevsettle --timeout=10 && parted -s /dev/hda mklabel msdos had exit code 127
Executing: udevsettle --timeout=10 && parted -s /dev/hda mkpart primary ntfs 32256B 41948927999B
sh: udevsettle: command not found
Command udevsettle --timeout=10 && parted -s /dev/hda mkpart primary ntfs 32256B 41948927999B had exit code 127
Executing: udevsettle --timeout=10 && parted -s /dev/hda mklabel msdos
sh: udevsettle: command not found
Command udevsettle --timeout=10 && parted -s /dev/hda mklabel msdos had exit code 127
Executing: udevsettle --timeout=10 && parted -s /dev/hda mkpart primary ntfs 32256B 41948927999B
sh: udevsettle: command not found
Command udevsettle --timeout=10 && parted -s /dev/hda mkpart primary ntfs 32256B 41948927999B had exit code 127
Executing: udevsettle --timeout=10 && parted -s /dev/hda mkpart primary linux-swap 41948928000B 44095726079B
sh: udevsettle: command not found
Command udevsettle --timeout=10 && parted -s /dev/hda mkpart primary linux-swap 41948928000B 44095726079B had exit code 127
Executing: udevsettle --timeout=10 && parted -s /dev/hda mkpart primary xfs 44095726080B 82343278079B
sh: udevsettle: command not found
Command udevsettle --timeout=10 && parted -s /dev/hda mkpart primary xfs 44095726080B 82343278079B had exit code 127
Executing: udevsettle --timeout=10 && mkswap /dev/hda2
sh: udevsettle: command not found
Command udevsettle --timeout=10 && mkswap /dev/hda2 had exit code 127
Executing: udevsettle --timeout=10 && mkfs.xfs -f /dev/hda3
sh: udevsettle: command not found
Command udevsettle --timeout=10 && mkfs.xfs -f /dev/hda3 had exit code 127
Can't exec "udevsettle": No such file or directory at /usr/sbin/setup-storage line 184.
Executing: /lib/udev/vol_id -u /dev/hda1
Executing: /lib/udev/vol_id -l /dev/hda1
Executing: /lib/udev/vol_id -u /dev/hda3
Command /lib/udev/vol_id -u /dev/hda3 had exit code 4
Failed to obtain UUID for /dev/hda3
Error in task partition. Traceback: task_error task_partition task task_install task task_action task main
Save log files via ssh to fai at fai.inf.ethz.ch:ikdesk1/install-20090608_121926
-------------- next part --------------
-------------------------------------------------
Fully Automatic Installation - FAI
FAI 3.2.16, 12 Jan 2009 Copyright (c) 1999-2009
Thomas Lange <lange at informatik.uni-koeln.de>
-------------------------------------------------
Calling task_confdir
Kernel currently running: Linux 2.6.26-2-486 i686 GNU/Linux
Kernel parameters: initrd=initrd.img-2.6.26-2-486 ip=dhcp root=/dev/nfs nfsroot=/home/services/nfs/fai/i386/lenny boot=live FAI_FLAGS=verbose,sshd,createvt,reboot FAI_ACTION=install monserver=fai.inf.ethz.ch BOOT_IMAGE=vmlinuz-2.6.26-2-486
Reading /tmp/fai/boot.log
FAI_FLAGS: verbose sshd createvt reboot
Configuration space fai.inf.ethz.ch:/home/services/nfs/fai/config mounted to /var/lib/fai/config
Monitoring to server fai.inf.ethz.ch enabled.
Calling task_setup
FAI_FLAGS: verbose sshd createvt reboot
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.
find: `/lib/modules/2.6.26-2-486/kernel/drivers/ide/pci': No such file or directory
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
FATAL: Could not load /lib/modules/2.6.26-2-486/modules.dep: No such file or directory
20-hwdetect.source OK.
Executing /var/lib/fai/config/class/50-host-classes.
50-host-classes OK.
Executing /var/lib/fai/config/class/90-eth.
90-eth OK.
List of all classes: DEFAULT LINUX I386 FAIBASE DHCPC GRUB ETH NETOS DRYAD LDAP ikdesk1 LAST
Calling task_defvar
Executing FAIBASE.var
++ FAI_ALLOW_UNSIGNED=1
++ CONSOLEFONT=
++ KEYMAP=us-latin1
++ UTC=yes
++ TIMEZONE=Europe/Zurich
++ ROOTPW='$1$Y9UUM.UG$xgTjPdEZGFEOqUpMaoFT9/'
++ MODULESLIST='usbkbd ehci-hcd ohci-hcd uhci-hcd usbhid psmouse'
++ STOP_ON_ERROR=700
++ USE_SETUP_STORAGE=1
Executing ETH.var
++ LOGSERVER=fai.inf.ethz.ch
++ SERVER=fai.inf.ethz.ch
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.3
Using config file: /var/lib/fai/config/disk_config/DRYAD
Executing: parted -s /dev/hda unit TiB print
Executing: parted -s /dev/hda unit B print free
Executing: parted -s /dev/hda unit chs print free
Executing: vgdisplay --units m -s
Executing: vgdisplay --units m -v sysvg
Unexpected vgdisplay output "vg1" 12800.00 MB [12800.00 MB used / 0 MB free]
Traceback: task_error task_partition task task_install task task_action task main
Save log files via ssh to fai at fai.inf.ethz.ch:ikdesk1/install-20090608_114949
-------------- next part --------------
-------------------------------------------------
Fully Automatic Installation - FAI
FAI 3.2.17~lenny1, 25 Feb 2009 Copyright (c) 1999-2009
Thomas Lange <lange at informatik.uni-koeln.de>
-------------------------------------------------
Calling task_confdir
Kernel currently running: Linux 2.6.26-2-486 i686 GNU/Linux
Kernel parameters: initrd=initrd.img-2.6.26-2-486 ip=dhcp root=/dev/nfs nfsroot=/home/services/nfs/fai/i386/lenny boot=live FAI_FLAGS=verbose,sshd,createvt,reboot FAI_ACTION=install monserver=fai.inf.ethz.ch BOOT_IMAGE=vmlinuz-2.6.26-2-486
Reading /tmp/fai/boot.log
FAI_FLAGS: verbose sshd createvt reboot
Configuration space fai.inf.ethz.ch:/home/services/nfs/fai/config mounted to /var/lib/fai/config
Can't connect to monserver on fai.inf.ethz.ch port 4711. Monitoring disabled.
Calling task_setup
FAI_FLAGS: verbose sshd createvt reboot
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.
Executing /var/lib/fai/config/class/90-eth.
90-eth OK.
List of all classes: DEFAULT LINUX I386 FAIBASE DHCPC GRUB ETH NETOS DRYAD LDAP ikdesk1 LAST
Calling task_defvar
Executing FAIBASE.var
++ FAI_ALLOW_UNSIGNED=1
++ CONSOLEFONT=
++ KEYMAP=us-latin1
++ UTC=yes
++ TIMEZONE=Europe/Zurich
++ ROOTPW='$1$Y9UUM.UG$xgTjPdEZGFEOqUpMaoFT9/'
++ MODULESLIST='usbkbd ehci-hcd ohci-hcd uhci-hcd usbhid psmouse'
++ STOP_ON_ERROR=700
++ USE_SETUP_STORAGE=1
Executing ETH.var
++ LOGSERVER=fai.inf.ethz.ch
++ SERVER=fai.inf.ethz.ch
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.3
Using config file: /var/lib/fai/config/disk_config/DRYAD
Executing: parted -s /dev/hda unit TiB print
Executing: parted -s /dev/hda unit B print free
Executing: parted -s /dev/hda unit chs print free
Executing: vgdisplay --units m -s
Executing: vgdisplay --units m -v sysvg
Unexpected vgdisplay output "vg1" 12800.00 MB [12800.00 MB used / 0 MB free]
Traceback: task_error task_partition task task_install task task_action task main
Save log files via ssh to fai at fai.inf.ethz.ch:ikdesk1/install-20090609_090156
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20090609/b9d67e2b/attachment.bin
More information about the linux-fai-devel
mailing list