Resolve Kimchi issues on PowerKVM (if any)

If kimchi is not working for you.  Try below

1) Check if kimchi service is running?  if not start the service.

[root@powerkvm ~]# service kimchid status
Redirecting to /bin/systemctl status  kimchid.service
kimchid.service – Kimchi server
Loaded: loaded (/usr/lib/systemd/system/kimchid.service; enabled)
Active: active (running) since Mon 2014-09-01 15:10:30 EDT; 1s ago
Process: 20010 ExecStop=/bin/kill -TERM $MAINPID (code=exited, status=1/FAILURE)
Main PID: 39442 (kimchid)
CGroup: name=systemd:/system/kimchid.service
├─39442 /usr/bin/python /usr/bin/kimchid
├─39448 nginx: master process nginx -c /etc/kimchi/nginx_kimchi.conf
├─39449 nginx: worker process
├─39455 python /usr/lib/python2.7/site-packages/kimchi/websockify.py 64667 –target-config /var/lib/kimchi/vnc-tokens –cert /etc/kimchi/kimchi-cert.pem –key /et…
└─39457 /usr/bin/python -Es /usr/sbin/tuned-adm active

[root@powerkvm ~]#

2) check the list of permissive domains within SELinux.  Run the following command:

sudo semanage permissive -l | grep httpd_t

If httpd_t is not returned as a result from this command, you need to add httpd_t to the list of permissive domains

1. Stop Kimchi: systemctl stop kimchid

2. Add httpd_t to the permissive domain:  semanage permissive -a httpd_t

3. Check list the of permissive domains again: semanage permissive -l | grep httpd_t

4. You should see “httpd_t” as result

5. Start Kimchi:  systemctl start kimchid

6. Verify that Kimchi is started:  systemctl status kimchid

3) For impatient & Dont care about security:  Disable firewal and start service

( not recommended for security parity point of view)

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s