Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1642857 - anaconda shows a logging error
Summary: anaconda shows a logging error
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 29
Hardware: s390x
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Vendula Poncova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2018-10-25 08:41 UTC by Dan Horák
Modified: 2019-11-27 20:32 UTC (History)
9 users (show)

Fixed In Version: anaconda-30.14-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-27 20:32:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
anaconda.log (33.54 KB, text/plain)
2018-10-25 10:02 UTC, Dan Horák
no flags Details
dbus.log (2.93 KB, text/plain)
2018-10-25 10:02 UTC, Dan Horák
no flags Details
dnf.librepo.log (439.65 KB, text/plain)
2018-10-25 10:02 UTC, Dan Horák
no flags Details
hawkey.log (2.46 KB, text/plain)
2018-10-25 10:02 UTC, Dan Horák
no flags Details
ifcfg.log (1.92 KB, text/plain)
2018-10-25 10:02 UTC, Dan Horák
no flags Details
lvm.log (1.02 MB, text/plain)
2018-10-25 10:02 UTC, Dan Horák
no flags Details
packaging.log (124.93 KB, text/plain)
2018-10-25 10:03 UTC, Dan Horák
no flags Details
program.log (81.10 KB, text/plain)
2018-10-25 10:03 UTC, Dan Horák
no flags Details
storage.log (335.90 KB, text/plain)
2018-10-25 10:03 UTC, Dan Horák
no flags Details

Description Dan Horák 2018-10-25 08:41:07 UTC
Description of problem:
During a F-29 installation on s390x I see these (harmless) errors

...
08:27:59,093 INFO anaconda:--- Logging error ---
08:27:59,093 INFO anaconda:Traceback (most recent call last):
08:27:59,093 INFO anaconda:  File "/usr/lib64/python3.7/logging/__init__.py", line 985, in emit
08:27:59,093 INFO anaconda:    stream.write(msg)
08:27:59,093 INFO anaconda:  File "/usr/lib64/python3.7/site-packages/pyanaconda/anaconda_logging.py", line 120, in write
08:27:59,093 INFO anaconda:    stream.write(*args, **kwargs)
08:27:59,093 INFO anaconda:ValueError: underlying buffer has been detached
08:27:59,093 INFO anaconda:Call stack:
08:27:59,093 INFO anaconda:  File "/usr/sbin/anaconda", line 642, in <module>
08:27:59,093 INFO anaconda:    display.setup_display(anaconda, opts, addon_paths=addon_paths)
08:27:59,093 INFO anaconda:  File "/usr/lib64/python3.7/site-packages/pyanaconda/display.py", line 273, in setup_display
08:27:59,093 INFO anaconda:    stdout_log.warning(error_message)
08:27:59,093 INFO anaconda:  File "/usr/lib64/python3.7/logging/__init__.py", line 1344, in warning
08:27:59,093 INFO anaconda:    self._log(WARNING, msg, args, **kwargs)
08:27:59,093 INFO anaconda:  File "/usr/lib64/python3.7/logging/__init__.py", line 1468, in _log
08:27:59,093 INFO anaconda:    self.handle(record)
08:27:59,093 INFO anaconda:  File "/usr/lib64/python3.7/logging/__init__.py", line 1478, in handle
08:27:59,093 INFO anaconda:    self.callHandlers(record)
08:27:59,093 INFO anaconda:  File "/usr/lib64/python3.7/logging/__init__.py", line 1540, in callHandlers
08:27:59,093 INFO anaconda:    hdlr.handle(record)
08:27:59,093 INFO anaconda:  File "/usr/lib64/python3.7/site-packages/pyanaconda/anaconda_logging.py", line 101, in handle
08:27:59,093 INFO anaconda:    self.emit(record)       # pylint: disable=no-member
08:27:59,093 INFO anaconda:Message: 'Not asking for VNC because of an automated install'
08:27:59,093 INFO anaconda:Arguments: ()
08:27:59,093 INFO anaconda:--- Logging error ---
08:27:59,093 INFO anaconda:Traceback (most recent call last):
08:27:59,093 INFO anaconda:  File "/usr/lib64/python3.7/logging/__init__.py", line 985, in emit
08:27:59,093 INFO anaconda:    stream.write(msg)
08:27:59,093 INFO anaconda:  File "/usr/lib64/python3.7/site-packages/pyanaconda/anaconda_logging.py", line 120, in write
08:27:59,093 INFO anaconda:    stream.write(*args, **kwargs)
08:27:59,093 INFO anaconda:ValueError: underlying buffer has been detached
08:27:59,093 INFO anaconda:Call stack:
08:27:59,093 INFO anaconda:  File "/usr/sbin/anaconda", line 642, in <module>
08:27:59,093 INFO anaconda:    display.setup_display(anaconda, opts, addon_paths=addon_paths)
08:27:59,093 INFO anaconda:  File "/usr/lib64/python3.7/site-packages/pyanaconda/display.py", line 273, in setup_display
08:27:59,093 INFO anaconda:    stdout_log.warning(error_message)
08:27:59,093 INFO anaconda:  File "/usr/lib64/python3.7/logging/__init__.py", line 1344, in warning
08:27:59,093 INFO anaconda:    self._log(WARNING, msg, args, **kwargs)
08:27:59,093 INFO anaconda:  File "/usr/lib64/python3.7/logging/__init__.py", line 1468, in _log
08:27:59,093 INFO anaconda:    self.handle(record)
08:27:59,095 INFO anaconda:  File "/usr/lib64/python3.7/logging/__init__.py", line 1478, in handle
08:27:59,095 INFO anaconda:    self.callHandlers(record)
08:27:59,095 INFO anaconda:  File "/usr/lib64/python3.7/logging/__init__.py", line 1540, in callHandlers
08:27:59,095 INFO anaconda:    hdlr.handle(record)
08:27:59,095 INFO anaconda:  File "/usr/lib64/python3.7/site-packages/pyanaconda/anaconda_logging.py", line 101, in handle
08:27:59,095 INFO anaconda:    self.emit(record)       # pylint: disable=no-member
08:27:59,095 INFO anaconda:Message: 'Not asking for VNC because text mode was explicitly asked for in kickstart'
08:27:59,095 INFO anaconda:Arguments: ()
...

Looks to me it's related to the "VNC" messages after seeing the error multiple times.


Version-Release number of selected component (if applicable):
anaconda 29.24.7-1.fc29

How reproducible:
100%

Comment 1 Vendula Poncova 2018-10-25 09:46:33 UTC
Please, attach files /tmp/*log with Anaconda logs

Comment 2 Dan Horák 2018-10-25 10:02:22 UTC
Created attachment 1497378 [details]
anaconda.log

Comment 3 Dan Horák 2018-10-25 10:02:28 UTC
Created attachment 1497379 [details]
dbus.log

Comment 4 Dan Horák 2018-10-25 10:02:38 UTC
Created attachment 1497380 [details]
dnf.librepo.log

Comment 5 Dan Horák 2018-10-25 10:02:44 UTC
Created attachment 1497381 [details]
hawkey.log

Comment 6 Dan Horák 2018-10-25 10:02:49 UTC
Created attachment 1497382 [details]
ifcfg.log

Comment 7 Dan Horák 2018-10-25 10:02:59 UTC
Created attachment 1497383 [details]
lvm.log

Comment 8 Dan Horák 2018-10-25 10:03:06 UTC
Created attachment 1497384 [details]
packaging.log

Comment 9 Dan Horák 2018-10-25 10:03:13 UTC
Created attachment 1497385 [details]
program.log

Comment 10 Dan Horák 2018-10-25 10:03:20 UTC
Created attachment 1497386 [details]
storage.log

Comment 11 Vendula Poncova 2018-12-17 12:19:51 UTC
Fixed in the pull request: https://github.com/rhinstaller/anaconda/pull/1737

Comment 12 Ben Cotton 2019-10-31 20:14:26 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
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 '29'.

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 29 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 13 Ben Cotton 2019-11-27 20:32:17 UTC
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 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.