Page MenuHomePhabricator

Deploy OpenSearch for Beta following production observability configurations
Closed, ResolvedPublic

Details

SubjectRepoBranchLines +/-
operations/puppetproduction+69 -0
operations/puppetproduction+290 -0
operations/puppetproduction+8 -2
operations/puppetproduction+258 -0
operations/puppetproduction+182 -0
operations/puppetproduction+26 -0
operations/puppetproduction+15 -0
operations/puppetproduction+98 -0
operations/puppetproduction+156 -0
operations/puppetproduction+83 -60
operations/puppetproduction+122 -0
operations/puppetproduction+22 -0
operations/puppetproduction+49 -0
operations/puppetproduction+6 -2
operations/puppetproduction+73 -0
operations/puppetproduction+122 -0
operations/puppetproduction+1 K -0
operations/puppetproduction+2 -0
Show related patches Customize query in gerrit

Event Timeline

Change 711741 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] profile: improve kafka_shipper rsyslog output ssl options

https://gerrit.wikimedia.org/r/711741

Change 713701 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] aptrepo: add opensearch 1.x component

https://gerrit.wikimedia.org/r/713701

Change 713701 merged by Cwhite:

[operations/puppet@production] aptrepo: add opensearch 1.x component

https://gerrit.wikimedia.org/r/713701

Following up from yesterday's conversations re: ssl and rsyslog, AFAICS the librdkafka options to disable verification are:

  • ssl.endpoint.identification.algorithm
  • enable.ssl.certificate.verification

So in rsyslog configuration sth like this:

action(type="omkafka"
       broker=["pontoon-kafka-01.monitoring.eqiad1.wikimedia.cloud:9093"]
       topic="kafka_topic"
       dynatopic="on"
       dynatopic.cachesize="1000"
       partitions.auto="on"
       template="syslog_json"
       queue.type="LinkedList" queue.size="10000" queue.filename="output_kafka_json"
       queue.highWatermark="7000" queue.lowWatermark="6000"
       queue.checkpointInterval="5"
       confParam=[ "security.protocol=ssl",
                   "ssl.ca.location=/etc/ssl/certs/Puppet_Internal_CA.pem",
                   "enable.ssl.certificate.verification=false",
                   "ssl.endpoint.identification.algorithm=none",
                   "compression.codec=snappy",
                   "socket.timeout.ms=10000",
                   "socket.keepalive.enable=true",
                   "queue.buffering.max.ms=50",
                   "batch.num.messages=1000" ]
)

I haven't verified (hah) but I think only ssl.endpoint.identification.algorithm=none is needed to stop validating that the brokers present a verifiable cert

  • ssl.endpoint.identification.algorithm

Sep 10 15:39:05 deployment-mediawiki11 rsyslogd[28176]: error setting custom configuration parameter 'ssl.endpoint.identification.algorithm=none': No such configuration property: "ssl.endpoint.identification.algorithm" [v8.1901.0 try https://www.rsyslog.com/e/1000 ]

  • enable.ssl.certificate.verification

Sep 10 15:40:21 deployment-mediawiki11 rsyslogd[28335]: error setting custom configuration parameter 'enable.ssl.certificate.verification=false': No such configuration property: "enable.ssl.certificate.verification" [v8.1901.0 try https://www.rsyslog.com/e/1000 ]

It seems these options aren't available in librdkafka 0.9.3 (stretch) or 0.11.6 (buster), but they are available in 1.6.0 (bullseye). The options appear in librdkafka >= 1.1.0.

  • ssl.endpoint.identification.algorithm

Sep 10 15:39:05 deployment-mediawiki11 rsyslogd[28176]: error setting custom configuration parameter 'ssl.endpoint.identification.algorithm=none': No such configuration property: "ssl.endpoint.identification.algorithm" [v8.1901.0 try https://www.rsyslog.com/e/1000 ]

  • enable.ssl.certificate.verification

Sep 10 15:40:21 deployment-mediawiki11 rsyslogd[28335]: error setting custom configuration parameter 'enable.ssl.certificate.verification=false': No such configuration property: "enable.ssl.certificate.verification" [v8.1901.0 try https://www.rsyslog.com/e/1000 ]

It seems these options aren't available in librdkafka 0.9.3 (stretch) or 0.11.6 (buster), but they are available in 1.6.0 (bullseye). The options appear in librdkafka >= 1.1.0.

Thank you for checking, not really an option to disable validation at least until stretch and buster are around :(

Change 721359 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] opensearch: fork elasticsearch module into opensearch module

https://gerrit.wikimedia.org/r/721359

Change 721385 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] opensearch_dashboards: fork kibana module into opensearch_dashboards module

https://gerrit.wikimedia.org/r/721385

Change 721386 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] icinga: fork icinga::monitor::elasticsearch::base_checks

https://gerrit.wikimedia.org/r/721386

Change 721388 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] profile: fork elasticsearch profile into opensearch::server

https://gerrit.wikimedia.org/r/721388

Change 721389 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] profile: fork elasticsearch base_checks for opensearch

