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

[vcenterreceiver] TLS settings not honored for initial GetServiceContent call #36482

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

dehaansa
Copy link
Contributor

@dehaansa dehaansa commented Nov 21, 2024

Description

The govmomi client used in the receiver attempts to validate the connection to vcenter before the existing code sets the TLS options (other than insecure) in the client. This is a limitation of the govmomi wrapper, as discussed on this issue: vmware/govmomi#1200 .

Link to tracking issue

Related issue in Grafana Alloy: grafana/alloy#193

Testing

This has not been tested, I would appreciate the assistance of any codeowner that could test. See comments on the PR for test.

@dehaansa dehaansa requested review from djaglowski and a team as code owners November 21, 2024 07:08
Copy link

linux-foundation-easycla bot commented Nov 21, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

@schmikei
Copy link
Contributor

image

I've tested with a variety of TLS settings (using mitmproxy) and things seem good to me and based off those related issues it does seem like underlying client TLS settings should be set this way.

Copy link
Contributor

@BominRahmani BominRahmani left a comment

Choose a reason for hiding this comment

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

Nice work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants