Hi Goswin,
thank you very much for this explanation. I have adjusted the network-configuration now such that ping beosrv-c works and dnsmasq is running. However, I still cannot create the token; with a slightly different error, starting with
ERROR:qlunet.Node:router is not responding to pings: reconnecting ERROR:qlunet.Node:ZMQ error on reconnect, trying again in 10s Traceback (most recent call last): File "/usr/lib/python3/dist-packages/qlunet/Node.py", line 1000, in slave_reset_keys raise last_err File "/usr/lib/python3/dist-packages/qlunet/Node.py", line 990, in slave_reset_keys self._monitor = self._socket.get_monitor_socket() File "/usr/lib/python3/dist-packages/zmq/sugar/socket.py", line 735, in get_monitor_socket self.monitor(addr, events) File "zmq/backend/cython/socket.pyx", line 682, in zmq.backend.cython.socket.Socket.monitor File "zmq/backend/cython/checkrc.pxd", line 25, in zmq.backend.cython.checkrc._check_rc zmq.error.ZMQError: Address already in use ERROR:qlunet.Node:router is not responding to pings: reconnecting
which should be, as suggested earlier by Roland, due to qlumand not running properly: the process is running but in the logs is written that
2019-12-05 10:22:08,075 [4884] ERROR common.daemon stopping with an exception Traceback (most recent call last): File "/usr/lib/python3/dist-packages/qluman-11/server/db/DBData.py", line 1181, in __init__ current_main_head = self.hosts.lookup("name", QLUSTAR_MAIN_HEADNODE) File "/usr/lib/python3/dist-packages/qluman-11/common/types.py", line 1866, in lookup raise KeyError KeyError
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/qluman-11/server/db/DBData.py", line 1184, in __init__ old_main_head = self.hosts.lookup(field = "ipv4", val = IPv4Address(head_int_ipv4)) File "/usr/lib/python3/dist-packages/qluman-11/common/types.py", line 1866, in lookup raise KeyError KeyError
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/qluman-11/common/types.py", line 183, in __init__ val = kwargs.pop(name) KeyError: 'last_changed'
so I guess that I ran in some 'inconsistent database'-state and maybe the easiest would be to start from scratch and ensure that the hostname resolution is working before doing all the setup/config steps? Thanks in advance, Tobias
On 04.12.19 14:59, Goswin von Brederlow wrote:
Hi Tobias,
'IP address of QLUSTAR_MAIN_HEADNODE is not defined in nameservice (NIS)' is indeed the critical error. I haven't seen this error for a long time and the error text is a bit outdated since we added support for dnsmasq, which should now define the IP address of the QLUSTAR_MAIN_HEADNODE, aka. beosrv-c.
So that has to be tested. Log in to the server and try running
ping beosrv-c
This should resolve to the IP of the server and ping sucesfully. But I expect not in your case.
If that fails then check that dnsmasq is running with:
systemctl status dnsmasq
Also beosrv-c must be one of the hosts listed in /etc/dnsmasq.conf.
As for the hostname for cl-login. In qluman a host can have multiple names. For qluman the primary name is the Cluster node name, which is also used to generate names for different networks the host may be on. The rules for generating those names are defined in the network config. A host can also have aliases associated with each network and the visible hostname can be changed. Once you have a cert and the GUI running select cl-login in the Enclosure View. At the right the information for the host then shows up. At the top where it says "Override hostname" you can change the visible hostname for the node to match the external name.
Best,
Goswin _______________________________________________ Qlustar-General mailing list -- qlustar-general@qlustar.org To unsubscribe send an email to qlustar-general-leave@qlustar.org