https://gerrit.wikimedia.org/r/721389

Change 721391 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] profile: fork kibana profile into opensearch::dashboards

https://gerrit.wikimedia.org/r/721391

Change 721395 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] profile: fork elasticsearch::logstash into opensearch::logstash

https://gerrit.wikimedia.org/r/721395

Change 721397 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] role: add logging::opensearch::collector role

https://gerrit.wikimedia.org/r/721397

Change 721400 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] role: add logging::opensearch::data role

https://gerrit.wikimedia.org/r/721400

colewhite triaged this task as Medium priority.Sep 16 2021, 10:32 PM

Change 723619 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] hiera: add minimal logstash-beta-next hiera configuration

https://gerrit.wikimedia.org/r/723619

Change 727624 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] logstash: add opensearch output config definition

https://gerrit.wikimedia.org/r/727624

Change 727625 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] logstash: kafka input: add manage_truststore parameter

https://gerrit.wikimedia.org/r/727625

Change 727626 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] profile: add logstash common profile

https://gerrit.wikimedia.org/r/727626

Change 727627 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] profile: add beta logstash profile

https://gerrit.wikimedia.org/r/727627

Change 721359 merged by Cwhite:

[operations/puppet@production] opensearch: fork elasticsearch module into opensearch module

https://gerrit.wikimedia.org/r/721359

Change 721385 merged by Cwhite:

[operations/puppet@production] opensearch_dashboards: fork kibana module into opensearch_dashboards module

https://gerrit.wikimedia.org/r/721385

Change 721386 merged by Cwhite:

[operations/puppet@production] icinga: fork icinga::monitor::elasticsearch::base_checks

https://gerrit.wikimedia.org/r/721386

Change 727625 merged by Cwhite:

[operations/puppet@production] logstash: kafka input: add manage_truststore parameter

https://gerrit.wikimedia.org/r/727625

Change 721395 merged by Cwhite:

[operations/puppet@production] profile: fork elasticsearch::logstash into opensearch::logstash

https://gerrit.wikimedia.org/r/721395

Change 721389 merged by Cwhite:

[operations/puppet@production] profile: fork elasticsearch base_checks for opensearch

https://gerrit.wikimedia.org/r/721389

Change 721388 merged by Cwhite:

[operations/puppet@production] profile: fork elasticsearch profile into opensearch::server

https://gerrit.wikimedia.org/r/721388

Change 732438 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] profile: logstash: add production logstash profile

https://gerrit.wikimedia.org/r/732438

Change 711741 abandoned by Cwhite:

[operations/puppet@production] profile: improve kafka_shipper rsyslog output ssl options

Reason:

https://gerrit.wikimedia.org/r/711741

Change 721391 merged by Cwhite:

[operations/puppet@production] profile: fork kibana profile into opensearch::dashboards

https://gerrit.wikimedia.org/r/721391

Change 727626 merged by Cwhite:

[operations/puppet@production] profile: add logstash common profile

https://gerrit.wikimedia.org/r/727626

Change 721400 merged by Cwhite:

[operations/puppet@production] role: add logging::opensearch::data role

https://gerrit.wikimedia.org/r/721400

Change 721397 merged by Cwhite:

[operations/puppet@production] role: add logging::opensearch::collector role

https://gerrit.wikimedia.org/r/721397

Change 727627 merged by Cwhite:

[operations/puppet@production] profile: add beta logstash profile

https://gerrit.wikimedia.org/r/727627

Change 723619 merged by Cwhite:

[operations/puppet@production] hiera: add minimal logstash-beta-next hiera configuration

https://gerrit.wikimedia.org/r/723619

Change 734658 had a related patch set uploaded (by Cwhite; author: Cwhite):

[operations/puppet@production] opensearch roles: apply profile::base classes according to realm

https://gerrit.wikimedia.org/r/734658

Change 734658 abandoned by Cwhite:

[operations/puppet@production] opensearch roles: apply profile::base classes according to realm

Reason:

https://gerrit.wikimedia.org/r/734658

New cluster MVP and announced.

Change 732438 merged by Cwhite:

[operations/puppet@production] profile: logstash: add production logstash profile

https://gerrit.wikimedia.org/r/732438

Change 727624 merged by Cwhite:

[operations/puppet@production] logstash: add opensearch output config definition

https://gerrit.wikimedia.org/r/727624