Bug 623151
Summary: | Cancel in stage 2 network enablement dialog leads to traceback | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Radek Vykydal <rvykydal> |
Component: | anaconda | Assignee: | Radek Vykydal <rvykydal> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Release Test Team <release-test-team-automation> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | CC: | anaconda-maint-list, atodorov, borgan, jonathan, notting, rvykydal, sandro, vanmeeuwen+fedora |
Target Milestone: | rc | Keywords: | RHELNAK |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | anaconda-13.21.75-1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 623017 | Environment: | |
Last Closed: | 2010-11-10 19:52:53 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: | 623017 | ||
Bug Blocks: |
Description
Radek Vykydal
2010-08-11 13:12:42 UTC
This issue has been proposed when we are only considering blocker issues in the current Red Hat Enterprise Linux release. ** If you would still like this issue considered for the current release, ask your support representative to file as a blocker on your behalf. Otherwise ask that it be considered for the next Red Hat Enterprise Linux release. ** For rhel, I want to address the two issues from original bug separately, so only the first traceback is relevant for this bug. The issue is: Selecting [Cancel] in stage 2 network enablement dialog causes traceback And this is the fix - should be safe and isolated: diff --git a/iw/network_gui.py b/iw/network_gui.py index ecd010b..4188cc5 100644 --- a/iw/network_gui.py +++ b/iw/network_gui.py @@ -185,7 +185,7 @@ def selectInstallNetDeviceDialog(network, devices = None): rc = dialog.run() if rc in [gtk.RESPONSE_CANCEL, gtk.RESPONSE_DELETE_EVENT]: - retval = None + install_device = None else: active = combo.get_active_iter() install_device = combo.get_model().get_value(active, 1) Thanks Bill, should be fixed in anaconda-13.21.75-1. Trying to reproduce this with the 0730.5 tree I did the following: 1) Start an install from http 2) After stage2 has started switch to tty2 and do - ifconfig eth0 down - rm /etc/sysconfig/network-scripts/ifcfg-eth0 3) Proceed with installation 4) Just before package selection anaconda pops up a dialog telling you that you have to activate networking and eth0 is preselected in this dialog. 5) Click Cancel on this dialog without trying to activate the network. The traceback below happens: anaconda 13.21.66 exception report Traceback (most recent call first): File "/usr/lib/anaconda/iw/network_gui.py", line 194, in selectInstallNetDeviceDialog return install_device File "/usr/lib/anaconda/gui.py", line 979, in enableNetwork nm_controlled_devices) File "/usr/lib/anaconda/yuminstall.py", line 1232, in doBackendSetup if not anaconda.intf.enableNetwork(): File "/usr/lib/anaconda/backend.py", line 285, in doBackendSetup if anaconda.backend.doBackendSetup(anaconda) == DISPATCH_BACK: File "/usr/lib/anaconda/dispatch.py", line 208, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext self.moveStep() File "/usr/lib/anaconda/gui.py", line 1426, in setScreen self.anaconda.dispatch.gotoNext() File "/usr/lib/anaconda/gui.py", line 1339, in nextClicked self.setScreen () File "/usr/lib/anaconda/gui.py", line 1476, in keyRelease self.nextClicked() UnboundLocalError: local variable 'install_device' referenced before assignment Just to clarify the traceback from comment #7 is the same as on the screenshot from the original bug report. Now trying the same steps to reproduce with the 0818.0 tree I got the network activation dialog again. After clicking Cancel there's an error dialog: Some of your repositories require networking, but there was an error enabling the network on your system. Exit Installer Moving to VERIFIED. Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |