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 - Feature #1886] (New) Schema Mapping for Netdot API
      ([email protected])
   2. [Netdot - Bug #1887] (New) Adding DHCP Host to IP Address
      with multiple A records causes FATAL error ([email protected])
   3. [Netdot - Bug #1887] Adding DHCP Host to IP Address       with
      multiple A records causes FATAL error ([email protected])
   4. [Netdot - Bug #1887] Adding DHCP Host to IP Address       with
      multiple A records causes FATAL error ([email protected])


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

Message: 1
Date: Wed, 3 Feb 2016 07:30:01 -0800
From: [email protected]
Subject: [Netdot-devel] [Netdot - Feature #1886] (New) Schema Mapping
        for     Netdot API
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1886 has been reported by Ken Jenney.

----------------------------------------
Feature #1886: Schema Mapping for Netdot API
https://osl.uoregon.edu/redmine/issues/1886

Author: Ken Jenney
Status: New
Priority: Normal
Assignee: 
Category: 
Target version: 
Resolution: 


Currently there is limited documentation on advanced uses of the REST API. It 
would very helpful to include schema information within the REST htdocs so that 
one could easily navigate all of the available options.


-- 
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, 3 Feb 2016 09:07:12 -0800
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1887] (New) Adding DHCP Host to
        IP      Address with multiple A records causes FATAL error
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1887 has been reported by Matt Zagrabelny.

----------------------------------------
Bug #1887: Adding DHCP Host to IP Address with multiple A records causes FATAL 
error
https://osl.uoregon.edu/redmine/issues/1887

Author: Matt Zagrabelny
Status: New
Priority: Normal
Assignee: 
Category: DHCP
Target version: 
Resolution: 


Steps to reproduce:

Click on available IP Address. Create? Confirm.

Add an A record.
Add a second A record.

Add a DHCP Host. Enter a MAC. Save.

host.html produced the following error:


Transaction aborted: Can't call method "name" on unblessed reference at 
/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm line 542.

Stack:
  [/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm:542]
  [/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm:88]
  [/usr/local/netdot/lib/Netdot/UI.pm:243]
  [/usr/local/netdot/htdocs/management/host.html:104]
  [/usr/local/netdot/htdocs/management/host.html:132]
  [/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]


Trace begun at /usr/local/netdot/lib/Netdot.pm line 105
Netdot::throw_fatal('Netdot::Model', 'Transaction aborted: Can\'t call method 
"name" on unblessed reference at 
/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm line 542.^J^JStack:^J  
[/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm:542]^J  
[/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm:88]^J  
[/usr/local/netdot/lib/Netdot/UI.pm:243]^J  
[/usr/local/netdot/htdocs/management/host.html:104]^J  
[/usr/local/netdot/htdocs/management/host.html:132]^J  
[/usr/local/netdot/htdocs/management/autohandler:81]^J  
[/usr/share/perl5/HTML/Mason/Request.pm:948]^J  
[/usr/local/netdot/htdocs/masondata/obj/1249759374/management/autohandler.obj:21]^J
  [/usr/local/netdot/htdocs/autohandler:76]^J') called at 
/usr/local/netdot/lib/Netdot/Model.pm line 729
Netdot::Model::do_transaction('Netdot::Model', 'CODE(0x7f8f2e56f7f0)') called 
at /usr/local/netdot/htdocs/management/host.html line 132
eval {...} at /usr/local/netdot/htdocs/management/host.html line 90
HTML::Mason::Commands::__ANON__('DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1, 'page', 'ADDRESS') called at 
/usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f8f2e870340)',
 'DhcpScope__NEW__container', 'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 
'ARRAY(0x7f8f2abce8d8)', 'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 
'submit', 'save', 'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1, 'page', 'ADDRESS') called at 
/usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1, 'page', 'ADDRESS') called at 
/usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7f8f2e898ca8)',
 'page', 'ADDRESS') called at /usr/local/netdot/htdocs/management/autohandler 
line 81
HTML::Mason::Commands::__ANON__('DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1) called at /usr/share/perl5/HTML/Mason/Component.pm line 157
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x7f8f2e514a40)',
 'main', 'DhcpScope__NEW__container', 'ARRAY(0x7f8f2e68cbd8)', 
'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 'DhcpScope__NEW__type', 
'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 'DhcpScope__NEW__physaddr', 
'ARRAY(0x7f8f2e3e3290)', 'rr', 'ARRAY(0x7f8f2e665698)', 
'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 'showheader', 1) called at 
/usr/share/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x7f8f2e898ca8)',
 'main', 'DhcpScope__NEW__container', 'ARRAY(0x7f8f2e68cbd8)', 
'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 'DhcpScope__NEW__type', 
'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 'DhcpScope__NEW__physaddr', 
'ARRAY(0x7f8f2e3e3290)', 'rr', 'ARRAY(0x7f8f2e665698)', 
'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 'showheader', 1) called at 
/usr/local/netdot/htdocs/masondata/obj/1249759374/management/autohandler.obj 
line 21
HTML::Mason::Commands::__ANON__('DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f8f2e514a40)',
 'DhcpScope__NEW__container', 'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 
'ARRAY(0x7f8f2abce8d8)', 'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 
'submit', 'save', 'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7f8f2e898ca8)',
 'showheader', 1) called at /usr/local/netdot/htdocs/autohandler line 76
HTML::Mason::Commands::__ANON__('DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)') 
called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f8f2e47e148)',
 'DhcpScope__NEW__container', 'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 
'ARRAY(0x7f8f2abce8d8)', 'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 
'submit', 'save', 'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)') 
called at /usr/share/perl5/HTML/Mason/Request.pm line 1297
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)') 
called at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f8f2e898ca8)')
 called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f8f2e898ca8)')
 called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f8f2c44b8c8)',
 'Apache2::RequestRec=SCALAR(0x7f8f2e3e3350)') called at 
/usr/local/netdot/lib/Netdot/Mason.pm line 59
Netdot::Mason::handler('Apache2::RequestRec=SCALAR(0x7f8f2e3e3350)') called at 
-e line 0
eval {...} at -e line 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: 3
Date: Wed, 3 Feb 2016 10:34:59 -0800
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1887] Adding DHCP Host to IP
        Address with multiple A records causes FATAL error
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1887 has been updated by Carlos Vicente.

Assignee set to Carlos Vicente


----------------------------------------
Bug #1887: Adding DHCP Host to IP Address with multiple A records causes FATAL 
error
https://osl.uoregon.edu/redmine/issues/1887#change-3335

Author: Matt Zagrabelny
Status: New
Priority: Normal
Assignee: Carlos Vicente
Category: DHCP
Target version: 
Resolution: 


Steps to reproduce:

Click on available IP Address. Create? Confirm.

Add an A record.
Add a second A record.

Add a DHCP Host. Enter a MAC. Save.

host.html produced the following error:


Transaction aborted: Can't call method "name" on unblessed reference at 
/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm line 542.

Stack:
  [/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm:542]
  [/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm:88]
  [/usr/local/netdot/lib/Netdot/UI.pm:243]
  [/usr/local/netdot/htdocs/management/host.html:104]
  [/usr/local/netdot/htdocs/management/host.html:132]
  [/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]


Trace begun at /usr/local/netdot/lib/Netdot.pm line 105
Netdot::throw_fatal('Netdot::Model', 'Transaction aborted: Can\'t call method 
"name" on unblessed reference at 
/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm line 542.^J^JStack:^J  
[/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm:542]^J  
[/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm:88]^J  
[/usr/local/netdot/lib/Netdot/UI.pm:243]^J  
[/usr/local/netdot/htdocs/management/host.html:104]^J  
[/usr/local/netdot/htdocs/management/host.html:132]^J  
[/usr/local/netdot/htdocs/management/autohandler:81]^J  
[/usr/share/perl5/HTML/Mason/Request.pm:948]^J  
[/usr/local/netdot/htdocs/masondata/obj/1249759374/management/autohandler.obj:21]^J
  [/usr/local/netdot/htdocs/autohandler:76]^J') called at 
/usr/local/netdot/lib/Netdot/Model.pm line 729
Netdot::Model::do_transaction('Netdot::Model', 'CODE(0x7f8f2e56f7f0)') called 
at /usr/local/netdot/htdocs/management/host.html line 132
eval {...} at /usr/local/netdot/htdocs/management/host.html line 90
HTML::Mason::Commands::__ANON__('DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1, 'page', 'ADDRESS') called at 
/usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f8f2e870340)',
 'DhcpScope__NEW__container', 'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 
'ARRAY(0x7f8f2abce8d8)', 'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 
'submit', 'save', 'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1, 'page', 'ADDRESS') called at 
/usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1, 'page', 'ADDRESS') called at 
/usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7f8f2e898ca8)',
 'page', 'ADDRESS') called at /usr/local/netdot/htdocs/management/autohandler 
