Bug 1917797

Summary: anaconda crash in opening ntp settings dialog with unreachable IP and/or DNS settings
Product: Red Hat Enterprise Linux 8 Reporter: Takahiro HASHIMOTO <thashimo>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, carl, jstodola, jwboyer
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-23 10:17:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot of anaconda crash dialog
none
python stacktrace in /tmp/anaconda.log none

Description Takahiro HASHIMOTO 2021-01-19 11:57:39 UTC
Description of problem:

Anaconda GUI installation crashes when ntp setting dialog is opened with incorrect IP and DNS server settings.

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

CentOS Stream 8 

How reproducible:

Almost always (occurred 3 times in 4 attempts in my environment)

Steps to Reproduce:
1.  Boot with CentOS Stream 8 install ISO and launch anaconda GUI installer
2.  Click "System->Network & Host Name" button to open network settings pane
3.  Enable and set options of  the Ethernet  adapter which is used to communicate with ntp server as following
  a. IPv4 settings :  set to manual, configure a IP address and incorrect gateway address(not gateway)
  b. Additional DNS servers:  set DNS server address which cannot be reachable or incorrect(not DNS server) 
  c. (optional) disable IPv6 
4. Push "Done" button to exit Network settings
5.  Push "Localization-> Time & Date" button to open time and date settings pane
6.  Confirm the caution in the bottom of screen with the message "You have no working NTP server configured"
7.  Click  the "gear" icon button on the upper-right of screen to open NTP server configuration and wait for some seconds(about 10-20)
8. Confirm anaconda is crashed with the dialog "An unknown error has occurred

Actual results:

Anaconda installer is crashed.

Expected results:

Anaconda installer worked fine, ntp dialog can be modified.

Additional info:

I've attached two screenshots.

1. anaconda GUI screenshot with error
2. python stacktrace in /tmp/anaconda.log screenshot

When the dialog is opened, some multiple threads seems to be invoked which check if the ntp servers in the model(list) is working or not. The error seems to be occurred in handling the threads.

Comment 1 Takahiro HASHIMOTO 2021-01-19 11:58:51 UTC
Created attachment 1748704 [details]
screenshot of anaconda crash dialog

Comment 2 Takahiro HASHIMOTO 2021-01-19 11:59:29 UTC
Created attachment 1748705 [details]
python stacktrace in /tmp/anaconda.log

Comment 3 Takahiro HASHIMOTO 2021-01-19 12:00:42 UTC
I've confirmed that this issue is also occurred on the RHEL 8.3 installer.

Comment 4 Jan Stodola 2021-03-17 15:49:38 UTC
See also bug 1938168 - most probably the same problem.

Comment 5 Jan Stodola 2021-03-23 10:17:36 UTC
This problem will be fixed in bug 1938168, so I'm closing this one as a duplicate.

*** This bug has been marked as a duplicate of bug 1938168 ***