Precise installation fails on Cisco UCS server

Bug #1437475 reported by Larry Michel
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curtin
Invalid
Undecided
Unassigned

Bug Description

Installing Trusty succeeds but installation on precise fails with this error:

Output without debug:

list index out of range
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'block-meta', 'simple']
Exit code: 3
Reason: -
Stdout: 'list index out of range\n'
Stderr: ''

Output with debug:

Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '--nodeps'] with allowed return codes [0] (shell=False, capture=True)
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (shell=False, capture=True)
'simple' mode, no devices given. unused list: []
Traceback (most recent call last):
  File "/curtin/curtin/commands/main.py", line 96, in main
    sys.exit(args.func(args))
  File "/curtin/curtin/commands/block_meta.py", line 53, in block_meta
    meta_simple(args)
  File "/curtin/curtin/commands/block_meta.py", line 164, in meta_simple
    target = devices[0]
IndexError: list index out of range
list index out of range
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', '--showtrace', '-vvv', 'block-meta', 'simple']
Exit code: 3
Reason: -
Stdout: 'Running command [\'lsblk\', \'--noheadings\', \'--bytes\', \'--pairs\', \'--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID\', \'--nodeps\'] with allowed return codes [0] (shell=False, capture=True)\nRunning command [\'lsblk\', \'--noheadings\', \'--bytes\', \'--pairs\', \'--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID\', \'/dev/sda\'] with allowed return codes [0] (shell=False, capture=True)\n\'simple\' mode, no devices given. unused list: []\nTraceback (most recent call last):\n File "/curtin/curtin/commands/main.py", line 96, in main\n sys.exit(args.func(args))\n File "/curtin/curtin/commands/block_meta.py", line 53, in block_meta\n meta_simple(args)\n File "/curtin/curtin/commands/block_meta.py", line 164, in meta_simple\n target = devices[0]\nIndexError: list index out of range\nlist index out of range\n'
Stderr: ''

From event logs:

Level Emitted Event
DEBUG Fri, 27 March 2015 19:40:12 TFTP Request — ubuntu/amd64/generic/precise/daily/boot-initrd
DEBUG Fri, 27 March 2015 19:40:11 TFTP Request — ubuntu/amd64/generic/precise/daily/boot-kernel
DEBUG Fri, 27 March 2015 19:40:11 TFTP Request — ifcpu64.c32
INFO Fri, 27 March 2015 19:40:11 PXE Request — power off
DEBUG Fri, 27 March 2015 19:40:11 TFTP Request — pxelinux.cfg/01-00-25-b5-00-13-00
INFO Fri, 27 March 2015 19:40:11 PXE Request — power off
DEBUG Fri, 27 March 2015 19:40:11 TFTP Request — pxelinux.cfg/01-00-25-b5-00-13-00
INFO Fri, 27 March 2015 19:40:11 PXE Request — power off
DEBUG Fri, 27 March 2015 19:40:11 TFTP Request — pxelinux.cfg/01-00-25-b5-00-13-00
DEBUG Fri, 27 March 2015 19:40:11 TFTP Request — pxelinux.cfg/a805ddd5-50d1-4f94-ac70-f2776c2e9d92
DEBUG Fri, 27 March 2015 19:40:11 TFTP Request — pxelinux.0
DEBUG Fri, 27 March 2015 19:40:11 TFTP Request — pxelinux.0
INFO Fri, 27 March 2015 19:35:58 Node changed status — From 'Deploying' to 'Failed deployment'
DEBUG Fri, 27 March 2015 19:35:28 TFTP Request — ubuntu/amd64/generic/precise/daily/boot-initrd
INFO Fri, 27 March 2015 19:35:27 PXE Request — curtin install
INFO Fri, 27 March 2015 19:35:27 PXE Request — curtin install
DEBUG Fri, 27 March 2015 19:35:27 TFTP Request — ubuntu/amd64/generic/precise/daily/boot-kernel
INFO Fri, 27 March 2015 19:35:27 PXE Request — curtin install
DEBUG Fri, 27 March 2015 19:35:27 TFTP Request — ifcpu64.c32
DEBUG Fri, 27 March 2015 19:35:27 TFTP Request — pxelinux.cfg/01-00-25-b5-00-13-00
INFO Fri, 27 March 2015 19:35:27 PXE Request — curtin install
DEBUG Fri, 27 March 2015 19:35:27 TFTP Request — pxelinux.cfg/01-00-25-b5-00-13-00
DEBUG Fri, 27 March 2015 19:35:27 TFTP Request — pxelinux.cfg/01-00-25-b5-00-13-00
DEBUG Fri, 27 March 2015 19:35:27 TFTP Request — pxelinux.cfg/01-00-25-b5-00-13-00
DEBUG Fri, 27 March 2015 19:35:27 TFTP Request — pxelinux.cfg/a805ddd5-50d1-4f94-ac70-f2776c2e9d92
DEBUG Fri, 27 March 2015 19:35:26 TFTP Request — pxelinux.0
DEBUG Fri, 27 March 2015 19:35:26 TFTP Request — pxelinux.0
INFO Fri, 27 March 2015 19:31:19 Node powered on
INFO Fri, 27 March 2015 19:31:18 Powering node on
INFO Fri, 27 March 2015 19:31:17 Node changed status — From 'Allocated' to 'Deploying'
INFO Fri, 27 March 2015 19:30:43 Node changed status — From 'Ready' to 'Allocated' (to larry)
INFO Fri, 27 March 2015 19:30:40 Node powered off
INFO Fri, 27 March 2015 19:30:39 Node changed status — From 'Releasing' to 'Ready'

