-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Platform] Health check fails if DB TLS version is set to 1.2 #7196
Comments
streddy-yb
added
priority/high
High Priority
area/platform
Yugabyte Platform
2.4 Backport Required
labels
Feb 10, 2021
WesleyW
added a commit
that referenced
this issue
Feb 11, 2021
Summary: If `ssl_protocols` is added to the tserver gflags, health checks should use the appropriate option when trying to connect with the sample cqlsh command. Test Plan: Create tls universe with no gflags and run. Create tls universe with `ssl_protocols` and run. Reviewers: sanketh, arnav, bogdan, daniel, sb-yb Reviewed By: sb-yb Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D10596
WesleyW
added a commit
that referenced
this issue
Feb 11, 2021
…ersion of TLS Summary: If `ssl_protocols` is added to the tserver gflags, health checks should use the appropriate option when trying to connect with the sample cqlsh command. Test Plan: Create tls universe with no gflags and run. Create tls universe with `ssl_protocols` and run. Jenkins: rebase: 2.2 Reviewers: sanketh, arnav, bogdan, daniel, sb-yb Reviewed By: sb-yb Subscribers: yugaware, jenkins-bot Differential Revision: https://phabricator.dev.yugabyte.com/D10600
WesleyW
added a commit
that referenced
this issue
Feb 11, 2021
…ersion of TLS Summary: If `ssl_protocols` is added to the tserver gflags, health checks should use the appropriate option when trying to connect with the sample cqlsh command. Test Plan: Create tls universe with no gflags and run. Create tls universe with `ssl_protocols` and run. Jenkins: rebase: 2.4 Reviewers: sanketh, arnav, bogdan, daniel, sb-yb Reviewed By: sb-yb Subscribers: yugaware, jenkins-bot Differential Revision: https://phabricator.dev.yugabyte.com/D10599
A workaround to this is to set |
WesleyW
added a commit
that referenced
this issue
Feb 12, 2021
Summary: D10596 introduced a bug where if ssl_protocols is not specified, the cqlsh check will error out by trying to pass in None. This diff fixes that by defaulting to TLSv1.2 and also allowing ssl_protocols flag to have more than one value (e.g. "ssl2 ssl3,tls10 tls11") Test Plan: Create TLS universe without the flag. Try health check. Create TLS universe with the flag set to "ssl2 ssl3,tls10 tls11". Try health check. Reviewers: daniel, arnav, sanketh, sb-yb Reviewed By: sb-yb Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D10617
WesleyW
added a commit
that referenced
this issue
Feb 12, 2021
Summary: D10596 introduced a bug where if ssl_protocols is not specified, the cqlsh check will error out by trying to pass in None. This diff fixes that by defaulting to TLSv1.2 and also allowing ssl_protocols flag to have more than one value (e.g. "ssl2 ssl3,tls10 tls11") Test Plan: Create TLS universe without the flag. Try health check. Create TLS universe with the flag set to "ssl2 ssl3,tls10 tls11". Try health check. Reviewers: daniel, arnav, sanketh, sb-yb Reviewed By: sb-yb Subscribers: yugaware, jenkins-bot Differential Revision: https://phabricator.dev.yugabyte.com/D10620
WesleyW
added a commit
that referenced
this issue
Feb 12, 2021
Summary: D10596 introduced a bug where if ssl_protocols is not specified, the cqlsh check will error out by trying to pass in None. This diff fixes that by defaulting to TLSv1.2 and also allowing ssl_protocols flag to have more than one value (e.g. "ssl2 ssl3,tls10 tls11") Test Plan: Create TLS universe without the flag. Try health check. Create TLS universe with the flag set to "ssl2 ssl3,tls10 tls11". Try health check. Reviewers: daniel, arnav, sanketh, sb-yb Reviewed By: sb-yb Subscribers: yugaware, jenkins-bot Differential Revision: https://phabricator.dev.yugabyte.com/D10621
polarweasel
pushed a commit
to lizayugabyte/yugabyte-db
that referenced
this issue
Mar 9, 2021
Summary: If `ssl_protocols` is added to the tserver gflags, health checks should use the appropriate option when trying to connect with the sample cqlsh command. Test Plan: Create tls universe with no gflags and run. Create tls universe with `ssl_protocols` and run. Reviewers: sanketh, arnav, bogdan, daniel, sb-yb Reviewed By: sb-yb Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D10596
polarweasel
pushed a commit
to lizayugabyte/yugabyte-db
that referenced
this issue
Mar 9, 2021
Summary: D10596 introduced a bug where if ssl_protocols is not specified, the cqlsh check will error out by trying to pass in None. This diff fixes that by defaulting to TLSv1.2 and also allowing ssl_protocols flag to have more than one value (e.g. "ssl2 ssl3,tls10 tls11") Test Plan: Create TLS universe without the flag. Try health check. Create TLS universe with the flag set to "ssl2 ssl3,tls10 tls11". Try health check. Reviewers: daniel, arnav, sanketh, sb-yb Reviewed By: sb-yb Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D10617
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If --ssl_protocols (see #6671) gflag is set to TLS1.2 -or- above, then the platform health checks fail because ycqlsh uses TLS1.0 (see #7071).
The text was updated successfully, but these errors were encountered: