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 #1802] (Resolved) uninitialized value
      $uargs{"bridge_priority"} in /lib/Netdot/Model/Device.pm
      ([email protected])
   2. [Netdot - Bug #1840] (Closed) Errors while first  install if
      Netdot 1.0.6 under Ubuntu 14.04 Server ([email protected])
   3. [Netdot - Bug #1828] (Closed) Topology ([email protected])
   4. [Netdot - Feature #1835] (Closed) Network Document        Repository
      ([email protected])
   5. [Netdot - Bug #1803] (Closed) Login failure
      ([email protected])
   6. [Netdot - Feature #1826] (Resolved) Support for   package
      staging ([email protected])
   7. [Netdot - Bug #1801] 1.0.6 upgrade script error
      ([email protected])
   8. [Netdot - Bug #1799] (Resolved) typo in   lib/Netdot/Model.pm
      in get_digest() ([email protected])


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

Message: 1
Date: Mon, 8 Dec 2014 07:24:40 -0800
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1802] (Resolved) uninitialized
        value   $uargs{"bridge_priority"} in /lib/Netdot/Model/Device.pm
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1802 has been updated by Carlos Vicente.

Category set to DeviceManagement
Status changed from New to Resolved
Assignee set to Carlos Vicente
Resolution set to fixed

Added an extra check to avoid the warning. Thank you.
----------------------------------------
Bug #1802: uninitialized value $uargs{"bridge_priority"} in 
/lib/Netdot/Model/Device.pm
https://osl.uoregon.edu/redmine/issues/1802#change-3250

Author: markus-cultcom-de -
Status: Resolved
Priority: Normal
Assignee: Carlos Vicente
Category: DeviceManagement
Target version: 1.0.6
Resolution: fixed


When I run "updatedevices.pl -DIFAT" I encounter the following messages:

Use of uninitialized value $uargs{"bridge_priority"} in string ne at 
/opt/netdot-1.0.6/lib/Netdot/Model/Device.pm line 5852.
Use of uninitialized value $uargs{"bridge_priority"} in sprintf at 
/opt/netdot-1.0.6/lib/Netdot/Model/Device.pm line 5854.

I'm not sure about the device but it seems to be the catalyst core switch with 
MSTP enabled and a current priority of "0".



-- 
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


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

Message: 2
Date: Mon, 8 Dec 2014 11:20:02 -0800
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1840] (Closed) Errors while
        first   install if Netdot 1.0.6 under Ubuntu 14.04 Server
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1840 has been updated by Carlos Vicente.

Status changed from In Progress to Closed
Assignee set to Carlos Vicente
Resolution set to worksforme

I haven't heard back, so I will go ahead and close this one. Feel free to 
reopen with more information if needed.
----------------------------------------
Bug #1840: Errors while first install if Netdot 1.0.6 under Ubuntu 14.04 Server
https://osl.uoregon.edu/redmine/issues/1840#change-3251

Author: Thorsten Scheller
Status: Closed
Priority: Normal
Assignee: Carlos Vicente
Category: Netdot
Target version: 
Resolution: worksforme


Hello,

i have found your site and am absolutely interesting in the whole functionality 
of Netdot.
Though i downloaded it on Monday and sitting here since about 4,5 days trying 
to solve the installation.

It took a while to get into linux again(done it last in 09) but i think i made 
it so far.
The Installation worked out after finding all relevant packages (no  ftp access 
in my company).

It now stuck while restarting apache2 with an error :

 Restarting web server apache2                                                  
 [fail]
 * The apache2 configtest failed.
Output of config test was:
AH00526: Syntax error on line 31 of 
/etc/apache2/conf-enabled/netdot_apache24_local.conf:
DBD::mysql::db selectrow_array failed: Table 'netdot.schemainfo' doesn't exist 
[for Statement "SELECT version FROM schemainfo"] at 
/usr/local/netdot/lib/Netdot/Model.pm line 67.\nBEGIN failed--compilation 
aborted at /usr/local/netdot/lib/Netdot/Model.pm line 381.\nCompilation failed 
in require at /usr/local/netdot/lib/Netdot/UI.pm line 5.\nBEGIN 
failed--compilation aborted at /usr/local/netdot/lib/Netdot/UI.pm line 
5.\nCompilation failed in require at /usr/local/netdot/lib/Netdot/Mason.pm line 
21.\nBEGIN failed--compilation aborted at /usr/local/netdot/lib/Netdot/Mason.pm 
line 21.\nCompilation failed in require at 
/etc/apache2/conf-enabled/netdot_apache24_local.conf line 32.\nBEGIN 
failed--compilation aborted
Action 'configtest' failed.
The Apache error log may have more information.

As you see i imported your latest config fix but didn't get the point why there 
has to be content in the blanc database.
(mysql server is up and running).

Regards alot for your help,

Thorsten




-- 
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


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

Message: 3
Date: Mon, 8 Dec 2014 11:21:36 -0800
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1828] (Closed) Topology
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1828 has been updated by Carlos Vicente.

Status changed from New to Closed
Assignee set to Brian Candler
Resolution set to worksforme


----------------------------------------
Bug #1828: Topology
https://osl.uoregon.edu/redmine/issues/1828#change-3252

Author: Anonymous
Status: Closed
Priority: Normal
Assignee: Brian Candler
Category: 
Target version: 
Resolution: worksforme


Hello,
When i am discovering the topology using bin/updatedevices.pl -T or during cron 
job the topology change every time the command is done, sometime with the good 
topology sometimes not.
In my network I have snmpv2 and v3, could it be the problem?
I don't know how to help you to find what is the problem, and for that I'm 
sorry.
Do you have any idea of what could it be and can you help me?


-- 
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


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

Message: 4
Date: Mon, 8 Dec 2014 11:23:23 -0800
From: [email protected]
Subject: [Netdot-devel] [Netdot - Feature #1835] (Closed) Network
        Document        Repository
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1835 has been updated by Carlos Vicente.

Status changed from New to Closed
Assignee set to Carlos Vicente
Resolution set to wontfix

Unlikely we will implement this.
----------------------------------------
Feature #1835: Network Document Repository
https://osl.uoregon.edu/redmine/issues/1835#change-3253

Author: Gerald Williams
Status: Closed
Priority: Normal
Assignee: Carlos Vicente
Category: 
Target version: 
Resolution: wontfix


Hi,
Another handy feature would be a page to upload network diagrams and notes with 
revision tracking so that everyone has access to the latest network map.


-- 
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


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

Message: 5
Date: Mon, 8 Dec 2014 11:26:11 -0800
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1803] (Closed) Login failure
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1803 has been updated by Carlos Vicente.

Status changed from New to Closed
Resolution set to worksforme

This sounds to me like a legitimate login timeout. Try using the "remember me" 
option. Closing this for now, but feel free to reopen with more specific 
information, or a fix.


----------------------------------------
Bug #1803: Login failure
https://osl.uoregon.edu/redmine/issues/1803#change-3254

Author: R VO
Status: Closed
Priority: Normal
Assignee: Carlos Vicente
Category: Netdot
Target version: 1.0.6
Resolution: worksforme


After a while, the NetDot web page will no longer allow a login.  After you 
type valid credentials and click Continue, it erases what you typed, and 
provides no error message.

A reboot of the virtual machine overrides the issue for a while, until it 
returns again for no reason.


-- 
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


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

Message: 6
Date: Mon, 8 Dec 2014 11:27:56 -0800
From: [email protected]
Subject: [Netdot-devel] [Netdot - Feature #1826] (Resolved) Support
        for     package staging
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1826 has been updated by Carlos Vicente.

Status changed from Feedback to Resolved
Target version set to 1.0.7
Resolution set to fixed

Thanks.
----------------------------------------
Feature #1826: Support for package staging
https://osl.uoregon.edu/redmine/issues/1826#change-3255

Author: Nick Hilliard
Status: Resolved
Priority: Normal
Assignee: Carlos Vicente
Category: Netdot
Target version: 1.0.7
Resolution: fixed


This patch provides better support for package staging and has been tested on 
the freebsd package.

The default installation behaviour has not been changed.

If installation is started with "STAGEDIR" set to a temporary directory and 
"PREFIX" set to be the production installation destination, then the package 
will be installed in $STAGEDIR, with all the hard-coded file locations set to 
$PREFIX.

Installation staging directories are now required for a bunch of o/s 
distributions including FreeBSD and Alpine Linux (#1662).


-- 
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


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

Message: 7
Date: Mon, 8 Dec 2014 11:33:51 -0800
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1801] 1.0.6 upgrade script
        error
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1801 has been updated by Carlos Vicente.

Assignee set to Carlos Vicente
Target version set to 1.0.7
Resolution set to fixed

Thank you.
----------------------------------------
Bug #1801: 1.0.6 upgrade script error
https://osl.uoregon.edu/redmine/issues/1801#change-3256

Author: Patrick Landry
Status: New
Priority: Normal
Assignee: Carlos Vicente
Category: 
Target version: 1.0.7
Resolution: fixed


When running "make upgrade" on a 1.0.4 MySQL system I received the following 
error:

<pre>
# cat upgrade/error.log
DBD::mysql::db do failed: Cannot add or update a child row: a foreign key 
constraint fails (`netdot`.<result 2 when explaining filename '#sql-758_2'>, 
CONSTRAINT `fk_bgplocalas` FOREIGN KEY (`bgplocalas`) REFERENCES `asn` (`id`)) 
at ../lib/DBUTIL.pm line 592.
ERROR while executing ALTER TABLE device ADD CONSTRAINT `fk_bgplocalas` FOREIGN 
KEY (`bgplocalas`) REFERENCES `asn` (`id`): DBD::mysql::db do failed: Cannot 
add or update a child row: a foreign key constraint fails (`netdot`.<result 2 
when explaining filename '#sql-758_2'>, CONSTRAINT `fk_bgplocalas` FOREIGN KEY 
(`bgplocalas`) REFERENCES `asn` (`id`)) at ../lib/DBUTIL.pm line 592.
</pre>

I believe this is because the device.bgplocalas field has not yet been 
populated when trying to add the fk_bgplocalas foreign key contraint to the 
device table generating the foreign key error.

The fix was to move the creation of the device.fk_bgplocalas key after the 
update statement which populates the device.bgplocalas field. 

<pre>
# diff -C 3 updatedb /var/tmp/updatedb
*** updatedb        2014-04-11 08:38:28.000000000 -0500
--- /var/tmp/updatedb        2014-04-17 17:41:47.071631814 -0500
***************
*** 208,219 ****
          push @statements, "INSERT INTO asn (number) SELECT DISTINCT 
bgplocalas FROM device WHERE bgplocalas IS NOT NULL;";
  
          push @statements, "ALTER TABLE device MODIFY bgplocalas bigint;";
-         push @statements, "ALTER TABLE device ADD CONSTRAINT `fk_bgplocalas` 
FOREIGN KEY (`bgplocalas`) ".
-             "REFERENCES `asn` (`id`);";
          push @statements, "CREATE INDEX bgplocalas ON device (bgplocalas);";
  
          push @statements, "UPDATE device,asn SET device.bgplocalas=asn.id 
WHERE device.bgplocalas=asn.number;";
  
          push @statements, "ALTER TABLE bgppeering ADD COLUMN contactlist 
bigint;";
          push @statements, "ALTER TABLE bgppeering ADD CONSTRAINT 
`fk_contactlist_bgppeering` FOREIGN KEY (`contactlist`) ".
              "REFERENCES `contactlist` (`id`);";
--- 208,220 ----
          push @statements, "INSERT INTO asn (number) SELECT DISTINCT 
bgplocalas FROM device WHERE bgplocalas IS NOT NULL;";
  
          push @statements, "ALTER TABLE device MODIFY bgplocalas bigint;";
          push @statements, "CREATE INDEX bgplocalas ON device (bgplocalas);";
  
          push @statements, "UPDATE device,asn SET device.bgplocalas=asn.id 
WHERE device.bgplocalas=asn.number;";
  
+         push @statements, "ALTER TABLE device ADD CONSTRAINT `fk_bgplocalas` 
FOREIGN KEY (`bgplocalas`) ".
+             "REFERENCES `asn` (`id`);";
+
          push @statements, "ALTER TABLE bgppeering ADD COLUMN contactlist 
bigint;";
          push @statements, "ALTER TABLE bgppeering ADD CONSTRAINT 
`fk_contactlist_bgppeering` FOREIGN KEY (`contactlist`) ".
              "REFERENCES `contactlist` (`id`);";
</pre>


-- 
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


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

Message: 8
Date: Mon, 8 Dec 2014 11:38:04 -0800
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1799] (Resolved) typo in
        lib/Netdot/Model.pm in get_digest()
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1799 has been updated by Carlos Vicente.

Status changed from New to Resolved
Resolution set to fixed


----------------------------------------
Bug #1799: typo in lib/Netdot/Model.pm in get_digest()
https://osl.uoregon.edu/redmine/issues/1799#change-3257

Author: William Bulley
Status: Resolved
Priority: Low
Assignee: Carlos Vicente
Category: Documentation
Target version: 1.0.6
Resolution: fixed


In get_digest() example there is a typo:

my %digest = $obj->get_state_digest;

s/_state_//



-- 
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 93, Issue 3
*******************************************

Reply via email to