-
Notifications
You must be signed in to change notification settings - Fork 913
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] Permission Error with ContinueRetrievePropertiesEx in govc v0.37.0+ on vSphere 8.x #3455
Comments
Howdy 🖐 robinlehrmann ! Thank you for your interest in this project. We value your feedback and will respond soon. If you want to contribute to this project, please make yourself familiar with the |
Thanks for the detailed report @robinlehrmann govc vm.console -vm.ipath /Datacenter-Name/vm/VM-Name |
Can you also share your build number (govc about) ? I was able to reproduce with 8.0.2b (build 23319993), and verified the But was not able to reproduce with 7.0.3 or 8.0.3 builds (currently internal). |
Confirmed this is a known issue 7.0.3.2 up to 8.0.2, from the upcoming KB:
This workaround can be applied in the UI or using govc:
|
FullName: VMware vCenter Server 7.0.3 build-22837322
Thanks for providing the workaround 👍 I will try this out. |
This issue is stale because it has been open for 90 days with no |
The issue is still there, the workaroun will not help if there a lot of users in the system |
/remove-lifecycle stale |
@robinlehrmann can you clarify, have you upgraded vCenter to include the fix? If so, please include current build number (govc about) |
Describe the bug
We are experiencing a permissions issue when using govc version 0.37.0 or higher with vSphere 8.x. The issue manifests as a NoPermissionFault when attempting to retrieve properties using the ContinueRetrievePropertiesEx method. This problem does not occur in govc versions prior to 0.37.0.
To Reproduce
Steps to reproduce the behavior:
Context:
The requests are executed via vm.console using the govc client.
Request (v0.37.0):
Response (v0.37.0):
Request (v0.36.3):
Response (v0.36.3):
Expected behavior
The response should not show any permission issues. Maybe deactivating the
ContinueRetrievePropertiesEx
request or make it optional via option in thevm.console
commandAffected version
vSphere 8.x
govc version 0.37.0 or higher
In vSphere 7.x it's still working on every version as expected, but the "ContinueRetrievePropertiesEx" requests will not be performed.
Additional context
The issue seems related to the ContinueRetrievePropertiesEx feature, which starts an active session to retrieve further PropertyCollections.
In previous versions (up to v0.36.3), the RetrieveProperties method is used instead, and it works without issues.
Roles and Permissions
When listing roles using govc role ls, the following are returned:
Setting System.Anonymous Permission: It has been suggested that setting System.Anonymous permission might resolve the issue, but all required permissions are already set, and the issue persists.
Deactivating ContinueRetrievePropertiesEx: If there is a way to disable ContinueRetrievePropertiesEx and revert to the previous method, this might resolve the issue.
How can we activate the necessary permissions to avoid the NoPermissionFault when using ContinueRetrievePropertiesEx?
Is there a way to completely disable ContinueRetrievePropertiesEx and use the older method (RetrieveProperties)?
Please look into this issue and provide guidance on how to proceed. Any help would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: