Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable SSL on testing old BWC nodes #30337

Merged
merged 2 commits into from
May 2, 2018

Conversation

jasontedor
Copy link
Member

@jasontedor jasontedor commented May 2, 2018

Old versions of Elasticsearch with SSL have a problem due to a bug in Netty where an illegal reference count exception can cause the cluster to fall apart. This issue impacted Netty 4.1.5.Final and 4.1.6.Final. With:

$ for tag in $(git tag | grep -E 'v5\.[0-9]\.[0-9]$')
> do
>   echo -n "$tag " \
>     && git show $tag:modules/transport-netty4/build.gradle \
>     | grep netty-buffer \
>     | cut -d: -f3 \
>     | perl -p -e 's/"$//g'
> done
v5.0.0 4.1.5.Final
v5.0.1 4.1.5.Final
v5.0.2 4.1.5.Final
v5.1.1 4.1.6.Final
v5.1.2 4.1.6.Final
v5.2.0 4.1.7.Final
v5.2.1 4.1.7.Final
v5.2.2 4.1.7.Final
v5.3.0 4.1.7.Final
v5.3.1 4.1.7.Final
v5.3.2 4.1.7.Final
v5.3.3 4.1.7.Final
v5.4.0 4.1.9.Final
v5.4.1 4.1.11.Final
v5.4.2 4.1.11.Final
v5.4.3 4.1.11.Final
v5.5.0 4.1.11.Final
v5.5.1 4.1.11.Final
v5.5.2 4.1.11.Final
v5.5.3 4.1.11.Final
v5.6.0 4.1.13.Final
v5.6.1 4.1.13.Final
v5.6.2 4.1.13.Final
v5.6.3 4.1.13.Final
v5.6.4 4.1.13.Final
v5.6.5 4.1.13.Final
v5.6.6 4.1.13.Final
v5.6.7 4.1.13.Final
v5.6.8 4.1.13.Final
v5.6.9 4.1.13.Final

We see that this means we need to not use SSL when testing nodes before 5.2.0. That is what this commit does.

Closes #30288

Old versions of Elasticsearch with SSL have a problem due to a bug in
Netty where an illegal reference count exception can cause the cluster
to fall apart. This issue impacted Netty 4.1.5.Final and
4.1.6.Final. With:

for tag in $(git tag | grep -E 'v5\.[0-9]\.[0-9]$')
do
  echo -n "$tag " \
    && git show $tag:modules/transport-netty4/build.gradle \
    | grep netty-buffer \
    | cut -d: -f3 \
    | perl -p -e 's/"$//g'
done
v5.0.0 4.1.5.Final
v5.0.1 4.1.5.Final
v5.0.2 4.1.5.Final
v5.1.1 4.1.6.Final
v5.1.2 4.1.6.Final
v5.2.0 4.1.7.Final
v5.2.1 4.1.7.Final
v5.2.2 4.1.7.Final
v5.3.0 4.1.7.Final
v5.3.1 4.1.7.Final
v5.3.2 4.1.7.Final
v5.3.3 4.1.7.Final
v5.4.0 4.1.9.Final
v5.4.1 4.1.11.Final
v5.4.2 4.1.11.Final
v5.4.3 4.1.11.Final
v5.5.0 4.1.11.Final
v5.5.1 4.1.11.Final
v5.5.2 4.1.11.Final
v5.5.3 4.1.11.Final
v5.6.0 4.1.13.Final
v5.6.1 4.1.13.Final
v5.6.2 4.1.13.Final
v5.6.3 4.1.13.Final
v5.6.4 4.1.13.Final
v5.6.5 4.1.13.Final
v5.6.6 4.1.13.Final
v5.6.7 4.1.13.Final
v5.6.8 4.1.13.Final
v5.6.9 4.1.13.Final

