kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.08k stars 365 forks source link

Kimchi / Wok not listening on port 8001 #1270

Closed sammcj closed 1 year ago

sammcj commented 5 years ago
alinefm commented 4 years ago

@sammcj could you confirm the fix provided for #1232 fixed your problem?

sammcj commented 4 years ago

@alinefm no it didn't fix it.

grep service= /usr/lib/python2.7/site-packages/wok/auth.py
    def authenticate(username, password, service="system-auth"):

netstat -lnp | grep 8001

Nothing listening on 8001

piotr-gbyliczek commented 4 years ago

I have just installed fresh centos 7 on a vm and installed both rpms from 2.5.0 release.

yum install https://github.com/kimchi-project/kimchi/releases/download/2.5.0/wok-2.5.0-0.el7.centos.noarch.rpm
yum install https://github.com/kimchi-project/kimchi/releases/download/2.5.0/kimchi-2.5.0-0.el7.centos.noarch.rpm
systemctl daemon-reload
systemctl start wokd

Was able to start wokd fine, connect to the VM on port 8001, and log in as user existing in the vm.

sammcj commented 4 years ago

Interesting.

Are there any files that aren’t cleaned up by a yum uninstall of the packages?

I’ll try tomorrow and report back.

-- Sam McLeod

On 5 Dec 2019, at 22:50, Piotr Gbyliczek notifications@github.com wrote:

 I have just installed fresh centos 7 on a vm and installed both rpms from 2.5.0 release.

yum install https://github.com/kimchi-project/kimchi/releases/download/2.5.0/wok-2.5.0-0.el7.centos.noarch.rpm yum install https://github.com/kimchi-project/kimchi/releases/download/2.5.0/kimchi-2.5.0-0.el7.centos.noarch.rpm systemctl daemon-reload systemctl start wokd Was able to start wokd fine, connect to the VM on port 8001, and log in as user existing in the vm.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

piotr-gbyliczek commented 4 years ago

Not much left after uninstall :

[root@kimchi-test ~]# locate kimchi
/usr/lib/python2.7/site-packages/sos/plugins/kimchi.py
/usr/lib/python2.7/site-packages/sos/plugins/kimchi.pyc
/usr/lib/python2.7/site-packages/sos/plugins/kimchi.pyo
/usr/share/kimchi
/var/lib/kimchi
/var/lib/kimchi/objectstore
[root@kimchi-test ~]# locate wok
/etc/wok
/etc/systemd/system/wokd.service.d
/etc/wok/dhparams.pem
/etc/wok/plugins.d
/usr/share/wok
/usr/share/wok/plugins
/var/lib/wok
/var/lib/wok/logs
/var/lib/wok/objectstore
/var/lib/wok/user-requests.data
/var/lib/wok/ws-tokens
/var/lib/wok/ws-tokens/woknotifications

Not sure about uninstalling from older releases, but I guess installing 2.5.0, uninstalling it, and installing it again should give a working app regardless of the previous configs.

ricardo-ml commented 3 years ago

if disabled IPV6 in centos, you need to delete "listen [::]:80 default_server;" in /etc/nginx/nginx.conf this problem is system can't run nginx.