How to create Repository for the gcloud ElasticSearch Instances


(Kartheek Gummaluri) #1

Please find the pic where we are getting error while creating repository in gcloud instances.
Thanks in advance
Kartheek G

ummaluri


(Mark Walkom) #2

It's a lot easier if you paste the text than an image.

Did you check the error that is being reported?


(David Pilato) #3

I believe you did not "mount" the dir on all nodes.


(Kartheek Gummaluri) #4

{
"error": "RepositoryVerificationException[[backup] [POdZRrZgTGaE1JnHF-M7AA, 'RemoteTransportException[[mces-mces-2-vm][inet[/10.240.0.14:9300]][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[backup] a file written by master to the store [/usr/backup] cannot be accessed on the node [[mces-mces-2-vm][POdZRrZgTGaE1JnHF-M7AA][mces-mces-2-vm.c.mc-stage.internal][inet[mces-mces-2-vm.c.mc-stage.internal/10.240.0.14:9300]]]. This might indicate that the store [/usr/backup] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node]; ']]]",
"status": 500
}


(Mark Walkom) #5

Right, but did you read it, as David mentions it explains what the problem is in the error.


(Kartheek Gummaluri) #6

can you tell me what to mount


(David Pilato) #7

/usr/backup Must be readable on all nodes.

Unfortunately cloud-gce plugin does not support yet Google storage. This is coming soonish.


(system) #8