line 81
HTML::Mason::Commands::__ANON__('DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1) called at /usr/share/perl5/HTML/Mason/Component.pm line 157
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x7f8f2e514a40)',
 'main', 'DhcpScope__NEW__container', 'ARRAY(0x7f8f2e68cbd8)', 
'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 'DhcpScope__NEW__type', 
'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 'DhcpScope__NEW__physaddr', 
'ARRAY(0x7f8f2e3e3290)', 'rr', 'ARRAY(0x7f8f2e665698)', 
'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 'showheader', 1) called at 
/usr/share/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x7f8f2e898ca8)',
 'main', 'DhcpScope__NEW__container', 'ARRAY(0x7f8f2e68cbd8)', 
'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 'DhcpScope__NEW__type', 
'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 'DhcpScope__NEW__physaddr', 
'ARRAY(0x7f8f2e3e3290)', 'rr', 'ARRAY(0x7f8f2e665698)', 
'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 'showheader', 1) called at 
/usr/local/netdot/htdocs/masondata/obj/1249759374/management/autohandler.obj 
line 21
HTML::Mason::Commands::__ANON__('DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f8f2e514a40)',
 'DhcpScope__NEW__container', 'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 
'ARRAY(0x7f8f2abce8d8)', 'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 
'submit', 'save', 'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7f8f2e898ca8)',
 'showheader', 1) called at /usr/local/netdot/htdocs/autohandler line 76
HTML::Mason::Commands::__ANON__('DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)') 
called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f8f2e47e148)',
 'DhcpScope__NEW__container', 'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 
'ARRAY(0x7f8f2abce8d8)', 'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 
'submit', 'save', 'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)') 
called at /usr/share/perl5/HTML/Mason/Request.pm line 1297
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)') 
called at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f8f2e898ca8)')
 called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f8f2e898ca8)')
 called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f8f2c44b8c8)',
 'Apache2::RequestRec=SCALAR(0x7f8f2e3e3350)') called at 
/usr/local/netdot/lib/Netdot/Mason.pm line 59
Netdot::Mason::handler('Apache2::RequestRec=SCALAR(0x7f8f2e3e3350)') called at 
-e line 0
eval {...} at -e line 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: 4
Date: Wed, 3 Feb 2016 11:18:36 -0800
From: [email protected]
Subject: [Netdot-devel] [Netdot - Bug #1887] Adding DHCP Host to IP
        Address with multiple A records causes FATAL error
To: [email protected], [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8


Issue #1887 has been updated by Carlos Vicente.


Also related to this (from same requestor):

<pre>
I click on an available address and Netdot prompts me with
confirmation. I confirm.

Then I click DHCP Host [add] and I get redirected to a page that has:

DNS Records [new]
</pre>
----------------------------------------
Bug #1887: Adding DHCP Host to IP Address with multiple A records causes FATAL 
error
https://osl.uoregon.edu/redmine/issues/1887#change-3336

Author: Matt Zagrabelny
Status: New
Priority: Normal
Assignee: Carlos Vicente
Category: DHCP
Target version: 
Resolution: 


Steps to reproduce:

Click on available IP Address. Create? Confirm.

Add an A record.
Add a second A record.

Add a DHCP Host. Enter a MAC. Save.

host.html produced the following error:


Transaction aborted: Can't call method "name" on unblessed reference at 
/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm line 542.

Stack:
  [/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm:542]
  [/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm:88]
  [/usr/local/netdot/lib/Netdot/UI.pm:243]
  [/usr/local/netdot/htdocs/management/host.html:104]
  [/usr/local/netdot/htdocs/management/host.html:132]
  [/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]


Trace begun at /usr/local/netdot/lib/Netdot.pm line 105
Netdot::throw_fatal('Netdot::Model', 'Transaction aborted: Can\'t call method 
"name" on unblessed reference at 
/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm line 542.^J^JStack:^J  
[/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm:542]^J  
[/usr/local/netdot/lib/Netdot/Model/DhcpScope.pm:88]^J  
[/usr/local/netdot/lib/Netdot/UI.pm:243]^J  
[/usr/local/netdot/htdocs/management/host.html:104]^J  
[/usr/local/netdot/htdocs/management/host.html:132]^J  
[/usr/local/netdot/htdocs/management/autohandler:81]^J  
[/usr/share/perl5/HTML/Mason/Request.pm:948]^J  
[/usr/local/netdot/htdocs/masondata/obj/1249759374/management/autohandler.obj:21]^J
  [/usr/local/netdot/htdocs/autohandler:76]^J') called at 
/usr/local/netdot/lib/Netdot/Model.pm line 729
Netdot::Model::do_transaction('Netdot::Model', 'CODE(0x7f8f2e56f7f0)') called 
at /usr/local/netdot/htdocs/management/host.html line 132
eval {...} at /usr/local/netdot/htdocs/management/host.html line 90
HTML::Mason::Commands::__ANON__('DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1, 'page', 'ADDRESS') called at 
/usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f8f2e870340)',
 'DhcpScope__NEW__container', 'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 
'ARRAY(0x7f8f2abce8d8)', 'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 
'submit', 'save', 'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1, 'page', 'ADDRESS') called at 
/usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1, 'page', 'ADDRESS') called at 
/usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7f8f2e898ca8)',
 'page', 'ADDRESS') called at /usr/local/netdot/htdocs/management/autohandler 