Tags: oil
Revision history for this message
Larry Michel (lmic) wrote :
Revision history for this message
Larry Michel (lmic) wrote :

This failure is with Maas 1.8b5 and the release images.

Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '--nodeps'] with allowed return codes [0] (shell=False, capture=True)
Running command ['lsblk', '--noheadings', '--bytes', '--pairs', '--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID', '/dev/sda'] with allowed return codes [0] (shell=False, capture=True)
'simple' mode, no devices given. unused list: []
Traceback (most recent call last):
  File "/curtin/curtin/commands/main.py", line 96, in main
    sys.exit(args.func(args))
  File "curtin/commands/block_meta.py", line 53, in block_meta
    meta_simple(args)
  File "curtin/commands/block_meta.py", line 164, in meta_simple
    target = devices[0]
IndexError: list index out of range
list index out of range
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', '--showtrace', '-vvv', 'block-meta', 'simple']
Exit code: 3
Reason: -
Stdout: 'Running command [\'lsblk\', \'--noheadings\', \'--bytes\', \'--pairs\', \'--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID\', \'--nodeps\'] with allowed return codes [0] (shell=False, capture=True)\nRunning command [\'lsblk\', \'--noheadings\', \'--bytes\', \'--pairs\', \'--output=ALIGNMENT,DISC-ALN,DISC-GRAN,DISC-MAX,DISC-ZERO,FSTYPE,GROUP,KNAME,LABEL,LOG-SEC,MAJ:MIN,MIN-IO,MODE,MODEL,MOUNTPOINT,NAME,OPT-IO,OWNER,PHY-SEC,RM,RO,ROTA,RQ-SIZE,SIZE,STATE,TYPE,UUID\', \'/dev/sda\'] with allowed return codes [0] (shell=False, capture=True)\n\'simple\' mode, no devices given. unused list: []\nTraceback (most recent call last):\n File "/curtin/curtin/commands/main.py", line 96, in main\n sys.exit(args.func(args))\n File "curtin/commands/block_meta.py", line 53, in block_meta\n meta_simple(args)\n File "curtin/commands/block_meta.py", line 164, in meta_simple\n target = devices[0]\nIndexError: list index out of range\nlist index out of range\n'

Revision history for this message
Larry Michel (lmic) wrote :

It also fails with the hwe-t kernel, but the deployment times out. These are the last lines of the curtin install log:

Setting up linux-image-3.13.0-52-generic (3.13.0-52.86~precise1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-52-generic /boot/vmlinuz-3.13.0-52-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-52-generic /boot/vmlinuz-3.13.0-52-generic
update-initramfs: Generating /boot/initrd.img-3.13.0-52-generic
df: Warning: cannot read table of mounted file systems: No such file or directory
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.13.0-52-generic /boot/vmlinuz-3.13.0-52-generic
run-parts: executing /etc/kernel/postinst.d/x-grub-legacy-ec2 3.13.0-52-generic /boot/vmlinuz-3.13.0-52-generic
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Ignoring non-Xen Kernel on Xen domU host: vmlinuz-3.2.0-80-generic
Found kernel: /boot/vmlinuz-3.13.0-52-generic
Found kernel: /boot/memtest86+.bin
Updating /boot/grub/menu.lst ... done

run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.13.0-52-generic /boot/vmlinuz-3.13.0-52-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.13.0-52-generic
Found initrd image: /boot/initrd.img-3.13.0-52-generic
Found linux image: /boot/vmlinuz-3.2.0-80-generic
Found initrd image: /boot/initrd.img-3.2.0-80-generic
Found memtest86+ image: /boot/memtest86+.bin
done
Setting up linux-image-generic-lts-trusty (3.13.0.52.45) ...
Setting up linux-headers-3.13.0-52 (3.13.0-52.86~precise1) ...
Setting up linux-headers-3.13.0-52-generic (3.13.0-52.86~precise1) ...
Setting up linux-headers-generic-lts-trusty (3.13.0.52.45) ...
Setting up linux-generic-lts-trusty (3.13.0.52.45) ...
Leaving 'diversion of /etc/init/ureadahead.conf to /etc/init/ureadahead.conf.disabled by cloud-init'
8192+0 records in
8192+0 records out
8589934592 bytes (8.6 GB) copied, 6.06322 s, 1.4 GB/s
Setting up swapspace version 1, size = 8388604 KiB
no label, UUID=fef30209-e62d-4881-a00c-37b97008ef4d
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.13.0-52-generic
Found initrd image: /boot/initrd.img-3.13.0-52-generic
Found linux image: /boot/vmlinuz-3.2.0-80-generic
Found initrd image: /boot/initrd.img-3.2.0-80-generic

Revision history for this message
Larry Michel (lmic) wrote :

Opened bug 1455268 for the grub issue. I will mark as invalid since the hwe-t kernel gets past the error.

Changed in curtin:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.