No interface named 'gce' when trying to setup passwords

(Brieuc Schaff) #1


Trying to set up Elastic 6.5.1 on Compute Engine. I did previously install 6.2.x without issue on another Compute Engine VM, but now I'm facing an issue with GCE settings.

I did install discovery-gce plugin which seems to load properly as it shows in the logs:
[2018-11-29T19:59:05,606][INFO ][o.e.p.PluginsService ] [MUT_gNe] loaded plugin [discovery-gce]

My elasticsearch.yml file looks like this: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch _gce_ true elastic-certificates.p12 elastic-certificates.p12

which is the exact same config that I have on 6.2.x and works fine.

Elasticsearch seems to start properly, however when I try bin/elasticsearch-setup-passwords interactive I get the following error:
Exception in thread "main" java.lang.IllegalArgumentException: No interface named 'gce' found, got [name:lo (lo), name:eth0 (eth0)] at at at at at at$SetupCommand.setupOptions( at$InteractiveSetup.execute( at org.elasticsearch.cli.EnvironmentAwareCommand.execute( at org.elasticsearch.cli.Command.mainWithoutErrorHandling( at org.elasticsearch.cli.MultiCommand.execute( at org.elasticsearch.cli.Command.mainWithoutErrorHandling( at org.elasticsearch.cli.Command.main( at

Not sure what's going on, any insight on this ?

(David Pilato) #2

Sounds like a bug to me. Could you open an issue ?

(system) closed #3

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