ECE AccessDeniedException


#1

Running ECE install produces the following log message in Docker before erroring out. Any help resolving this problem is much appreciated.

usermod: no changes
*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/rc.local...
*** Running setuser founduser /app/elasticsearch.sh...
2018-09-24T12:46:02+0000 Booting at Mon Sep 24 12:46:02 UTC 2018
2018-09-24T12:46:02+0000 Enabling QuotaAwareFileSystemProvider
2018-09-24T12:46:02+0000 First time booting with this image, verifying ephemeral directories are empty
2018-09-24T12:46:02+0000 Adding selected plugin: found-elasticsearch
2018-09-24T12:46:03+0000 Exception in thread "main" java.nio.file.AccessDeniedException: /elasticsearch/plugins/.installing-7426190940094277336
2018-09-24T12:46:03+0000        at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
2018-09-24T12:46:03+0000        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
2018-09-24T12:46:03+0000        at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
2018-09-24T12:46:03+0000        at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
2018-09-24T12:46:03+0000        at co.elastic.cloud.quotaawarefs.QuotaAwareFileSystemProvider.createDirectory(QuotaAwareFileSystemProvider.java:286)
2018-09-24T12:46:03+0000        at java.nio.file.Files.createDirectory(Files.java:674)
2018-09-24T12:46:03+0000        at java.nio.file.TempFileHelper.create(TempFileHelper.java:136)
2018-09-24T12:46:03+0000        at java.nio.file.TempFileHelper.createTempDirectory(TempFileHelper.java:173)
2018-09-24T12:46:03+0000        at java.nio.file.Files.createTempDirectory(Files.java:950)
2018-09-24T12:46:03+0000        at org.elasticsearch.plugins.InstallPluginCommand.stagingDirectory(InstallPluginCommand.java:475)
2018-09-24T12:46:03+0000        at org.elasticsearch.plugins.InstallPluginCommand.unzip(InstallPluginCommand.java:423)
2018-09-24T12:46:03+0000        at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:217)
2018-09-24T12:46:03+0000        at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:202)
2018-09-24T12:46:03+0000        at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:70)
2018-09-24T12:46:03+0000        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134)
2018-09-24T12:46:03+0000        at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:69)
2018-09-24T12:46:03+0000        at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:134)
2018-09-24T12:46:03+0000        at org.elasticsearch.cli.Command.main(Command.java:90)
2018-09-24T12:46:03+0000        at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47)
*** setuser exited with status 1.
*** Killing all processes...

(Alex Piggott) #2

Interesting, I've never seen this before

My guess would be that either the FS is unsupported, or the permissions in /mnt/data/docker and/or /mnt/data/elastic are wrong. What user are you running as, what are the permissions/FS etc?

Alex


(system) #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.