Modify

Ticket #3417 (closed defect: fixed)

Opened 19 months ago

Last modified 19 months ago

undefined value at DHCP/Model/Options.pm

Reported by: nexxous@… Owned by: jamor@…
Milestone: 2.2.X Component: base
Severity: normal Keywords:
Cc:

Description (last modified by jacalvo@…) (diff)

trying to get dhcp to work but when trying to start it looks like it starts but does not

Error

Can't call method 'valueByName' on an undefined value

Trace

Can't call method 'valueByName' on an undefined value at /usr/share/perl5/EBox/DHCP/Model/Options.pm line 219.

Attachments

zentyal.log Download (35.3 KB) - added by anonymous 19 months ago.
zentyal.log

Change History

Changed 19 months ago by anonymous

zentyal.log

comment:1 Changed 19 months ago by jacalvo@…

  • Owner changed from jacalvo@… to jamor@…
  • Description modified (diff)
  • Summary changed from Bug report from Zentyal Server to undefined value at DHCP/Model/Options.pm

comment:2 Changed 19 months ago by jamor@…

Hello Nexxous and thanks for your report,

I need a bit more of information:

  • in the DHCP common options tab which value you have assigned to 'default gateway' ?
  • in Network->Gateways which configuration do you have set?.

Thanks

comment:3 Changed 19 months ago by jamor@…

Bug confirmed:

if you set up a dhcp with a named gateway and then you remove it from the gateways table, you don;t have a confirmation dialog and the DHCp options remains referencing a inexisten gateway

comment:4 Changed 19 months ago by jamor@…

  • Status changed from new to closed
  • Resolution set to fixed

(In [23608]) Cannot longer delete a gateway in use closes #3417

comment:5 Changed 19 months ago by jamor@…

This error was caused because the gateway configured in the DHCP options no longer exists. I have implemented code to don't allow to delte gatweways in use by the DHCP module but unitl it is released you must check manually yhat the gateways referenced in DHCP exists

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.