Bug 1395199

Summary: ValueError: invalid literal for int() with base 16: 'SAS'
Product: [Fedora] Fedora Reporter: Tom Hughes <tom>
Component: python-blivetAssignee: Blivet Maintenance Team <blivet-maint-list>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: anaconda-maint-list, blivet-maint-list, g.kaviyarasu, jonathan, mkolman, vanmeeuwen+fedora, vponcova
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:87d6f307dee8792876327d466f3da254350b68d2d11d3d0ae783aa0dacc1576a;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 10:32:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dnf.librepo.log
none
File: environ
none
File: hawkey.log
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: ifcfg.log
none
File: packaging.log none

Description Tom Hughes 2016-11-15 11:51:55 UTC
Description of problem:
Installer crashed with an exception before I could do anything.

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

The following was filed automatically by anaconda:
anaconda 25.20.5-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.5/site-packages/blivet/devicelibs/edd.py", line 319, in load
    self.sas_address = int(unknown_match.group(1), base=16)
  File "/usr/lib/python3.5/site-packages/blivet/devicelibs/edd.py", line 194, in __init__
    self.load()
  File "/usr/lib/python3.5/site-packages/blivet/devicelibs/edd.py", line 649, in collect_edd_data
    edd_data_dict[biosdev] = EddEntry(path, root=root)
  File "/usr/lib/python3.5/site-packages/blivet/devicelibs/edd.py", line 712, in get_edd_dict
    edd_entries_dict = collect_edd_data(root=root)
  File "/usr/lib/python3.5/site-packages/blivet/blivet.py", line 273, in reset
    self.edd_dict = get_edd_dict(self.partitioned)
  File "/usr/lib/python3.5/site-packages/blivet/threads.py", line 45, in run_with_lock
    return m(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/blivet/osinstall.py", line 1175, in storage_initialize
    storage.reset()
  File "/usr/lib64/python3.5/threading.py", line 862, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.5/site-packages/pyanaconda/threads.py", line 251, in run
    threading.Thread.run(self, *args, **kwargs)
ValueError: invalid literal for int() with base 16: 'SAS'

Additional info:
addons:         com_redhat_kdump, com_redhat_docker
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=f25_x86_64/vmlinuz initrd=f25_x86_64/initrd.img vnc lang=en_GB.utf8 keymap=gb repo=nfs:packages.uk.cyberscience.com:/install/f25/x86_64 BOOTIF=01-c8-cb-b8-cb-e7-2a
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.8.6-300.fc25.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        25

Comment 1 Tom Hughes 2016-11-15 11:52:02 UTC
Created attachment 1220811 [details]
File: anaconda-tb

Comment 2 Tom Hughes 2016-11-15 11:52:04 UTC
Created attachment 1220812 [details]
File: anaconda.log

Comment 3 Tom Hughes 2016-11-15 11:52:05 UTC
Created attachment 1220813 [details]
File: dnf.librepo.log

Comment 4 Tom Hughes 2016-11-15 11:52:07 UTC
Created attachment 1220814 [details]
File: environ

Comment 5 Tom Hughes 2016-11-15 11:52:08 UTC
Created attachment 1220815 [details]
File: hawkey.log

Comment 6 Tom Hughes 2016-11-15 11:52:09 UTC
Created attachment 1220816 [details]
File: lsblk_output

Comment 7 Tom Hughes 2016-11-15 11:52:11 UTC
Created attachment 1220817 [details]
File: nmcli_dev_list

Comment 8 Tom Hughes 2016-11-15 11:52:12 UTC
Created attachment 1220818 [details]
File: os_info

Comment 9 Tom Hughes 2016-11-15 11:52:14 UTC
Created attachment 1220819 [details]
File: program.log

Comment 10 Tom Hughes 2016-11-15 11:52:15 UTC
Created attachment 1220820 [details]
File: storage.log

Comment 11 Tom Hughes 2016-11-15 11:52:17 UTC
Created attachment 1220821 [details]
File: ifcfg.log

Comment 12 Tom Hughes 2016-11-15 11:52:18 UTC
Created attachment 1220822 [details]
File: packaging.log

Comment 13 Tom Hughes 2016-11-16 09:13:25 UTC
So it looks like this is because both /sys/firmware/edd/int13_dev80/interface and /sys/firmware/edd/int13_dev81/interface on this machine contain:

SAS     	unknown: 4433221100000000 0

Which in turn is because edd_show_interface() in the kernel's edd module doesn't have any code to handle SAS interfaces and falls through to a default that prints "unknown" and the raw address data.

In this case they are actually SATA disks connected to a Fusion-MPT SAS2308 controller but that probably doesn't matter.

This is a regression from F24 which installed fine on the same hardware.

Comment 14 Tom Hughes 2016-11-17 10:32:08 UTC
Booting the installer with modprobe.blacklist=edd on the kernel command line will allow the F25 installer to run and avoid this bug.

Comment 15 Tom Hughes 2016-11-17 11:00:11 UTC
That was nonsense, as I was actually still booting the F24 installer...

Adding edd=off as a workaround does work however.

Comment 16 Fedora End Of Life 2017-11-16 19:35:40 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '25'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 25 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 17 Fedora End Of Life 2017-12-12 10:32:11 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.