Bug 1582025 - install failed on nvme SSD disk
Summary: install failed on nvme SSD disk
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 28
Hardware: aarch64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Blivet Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-24 01:41 UTC by linwenkai
Modified: 2019-05-28 21:52 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-28 21:52:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
SMMU is enabled,install successfully (492.02 KB, text/plain)
2018-05-24 01:41 UTC, linwenkai
no flags Details
SMMU is disabled,install failed (271.90 KB, text/plain)
2018-05-24 01:43 UTC, linwenkai
no flags Details

Description linwenkai 2018-05-24 01:41:09 UTC
Created attachment 1440913 [details]
SMMU is enabled,install successfully

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.get an Fedora DVD ISO
2.load ISO and reboot,then install it
3.do step 1,2 SMMU disabled and enabled condition

Actual results:
install exit

Expected results:


Additional info:
  File "/sbin/anaconda", line 655, in <module>
    matched = device_matches("LABEL=OEMDRV", disks_only=True)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage_utils.py", line 893, in device_matches
    single_spec_matches = udev.resolve_glob(full_spec)
  File "/usr/lib/python3.6/site-packages/blivet/udev.py", line 159, in resolve_glob
    if fnmatch.fnmatch(name, glob) or fnmatch.fnmatch(path, glob):
  File "/usr/lib64/python3.6/fnmatch.py", line 34, in fnmatch
    name = os.path.normcase(name)
  File "/usr/lib64/python3.6/posixpath.py", line 52, in normcase
    s = os.fspath(s)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Comment 1 linwenkai 2018-05-24 01:43:09 UTC
Created attachment 1440915 [details]
SMMU is disabled,install failed

Starting installer, one moment...
anaconda 26.21.11-1 for Fedora 26 started.
 * installation log files are stored in /tmp during the installation
 * shell is available on TTY2
 * if the graphical installation interface fails to start, try again with the
   inst.text bootoption to start text installation
 * when reporting a bug add logs from /tmp as separate text/plain attachments
Traceback (most recent call last):
  File "/sbin/anaconda", line 486, in <module>
    ksdata = startup_utils.parse_kickstart(opts, addon_paths)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/startup_utils.py", line 447, in parse_kickstart
    ksdata = kickstart.parseKickstart(ks, options.ksstrict)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 2329, in parseKickstart
    ksparser.readKickstart(f)
  File "/usr/lib/python3.6/site-packages/pykickstart/parser.py", line 801, in readKickstart
    self.readKickstartFromString(s, reset=False)
  File "/usr/lib/python3.6/site-packages/pykickstart/parser.py", line 774, in readKickstartFromString
    self._stateMachine (i)
  File "/usr/lib/python3.6/site-packages/pykickstart/parser.py", line 757, in _stateMachine
    self._tryFunc(lambda: self.handleCommand(lineno, args))
  File "/usr/lib/python3.6/site-packages/pykickstart/parser.py", line 669, in _tryFunc
    fn()
  File "/usr/lib/python3.6/site-packages/pykickstart/parser.py", line 757, in <lambda>
    self._tryFunc(lambda: self.handleCommand(lineno, args))
  File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 2266,     return KickstartParser.handleCommand(self, lineno, args)
  File "/usr/lib/python3.6/site-packages/pykickstart/parser.py", line 560, in handleCommand
    retval = self.handler.dispatcher(args, lineno)
  File "/usr/lib/python3.6/site-packages/pykickstart/base.py", line 448, in dispatcher
    obj = self.commands[cmd].parse(args[1:])
  File "/usr/lib64/python3.6/site-packages/pyanaconda/kickstart.py", line 789, in parse
    matched = device_matches(spec, disks_only=True)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage_utils.py", line 893, in device_matches
    single_spec_matches = udev.resolve_glob(full_spec)
  File "/usr/lib/python3.6/site-packages/blivet/udev.py", line 159, in resolve_glob
    if fnmatch.fnmatch(name, glob) or fnmatch.fnmatch(path, glob):
  File "/usr/lib64/python3.6/fnmatch.py", line 34, in fnmatch
    name = os.path.normcase(name)
  File "/usr/lib64/python3.6/posixpath.py", line 52, in normcase
    s = os.fspath(s)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Comment 2 Vendula Poncova 2018-05-24 10:18:27 UTC
Hi, are you able to reproduce the problem with Fedora 28?

Comment 3 linwenkai 2018-05-25 06:20:31 UTC
(In reply to Vendula Poncova from comment #2)
> Hi, are you able to reproduce the problem with Fedora 28?

Hi,I still got this problem when Using Fedora-Server-netinst-aarch64-28-1.1.iso

Comment 4 Vendula Poncova 2018-05-28 08:16:49 UTC
It seems to be an issue with the resolve_glob method from blivet. Reassigning.

Comment 5 Fedora End Of Life 2018-05-29 12:37:24 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
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.

Comment 6 linwenkai 2018-06-13 03:53:47 UTC
it can be reproduced on Fedora 28.

Comment 7 linwenkai 2018-07-18 07:35:06 UTC
When use an sata disk it can install successfully.
But when using an es3000 SSD disk, it will failed with log[1].

Do some pdb debug, here are some findings:
it failed because the udev entryof ssd disk is lacking of 'DEVNAME' part.




[1]

Additional info:
  File "/sbin/anaconda", line 655, in <module>
    matched = device_matches("LABEL=OEMDRV", disks_only=True)
  File "/usr/lib64/python3.6/site-packages/pyanaconda/storage_utils.py", line 893, in device_matches
    single_spec_matches = udev.resolve_glob(full_spec)
  File "/usr/lib/python3.6/site-packages/blivet/udev.py", line 159, in resolve_glob
    if fnmatch.fnmatch(name, glob) or fnmatch.fnmatch(path, glob):
  File "/usr/lib64/python3.6/fnmatch.py", line 34, in fnmatch
    name = os.path.normcase(name)
  File "/usr/lib64/python3.6/posixpath.py", line 52, in normcase
    s = os.fspath(s)
TypeError: expected str, bytes or os.PathLike object, not NoneType

Comment 8 Ben Cotton 2019-05-02 19:23:10 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. 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 '28'.

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 28 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 9 Ben Cotton 2019-05-02 21:18:18 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. 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 '28'.

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 28 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 10 Ben Cotton 2019-05-28 21:52:33 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 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.


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