Your message dated Tue, 28 Apr 2009 10:19:54 +0200
with message-id <[email protected]>
and subject line Re: Bug#524880: INTERNAL ERROR in setup-storage: convert_unit
has caused the Debian Bug report #524880,
regarding INTERNAL ERROR in setup-storage: convert_unit
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
524880: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=524880
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fai-client
Version: 3.2.18
Severity: normal



-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages fai-client depends on:
ii  file                       4.26-1        Determines file type using "magic"
ii  libapt-pkg-perl            0.1.22+b1     Perl interface to libapt-pkg
ii  liblinux-lvm-perl          0.14-1        module to access LVM status inform
ii  libparse-recdescent-perl   1.95.1+dfsg-3 generates recursive-descent parser
ii  net-tools                  1.60-22       The NET-3 networking toolkit
ii  perl                       5.10.0-19     Larry Wall's Practical Extraction 

Versions of packages fai-client recommends:
ii  cfengine2                     2.2.8-1    Tool for configuring and maintaini
ii  debconf-utils                 1.5.24     debconf utilities

Versions of packages fai-client suggests:
pn  cryptsetup                   <none>      (no description available)
ii  dmsetup                      2:1.02.27-4 The Linux Kernel Device Mapper use
pn  ntfsprogs                    <none>      (no description available)

-- no debconf information
Hello,

First installation with fai 3.2.18, setup-storage fails on a disk config that 
seems valid, as it works on the same host with fai 3.2.16.

Following is the debug-enabled fai.log.

-- 
Nicolas

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

               FAI 3.2.18, 20 Apr 2009  Copyright (c) 1999-2009
               Thomas Lange  <[email protected]>
             -------------------------------------------------

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=/srv/fai/lenny/nfsroot-i386 boot=live FAI_FLAGS=verbose,sshd,reboot 
FAI_ACTION=install BOOT_IMAGE=vmlinuz-2.6.26-2-486 
Reading /tmp/fai/boot.log
FAI_FLAGS: verbose sshd reboot
Can't connect to monserver on venar port 4711. Monitoring disabled.
Configuration space venar:/srv/fai/lenny/config mounted to /var/lib/fai/config
Calling task_setup
FAI_FLAGS: verbose sshd reboot
rdate: Could not connect socket: Connection refused
20 Apr 14:08:35 ntpdate[2533]: step time server 10.192.32.48 offset 0.039273 sec
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/12-processor.
12-processor         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 I386 I686 FAIBASE NFORCE_590 ALSA BOOT MBR 
GRUB NETWORK NTP NIS NFS DEVTOOLS XORG XCLIENTS GNOME KDE OFFICE TEX GAMES 
FRENCH OCSNG TINA bibop LAST
Calling task_defvar
Executing FAIBASE.var
++ FAI_ALLOW_UNSIGNED=1
++ CONSOLEFONT=
++ KEYMAP=us-latin1
++ UTC=yes
++ TIMEZONE=Europe/Paris
++ ROOTPW='$1$s.S8LD8/$DtiUW5UH0B.y5zLrZPALo1'
++ MODULESLIST='usbkbd ehci-hcd ohci-hcd uhci-hcd usbhid psmouse'
++ STOP_ON_ERROR=700
++ USE_SETUP_STORAGE=1
++ debug=1
Executing NFORCE_590.var
++ moduleslist='sata_sil24 ohci1394 forcedeth snd-hda-intel sata_nv amd74xx'
Executing FRENCH.var
++ KEYMAP=fr-latin9
Loading keymap(s) fr-latin9 ...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.4
disklist was: sda
Using config file: /var/lib/fai/config/disk_config/bibop
Input was:
disk_config sda  preserve_always:1 bootable:2

primary         -                  0    -       -
primary         /boot            512    ext3    rw
logical         -              25000-   -       -

disk_config lvm
vg vg0 sda5
vg0-swap        swap            2048    swap    sw
vg0-root        /               1024    ext3    rw
vg0-var         /var            2048    ext3    rw
vg0-usr         /usr            6144    ext3    rw
vg0-home        /export/home    6144    ext3    rw
vg0-projet      /export/projet  6144    ext3    rw
(CMD) parted -s /dev/sda unit TiB print 1> /tmp/jHBEycAozt 2> /tmp/q4OwbNzCqG
Executing: parted -s /dev/sda unit TiB print
(STDOUT) Model: ATA Maxtor 6B300S0 (scsi)
(STDOUT) Disk /dev/sda: 0.27TiB
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT) 
(STDOUT) Number  Start    End      Size     Type      File system  Flags
(STDOUT)  1      0.00TiB  0.12TiB  0.12TiB  primary   ntfs              
(STDOUT)  2      0.12TiB  0.12TiB  0.00TiB  primary   ext3         boot 
(STDOUT)  3      0.12TiB  0.27TiB  0.15TiB  extended               lba  
(STDOUT)  5      0.12TiB  0.27TiB  0.15TiB  logical                lvm  
(STDOUT) 
(CMD) parted -s /dev/sda unit B print free 1> /tmp/TVc285TnkW 2> /tmp/STpD9mIwAy
Executing: parted -s /dev/sda unit B print free
(STDOUT) Model: ATA Maxtor 6B300S0 (scsi)
(STDOUT) Disk /dev/sda: 300090728448B
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT) 
(STDOUT) Number  Start          End            Size           Type      File 
system  Flags
(STDOUT)  1      32256B         136243537919B  136243505664B  primary   ntfs    
          
