Package: fai-setup-storage Version: 5.2 If fai-diskimage is run on a host that is using LVM partitions, setup-storage tries to disable (vgchange -a n) the volumes groups of the host. But all info about the LVM of the host should be ignored. vgchange is called in Commands.pm.
------------------------------------------------- Fully Automatic Installation - FAI 5.2 (c) 1999-2016 Thomas Lange <la...@informatik.uni-koeln.de> ------------------------------------------------- Starting FAI execution - 20161103_140608 Hostname set to gce-test Using configuration files from /etc/fai Calling task_confdir FAI_FLAGS: Setting SERVER=. Value extracted from FAI_CONFIG_SRC. No monitor daemon defined. FAI_CONFIG_SRC is set to file:///srv/fai/config Using local path /srv/fai/config as config space. Calling task_setup FAI_FLAGS: Calling task_defclass List of all classes: DEBIAN AMD64 FAIBASE GRUB_PC CLOUD GCE Calling task_defvar ++ CONSOLEFONT= ++ KEYMAP=us-latin1 ++ MODULESLIST='usbhid psmouse' ++ flag_initial=1 ++ FAI_ALLOW_UNSIGNED=1 ++ UTC=yes ++ TIMEZONE=America/Los_Angeles ++ ROOTPW=XXXXXXXXXXXXX ++ STOP_ON_ERROR=700 ++ MAXPACKAGES=800 ++ release=jessie ++ TIMEZONE=UTC ++ NTPSRVS=metadata.google.internal Calling task_action FAI_ACTION: install Performing FAI installation. All data may be overwritten! Calling task_install Calling task_partition Starting setup-storage 2.0 Using config file: /srv/fai/config/disk_config/CLOUD Parted could not read a disk label (new disk?) Executing: parted -s /dev/loop0 mklabel msdos Don't know how to check preservation of /dev/dm-0 Executing: parted -s /dev/loop0 mklabel msdos Executing: parted -s /dev/loop0 mkpart primary "ext3" 1048576B 9759096831B Executing: parted -s /dev/loop0 set 1 boot on Executing: parted -s /dev/loop0 mkpart primary "ext3" 9759096832B 10737418239B Executing: mkfs.ext4 /dev/loop0p1 Executing: tune2fs -c 0 -i 0 /dev/loop0p1 Executing: mkfs.ext4 -L home -m 1 /dev/loop0p2 Executing: tune2fs -c 0 -i 0 /dev/loop0p2 Executing: vgchange -a n gymnast (STDERR) Logical volume gymnast/root contains a filesystem in use. (STDERR) Can't deactivate volume group "gymnast" with 2 open logical volume(s) Command had non-zero exit code This is your disk_config file: # config for a disk image for a VM # # <type> <mountpoint> <size> <fs type> <mount options> <misc options> disk_config disk1 disklabel:msdos bootable:1 fstabkey:uuid align-at:1M primary / 300- ext4 rw,barrier=0,noatime,errors=remount-ro tuneopts="-c 0 -i 0" primary /home 50-10% ext4 rw,barrier=0,noatime,nosuid,nodev createopts="-L home -m 1" tuneopts="-c 0 -i 0" Error in task partition. Code: 710 Traceback: task_error task_partition task task_install task task_action task main $LOGUSER is undefined. Not saving log files to remote. FATAL ERROR. Installation stopped. -- regards Thomas