We see that this means we need to not use SSL when testing nodes before
5.2.1. That is what this commit does.
@jasontedor jasontedor added review :Delivery/Build Build or test infrastructure v6.4.0 labels May 2, 2018
@jasontedor jasontedor requested a review from jaymode May 2, 2018 13:58
Copy link
Member

@jaymode jaymode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jasontedor jasontedor merged commit 26656c9 into elastic:6.x May 2, 2018
@jasontedor jasontedor deleted the disable-ssl-on-old-bwc branch May 2, 2018 17:52
@hub-cap hub-cap added :Delivery/Build Build or test infrastructure and removed :Delivery/Build Build or test infrastructure labels May 2, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

jasontedor added a commit that referenced this pull request May 8, 2018
Old versions of Elasticsearch with SSL have a problem due to a bug in
Netty where an illegal reference count exception can cause the cluster
to fall apart. This issue impacted Netty 4.1.5.Final and
4.1.6.Final. With:

$ for tag in $(git tag | grep -E 'v5\.[0-9]\.[0-9]$')
> do
>   echo -n "$tag " \
>     && git show $tag:modules/transport-netty4/build.gradle \
>     | grep netty-buffer \
>     | cut -d: -f3 \
>     | perl -p -e 's/"$//g'
> done
v5.0.0 4.1.5.Final
v5.0.1 4.1.5.Final
v5.0.2 4.1.5.Final
v5.1.1 4.1.6.Final
v5.1.2 4.1.6.Final
v5.2.0 4.1.7.Final
v5.2.1 4.1.7.Final
v5.2.2 4.1.7.Final
v5.3.0 4.1.7.Final
v5.3.1 4.1.7.Final
v5.3.2 4.1.7.Final
v5.3.3 4.1.7.Final
v5.4.0 4.1.9.Final
v5.4.1 4.1.11.Final
v5.4.2 4.1.11.Final
v5.4.3 4.1.11.Final
v5.5.0 4.1.11.Final
v5.5.1 4.1.11.Final
v5.5.2 4.1.11.Final
v5.5.3 4.1.11.Final
v5.6.0 4.1.13.Final
v5.6.1 4.1.13.Final
v5.6.2 4.1.13.Final
v5.6.3 4.1.13.Final
v5.6.4 4.1.13.Final
v5.6.5 4.1.13.Final
v5.6.6 4.1.13.Final
v5.6.7 4.1.13.Final
v5.6.8 4.1.13.Final
v5.6.9 4.1.13.Final

We see that this means we need to not use SSL when testing nodes before
5.2.0. That is what this commit does.
dnhatn added a commit that referenced this pull request May 8, 2018
* 6.x:
  Stop forking javac (#30462)
  Fix tribe tests
  Docs: Use task_id in examples of tasks (#30436)
  Security: Rename IndexLifecycleManager to SecurityIndexManager (#30442)
  Packaging: Set elasticsearch user to have non-existent homedir (#29007)
  [Docs] Fix typo in cardinality-aggregation.asciidoc (#30434)
  Avoid NPE in `more_like_this` when field has zero tokens (#30365)
  Build: Switch to building javadoc with html5 (#30440)
  Add a quick tour of the project to CONTRIBUTING (#30187)
  Add stricter geohash parsing (#30376)
  Reindex: Use request flavored methods (#30317)
  Silence SplitIndexIT.testSplitIndexPrimaryTerm test failure.  (#30432)
  Auto-expand replicas when adding or removing nodes (#30423)
  Silence IndexUpgradeIT test failures. (#30430)
  Fix line length violation in cache tests
  Add failing test for core cache deadlock
  [DOCS] convert forcemerge snippet
  Update forcemerge.asciidoc (#30113)
  Added zentity to the list of API extension plugins (#29143)
  Fix the search request default operation behavior doc (#29302) (#29405)
  Watcher: Mark watcher as started only after loading watches (#30403)
  Correct wording in log message (#30336)
  Do not fail snapshot when deleting a missing snapshotted file (#30332)
  AwaitsFix testCreateShrinkIndexToN
  DOCS: Correct mapping tags in put-template api
  DOCS: Fix broken link in the put index template api
  Add put index template api to high level rest client (#30400)
  [Docs] Add snippets for POS stop tags default value
  Remove entry inadvertently picked into changelog
  Move respect accept header on no handler to 6.3.1
  Respect accept header on no handler (#30383)
  [Test] Add analysis-nori plugin to the vagrant tests
  [Rollup] Validate timezone in range queries (#30338)
  [Docs] Fix bad link
  [Docs] Fix end of section in the korean plugin docs
  add the Korean nori plugin to the change logs
  Expose the Lucene Korean analyzer module in a plugin (#30397)
  Docs: remove transport_client from CCS role example (#30263)
  Test: remove cluster permission from CCS user (#30262)
  Watcher: Remove unneeded index deletion in tests
  fix docs branch version
  fix lucene snapshot version
  Upgrade to 7.4.0-snapshot-1ed95c097b (#30357)
  [ML][TEST] Clean up jobs in ModelPlotIT
  Watcher: Ensure trigger service pauses execution (#30363)
  [DOCS] Fixes ordering of changelog sections
  [DOCS] Commented out empty sections in the changelog to fix the doc build. (#30372)
  Make RepositoriesMetaData contents unmodifiable (#30361)
  Change signature of Get Repositories Response (#30333)
  6.x Backport: Terms query validate bug  (#30319)
  InternalEngineTests.testConcurrentOutOfOrderDocsOnReplica should use two documents (#30121)
  Security: reduce garbage during index resolution (#30180)
  Test: use trial license in qa tests with security
  [ML] Add integration test for model plots (#30359)
  SQL: Fix bug caused by empty composites (#30343)
  [ML] Account for gaps in data counts after job is reopened (#30294)
  [ML] Refactor DataStreamDiagnostics to use array (#30129)
  Make licensing FIPS-140 compliant (#30251)
  Do not load global state when deleting a snapshot (#29278)
  Don't load global state when only restoring indices (#29239)
  Tests: Use different watch ids per test in smoke test (#30331)
  Watcher: Make start/stop cycle more predictable and synchronous (#30118)
  [Docs] Add term query with normalizer example
  Adds Eclipse config for xpack licence headers (#30299)
  Fix message content in users tool (#30293)
  [DOCS] Removed X-Pack breaking changes page
  [DOCS] Added security breaking change
  [DOCS] Fixes link to TLS LDAP info
  [DOCS] Merges X-Pack release notes into changelog (#30350)
  [DOCS] Fixes broken links to bootstrap user (#30349)
  [Docs] Remove errant changelog line
  Fix NPE when CumulativeSum agg encounters null/empty bucket (#29641)
  [DOCS] Reorganizes authentication details in Stack Overview (#30280)
  Tests: Simplify VersionUtils released version splitting (#30322)
  Fix merging logic of Suggester Options (#29514)
  ReplicationTracker.markAllocationIdAsInSync may hang if allocation is cancelled (#30316)
  [DOCS] Adds LDAP realm configuration details (#30214)
  [DOCS] Adds native realm configuration details (#30215)
  Disable SSL on testing old BWC nodes (#30337)
  [DOCS] Enables edit links for X-Pack pages
  Cancelling a peer recovery on the source can leak a primary permit (#30318)
  SQL: Reduce number of ranges generated for comparisons (#30267)
  [DOCS] Adds links to changelog sections
  Convert server javadoc to html5 (#30279)
  REST Client: Add Request object flavored methods (#29623)
  Create default ES_TMPDIR on Windows (#30325)
  [Docs] Clarify `fuzzy_like_this` redirect (#30183)
  Fix docs of the `_ignored` meta field.
  Add a new `_ignored` meta field. (#29658)
  Move repository-azure fixture test to QA project (#30253)
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team v6.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants