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

[Bug] [Regression] etcd mTLS doesn't work on 3.3.1 #23160

Open
3 tasks done
martin31821 opened this issue Aug 13, 2024 · 2 comments
Open
3 tasks done

[Bug] [Regression] etcd mTLS doesn't work on 3.3.1 #23160

martin31821 opened this issue Aug 13, 2024 · 2 comments
Labels
type/bug The PR fixed a bug or issue reported a bug

Comments

@martin31821
Copy link

Search before asking

  • I searched in the issues and found nothing similar.

Read release policy

  • I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.

Version

3.3.1 - server only, running on Amazon Linux 2

Minimal reproduce step

  • Setup etcd cluster with mTLS auth enabled
  • Setup pulsar-broker with etcd configured for mTLS

example configuration:

# broker.conf:
metadataStoreConfigPath: /pulsar/metadata-config/etcd.yaml
metadataStoreUrl: "etcd:https://pulsar-etcd-headless:2379"
configurationMetadataStoreUrl: "etcd:https://pulsar-etcd-headless:2379"

# /pulsar/metadata-config/etcd.yaml
useTls: true
tlsProvider: "OPENSSL"
tlsTrustCertsFilePath: "/pulsar/etcd-cert/ca.crt"
tlsKeyFilePath: "/pulsar/etcd-cert/tls.key"
tlsCertificateFilePath: "/pulsar/etcd-cert/tls.crt"
authority: ""

What did you expect to see?

Working mTLS connection to etcd.

What did you see instead?

java.lang.NoSuchMethodError because of this PR: #22892
The mentioned PR is the last time, when jetcd has been touched.

Anything else?

It works fine on v3.3.0 with the above config. I'm willing to submit a PR, but I don't know how to fix it :|

Are you willing to submit a PR?

  • I'm willing to submit a PR!
@martin31821 martin31821 added the type/bug The PR fixed a bug or issue reported a bug label Aug 13, 2024
@lhotari
Copy link
Member

lhotari commented Aug 13, 2024

java.lang.NoSuchMethodError because of this PR: #22892

@martin31821 Please share the full exception stack trace.

@lhotari
Copy link
Member

lhotari commented Oct 24, 2024

#23513 is related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

No branches or pull requests

2 participants