Thanks Mark.
I will describe what happen to my system maybe it will help others.
I has a system with 5 nodes. In some point I was asked to use only one node since this system wasn't in real use. So I moved all indices to one node and use it. All was good in the beginning but when I tried to save some visualizations and search I get errors. After investigation I found this discussion Getting "master not discovered or elected yet" causing cluster not up in version 7.1.0 and I saw David's answer about the problem that can be if some nodes were dropped from the system. I deleted all my data from path.data
but I still had the same issue. After your answer I read here that in the first time we bootstrap a cluster we must define cluster.initial_master_nodes
so I did it and now it looks good.
Thanks