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 #1682] (New) v1.0.1 System error when adding a
new device ([email protected])
2. [Netdot - Bug #1683] (New) Subnets not created on initial
device discovery from web UI ([email protected])
3. [SCM] UNNAMED PROJECT branch netdot-1.0 updated.
netdot-1.0.1-13-g68162a7 ([email protected])
4. [Netdot - Bug #1682] v1.0.1 System error when adding a new
device ([email protected])
5. [Netdot - Bug #1682] (Resolved) v1.0.1 System error when
adding a new device ([email protected])
6. [Netdot - Bug #1679] module inserted in transceiver port
container is not bound to asset ([email protected])
----------------------------------------------------------------------
Message: 1
Date: Wed, 29 Aug 2012 00:07:23 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1682] (New) v1.0.1 System error
when adding a new device
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1682 has been reported by julien vandes.
----------------------------------------
Bug #1682: v1.0.1 System error when adding a new device
https://osl.uoregon.edu/redmine/issues/1682
Author: julien vandes
Status: New
Priority: Normal
Assignee:
Category:
Target version:
Resolution:
When a device is created and his site location is changed, adding a new device
fails with the following error :
<pre>
System error
error: Not an ARRAY reference at
/home/www/site/netdot//lib/Netdot/UI.pm line 510.
context:
...
506: $self->throw_fatal("Need to pass object or table name") unless ( $o ||
$args{table} );
507: my $table = ($o ? $o->short_class : $args{table});
508: $self->throw_fatal("Need to specify table and field to look up") unless
( $args{lookup} && $column );
509:
510: my @defaults = @{$args{defaults}} if $args{defaults};
511:
512: my $output;
513:
514: $args{htmlExtra} = '' if ( !defined $args{htmlExtra} );
...
code stack: /home/www/site/netdot/lib/Netdot/UI.pm:510
/home/www/site/netdot/htdocs/management/device.html:459
/home/www/site/netdot/htdocs/management/device_tasks.html:80
/home/www/site/netdot/htdocs/management/autohandler:81
/usr/share/perl5/HTML/Mason/Request.pm:930
/home/www/site/netdot/htdocs/masondata/obj/1249693838/management/autohandler.obj:21
/home/www/site/netdot/htdocs/autohandler:76
</pre>
A reboot system correct the error temporarily.
I do an upgrade from version 0.9.10 to 1.0.1. In the table "device", on
database, snmp_conn_attemps is the only column with differences ("NULL" for
devices added with v0.9.10 and "0" for devices added with v1.0.1).
--
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: Wed, 29 Aug 2012 08:40:12 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1683] (New) Subnets not created
on initial device discovery from web UI
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1683 has been reported by Carlos Vicente.
----------------------------------------
Bug #1683: Subnets not created on initial device discovery from web UI
https://osl.uoregon.edu/redmine/issues/1683
Author: Carlos Vicente
Status: New
Priority: High
Assignee: Carlos Vicente
Category: DeviceManagement
Target version: 1.0.2
Resolution: fixed
--
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: Wed, 29 Aug 2012 08:40:58 -0700
From: [email protected]
Subject: [Netdot-devel] [SCM] UNNAMED PROJECT branch netdot-1.0
updated. netdot-1.0.1-13-g68162a7
To: [email protected]
Message-ID: <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".
The branch, netdot-1.0 has been updated
via 68162a7c7646141acd270701aa048cdf11290b07 (commit)
from 853dcd79d2ba5803e2f94829a467dae345980bb1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 68162a7c7646141acd270701aa048cdf11290b07
Author: Carlos Vicente <[email protected]>
Date: Wed Aug 29 11:40:53 2012 -0400
Fix for #1683 (Subnets not created on initial device discovery from web UI)
diff --git a/htdocs/management/updatedevice.html
b/htdocs/management/updatedevice.html
index 23c6114..f810ce2 100644
--- a/htdocs/management/updatedevice.html
+++ b/htdocs/management/updatedevice.html
@@ -31,8 +31,8 @@ $owner => undef
$used_by => undef
$site => undef
$contacts => undef
-$add_subnets => 0
-$subs_inherit => 0
+$add_subnets => 1
+$subs_inherit => 1
$pretend => undef
$user => $ui->get_current_user($r)
</%args>
@@ -363,7 +363,7 @@ else{
%################################################################
%# The following block only applies to routers
%################################################################
-% if ( $info->{type} eq "Router" ){
+% if ( $info->{ipforwarding} ){
% push( @field_headers, "Add new Subnets (if any)?:" );
<&| "/generic/HERE.mhtml" &>
% if ( Netdot->config->get('ADDSUBNETS') ){
-----------------------------------------------------------------------
Summary of changes:
htdocs/management/updatedevice.html | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
UNNAMED PROJECT
------------------------------
Message: 4
Date: Wed, 29 Aug 2012 11:04:59 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1682] v1.0.1 System error when
adding a new device
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1682 has been updated by Carlos Vicente.
julien vandes wrote:
> When a device is created and his site location is changed, adding a new
> device fails with the following error :
I have made some changes that should help with that problem. You will see them
in the next release.
> I do an upgrade from version 0.9.10 to 1.0.1. In the table "device", on
> database, snmp_conn_attemps is the only column with differences ("NULL" for
> devices added with v0.9.10 and "0" for devices added with v1.0.1).
There are a LOT more DB schema changes between 0.9.10 and 1.0.1. I'm not sure
what your point is here.
----------------------------------------
Bug #1682: v1.0.1 System error when adding a new device
https://osl.uoregon.edu/redmine/issues/1682#change-2952
Author: julien vandes
Status: New
Priority: Normal
Assignee:
Category:
Target version:
Resolution:
When a device is created and his site location is changed, adding a new device
fails with the following error :
<pre>
System error
error: Not an ARRAY reference at
/home/www/site/netdot//lib/Netdot/UI.pm line 510.
context:
...
506: $self->throw_fatal("Need to pass object or table name") unless ( $o ||
$args{table} );
507: my $table = ($o ? $o->short_class : $args{table});
508: $self->throw_fatal("Need to specify table and field to look up") unless
( $args{lookup} && $column );
509:
510: my @defaults = @{$args{defaults}} if $args{defaults};
511:
512: my $output;
513:
514: $args{htmlExtra} = '' if ( !defined $args{htmlExtra} );
...
code stack: /home/www/site/netdot/lib/Netdot/UI.pm:510
/home/www/site/netdot/htdocs/management/device.html:459
/home/www/site/netdot/htdocs/management/device_tasks.html:80
/home/www/site/netdot/htdocs/management/autohandler:81
/usr/share/perl5/HTML/Mason/Request.pm:930
/home/www/site/netdot/htdocs/masondata/obj/1249693838/management/autohandler.obj:21
/home/www/site/netdot/htdocs/autohandler:76
</pre>
A reboot system correct the error temporarily.
I do an upgrade from version 0.9.10 to 1.0.1. In the table "device", on
database, snmp_conn_attemps is the only column with differences ("NULL" for
devices added with v0.9.10 and "0" for devices added with v1.0.1).
--
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: Wed, 29 Aug 2012 11:05:38 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1682] (Resolved) v1.0.1 System
error when adding a new device
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1682 has been updated by Carlos Vicente.
Status changed from New to Resolved
Assignee set to Carlos Vicente
Resolution set to fixed
----------------------------------------
Bug #1682: v1.0.1 System error when adding a new device
https://osl.uoregon.edu/redmine/issues/1682#change-2953
Author: julien vandes
Status: Resolved
Priority: Normal
Assignee: Carlos Vicente
Category:
Target version:
Resolution: fixed
When a device is created and his site location is changed, adding a new device
fails with the following error :
<pre>
System error
error: Not an ARRAY reference at
/home/www/site/netdot//lib/Netdot/UI.pm line 510.
context:
...
506: $self->throw_fatal("Need to pass object or table name") unless ( $o ||
$args{table} );
507: my $table = ($o ? $o->short_class : $args{table});
508: $self->throw_fatal("Need to specify table and field to look up") unless
( $args{lookup} && $column );
509:
510: my @defaults = @{$args{defaults}} if $args{defaults};
511:
512: my $output;
513:
514: $args{htmlExtra} = '' if ( !defined $args{htmlExtra} );
...
code stack: /home/www/site/netdot/lib/Netdot/UI.pm:510
/home/www/site/netdot/htdocs/management/device.html:459
/home/www/site/netdot/htdocs/management/device_tasks.html:80
/home/www/site/netdot/htdocs/management/autohandler:81
/usr/share/perl5/HTML/Mason/Request.pm:930
/home/www/site/netdot/htdocs/masondata/obj/1249693838/management/autohandler.obj:21
/home/www/site/netdot/htdocs/autohandler:76
</pre>
A reboot system correct the error temporarily.
I do an upgrade from version 0.9.10 to 1.0.1. In the table "device", on
database, snmp_conn_attemps is the only column with differences ("NULL" for
devices added with v0.9.10 and "0" for devices added with v1.0.1).
--
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: Wed, 29 Aug 2012 11:32:54 -0700
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1679] module inserted in
transceiver port container is not bound to asset
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Issue #1679 has been updated by Carlos Vicente.
Erik Wenzel wrote:
> My test scenario is a cisco catalyst 6509 with a WS-X6724-SFP in Slot 1.
> After connecting a transceiver module to a transceiver port container a known
> asset with a serial number is still "installed = "no" in
> [Reports]->[Asset]->by"Detailed". Module insertion verified at
> [Management]->[Devices]->[test-router-6500]->[Modules]. Serial number in
> available under SNMPv2-SMI::mib-2.47.1.1.1.1.11.*. The serial number is not
> checked for availability in asset database table. This means that you can't
> move FRU from one device to another without losing track of that asset. Asset
> management is broken.
Hi Erik,
I have just looked at the code again and can confirm that it does look for
serial numbers in existing assets. I have just tested with a 6509 by setting
the asset field in the module to NULL (the asset is still in the DB, but not
associated with any module). After rediscovering, the association is made
again.
The only thing that could be going on is that the asset's product is not from
the same manufacturer as the device, because it searches for a combination of
serial number and manufacturer.
I would need more details from you to try to figure out your problem.
----------------------------------------
Bug #1679: module inserted in transceiver port container is not bound to asset
https://osl.uoregon.edu/redmine/issues/1679#change-2954
Author: Erik Wenzel
Status: New
Priority: Normal
Assignee:
Category:
Target version:
Resolution:
My test scenario is a cisco catalyst 6509 with a WS-X6724-SFP in Slot 1. After
connecting a transceiver module to a transceiver port container a known asset
with a serial number is still "installed = "no" in
[Reports]->[Asset]->by"Detailed". Module insertion verified at
[Management]->[Devices]->[test-router-6500]->[Modules]. Serial number in
available under SNMPv2-SMI::mib-2.47.1.1.1.1.11.*. The serial number is not
checked for availability in asset database table. This means that you can't
move FRU from one device to another without losing track of that asset. Asset
management is broken.
--
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 65, Issue 22
********************************************