PacketFence - BTS - PacketFence | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000859 | PacketFence | error-handling | public | 2009-11-25 14:33 | 2011-05-04 11:51 |
Reporter | obilodeau | ||||
Assigned To | obilodeau | ||||
Priority | low | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | 1.8.5 | |||
fixed in git revision | |||||
fixed in mtn revision | 5815165026bd8d612710cba3cb088b9d3c931e80 | ||||
Summary | 0000859: error handling: thread failed to start: Can't call method "getSecureMacAddresses" without a package or object | ||||
Description | If a switch in production is deleted, further node activity on another switch will result in a thread crash. Here's the error message: Nov 25 14:04:18 pfsetvlan(7): ERROR ! Unknown switch 10.128.16.230 (pf::SwitchFactory::instantiate) Argument "" isn't numeric in numeric eq (==) at /usr/local/pf/lib/pf/SNMP.pm line 389 (0000001) (W numeric) The indicated string was fed as an argument to an operator that expected a numeric value instead. If you're fortunate the message will identify which operator was so unfortunate. thread failed to start: Can't call method "getSecureMacAddresses" without a package or object reference at /usr/local/pf//sbin/pfsetvlan line 1449 (0000002) (W threads)(S) The entry point function of threads->create() failed for some reason. The problem is that we try to instantiate a switch that doesn't exist anymore only to close its locationlog entry (and set port security to a fake MAC or dissassociate or change VLAN..). To fix: - write test case to reproduce bug (grow our regression test suite) - fix crasher: if switch doesn't exist close locationlog entry - 'pfcmd switchconfig delete <IP>' should close all open locationlog entries for the deleted switch | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-11-25 14:33 | obilodeau | New Issue | |||
2009-11-25 14:33 | obilodeau | Status | new => assigned | ||
2009-11-25 14:33 | obilodeau | Assigned To | => obilodeau | ||
2009-11-25 14:33 | obilodeau | Priority | normal => high | ||
2009-11-25 14:33 | obilodeau | Severity | minor => major | ||
2010-05-05 12:38 | obilodeau | Note Added: 0001549 | |||
2010-05-05 12:38 | obilodeau | Priority | high => low | ||
2010-05-05 12:38 | obilodeau | Category | 1.8.5 => error-handling | ||
2011-01-18 10:03 | obilodeau | Target Version | => 2.0.1 | ||
2011-01-26 15:30 | obilodeau | Target Version | 2.0.1 => 2.0.2 | ||
2011-02-24 15:22 | obilodeau | mtn revision | => 5815165026bd8d612710cba3cb088b9d3c931e80 | ||
2011-02-24 15:22 | obilodeau | Note Added: 0001880 | |||
2011-02-24 15:22 | obilodeau | Status | assigned => resolved | ||
2011-02-24 15:22 | obilodeau | Fixed in Version | => 1.8.5 | ||
2011-02-24 15:22 | obilodeau | Resolution | open => fixed | ||
2011-05-04 11:51 | obilodeau | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|