Bug 2238045 - kickstart install of rawhide fails with pyanaconda.modules.common.errors.general.UnavailableValueError: The kernel version list is not available.
Summary: kickstart install of rawhide fails with pyanaconda.modules.common.errors.gene...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 40
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: anaconda-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2264240 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-08 18:21 UTC by Orion Poplawski
Modified: 2024-10-15 00:41 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-09-05 13:21:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
anaconda logs (93.07 KB, application/x-xz)
2023-09-25 17:18 UTC, Orion Poplawski
no flags Details

Description Orion Poplawski 2023-09-08 18:21:29 UTC
anaconda 40.3 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 509, in _handle_method_error
    raise exception from None
  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 483, in _get_method_reply
    return self._handle_method_error(error)
  File "/usr/lib/python3.12/site-packages/dasbus/client/handler.py", line 450, in _call_method
    return self._get_method_reply(
  File "/usr/lib64/python3.12/site-packages/pyanaconda/payload/migrated.py", line 62, in kernel_version_list
    return self.service_proxy.GetKernelVersionList()
  File "/usr/lib64/python3.12/site-packages/pyanaconda/installation.py", line 421, in run_configure_bootloader
    payload.kernel_version_list
...
pyanaconda.modules.common.errors.general.UnavailableValueError: The kernel version list is not available.



Reproducible: Always

Comment 1 Vladimír Slávik 2023-09-19 14:27:40 UTC
Please, attach all files with installation logs, especially the files named journal.log and syslog. You can find them during the installation in /tmp or on the installed system in /var/log/anaconda/.

Comment 2 Orion Poplawski 2023-09-25 17:18:12 UTC
Created attachment 1990479 [details]
anaconda logs

Here are the logs

Comment 3 Aoife Moloney 2024-02-15 22:57:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 4 Orion Poplawski 2024-02-22 21:31:22 UTC
I'm still seeing this with latest rawhide.  Somebody reached out to me by email to see if I had a fix for it, so at least one other person is hitting it.

Comment 5 Orion Poplawski 2024-02-22 21:40:53 UTC
I wonder if I hit this because I'm specifying missing packages in my kickstart package list?

Comment 6 Orion Poplawski 2024-02-22 22:03:32 UTC
Yes, if I reduce the package set to remove the missing packages so that anaconda does not prompt me about them, it proceeds to the install step.  So it seems like the handling of missing packages is broken now.

Comment 7 W. Michael Petullo 2024-02-22 23:08:14 UTC
*** Bug 2264240 has been marked as a duplicate of this bug. ***

Comment 8 Orion Poplawski 2024-08-13 19:16:28 UTC
Any chance we could get this fixed?  It's a pretty annoying bug especially when trying to deploy new versions of the OS.

Comment 9 Jiri Konecny 2024-09-05 13:21:51 UTC
Hi Orion, if you have kickstart with the %packages section where some packages are expected to be missing, you should use ``%packages --ignoremissing`` parameter which will explicitly tell Anaconda to skip these missing packages.

https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#chapter-9-package-selection


Traceback you are seeing is not correct, we already know about this issue that broken package set is raising different error than it should.

Anyway, the proposal should solve your issue, so I'm closing this bug. If your problem persist even after using the ``--ignoremissing`` parameter feel free to reopen the bug.

Comment 10 Martin Kolman 2024-10-15 00:41:17 UTC
(In reply to Orion Poplawski from comment #8)
> Any chance we could get this fixed?  It's a pretty annoying bug especially
> when trying to deploy new versions of the OS.

I've opened a PR that should fix the crash on interactive continue: https://github.com/rhinstaller/anaconda/pull/5937


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