Your message dated Tue, 6 Mar 2018 10:16:47 +0000
with message-id <c3c1c1f2-91d6-8d2c-8401-a4d167909...@sanger.ac.uk>
and subject line typo in package name, sorry for noise
has caused the Debian Bug report #892160,
regarding fai-setup-storage fails with "Invalid dev children setting"
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 ow...@bugs.debian.org
immediately.)


-- 
892160: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892160
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
package: fait-setup-storage
version: 5.5.3
X-Debbugs-CC: l...@sanger.ac.uk

Hi,

I'm trying to install Ubuntu Xenial using FAI. The storage setup is
failing, and emits the error message:

INTERNAL ERROR in setup-storage:
Invalid dev children entry
Please report this error to the Debian Bug Tracking System.
 at /usr/share/fai/setup-storage/Commands.pm line 1145.
        FAI::setup_partitions("PHY_/dev/sdbh") called at
/usr/share/fai/setup-storage/Commands.pm line 1405
        FAI::build_disk_commands called at /usr/sbin/setup-storage line 216

I'm attaching our disk-config file, and the output from running
setup-storage -d -D "sdbh sdbi" from inside the failed FAI (IYSWIM).

Thanks,

Matthew



-- 
 The Wellcome Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 
# <type> <mountpoint> <size>   <fs type> <mount options> <misc options>

# Root partition with RAID and LVM, single root partition

disk_config disk1 disklabel:gpt-bios fstabkey:uuid align-at:1M bootable:1

primary - 120G- - -

disk_config disk2 sameas:disk1

disk_config raid fstabkey:uuid
raid1 - disk1.1,disk2.1  -  -

disk_config lvm fstabkey:uuid

vg vg_fai md0
vg_fai-root   /    100G- ext3 errors=remount-ro
vg_fai-swap   swap 16G   swap sw
(nfsroot)root@sto-t1-1:/tmp/fai# setup-storage -d -D "sdbh sdbi"
setup-storage is running in test-only mode
disklist: sdbh
sdbi
Starting setup-storage 2.1
Using config file: /var/lib/fai/config/disk_config/DISK_RAID_SINGLEPV_16G-SWAP
Input was:
# <type> <mountpoint> <size>   <fs type> <mount options> <misc options>

# Root partition with RAID and LVM, single root partition

disk_config disk1 disklabel:gpt-bios fstabkey:uuid align-at:1M bootable:1

primary - 120G- - -

disk_config disk2 sameas:disk1

disk_config raid fstabkey:uuid
raid1 - disk1.1,disk2.1  -  -

disk_config lvm fstabkey:uuid

