PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001177PacketFenceerror-handlingpublic2011-02-04 14:302011-03-03 15:25
Reporterobilodeau 
Assigned Toobilodeau 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version2.1.0 
Summary0001177: editing a node that never connected to the network generates an error
DescriptionIn the web UI:

Error: Problems executing 'PFCMD node edit aa:bb:cc:dd:ee:ff computername="test", pid="PF", 
category="", status="unreg", bypass_vlan="1", voip="no", detect_date="2010-01-18 
09:43:37", regdate="2010-04-12 16:20:23", unregdate="", last_arp="", 
last_dhcp="2010-11-09 16:20:34", lastskip="", notes=""'
    /usr/local/pf/bin/flip.pl line 49 (0000001)
    /usr/local/pf/bin/flip.pl line 57 (0000002)


Here's the log trace:

Feb 04 14:19:49 pfcmd(0) INFO: pfcmd calling node_modify for 00:11:5c:d9:c6:0c (main::command_param)

Feb 04 14:19:49 pfcmd(0) INFO: VLAN isolation is enabled and node_modify is part of adjustswitchportvlanreasons 
(main::vlan_reevaluation)
Feb 04 14:19:49 pfcmd(0) INFO: 00:11:5c:d9:c6:0c is currentlog connected at 192.168.1.72 ifIndex 48 in 
VLAN VoIP (main::vlan_reevaluation)
Feb 04 14:19:50 pfcmd(0) INFO: MAC: 00:11:5c:d9:c6:0c is of status unreg; belongs into registration VLAN 
(pf::vlan::getRegistrationVlan)
Feb 04 14:19:50 pfcmd(0) INFO: calling /usr/local/pf/bin/flip.pl for node 00:11:5c:d9:c6:0c (current 
VLAN = VoIP but should be in VLAN 102) (main::vlan_reevaluation)
Feb 04 14:19:50 flip.pl(0) INFO: flip.pl called with 00:11:5c:d9:c6:0c (main::)
Feb 04 14:19:50 flip.pl(0) INFO: switch port for 00:11:5c:d9:c6:0c is 192.168.1.72 ifIndex 48 connection 
type:  (main::)
Feb 04 14:19:50 flip.pl(0) WARN: unknown connection type! Will assume wired and send a reAssignVlan trap 
(main::)
Feb 04 14:19:50 flip.pl(0) ERROR: error sending SNMP trap: INTEGER value not defined (pf::SNMP::PacketFence::sendLocalReAssignVlanTrap)



We can avoid the ERROR and produce a more relevant warning.
TagsNo tags attached.
fixed in git revision
fixed in mtn revision726b4c076e11d43d0bb47f53144ca1e5de30836a
Attached Files

- Relationships

-  Notes
(0001857)
obilodeau (reporter)
2011-02-04 15:19

- warning avoidance in flip.pl
- Added a new UNKNOWN connection type to make it's handling cleaner

- Issue History
Date Modified Username Field Change
2011-02-04 14:30 obilodeau New Issue
2011-02-04 14:30 obilodeau Status new => assigned
2011-02-04 14:30 obilodeau Assigned To => obilodeau
2011-02-04 15:19 obilodeau mtn revision => 726b4c076e11d43d0bb47f53144ca1e5de30836a
2011-02-04 15:19 obilodeau Note Added: 0001857
2011-02-04 15:19 obilodeau Status assigned => resolved
2011-02-04 15:19 obilodeau Fixed in Version => 2.0.2
2011-02-04 15:19 obilodeau Resolution open => fixed
2011-03-03 15:20 obilodeau Fixed in Version 2.0.2 => 2.1.0
2011-03-03 15:25 obilodeau Status resolved => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker