I'm trying to connect a tribe node as client to a cluster that has marvel license installed on it.
For some reason when I start the tribe, it manages to connect as client to the cluster but I see a weird exception in the logs :
failed to notify ClusterStateListener java.lang.IllegalStateException: master not available when registering auto-generated license
curl -XGET 'http://localhost:9200/_license'
Does not return anything on tribe node even after installing the license and marvel agent + restarting the tribe.
curl -XGET 'http://localhost:9200/_cat/master'
Doesn't return anything as well on tribe node.
(On the rest of the cluster these 2 commands work and return output)
Besides that the tribe is functioning properly. It sends data to marvel with agent exporter and kibana manages to connect to it and serve requests from the remote cluster.
Any idea what this exception means and how I can fix it ?