Bug 80712
| Summary: | neat many different crashes after incorrect set-up | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Public Beta | Reporter: | Paul Jenner <psj> |
| Component: | redhat-config-network | Assignee: | Harald Hoyer <harald> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | phoebe | CC: | wtogami |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2003-02-20 20:12:09 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: | 79578, 81720 | ||
My apologies for missing this initially - crash 2 is a dup of bug 80355. Crash 1 and the reproducible crash 3 are still unique to this bug report though. 1) cannot reproduce.. I will try again later 2) and 3) will be fixed with version >= 1.1.87 I will await version 1.1.87, re-install phoebe and see if I can reproduce 1 on a clean system. new packages to test available at: ftp://people.redhat.com/harald/redhat-config-network/1.1.87-1/ ftp://people.redhat.com/harald/rhpl/0.74-2/ With test packages, neat now crashes on startup with:
Component: redhat-config-network
Version: 1.1.87
Summary: TB
/usr/sbin/../share/redhat-config-network/netconfpkg/NCHardwareFactory.py:41:getHardwareClass:NameError:
global name 's' is not defined
Traceback (most recent call last):
File "/usr/sbin/neat", line 155, in ?
window = mainDialog()
File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 155, in __init__
self.load()
File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 225, in load
self.loadHardware()
File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 236, in loadHardware
hardwarelist = getHardwareList()
File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCHardwareList.py",
line 389, in getHardwareList
HWList.load()
File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCHardwareList.py",
line 202, in load
i = self.addHardware(type)
File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCHardwareList.py",
line 134, in addHardware
hwc = hwf.getHardwareClass(type)
File
"/usr/sbin/../share/redhat-config-network/netconfpkg/NCHardwareFactory.py", line
41, in getHardwareClass
print "Error: %s not in HardwareFactory!" %s
NameError: global name 's' is not defined
Works without problem under Phoebe beta 3 (redhat-config-network-tui-1.1.97-1). For reference, as before: * installed * ran neat * configured airo as eth1 static * configured 3c503 as eth0 DHCP but not at boot * tried to activate eth1 and it complained that eth1 was not available (the module was loaded as eth0) * rebooted and all worked |
From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20021216 Description of problem: I launched neat to set-up my network devices - airo on eth1, static IP on boot and 3c503 on eth0, not configured. I added both hardware devices in the order above and then added a network profile for the airo. At this point things went wrong and neat started to crash. I believe all the following crashes are due to me configuring eth1 before eth0. Although I specified eth1 for the first device and this got set-up correctly in modules.conf, the kernel loaded the driver and assigned the device eth0 (since it was the first ethernet device seen). Since I have no network config for eth0, when the network scripts set-up what they think is eth1 on boot, the kernel again loads the first network driver it sees and assigns it eth0. Crash outputs follow: 1) initial crash (I think when removing eth0 device to try to fix the issue above): Component: redhat-config-network Version: 1.1.86 Summary: TB /usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py:1386:on_hardwareDeleteButton_clicked: IndexError: list index out of range Traceback (most recent call last): File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py", line 539, in on_deleteButton_clicked self.deleteButtonFunc[self.active_page](button) File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py", line 1386, in on_hardwareDeleteButton_clicked page = clist.selection[0]) IndexError: list index out of range Local variables in innermost frame: buttons: -8 clist: <gtk.CList object (GtkCList) at 0x85cd0fc> description: 3Com EtherLink II type: Ethernet self: <netconfpkg.gui.maindialog.mainDialog instance at 0x854bad4> args: (<gtk.Button object (GtkButton) at 0x85c8cf4>,) hardwarelist: [] hw: <netconfpkg.NCHWEthernet.HwEthernet instance at 0x866989c> dev: eth1 2) subsequent crash (I believe when activating eth1 after removal of eth0 above failed): Component: redhat-config-network Version: 1.1.86 Summary: TB /usr/lib/python2.2/site-packages/rhpl/executil.py:216:gtkExecWithCaptureStatus: TypeError: len() of unsized object Traceback (most recent call last): File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py", line 734, in on_deviceActivateButton_clicked (status, txt) = intf.activate(device) File "/usr/sbin/../share/redhat-config-network/netconfpkg/Control.py", line 107, in activate return gtkExecWithCaptureStatus(command, [command, device]) File "/usr/lib/python2.2/site-packages/rhpl/executil.py", line 216, in gtkExecWithCaptureStatus if len(catchfd): TypeError: len() of unsized object Local variables in innermost frame: gtk: <module 'gtk' from '/usr/lib/python2.2/site-packages/gtk-2.0/gtk/__init__.pyc'> catchfd: 1 searchPath: 0 read: 13 stdin: 0 argv: ['/sbin/ifup', 'eth1'] write: 14 command: /sbin/ifup closefd: -1 root: / childpid: 0 3) repeated crash every time neat is invoked now - before GUI appears: Component: redhat-config-network Version: 1.1.86 Summary: TB /usr/sbin/../share/redhat-config-network/netconfpkg/NCDevWireless.py:32:load: NameError: global name 'ConfDevice' is not defined Traceback (most recent call last): File "/usr/sbin/neat", line 98, in ? window = mainDialog() File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py", line 154, in __init__ self.load() File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py", line 226, in load self.loadDevices() File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py", line 233, in loadDevices devicelist = getDeviceList() File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCDeviceList.py", line 163, in getDeviceList DVList.load() File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCDeviceList.py", line 70, in load newdev.load(dev) File "/usr/sbin/../share/redhat-config-network/netconfpkg/NCDevWireless.py", line 32, in load conf = ConfDevice(name) NameError: global name 'ConfDevice' is not defined Local variables in innermost frame: self: <netconfpkg.NCDevWireless.DevWireless instance at 0x827e3b4> name: eth1 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: I cannot reproduce the initial behaviour as I can no longer start neat successfully. The latest crash is easily reproducable though: 1. run "neat" as root Additional info: Opened as high since neat is now unusable.