I've tried to change the cluster memory from 1GB to 2GB from ECE console. Now no cluster(including logging and metrics cluster) is coming up and showing error "500: An internal server error ". I've enough memory left, about 4GB.
I'm facing downtime.
how should i proceed for this?
eg curl -u root:PASSWORD 'HOST:12400/clusters/elasticsearch' (use readonly and its password to generate a sanitized list) will list the clusters together with some basic health information, /platform/infrastructure/allocators will list the health of the allocators etc
I was using 32GB disk and 1GB memory for my cluster(i created). Due to the increased memory pressure, i changed the memory from 1GB to 2GB. While that migration was happening, my UI went down and now I'm getting "Fetching clusters failed" and "service unavailable" errors when i login to my ELK.
And i'm getting "{"ok":false,"message":"The requested cluster is currently split"}" when i try to hit my elastic search endpoint.
Thanks for the details, seems like 2 things have happened:
When updating an overloaded cluster you got a split brain situation - this has started happening with a bit of regularity, and once we get the platform back I will provide some strategies for dealing with it
The split brain has somehow taken down the administrative cluster that the UI uses to display the clusters ... this I haven't seen before
Can you run a few API commands as the user readonly (which ensures you don't leak any secrets)
curl -u readonly:PASSWORD "http://HOST:12400/api/v1/clusters/elasticsearch" - returns a list of all the clusters and their health
curl -u readonly:PASSWORD "http://HOST:12400/api/v1/clusters/elasticsearch/XXX" where XXX is the adminconsole cluster return from the previous call
curl -u readonly:PASSWORD "http://HOST:12400/api/v1/clusters/elasticsearch/YYY/plan/activity" where YYY is the cluster that you upgraded and split brained
curl -u readonly:PASSWORD "http://HOST:12400/api/v1/platform/infrastructure/allocators" - provides information about the health of the allocators that run the clusters
i'm not able to login to Elastic cloud.
when i tried : curl -u readonly:PASSWORD "http://HOST:12400/api/v1/clusters/elasticsearch"
i'm getting authentication error
{
"errors": [{
"code": "root.unauthenticated",
"message": "The supplied authentication is invalid"
}]
}
if you didn't take a note of it at the time, not to worry, all the credentials are kept /mnt/data/elastic/bootstrap-state/bootstrap-secrets.json (may vary if you installed in a different root directory)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.