Unknown Discovery type [kubernetes] After Installing/Upgrading OpenShift Logging

Solution Verified - Updated -

Issue

# oc logs -f logging-es-s6yxhcz4-3-rvq96
[2017-10-18 10:46:16,055][INFO ][container.run            ] Begin Elasticsearch startup script
[2017-10-18 10:46:16,066][INFO ][container.run            ] Comparing the specified RAM to the maximum recommended for Elasticsearch...
[2017-10-18 10:46:16,067][INFO ][container.run            ] Inspecting the maximum RAM available...
[2017-10-18 10:46:16,070][INFO ][container.run            ] ES_HEAP_SIZE: '5632m'
[2017-10-18 10:46:16,072][INFO ][container.run            ] Setting heap dump location /elasticsearch/persistent/heapdump.hprof
[2017-10-18 10:46:16,074][INFO ][container.run            ] Checking if Elasticsearch is ready on https://localhost:9200
Exception in thread "main" java.lang.IllegalArgumentException: Unknown Discovery type [kubernetes]
    at org.elasticsearch.discovery.DiscoveryModule.configure(DiscoveryModule.java:100)
    at <<<guice>>>
    at org.elasticsearch.node.Node.<init>(Node.java:213)
    at org.elasticsearch.node.Node.<init>(Node.java:140)
    at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:143)
    at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:194)
    at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:286)
    at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:45)
Refer to the log for complete error details.

Fluentd has:

2017-11-02 16:08:35 -0400 [warn]: no patterns matched tag="journal.system"
2017-11-02 16:08:36 -0400 [warn]: no patterns matched tag="journal.system"
2017-11-02 16:08:36 -0400 [warn]: no patterns matched tag="journal.system"

Environment

  • Red Hat OpenShift Container Platform
    • 3.6
  • Elasticsearch, Fluentd, Kibana images v3.6.173.0.21 and prior

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content