[ES-1.4.0] Changing linux user ID

Hi All,

I encountered a 'Permission Denied' error while using ES Snapshot API to
add a 'FS' repository pointing a NFS shared folder.

My cluster structure is:

  • NFS_MACHINE - user id is 600
  • ES_01 - user ID that runs ES is 1000
  • ES_02 - user ID that runs ES is 600

The issue seems to be that the difference in user IDs between the machines
generated the permission issues.

My question is about ES files across a machine file system, are there any
files outside ES installation folder (except for data/logs/configuration)?

Thanks,
Yarden

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/582c5f18-f40a-42cd-85bf-fcfeb8b18e8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Well if you are using a shared FS for snapshot/restore, you need to make sure that each node user can write to this dir.
Try from all machines to write a file when running as es_01 and es_02
May be you could add them to the same group and give write privileges to the group?

David

Le 18 févr. 2015 à 09:09, Yarden Bar yarden@astoncapitalmanagement.com a écrit :

Hi All,

I encountered a 'Permission Denied' error while using ES Snapshot API to add a 'FS' repository pointing a NFS shared folder.

My cluster structure is:
NFS_MACHINE - user id is 600
ES_01 - user ID that runs ES is 1000
ES_02 - user ID that runs ES is 600
The issue seems to be that the difference in user IDs between the machines generated the permission issues.

My question is about ES files across a machine file system, are there any files outside ES installation folder (except for data/logs/configuration)?

Thanks,
Yarden

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/582c5f18-f40a-42cd-85bf-fcfeb8b18e8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1B1A87D5-9D7D-4016-A0D8-1350E52A2906%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Issue was solved by modifying user/group IDs to mactch on all machines.

Thanks for the ideas :slight_smile:

On Wednesday, February 18, 2015 at 10:50:50 AM UTC+2, David Pilato wrote:

Well if you are using a shared FS for snapshot/restore, you need to make
sure that each node user can write to this dir.
Try from all machines to write a file when running as es_01 and es_02
May be you could add them to the same group and give write privileges to
the group?

David

Le 18 févr. 2015 à 09:09, Yarden Bar <yar...@astoncapitalmanagement.com
<javascript:>> a écrit :

Hi All,

I encountered a 'Permission Denied' error while using ES Snapshot API to
add a 'FS' repository pointing a NFS shared folder.

My cluster structure is:

  • NFS_MACHINE - user id is 600
  • ES_01 - user ID that runs ES is 1000
  • ES_02 - user ID that runs ES is 600

The issue seems to be that the difference in user IDs between the machines
generated the permission issues.

My question is about ES files across a machine file system, are there any
files outside ES installation folder (except for data/logs/configuration)?

Thanks,
Yarden

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/582c5f18-f40a-42cd-85bf-fcfeb8b18e8c%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/582c5f18-f40a-42cd-85bf-fcfeb8b18e8c%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/01f0238b-cdca-46fc-bd38-bf12fcabeaeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.