Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 910103

Summary: anaconda 18.37.11 dies formatting hard drive
Product: Red Hat Enterprise Linux 7 Reporter: Russ Anderson <randerso>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.0CC: ctatman, gbeshers, gbeshers, jdonohue, loriann, peterm, randerso, rja, tee
Target Milestone: rc   
Target Release: 7.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-12 14:30:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 722241, 920743    
Attachments:
Description Flags
Full console output of the failure. none

Description Russ Anderson 2013-02-11 20:17:10 UTC
Description of problem: Tried to install rhel7 onto SGI UV1 hardware using virtual DVD.  To work around BZ 857968 and 910063 using the ASCII text installer interface.  Anaconda died formatting the hard drive.  Output below.


Version-Release number of selected component (if applicable):
RHEL-7.0-20130120.0-Server-x86_64-dvd1.iso and anaconda 18.37.11.



How reproducible: 100%.  Failed the same way both times attempted.


Steps to Reproduce:
1. Boot install ISO from virtual DVD.
2. Set timezone.
3. Set root password.
4. Select target hard drive.
5. Hit "c" to continue and watch it die.
  
Actual results: yumpayload.py dies.


Expected results: Format and install properly.


Additional info:
----------------------------------------------------------------
Starting installer, one moment...
anaconda 18.37.11 for Red Hat Enterprise Linux 7.0 (pre-release) started.
================================================================================
================================================================================
Install hub

 1) [ ] Timezone settings                 2) [ ] Install Destination
        (Timezone is not set.)                   (No disks selected)
 3) [ ] Set root password
        (Password is not set.)
  Please make your choice from above ['q' to quit | 'c' to continue]: 1
================================================================================
================================================================================
Timezone settings

Available regions
 1)  Europe                 6)  Asia                  10)  Atlantic
 2)  US                     7)  Etc                   11)  Pacific
 3)  Australia              8)  Antarctica            12)  America
 4)  Arctic                 9)  Indian
 5)  Africa
Please select the timezone.
Use numbers or type names directly [b to region list, q to quit]: 2
================================================================================
================================================================================
Timezone settings

Available timezones in region US
 1)  Alaska                 4)  Eastern                6)  Mountain
 2)  Arizona                5)  Hawaii                 7)  Pacific
 3)  Central
Please select the timezone.
Use numbers or type names directly [b to region list, q to quit]: 3
================================================================================
================================================================================
Install hub

 1) [x] Timezone settings                 2) [ ] Install Destination
        (US/Central timezone)                    (No disks selected)
 3) [ ] Set root password
        (Password is not set.)
  Please make your choice from above ['q' to quit | 'c' to continue]: 3
================================================================================
================================================================================
Set root password

Please select new root password. You will have to type it twice.

Password: 
Password (confirm): 
================================================================================
================================================================================
Install hub

 1) [x] Timezone settings                 2) [ ] Install Destination
        (US/Central timezone)                    (No disks selected)
 3) [x] Set root password
        (Password is set.)
  Please make your choice from above ['q' to quit | 'c' to continue]: 2
================================================================================
================================================================================
Install Destination

[ ] 1) sda

[ ] 2) sdb

[ ] 3) sdc

No disks selected; please select at least one disk to install to.

  Please make your choice from above ['q' to quit | 'c' to continue]: 2
Install Destination

[ ] 1) sda

[x] 2) sdb

[ ] 3) sdc

1 disk selected; 140.01 GB capacity; 1.36 MB free ...

  Please make your choice from above ['q' to quit | 'c' to continue]: c
================================================================================
================================================================================
Autopartitioning Options

[ ] 1) Replace Existing Linux system(s)

[x] 2) Use All Space

[ ] 3) Use Free Space

Installation requires partitioning of your hard drive.  Select what space to use
 for the install target.

  Please make your choice from above ['q' to quit | 'c' to continue]: c
Generating updated storage configuration
Checking storage configuration...
================================================================================
================================================================================
Install hub

        (US/Central timezone)                    (Automatic partitioning selecte
 3) [x] Set root password                        d)
        (Password is set.)
  Please make your choice from above ['q' to quit | 'c' to continue]: c
================================================================================
================================================================================
Installation Hub
Creating disklabel on /dev/sdb
.
Creating efi on /dev/sdb1
.
Creating xfs on /dev/sdb2
.
Creating lvmpv on /dev/sdb3
.
Creating swap on /dev/mapper/rhel_uvpsw3-swap
.
Creating xfs on /dev/mapper/rhel_uvpsw3-home
.
Creating xfs on /dev/mapper/rhel_uvpsw3-root
.
Starting package installation process
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 91, in run
    threading.Thread.run(self, *args, **kwargs)
  File "/usr/lib64/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 124, in doInstall
    payload.preInstall(packages=packages, groups=payload.languageGroups(ksdata.lang.lang))
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1316, in preInstall
    self.checkSoftwareSelection()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1229, in checkSoftwareSelection
    self._applyYumSelections()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1215, in _applyYumSelections
    self.selectRequiredPackages()
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1292, in selectRequiredPackages
    map(self._selectYumPackage, self._requiredPackages)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1113, in _selectYumPackage
    raise NoSuchPackage(pkgid)
pyanaconda.packaging.NoSuchPackage: shim
----------------------------------------------------------------

Comment 1 Russ Anderson 2013-02-11 20:22:18 UTC
Created attachment 696272 [details]
Full console output of the failure.

Comment 2 Russ Anderson 2013-02-11 20:24:06 UTC
Update CC, etc.

Comment 4 Dave Cantrell 2013-02-12 14:30:13 UTC
The shim package was missing from trees composed in January.  The RHEL-7.0-20130206 nightly and most likely later trees have the shim package.

Comment 5 Russ Anderson 2013-02-13 17:14:38 UTC
Thanks David.  RHEL-7.0-20130207 ISO has the shim and installs.
Verified fixed.