vg vg_fai md0
vg_fai-root   /    100G- ext3 errors=remount-ro
vg_fai-swap   swap 16G   swap sw
(CMD) parted -s /dev/sdbh unit TiB print 1> /tmp/S8i0QKQGUN 2> /tmp/RhHRZQRslW
Executing: parted -s /dev/sdbh unit TiB print
(STDOUT) Model: ATA SAMSUNG MZ7LM240 (scsi)
(STDOUT) Disk /dev/sdbh: 0.22TiB
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT) Disk Flags: 
(STDOUT) 
(STDOUT) Number  Start    End      Size     Type     File system  Flags
(STDOUT)  1      0.00TiB  0.22TiB  0.22TiB  primary  ntfs         raid
(STDOUT) 
(CMD) parted -s /dev/sdbh unit B print free 1> /tmp/SFfL0Ubly8 2> /tmp/0cdL0d1I01
Executing: parted -s /dev/sdbh unit B print free
(STDOUT) Model: ATA SAMSUNG MZ7LM240 (scsi)
(STDOUT) Disk /dev/sdbh: 240057409536B
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT) Disk Flags: 
(STDOUT) 
(STDOUT) Number  Start          End            Size           Type     File system  Flags
(STDOUT)         32256B         1048575B       1016320B                Free Space
(STDOUT)  1      1048576B       240056795135B  240055746560B  primary  ntfs         raid
(STDOUT)         240056795136B  240057409535B  614400B                 Free Space
(STDOUT) 
(CMD) parted -s /dev/sdbh unit chs print free 1> /tmp/VzAerB0mOu 2> /tmp/XYxck_mmev
Executing: parted -s /dev/sdbh unit chs print free
(STDOUT) Model: ATA SAMSUNG MZ7LM240 (scsi)
(STDOUT) Disk /dev/sdbh: 29185,80,62
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 29185,255,63.  Each cylinder is 8225kB.
(STDOUT) Partition Table: msdos
(STDOUT) Disk Flags: 
(STDOUT) 
(STDOUT) Number  Start        End          Type     File system  Flags
(STDOUT)         0,1,0        0,32,31               Free Space
(STDOUT)  1      0,32,32      29185,61,59  primary  ntfs         raid
(STDOUT)         29185,61,60  29185,80,62           Free Space
(STDOUT) 
(CMD) parted -s /dev/sdbi unit TiB print 1> /tmp/Ur1b2eB2xD 2> /tmp/BgaMZYwd6b
Executing: parted -s /dev/sdbi unit TiB print
(STDOUT) Model: ATA SAMSUNG MZ7LM240 (scsi)
(STDOUT) Disk /dev/sdbi: 0.22TiB
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT) Disk Flags: 
(STDOUT) 
(STDOUT) Number  Start    End      Size     Type     File system  Flags
(STDOUT)  1      0.00TiB  0.22TiB  0.22TiB  primary  ntfs         raid
(STDOUT) 
(CMD) parted -s /dev/sdbi unit B print free 1> /tmp/NLn5fnz81B 2> /tmp/7EF83DNcze
Executing: parted -s /dev/sdbi unit B print free
(STDOUT) Model: ATA SAMSUNG MZ7LM240 (scsi)
(STDOUT) Disk /dev/sdbi: 240057409536B
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) Partition Table: msdos
(STDOUT) Disk Flags: 
(STDOUT) 
(STDOUT) Number  Start          End            Size           Type     File system  Flags
(STDOUT)         32256B         1048575B       1016320B                Free Space
(STDOUT)  1      1048576B       240056795135B  240055746560B  primary  ntfs         raid
(STDOUT)         240056795136B  240057409535B  614400B                 Free Space
(STDOUT) 
(CMD) parted -s /dev/sdbi unit chs print free 1> /tmp/2dpIJYeseZ 2> /tmp/INJJg6nSnQ
Executing: parted -s /dev/sdbi unit chs print free
(STDOUT) Model: ATA SAMSUNG MZ7LM240 (scsi)
(STDOUT) Disk /dev/sdbi: 29185,80,62
(STDOUT) Sector size (logical/physical): 512B/512B
(STDOUT) BIOS cylinder,head,sector geometry: 29185,255,63.  Each cylinder is 8225kB.
(STDOUT) Partition Table: msdos
(STDOUT) Disk Flags: 
(STDOUT) 
(STDOUT) Number  Start        End          Type     File system  Flags
(STDOUT)         0,1,0        0,32,31               Free Space
(STDOUT)  1      0,32,32      29185,61,59  primary  ntfs         raid
(STDOUT)         29185,61,60  29185,80,62           Free Space
(STDOUT) 
  WARNING: Failed to connect to lvmetad. Falling back to device scanning.
    No volume groups found.
