Bug 1376115 - IndexError: list index out of range
Summary: IndexError: list index out of range
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: anaconda
Version: 7.2
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard: abrt_hash:ea1417cc1ec647dafcc6cc5d0cb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-14 17:46 UTC by David Taylor
Modified: 2020-12-15 07:45 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-15 07:45:48 UTC
Target Upstream Version:


Attachments (Terms of Use)
File: anaconda-tb (233.15 KB, text/plain)
2016-09-14 17:46 UTC, David Taylor
no flags Details
File: anaconda.log (9.98 KB, text/plain)
2016-09-14 17:46 UTC, David Taylor
no flags Details
File: environ (492 bytes, text/plain)
2016-09-14 17:46 UTC, David Taylor
no flags Details
File: ks.cfg (9.52 KB, text/plain)
2016-09-14 17:46 UTC, David Taylor
no flags Details
File: lsblk_output (988 bytes, text/plain)
2016-09-14 17:46 UTC, David Taylor
no flags Details
File: nmcli_dev_list (1.30 KB, text/plain)
2016-09-14 17:46 UTC, David Taylor
no flags Details
File: os_info (495 bytes, text/plain)
2016-09-14 17:46 UTC, David Taylor
no flags Details
File: program.log (31.54 KB, text/plain)
2016-09-14 17:46 UTC, David Taylor
no flags Details
File: storage.log (79.52 KB, text/plain)
2016-09-14 17:46 UTC, David Taylor
no flags Details
File: syslog (58.15 KB, text/plain)
2016-09-14 17:46 UTC, David Taylor
no flags Details
File: ifcfg.log (2.72 KB, text/plain)
2016-09-14 17:46 UTC, David Taylor
no flags Details
File: packaging.log (1.77 KB, text/plain)
2016-09-14 17:46 UTC, David Taylor
no flags Details
Screenshot of parted -l and fdisk -l /dev/vda (302.65 KB, image/png)
2016-09-14 18:12 UTC, David Taylor
no flags Details

Description David Taylor 2016-09-14 17:46:18 UTC
Description of problem:
PXE booted instance in openstack kvm environment. kernel boot options were inst.repo=nfs:nolock:xxx:/path inst.ks=http://xx/path.ks.cfg
vmlinuz and initrd copied from the QCI ISO
The text mode install routine needed to ask what storage device to use. I noticed my 40gb vda was only at 35.5gb, and the option is set to use all free space. The vda is normally untouched in a pxe booted rhel 7.2 installation. I just finished one, using the same method and a standard rhel 7.2 dvd iso.

When I CHANGED the selection to use all the disk space, and hit 'c' to continue, it tried to calculate storage and then crashed.

Version-Release number of selected component:
anaconda-21.48.22.56-1

The following was filed automatically by anaconda:
anaconda 21.48.22.56-1 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/software.py", line 183, in _apply
    self.environment = self.payload.environments[self._selection]
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/software.py", line 172, in apply
    self._apply()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/software.py", line 79, in status
    self.apply()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/spokes/__init__.py", line 88, in render
    title = _(self.title), text = self.status)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpleline/widgets.py", line 123, in render
    item.render(col_max_width)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpleline/widgets.py", line 123, in render
    item.render(col_max_width)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 589, in show_all
    w.render(self.app.width)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpleline/base.py", line 288, in _do_redraw
    screen.show_all()
IndexError: list index out of range

Additional info:
addons:         com_redhat_kdump
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=rhel-qci/initrd.img inst.repo=nfs:nolock:10.55.2.155:/mnt/drobo/software/ISO/rhel-qci inst.ks=http://10.55.4.105/ksfiles/ks-rhqci.cfg text BOOT_IMAGE=rhel-qci/vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.10.0-327.13.1.el7.x86_64
product:        Red Hat Enterprise Linux 7
release:        Red Hat Enterprise Linux Server release 7.2 (Maipo)
release_type:   pre-release
type:           anaconda
uid:            0
version:        7.2

Comment 1 David Taylor 2016-09-14 17:46:22 UTC
Created attachment 1200924 [details]
File: anaconda-tb

Comment 2 David Taylor 2016-09-14 17:46:23 UTC
Created attachment 1200925 [details]
File: anaconda.log

Comment 3 David Taylor 2016-09-14 17:46:24 UTC
Created attachment 1200926 [details]
File: environ

Comment 4 David Taylor 2016-09-14 17:46:25 UTC
Created attachment 1200927 [details]
File: ks.cfg

Comment 5 David Taylor 2016-09-14 17:46:26 UTC
Created attachment 1200928 [details]
File: lsblk_output

Comment 6 David Taylor 2016-09-14 17:46:27 UTC
Created attachment 1200929 [details]
File: nmcli_dev_list

Comment 7 David Taylor 2016-09-14 17:46:28 UTC
Created attachment 1200930 [details]
File: os_info

Comment 8 David Taylor 2016-09-14 17:46:29 UTC
Created attachment 1200931 [details]
File: program.log

Comment 9 David Taylor 2016-09-14 17:46:31 UTC
Created attachment 1200932 [details]
File: storage.log

Comment 10 David Taylor 2016-09-14 17:46:32 UTC
Created attachment 1200933 [details]
File: syslog

Comment 11 David Taylor 2016-09-14 17:46:33 UTC
Created attachment 1200934 [details]
File: ifcfg.log

Comment 12 David Taylor 2016-09-14 17:46:34 UTC
Created attachment 1200935 [details]
File: packaging.log

Comment 13 David Taylor 2016-09-14 18:12:42 UTC
Created attachment 1200936 [details]
Screenshot of parted -l and fdisk -l /dev/vda

Entering into debug mode, I was able to mount /dev/vda1.

parted shows it as a single 40 fat16 partition
fdisk says unknown partition scheme, and displays several partitions.

I mounted it as a vfat and listed the contents. The 3 files on disk are only used to pxe boot, and rhel 7.2 installation didn't have a problem.

Screenshot attached.

Comment 15 David Taylor 2016-09-15 06:59:36 UTC
After reviewing the partition script generated in /tmp/storage, I see it tries to create a partition with a minimum size of 71gb.

Once I attached a 80gb drive to the installation, it passed the Storage requirement, but crashed after I set the root password and when it was redrawing the Installation tui screen. (I think it crashed on the software selection widget) I modified the ks.cfg in the inst.repo http tree, and added an entry for rootpw. Installation succeeded.

Interestingly, when the 40gb disk was attached, it said I needed 2800mb to complete the installation, so I didn't consider the size of the disk.

The system requirements are linked on the guide  https://access.redhat.com/documentation/en/quickstart-cloud-installer/1.0/paged/quickstart-cloud-installer-guide/chapter-2-installing-the-quickstart-cloud-installer , but I didn't read it until trying to figure out what was going on. It says the minimum disk size is 210gb.

I would recommend a note on page https://access.redhat.com/documentation/en/quickstart-cloud-installer/1.0/paged/quickstart-cloud-installer-guide/chapter-2-installing-the-quickstart-cloud-installer  stating the installation will not succeed without at least a 80gb disk, but 210gb is the recommended minimum. Or have anaconda correctly report the minimum needed to satisfy the partition request.

Comment 17 RHEL Program Management 2020-12-15 07:45:48 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


Note You need to log in before you can comment on or make changes to this bug.