eks-anywhere
eks-anywhere copied to clipboard
Add validate session permission for vcenter global role
Issue #, if available:
Description of changes:
After working with a user on this, we found out that missing the Sessions.ValidateSession
permission results in the capv caching mechanism for sessions to not work, resulting in new sessions to be created all the time. This results in the session limit being breached if there are a lot of nodes running in the vcenter environment.
Error observed in capv logs:
E0921 19:13:06.002439 1 session.go:124] session "msg"="error checking if session is active" "error"="ServerFaultCode: Permission to perform this operation was denied." "datacenter"="Datacenter" "server"="10.61.250.74"
Testing (if applicable): Tested manually creating a cluster and running a create with the validation
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Codecov Report
Merging #3416 (e2e4184) into main (1314346) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## main #3416 +/- ##
=======================================
Coverage 64.85% 64.85%
=======================================
Files 352 352
Lines 28397 28397
=======================================
Hits 18418 18418
Misses 8666 8666
Partials 1313 1313
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: vivek-koppuru
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [vivek-koppuru]
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment
/cherry-pick release-0.11
@vivek-koppuru: once the present PR merges, I will cherry-pick it on top of release-0.11 in a new PR and assign it to you.
In response to this:
/cherry-pick release-0.11
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@vivek-koppuru: new pull request created: #3417
In response to this:
/cherry-pick release-0.11
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.