(CMD) mdadm --examine --scan --verbose -c partitions 1> /tmp/pbBBlixSPQ 2> /tmp/bOGltN31V5
Executing: mdadm --examine --scan --verbose -c partitions
(STDOUT) ARRAY /dev/md/0  level=raid1 metadata=1.2 num-devices=2 UUID=fe95bb98:00c11419:831480d1:22c1d8e0 name=dhcp-172-25-200-66:0
(STDOUT)    devices=/dev/sdbh
Current disk layout
$VAR1 = {
          '/dev/sdbh' => {
                           'begin_byte' => 0,
                           'sector_size' => '512',
                           'bios_heads' => '255',
                           'bios_sectors_per_track' => '63',
                           'size' => '240057409536',
                           'partitions' => {
                                             '1' => {
                                                      'flags' => 'raid',
                                                      'is_extended' => 0,
                                                      'begin_byte' => '1048576',
                                                      'count_byte' => '240055746560',
                                                      'end_byte' => '240056795135',
                                                      'filesystem' => 'ntfs'
                                                    }
                                           },
                           'disklabel' => 'msdos',
                           'end_byte' => '240057409535',
                           'bios_cylinders' => '29185'
                         },
          '/dev/sdbi' => {
                           'bios_sectors_per_track' => '63',
                           'bios_heads' => '255',
                           'size' => '240057409536',
                           'partitions' => {
                                             '1' => {
                                                      'end_byte' => '240056795135',
                                                      'filesystem' => 'ntfs',
                                                      'count_byte' => '240055746560',
                                                      'flags' => 'raid',
                                                      'is_extended' => 0,
                                                      'begin_byte' => '1048576'
                                                    }
                                           },
                           'disklabel' => 'msdos',
                           'end_byte' => '240057409535',
                           'bios_cylinders' => '29185',
                           'begin_byte' => 0,
                           'sector_size' => '512'
                         }
        };
Current LVM layout
$VAR1 = {};
Current RAID layout
$VAR1 = {
          '0' => {
                   'mode' => 'raid1',
                   'devices' => [
                                  '/dev/sdbh'
                                ]
                 }
        };
Current device tree
$VAR1 = {
          '/dev/sdbh' => [
                           '/dev/sdbh1',
                           '/dev/md0'
                         ],
          '/dev/sdbi' => [
                           '/dev/sdbi1'
                         ]
        };
