Send Netdot-devel mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://osl.uoregon.edu/mailman/listinfo/netdot-devel
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-devel digest..."


Today's Topics:

   1. [Netdot - Bug #1651] (New) Can't insert interface
      ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Mon, 2 Jul 2012 05:02:57 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1651] (New) Can't insert
        interface
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1651 has been reported by Alexandros Tsourakis.

----------------------------------------
Bug #1651: Can't insert interface 
https://osl.uoregon.edu/redmine/issues/1651

Author: Alexandros Tsourakis
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 
Resolution: 


Hi,

Since upgrading to 1.0.1-RC2 I get these errors on some Cisco devices:

ERROR: Transaction aborted: Error while inserting Interface: Some fields cannot 
be null

Error details: Can't insert new Interface: DBD::mysql::st execute failed: 
Column 'physaddr' cannot be null [for Statement "INSERT INTO interface 
(monitored, number, oper_status, dp_remote_type, ignore_ip, 
bpdu_filter_enabled, physaddr, speed, neighbor_missed, root_guard_enabled, 
bpdu_guard_enabled, admin_status, auto_dns, loop_guard_enabled, neighbor_fixed, 
dp_remote_id, name, snmp_managed, device, description, monitorstatus, 
dp_remote_ip, doc_status, overwrite_descr, type, dp_remote_port)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 
?, ?)
" with ParamValues: 0=0, 1='10501', 2='up', 3=undef, 4=0, 5=0, 6=undef, 
7=10000000000, 8=0, 9=0, 10=0, 11='up', 12='1', 13=0, 14=0, 15=undef, 16='Nu0', 
17=1, 18='416', 19=undef, 20='3', 21=undef, 22='snmp', 23=1, 24='other', 
25=undef] at /usr/share/perl5/DBIx/ContextualFetch.pm line 52.
 at /usr/local/netdot/lib/Netdot/Model/Device.pm line 5591.


>From what i've noticed, these are produced for non 'standard' interfaces like 
>Null0 for example.

If I manually add an interface with the same number (in this example 10501) and 
then rescan the device it completes just fine and ignores the fact that it 
can't get a 'physaddr' for this interface.

Cheers, Alex.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://osl.uoregon.edu/redmine/my/account


------------------------------

_______________________________________________
Netdot-devel mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-devel


End of Netdot-devel Digest, Vol 64, Issue 1
*******************************************

Reply via email to