Bug 2134889

Summary: [RHEL-9] KeyError: "Can't run multiple input threads at the same time - python-simpleline part
Product: Red Hat Enterprise Linux 9 Reporter: Jan Stodola <jstodola>
Component: python-simplelineAssignee: Jiri Konecny <jkonecny>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.0CC: jikortus
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: python-simpleline-1.8.3-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2070920 Environment:
Last Closed: 2023-05-09 07:37:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2070920    

Description Jan Stodola 2022-10-14 15:01:42 UTC
Change in python-simpleline is needed as well.


+++ This bug was initially created as a clone of Bug #2070920 +++

1. Start Installation 
2. choose text to proceed with install
 Error

There is a problem with your existing storage configuration: multiple LVM volume
groups with the same name (rhel_xyz)

You must resolve this matter before the installation can proceed. There is a
shell available for use which you can access by pressing ctrl-alt-f1 and then
ctrl-b 2.

Once you have resolved the issue you can retry the storage scan. If you do not
fix it you will have to exit the installer.

Rename one of the volume groups so the names are distinct.
Hint 1: vgrename accepts UUID in place of the old name.
Hint 2: You can get the VG UUIDs by running 'pvs -o +vg_uuid'.


An unknown error has occured, look at the /tmp/anaconda-tb* file(s) for more details


e 163, in get_input
    self._invoke_input_thread(prompt)
  File "/usr/lib/python3.6/site-packages/simpleline/render/screen/input_manager.py", line 105, in get_input
    handler.get_input(prompt)
  File "/usr/lib/python3.6/site-packages/simpleline/render/screen/__init__.py", line 285, in get_input_with_error_check
    self._input_manager.get_input(args=args)
  File "/usr/lib/python3.6/site-packages/simpleline/render/screen_scheduler.py", line 245, in _process_screen
    top_screen.ui_screen.get_input_with_error_check(top_screen.args)
KeyError: "Can't run multiple input threads at the same time!\nAsking for input:\nInput handler: <simpleline.input.input_handler.InputHandler object at 0x7fff72c204a8> Input requester: SummaryHub\nInput handler: <simpleline.input.input_handler.InputHandler object at 0x7fff72b3af60> Input requester: IpmiErrorDialog\n"



--- Additional comment from Vendula Poncova on 2021-10-07 14:36:11 CEST ---

Fixed in upstream. See:

* https://github.com/rhinstaller/anaconda/pull/3641
* https://github.com/rhinstaller/python-simpleline/pull/111

Comment 2 Jiri Konecny 2022-10-26 09:27:57 UTC
PR: https://github.com/rhinstaller/python-simpleline/pull/124

Comment 3 Jan Stodola 2022-11-15 15:11:40 UTC
Tested with python-simpleline-1.8.3-1.el9, no regression has been discovered.
Additional testing will be done in bug 2070920.

Marking as Verified:Tested

Comment 8 errata-xmlrpc 2023-05-09 07:37:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (python-simpleline bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2243