line 81
HTML::Mason::Commands::__ANON__('DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1) called at /usr/share/perl5/HTML/Mason/Component.pm line 157
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x7f8f2e514a40)',
 'main', 'DhcpScope__NEW__container', 'ARRAY(0x7f8f2e68cbd8)', 
'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 'DhcpScope__NEW__type', 
'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 'DhcpScope__NEW__physaddr', 
'ARRAY(0x7f8f2e3e3290)', 'rr', 'ARRAY(0x7f8f2e665698)', 
'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 'showheader', 1) called at 
/usr/share/perl5/HTML/Mason/Request.pm line 948
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x7f8f2e898ca8)',
 'main', 'DhcpScope__NEW__container', 'ARRAY(0x7f8f2e68cbd8)', 
'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 'DhcpScope__NEW__type', 
'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 'DhcpScope__NEW__physaddr', 
'ARRAY(0x7f8f2e3e3290)', 'rr', 'ARRAY(0x7f8f2e665698)', 
'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 'showheader', 1) called at 
/usr/local/netdot/htdocs/masondata/obj/1249759374/management/autohandler.obj 
line 21
HTML::Mason::Commands::__ANON__('DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f8f2e514a40)',
 'DhcpScope__NEW__container', 'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 
'ARRAY(0x7f8f2abce8d8)', 'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 
'submit', 'save', 'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)', 
'showheader', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 955
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7f8f2e898ca8)',
 'showheader', 1) called at /usr/local/netdot/htdocs/autohandler line 76
HTML::Mason::Commands::__ANON__('DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)') 
called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f8f2e47e148)',
 'DhcpScope__NEW__container', 'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 
'ARRAY(0x7f8f2abce8d8)', 'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 
'submit', 'save', 'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)') 
called at /usr/share/perl5/HTML/Mason/Request.pm line 1297
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'DhcpScope__NEW__container', 
'ARRAY(0x7f8f2e68cbd8)', 'DhcpScope__NEW__name', 'ARRAY(0x7f8f2abce8d8)', 
'DhcpScope__NEW__type', 'ARRAY(0x7f8f2e7b74d8)', 'submit', 'save', 
'DhcpScope__NEW__physaddr', 'ARRAY(0x7f8f2e3e3290)', 'rr', 
'ARRAY(0x7f8f2e665698)', 'DhcpScope__NEW__ipblock', 'ARRAY(0x7f8f2e7d62a8)') 
called at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f8f2e898ca8)')
 called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f8f2e898ca8)')
 called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f8f2c44b8c8)',
 'Apache2::RequestRec=SCALAR(0x7f8f2e3e3350)') called at 
/usr/local/netdot/lib/Netdot/Mason.pm line 59
Netdot::Mason::handler('Apache2::RequestRec=SCALAR(0x7f8f2e3e3350)') called at 
-e line 0
eval {...} at -e line 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


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

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


End of Netdot-devel Digest, Vol 107, Issue 2
********************************************

Reply via email to