Description of problem:
Anaconda installer breaks using the latest python3-blivet package
Version-Release number of selected component (if applicable):
Python 3.6.2 (default, Sep 22 2017, 08:28:09)
[GCC 7.2.1 20170915 (Red Hat 7.2.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import blivet
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.6/site-packages/blivet/__init__.py", line 127, in enable_installer_mode
from pyanaconda.anaconda_logging import program_log_lock
ModuleNotFoundError: No module named 'pyanaconda.anaconda_logging'
It seems as though blivet was updated to use a newer version of anaconda. The current version, 26.21.12 has an anaconda_log.py module. There is no anaconda_logging module.
Vojta, maybe we need a downstream patch reverting the following change?
- Adapt to logging module name change (mkolman)
We are probably not going to get a new release of the anaconda package(s).
(In reply to Chad from comment #0)
> Description of problem:
> Anaconda installer breaks using the latest python3-blivet package
> Version-Release number of selected component (if applicable):
> How reproducible:
> $ python3
> Python 3.6.2 (default, Sep 22 2017, 08:28:09)
> [GCC 7.2.1 20170915 (Red Hat 7.2.1-2)] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import blivet
> >>> blivet.enable_installer_mode()
Just out of curiosity, why do you need to enable the installer mode, Chad?
I created a boot ISO via lorax. It pulls in the latest packages when creating the ISO image. I discovered when trying to use the boot ISO created by lorax. I verified the issue using command-line python.
python-blivet-2.1.11-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-1fe6841db8
*** Bug 1497796 has been marked as a duplicate of this bug. ***
The updated package resolves the issue. Created a boot ISO using lorax with the updated python-blivet package installed. The anaconda installer on the newly created boot ISO works as expected.
python-blivet-2.1.11-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.