Desired disk layout
$VAR1 = {
          'PHY_/dev/sdbh' => {
                               'gpt_bios_part' => 2,
                               'opts_all' => {},
                               'partitions' => {
                                                 '2' => {
                                                          'filesystem' => '-',
                                                          'mountpoint' => '-',
                                                          'end_byte' => 2097151,
                                                          'start_byte' => 1048576,
                                                          'encrypt' => 0,
                                                          'size' => {
                                                                      'always_format' => 0,
                                                                      'preserve' => 0,
                                                                      'extended' => 0,
                                                                      'resize' => 0,
                                                                      'range' => '1-1'
                                                                    }
                                                        },
                                                 '1' => {
                                                          'mountpoint' => '-',
                                                          'filesystem' => '-',
                                                          'start_byte' => 2097152,
                                                          'end_byte' => '240055746559',
                                                          'mount_options' => '-',
                                                          'encrypt' => 0,
                                                          'size' => {
                                                                      'eff_size' => '240053649408',
                                                                      'range' => '240053649408-240053649408',
                                                                      'resize' => 0,
                                                                      'extended' => 0,
                                                                      'preserve' => 0,
                                                                      'always_format' => 0
                                                                    }
                                                        }
                                               },
                               'disklabel' => 'gpt-bios',
                               'bootable' => '1',
                               'virtual' => 0,
                               'preserveparts' => 0,
                               'fstabkey' => 'uuid',
                               'align_at' => 1048576
                             },
          'PHY_/dev/sdbi' => {
                               'bootable' => '1',
                               'disklabel' => 'gpt-bios',
                               'partitions' => {
                                                 '1' => {
                                                          'start_byte' => 2097152,
                                                          'mount_options' => '-',
                                                          'end_byte' => '240055746559',
                                                          'filesystem' => '-',
                                                          'mountpoint' => '-',
                                                          'size' => {
                                                                      'preserve' => 0,
                                                                      'always_format' => 0,
                                                                      'resize' => 0,
                                                                      'extended' => 0,
                                                                      'eff_size' => '240053649408',
                                                                      'range' => '240053649408-240053649408'
                                                                    },
                                                          'encrypt' => 0
                                                        },
                                                 '2' => {
                                                          'end_byte' => 2097151,
                                                          'start_byte' => 1048576,
                                                          'mountpoint' => '-',
                                                          'filesystem' => '-',
                                                          'size' => {
                                                                      'always_format' => 0,
                                                                      'preserve' => 0,
                                                                      'extended' => 0,
                                                                      'resize' => 0,
                                                                      'range' => '1-1'
                                                                    },
                                                          'encrypt' => 0
                                                        }
                                               },
                               'opts_all' => {},
                               'gpt_bios_part' => 2,
                               'align_at' => 1048576,
                               'preserveparts' => 0,
                               'fstabkey' => 'uuid',
                               'virtual' => 0
                             },
          'VG_vg_fai' => {
                           'volumes' => {
                                          'swap' => {
                                                      'mountpoint' => 'none',
                                                      'filesystem' => 'swap',
                                                      'mount_options' => 'sw',
                                                      'encrypt' => 0,
                                                      'size' => {
                                                                  'eff_size' => '17179869184',
                                                                  'range' => '16384-16384',
                                                                  'always_format' => 0,
                                                                  'preserve' => 0,
                                                                  'resize' => 0
                                                                }
                                                    },
                                          'root' => {
                                                      'mount_options' => 'errors=remount-ro',
                                                      'mountpoint' => '/',
                                                      'filesystem' => 'ext3',
                                                      'journal_dev' => undef,
                                                      'size' => {
                                                                  'eff_size' => '220473243729.92',
                                                                  'range' => '102400-226643.670000076',
                                                                  'resize' => 0,
                                                                  'preserve' => 0,
                                                                  'always_format' => 0
                                                                },
                                                      'encrypt' => 0
                                                    }
                                        },
                           'devices' => {
                                          '/dev/md0' => {}
                                        },
                           'ordered_lv_list' => [
                                                  'root',
                                                  'swap'
                                                ]
                         },
          'RAID' => {
                      'opts_all' => {},
                      'volumes' => {
                                     '0' => {
                                              'mountpoint' => '-',
                                              'filesystem' => '-',
                                              'mount_options' => '-',
                                              'devices' => {
                                                             '/dev/sdbh1' => {
                                                                               'spare' => 0,
                                                                               'missing' => 0
                                                                             },
                                                             '/dev/sdbi1' => {
                                                                               'missing' => 0,
                                                                               'spare' => 0
                                                                             }
                                                           },
                                              'always_format' => 0,
                                              'preserve' => 0,
                                              'mode' => '1',
                                              'encrypt' => 0
                                            }
                                   },
                      'fstabkey' => 'uuid'
                    },
          'VG_--ANY--' => {
                            'opts_all' => {},
                            'fstabkey' => 'uuid'
                          }
        };
Desired device tree
$VAR1 = {
          '/dev/md0' => [
                          'VG_vg_fai'
                        ],
          '/dev/sdbh' => [
                           '/dev/sdbh1',
                           '/dev/sdbh2'
                         ],
          '/dev/sdbi' => [
                           '/dev/sdbi1',
                           '/dev/sdbi2'
                         ],
          '/dev/sdbh1' => [
                            '/dev/md0'
                          ],
          'VG_vg_fai' => [
                           '/dev/vg_fai/root',
                           '/dev/vg_fai/swap'
                         ],
          '/dev/sdbi1' => [
                            '/dev/md0'
                          ]
        };
INTERNAL ERROR in setup-storage:
Invalid dev children entry
Please report this error to the Debian Bug Tracking System.
 at /usr/share/fai/setup-storage/Commands.pm line 1145.
	FAI::setup_partitions("PHY_/dev/sdbh") called at /usr/share/fai/setup-storage/Commands.pm line 1405
	FAI::build_disk_commands called at /usr/sbin/setup-storage line 216
(nfsroot)root@sto-t1-1:/tmp/fai# 

--- End Message ---
--- Begin Message ---

-- 
 The Wellcome Sanger Institute is operated by Genome Research 
 Limited, a charity registered in England with number 1021457 and a 
 company registered in England with number 2742969, whose registered 
 office is 215 Euston Road, London, NW1 2BE. 

--- End Message ---

Reply via email to