(STDOUT)  2      136243537920B  136778181119B  534643200B     primary   ext3    
     boot 
(STDOUT)  3      136778181120B  300082890239B  163304709120B  extended          
     lba  
(STDOUT)  5      136778213376B  300082890239B  163304676864B  logical           
     lvm  
(STDOUT) 
(CMD) parted -s /dev/sda unit chs print free 1> /tmp/buQaS3xSRe 2> 
/tmp/XU8et5QSx8
Executing: parted -s /dev/sda unit chs print free
(STDOUT) Model: ATA Maxtor 6B300S0 (scsi)
(STDOUT) Disk /dev/sda: 36483,242,62
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 36483,255,63.  Each cylinder is 
8225kB.
(STDOUT) Partition Table: msdos
(STDOUT) 
(STDOUT) Number  Start      End           Type      File system  Flags
(STDOUT)  1      0,1,0      16563,254,62  primary   ntfs              
(STDOUT)  2      16564,0,0  16628,254,62  primary   ext3         boot 
(STDOUT)  3      16629,0,0  36482,254,62  extended               lba  
(STDOUT)  5      16629,1,0  36482,254,62  logical                lvm  
(STDOUT) 
    Finding all volume groups
    Finding volume group "vg0"
    Creating directory "/etc/lvm/archive"
    Archiving volume group "vg0" metadata (seqno 1).
    Creating directory "/etc/lvm/backup"
    Creating volume group backup "/etc/lvm/backup/vg0" (seqno 1).
    Finding all volume groups
    Finding volume group "vg0"
Use of uninitialized value in concatenation (.) or string at 
/usr/share/fai/setup-storage//Volumes.pm line 310.
Use of uninitialized value in concatenation (.) or string at 
/usr/share/fai/setup-storage//Volumes.pm line 310.
INTERNAL ERROR in setup-storage:
convert_unit 
Please report this error to the Debian Bug Tracking System.
Error in task partition. Traceback: task_error task_partition task task_install 
task task_action task main
Save log files via rsh to f...@venar:bibop/install-20090420_140836



--- End Message ---
--- Begin Message ---
[...]

>>   
>>>     Finding all volume groups
>>>     Finding volume group "vg0"
>>>     Creating directory "/etc/lvm/archive"
>>>     Archiving volume group "vg0" metadata (seqno 1).
>>>     Creating directory "/etc/lvm/backup"
>>>     Creating volume group backup "/etc/lvm/backup/vg0" (seqno 1).
>>>     Finding all volume groups
>>>     Finding volume group "vg0"
>>> Use of uninitialized value in concatenation (.) or string at 
>>> /usr/share/fai/setup-storage//Volumes.pm line 310.
>>> Use of uninitialized value in concatenation (.) or string at 
>>> /usr/share/fai/setup-storage//Volumes.pm line 310.
>>> INTERNAL ERROR in setup-storage:
>>> convert_unit     
>>
>> [...]
>>
>> Sorry for the late reply; this error seems quite odd - could you help a bit 
>> in
>> debugging this?
>>
>> Could you please re-start an install and once it aborts as shown above, 
>> please
>> run
>>
>> - vgdisplay
>> - perl -w vol.pl (script is attached)
>>
>>   
>
> I tried again on the same host this morning, and it's working juste  
> fine. Although the problem has occured several times on tuesday, event I  
> after rebuilding the nfsroot it doesn't show up any more today. I have  
> upgraded to 3.2.19, but it shouldn't make any difference I guess.
>
> The new log is the following:
> [...]
>    Finding all volume groups
>    Finding volume group "vg0"
>    Creating directory "/etc/lvm/archive"
>    Archiving volume group "vg0" metadata (seqno 7).
>    Creating directory "/etc/lvm/backup"
>    Creating volume group backup "/etc/lvm/backup/vg0" (seqno 7).
>    Finding all volume groups
>    Finding volume group "vg0"
>    Finding all volume groups
>    Finding volume group "vg0"
>    Finding all volume groups
>    Finding volume group "vg0"
> (CMD) mdadm --detail --scan --verbose -c partitions 1> /tmp/c5viBeTkqP  
> 2> /tmp/yoHClj71aW
> [...]
>
> Does the seqno value, 7 instead of 1, has any importance ?
>

None that I would know of, therefore closing this bug. There might only be some
issues with the Linux::LVM module, but that is hard to debug when the issue is
not reproducible. Please reopen the bug should this ever happen again.

Best,
Michael

Attachment: pgpEIS1mOQnjZ.pgp
Description: PGP signature


--- End Message ---

Reply via email to