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 #1867] (New) Discover Device of new devices
      failed ([email protected])


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

Message: 1
Date: Thu, 25 Jun 2015 02:32:52 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1867] (New) Discover Device of
        new     devices failed
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1867 has been reported by Daniel S..

----------------------------------------
Bug #1867: Discover Device of new devices failed
https://osl.uoregon.edu/redmine/issues/1867

Author: Daniel S.
Status: New
Priority: Normal
Assignee: 
Category: DeviceManagement
Target version: 1.0.7
Resolution: 


New (v.1.0.7) install - discovery of devices (Management/Devices/New/Discover 
Device) will fail until a new device is first created manually 
(Management/Devices/New/Add Device manually), then the discovery will succeed.

updatedevice.html produced the following error:


RR can't SELECT id, zone, name
FROM   rr
WHERE  name = ? AND zone = ?
: DBD::Pg::st execute failed: ERROR:  invalid input syntax for integer: 
"acme.com" [for Statement "SELECT id, zone, name
FROM   rr
WHERE  name = ? AND zone = ?
" with ParamValues: 1='switch1.network', 2='acme.com'] at 
/usr/share/perl5/DBIx/ContextualFetch.pm line 52,  line 5736.

Stack:
  [/usr/share/perl5/DBIx/ContextualFetch.pm:52]
  [/usr/share/perl5/DBIx/ContextualFetch.pm:32]
  [/usr/share/perl5/Class/DBI.pm:1139]
  [/usr/share/perl5/Class/DBI/Search/Basic.pm:169]
  [/usr/share/perl5/Class/DBI.pm:1094]
  [/usr/local/netdot/lib/Netdot/Model/RR.pm:63]
  [/usr/share/perl5/Class/DBI.pm:424]
  [/usr/local/netdot/lib/Netdot/Model/Device.pm:514]
  [/usr/local/netdot/lib/Netdot/Model/Device.pm:1520]
  [/usr/local/netdot/htdocs/management/updatedevice.html:257]
  [/usr/local/netdot/htdocs/management/autohandler:81]
  [/usr/share/perl5/HTML/Mason/Request.pm:948]
  
[/usr/local/netdot/htdocs/masondata/obj/1249759374/management/autohandler.obj:21]
  [/usr/local/netdot/htdocs/autohandler:76]
 at /usr/share/perl5/Class/DBI/Search/Basic.pm line 169

Stack:
  [/usr/share/perl/5.14/Carp.pm:79]
  [/usr/share/perl5/Class/DBI.pm:169]
  [/usr/share/perl5/Class/DBI.pm:1143]
  [/usr/share/perl5/Class/DBI/Search/Basic.pm:169]
  [/usr/share/perl5/Class/DBI.pm:1094]
  [/usr/local/netdot/lib/Netdot/Model/RR.pm:63]
  [/usr/share/perl5/Class/DBI.pm:424]
  [/usr/local/netdot/lib/Netdot/Model/Device.pm:514]
  [/usr/local/netdot/lib/Netdot/Model/Device.pm:1520]
  [/usr/local/netdot/htdocs/management/updatedevice.html:257]
  [/usr/local/netdot/htdocs/management/autohandler:81]
  [/usr/share/perl5/HTML/Mason/Request.pm:948]
  
[/usr/local/netdot/htdocs/masondata/obj/1249759374/management/autohandler.obj:21]
  [/usr/local/netdot/htdocs/autohandler:76]

The ParamValues 2 should be an integer instead of a string.


-- 
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 99, Issue 5
*******************************************

Reply via email to