Hi @Rodrigo_Vieira_da_Co,
installed nethserver-webvirtmgr on a 7.4 VM I used for tests and on a fresh VM and had similar error:
[root@testserver ~]# systemctl status webvirtmgr
â—Ź webvirtmgr.service - WebVirtMgr Gunicorn Server
Loaded: loaded (/usr/lib/systemd/system/webvirtmgr.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sat 2017-12-09 21:17:47 CET; 54s ago
Process: 629 ExecStart=/usr/bin/python /usr/lib/python2.7/site-packages/webvirtmgr/manage.py run_gunicorn -c /usr/lib/python2.7/site-packages/webvirtmgr/conf/gunicorn.conf.py (code=exited, status=1/FAILURE)
Main PID: 629 (code=exited, status=1/FAILURE)
Dec 09 21:17:46 testserver.domain.local systemd[1]: Started WebVirtMgr Gunicorn Server.
Dec 09 21:17:46 testserver.domain.local systemd[1]: Starting WebVirtMgr Gunicorn Server...
Dec 09 21:17:47 testserver.domain.local python[629]: Traceback (most recent call last):
Dec 09 21:17:47 testserver.domain.local python[629]: File "/usr/lib/python2.7/site-packages/webvirtmgr/manage.py", line 8, in <module>
Dec 09 21:17:47 testserver.domain.local python[629]: from django.core.management import execute_from_command_line
Dec 09 21:17:47 testserver.domain.local python[629]: ImportError: No module named django.core.management
Dec 09 21:17:47 testserver.domain.local systemd[1]: webvirtmgr.service: main process exited, code=exited, status=1/FAILURE
Dec 09 21:17:47 testserver.domain.local systemd[1]: Unit webvirtmgr.service entered failed state.
Dec 09 21:17:47 testserver.domain.local systemd[1]: webvirtmgr.service failed.
/var/log/messages
Dec 10 08:19:52 testserver esmith::event[15810]: [INFO] webvirtmgr-console has been started
Dec 10 08:19:52 testserver esmith::event[15810]: Event: nethserver-webvirtmgr-save SUCCESS
Dec 10 08:19:52 testserver webvirtmgr-console: WARNING:root:No local_settings file found.
Dec 10 08:19:52 testserver webvirtmgr-console: Traceback (most recent call last):
Dec 10 08:19:52 testserver webvirtmgr-console: File "/usr/lib/python2.7/site-packages/webvirtmgr/console/webvirtmgr-console", line 22, in <module>
Dec 10 08:19:52 testserver webvirtmgr-console: from vrtManager.connection import CONN_SSH, CONN_SOCKET
Dec 10 08:19:52 testserver webvirtmgr-console: File "/usr/lib/python2.7/site-packages/webvirtmgr/vrtManager/connection.py", line 13, in <module>
Dec 10 08:19:52 testserver webvirtmgr-console: from django.conf import settings
Dec 10 08:19:52 testserver webvirtmgr-console: ImportError: No module named django.conf
Dec 10 08:19:52 testserver systemd: webvirtmgr-console.service: main process exited, code=exited, status=1/FAILURE
Dec 10 08:19:52 testserver systemd: Unit webvirtmgr-console.service entered failed state.
Dec 10 08:19:52 testserver systemd: webvirtmgr-console.service failed.
So I installed django:
yum install django
Now the services are starting but WebVirtMgr like
Played around with this but no success:
Latest upstream update dates of virt packages:
Dec 05 08:14:05 Updated: libvirt-daemon-3.2.0-14.el7_4.4.x86_64
Dec 09 13:04:06 Updated: libvirt-daemon-3.2.0-14.el7_4.5.x86_64
Tried downgrading but no luck.