Modify

Ticket #2800 (closed defect: fixed)

Opened 2 years ago

Last modified 22 months ago

Network Virtual Interfaces

Reported by: lioncub@… Owned by: cperez@…
Milestone: 2.2 Component: network
Severity: normal Keywords:
Cc:

Description

  1. Add Virtual Interfaces in eth0 (192.168.10.51):

Example:

Name: TestEth?

IP address: 192.168.10.134

Netmask: 255.255.255.0

In "Action" click "+" and "Save changes"

  1. Delete Virtual Interfaces "TestEth?" and "Save changes"
  1. Add any Virtual Interfaces:
Interface eth0:TestEth does not exist.
\n

\n$VAR1 = bless( {
                 '-stacktrace' => 'Interface eth0:TestEth does not exist. at /usr/share/perl5/EBox/DHCP.pm line 857
	EBox::DHCP::fixedAddresses(\'EBox::DHCP=HASH(0x7ffe23e83638)\', \'eth0:TestEth\', 0) called at /usr/share/perl5/EBox/DHCP.pm line 1091
	EBox::DHCP::vifaceAdded(\'EBox::DHCP=HASH(0x7ffe23e83638)\', \'eth0\', \'TestEth\', 192.168.10.134, 255.255.255.0) called at /usr/share/perl5/EBox/Network.pm line 933
	EBox::Network::setViface(\'EBox::Network=HASH(0x7ffe238fb3f8)\', \'eth0\', \'TestEth\', 192.168.10.134, 255.255.255.0) called at /usr/share/perl5/EBox/CGI/Network/VIface.pm line 67
	EBox::CGI::Network::VIface::_process(\'EBox::CGI::Network::VIface=HASH(0x7ffe259ebf10)\') called at /usr/share/perl5/EBox/CGI/Base.pm line 254
	EBox::CGI::Base::run(\'EBox::CGI::Network::VIface=HASH(0x7ffe259ebf10)\') called at /usr/share/perl5/EBox/CGI/Run.pm line 119
	EBox::CGI::Run::run(\'EBox::CGI::Run\', \'Network/VIface\', \'EBox\') called at /usr/share/zentyal/cgi/ebox.cgi line 35
	ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler(\'Apache2::RequestRec=SCALAR(0x7ffe259e7b58)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
	ModPerl::RegistryCooker::run(\'ModPerl::Registry=HASH(0x7ffe259e7df8)\') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
	ModPerl::RegistryCooker::default_handler(\'ModPerl::Registry=HASH(0x7ffe259e7df8)\') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
	ModPerl::Registry::handler(\'ModPerl::Registry\', \'Apache2::RequestRec=SCALAR(0x7ffe259e7b58)\') called at -e line 0
	eval {...} called at -e line 0
',
                 '-file' => '/usr/share/perl5/EBox/DHCP.pm',
                 'value' => 'eth0:TestEth',
                 '-text' => 'Interface eth0:TestEth does not exist.',
                 'data' => 'Interface',
                 '-line' => 857,
                 '-package' => 'EBox::DHCP',
                 'silent' => 0
               }, 'EBox::Exceptions::DataNotFound' );

Attachments

Change History

comment:1 Changed 2 years ago by jamor@…

  • Owner changed from jacalvo@… to jamor@…

This seems to be a cache problem. If you restart the interface webserver ("/etc/init.d/zentyal apache restart") the problem goes away

comment:2 Changed 2 years ago by lioncub@…

Why he does not restart?

comment:3 Changed 2 years ago by jamor@…

Sorry I don't understand you. You mean that you are unable to restart the server with the "/etc/init.d/zentyal apache restart" command?

comment:4 Changed 2 years ago by lioncub@…

I mean, would fix this error?

comment:5 Changed 2 years ago by jamor@…

In my test machines this would dispel the error.

I have looked to the internal configuration just before adding the second viface and seemed correct. This two things makes me believe that is a error related with a webserver's cache

comment:6 Changed 2 years ago by lioncub@…

Why does not overload himself zentyal service apache?

comment:7 Changed 2 years ago by jamor@…

Because it has not way to know that this cache error has happened. In fact if we know what causes it we would fix it directly instead of restarting apache

comment:8 Changed 2 years ago by jamor@…

  • Component changed from dhcp to network

comment:9 Changed 22 months ago by jacalvo@…

  • Owner changed from jamor@… to cperez@…

comment:10 Changed 22 months ago by cperez@…

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

(In [22885]) NN: Do not check fixed addresses of unconfigured vifaces (closes #2800)

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.