Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : Ubuntu 22.04



Threaded Mode | Print  

 Ubuntu 22.04, service virtnetwork restart fails (7 Replies, Read 1879 times)
wnic
Group: Member
Post Group: Newbie
Posts: 8
Status:
We have a new Ubuntu 22 Virtualizor server.
Ubuntu is new to us.
The command service virtnetwork restart results
that viifbr0 no longer works and is no longer visible.

Only
service virtnetwork stop
service virtnetwork start
brings viifbr0 back online.

When the server is rebooted, viifbr0 is not present.
All VPS are down and can not be started.

Again, only the following commands help

service virtnetwork stop
service virtnetwork start

and the manual start of the VPS.

Where is the fault and how can we fix this problem?
Why is service virtnetwork restart not working ?
Thank you.
IP: --   

Ubuntu 22.04
jevingala
Group: Virtualizor Team
Post Group: Super Member
Posts: 742
Status:
Hi,


When the server is rebooted, viifbr0 is not present.
>> It should start automatically.

May I know what error do you see when you use : service virtnetwork status

Or you can create permanent bridge to avoid this issue :

https://www.virtualizor.com/docs/admin/kvm-bridge/#managing-bridge-on-ubuntu-18-04

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/
IP: --   

Ubuntu 22.04
wnic
Group: Member
Post Group: Newbie
Posts: 8
Status:
/etc/netplan# service virtnetwork restart
/etc/netplan# service virtnetwork status
● virtnetwork.service - Virtualizor Network Service
    Loaded: loaded (/etc/systemd/system/virtnetwork.service; enabled; vendor preset: enabled)
    Active: active (exited) since Thu 2023-02-09 14:02:52 CET; 3s ago
    Process: 42957 ExecStart=/etc/init.d/virtnetwork start (code=exited, status=0/SUCCESS)
        CPU: 35ms

Feb 09 14:02:51 servername systemd[1]: Starting Virtualizor Network Service...
Feb 09 14:02:52 servername virtnetwork[42958]: Error: No ip address found.
Feb 09 14:02:52 servername systemd[1]: Started Virtualizor Network Service.
The ip is not found !

/etc/netplan# service virtnetwork stop
/etc/netplan# service virtnetwork start
/etc/netplan# service virtnetwork status
● virtnetwork.service - Virtualizor Network Service    Loaded: loaded (/etc/systemd/system/virtnetwork.service; enabled; vendor preset: enabled)
    Active: active (exited) since Thu 2023-02-09 14:04:16 CET; 2s ago
    Process: 43085 ExecStart=/etc/init.d/virtnetwork start (code=exited, status=0/SUCCESS)
        CPU: 217ms

Feb 09 14:03:44 servername systemd[1]: Starting Virtualizor Network Service...
Feb 09 14:03:44 servername virtnetwork[43086]: Bringing up viifbr0 - OK
Feb 09 14:03:54 servername virtnetwork[43086]: Waiting for 10 seconds...1...2...3...4...5...6...7...8...9...10
Feb 09 14:04:13 servername virtnetwork[43086]: Checking network connectivity through ping to 4.2.2.1
Feb 09 14:04:16 servername virtnetwork[43086]: Internet connectivity check successful viifbr0 - OK
Feb 09 14:04:16 servername systemd[1]: Started Virtualizor Network Service.

The ip is found and is working fine !
IP: --   

Ubuntu 22.04
jevingala
Group: Virtualizor Team
Post Group: Super Member
Posts: 742
Status:
Hi,


No need to run virtnetwork restart command after rebooting the server.

Can you share what status does it shows on rebooting the server ?

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/
IP: --   

Ubuntu 22.04
wnic
Group: Member
Post Group: Newbie
Posts: 8
Status:
Server rebooting. IP not found problem persists:
# service virtnetwork status
● virtnetwork.service - Virtualizor Network Service    Loaded: loaded (/etc/systemd/system/virtnetwork.service; enabled; vendor p>
    Active: active (exited) since Thu 2023-02-09 15:21:27 CET; 2min 26s ago
    Process: 1644 ExecStart=/etc/init.d/virtnetwork start (code=exited, status=>
        CPU: 35ms
Feb 09 15:21:27 servername systemd[1]: Starting Virtualizor Network S>
Feb 09 15:21:27 servername  virtnetwork[1645]: Error: No ip address fo>
Feb 09 15:21:27 servername  systemd[1]: Started Virtualizor Network Se>
lines 1-9/9 (END)...skipping...
● virtnetwork.service - Virtualizor Network Service
    Loaded: loaded (/etc/systemd/system/virtnetwork.service; enabled; vendor preset: enabled)
    Active: active (exited) since Thu 2023-02-09 15:21:27 CET; 2min 26s ago
    Process: 1644 ExecStart=/etc/init.d/virtnetwork start (code=exited, status=0/SUCCESS)
        CPU: 35ms

Feb 09 15:21:27 servername  systemd[1]: Starting Virtualizor Network Service...
Feb 09 15:21:27 servername virtnetwork[1645]: Error: No ip address found.
Feb 09 15:21:27 servername  systemd[1]: Started Virtualizor Network Service.

IP: --   

Ubuntu 22.04
wnic
Group: Member
Post Group: Newbie
Posts: 8
Status:
It seems to be an IPv6 problem. IPv6 remains registered on eno1 which is wrong.

Therefore a permanent bridge is necessary.

The error message

Feb 09 21:42:35 hostname virtnetwork[971]: Error: No ip address found.

exists but does not matter anymore.
IP: --   

Ubuntu 22.04
wnic
Group: Member
Post Group: Newbie
Posts: 8
Status:
The next problem is:
** (generate:54521): WARNING **: 10:43:02.788: `gateway4` has been deprecated, use default routes instead.
See the 'Default routes' section of the documentation for more details.

You should update your bridge documentation.
IP: --   

Ubuntu 22.04
jevingala
Group: Virtualizor Team
Post Group: Super Member
Posts: 742
Status:
Hi,

I will ask my team to check and handle ipv6 for virtnetwork service too.

Regarding ' No IP Address found ' error, if you can open a ticket so that we can check virtnetwork issue :


https://softaculous.deskuss.com/open.php?topicId=2


For Gateway4, we will check and update the documentation.

-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 27, 2024, 9:53 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.057