Problema: Conga falla al crear un cluster o cuando tratas de agregar un nodo con el siguiente error:
Error receiving header from <nodename>:11111
El error que podemos apreciar en el log /var/log/luci/luci.log es el siguiente:
12:37:44,091 ERROR [luci.lib.ricci_communicator] Error reading from hyp-04.nhgc.local:11111: The read operation timed out
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/luci/lib/ricci_communicator.py", line 487, in __receive
cur_chunk = self.ss.read()
File "/usr/lib64/python2.6/ssl.py", line 136, in read
return self._sslobj.read(len)
SSLError: The read operation timed out
12:37:44,091 ERROR [luci.widget_validators.validate_create_cluster_form] Error adding node hyp-04.nhgc.local while creating cluster storage
Traceback (most recent call last):
File "/usr/lib64/python2.6/site-packages/luci/widget_validators/validate_create_cluster_form.py", line 112, in validate_create_cluster_form
rc = RicciCommunicator(node[1], port=int(node[3]))
File "/usr/lib64/python2.6/site-packages/luci/lib/ricci_communicator.py", line 129, in __init__
raise RicciError, err_msg
RicciError: Error receiving header from hyp-04.nhgc.local:11111
El problema se solventa de la siguiente manera:
Manualmente debemos crear el siguiente directorio:
# mkdir /var/lib/ricci/.libvirt
# chown ricci:ricci /var/lib/ricci/.libvirt
El problema se manifiesta por si mismo como un timeout del SSL desde luci con las cabeceras de ricci, investigando un poco, conoci que en la version 6.2 ricci trata de ejecutar virsh y al faltar este directorio no puede ejecutarse por lo que termina generando un timeout en ricci y nunca se comunica con luci.
Enjoyed this article?
WebsiteWordPress themes!
Related posts:
