ricci and libvirt with luci = error

If you’re setting up a cluster on RHEL with ricci and the machine is also a virtual host, you might have problems adding it to the cluster in luci (even though everything looks good – firewall is open and you can communicate on the port).

The error is something like:
unable to receive header from server on 11111

This is because the server is looking for a .libvirt configuration directory for the ricci user, but it doesn’t exist. Simply log onto the node and perform the following as root:
mkdir /var/lib/ricci/.libvirt
chown ricci:ricci /var/lib/ricci/.libvirt

Now you can successfully add the node to the cluster using luci.

-c

2 thoughts on “ricci and libvirt with luci = error

  1. many many thanks!I have spend four hours to troubleshooting this problem! now i find answer.thank you very much.

Leave a Reply

Your email address will not be published. Required fields are marked *