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

apps::vmware::connector::plugin --mode=vsan-cluster-usage UNKNOWN: Cannot find 'ComputeResource' object #5387

Open
eLasPicO opened this issue Jan 10, 2025 · 2 comments
Labels

Comments

@eLasPicO
Copy link

Hello

When I enable VSAN monitoring by copying the VIM25VsanmgmtStub.pm and VIM25VsanmgmtRuntime.pm files to /usr/share/perl5/VMware/ the plugin returns the error UNKNOWN: Cannot find 'ComputeResource' object and the status-cluster sensor is timed out.
The problem has appeared since version 24.10.

Thanks
Environment:

debian 12 up the date (freshinstall and update test)

Can you help me ?

@eLasPicO eLasPicO changed the title UNKNOWN: Cannot find 'ComputeResource' object apps::vmware::connector::plugin --mode=vsan-cluster-usage UNKNOWN: Cannot find 'ComputeResource' object Jan 10, 2025
@lucie-dubrunfaut
Copy link
Contributor

Hello :)

Can you provide us with the command output with the option --debug set please? (you can hide fields that need it)

@eLasPicO
Copy link
Author

hello,

here is the result with debug
UNKNOWN: Cannot find 'ComputeResource' object
{"short_message":"Cannot find 'ComputeResource' object","data":{},"vmware_connector_version":"3.4.0","code":1,"identity":"client-5XXXXXXXXXXXXXXXXXXa","extra_message":""}
and when vsan is enabled (with both VIM25VsanmgmtStub.pm and VIM25VsanmgmtRuntime.pm files in /usr/share/perl5/VMware/)
The probe --plugin=apps::vmware::connector::plugin --mode=status-cluster is timed out (if I delete both VIM25 files... the status-cluster probe works perfectly)

Thanks for your help

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

No branches or pull requests

2 participants