I tried even with an old iso (7.3 1611) and gave the same error, do not load the webvirtmgr nor start the service.
I also noticed that the following command no longer finds the package groups: yum groupinstall --setopt=centos-base.enablegroups=1 --setopt=centos-updates.enablegroups=1 install basic-desktop desktop-platform x11 fonts -y
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.
Hi Markuz!
I also had installed django (python), and even with downgrade is presenting problems … I believe it is a bug in the repositories.
I hope a miracle this week, because I have a server to deliver urgently!
Hugs and we’ll wait for the solution!
Once that was done, I simple reinstalled webvirtmgr.
sudo yum install nethserver-webvirtmgr
That will pull back the dependencies, and after enabling webvirtmgr in the webui and creating a password, I was able to sign into webvirtmgr with no issue. Seems like django is missing as a dependency here and is needed for it to install correctly? Hopefully someone else can chime in.