-
Notifications
You must be signed in to change notification settings - Fork 109
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
Error out when mfT user surpassed seat limit #2809
Comments
For the issue in the title, we have a check in the operator that gives the user an error if they've reached the max seat count: x mirrord exec
✓ running on latest (3.121.1)!
x preparing to launch process
✓ layer extracted
x checking operator
✓ operator version compatible
✓ operator license valid
✓ user credentials prepared
x starting session
x connecting to the target
Error: × mirrord operator rejected creating a websocket connection: Maximum seat count (1) reached, session aborted
help: If the problem refers to mirrord operator license, visit https://app.metalbear.co to manage or renew your license.
- If you're still stuck: This happens whether you set I believe the only time we fallback now, is when checking license validity on the mirrord side: mirrord/mirrord/cli/src/connection.rs Lines 67 to 79 in 4cec84f
Where this check is just looking at date stuff: mirrord/mirrord/operator/src/client.rs Lines 327 to 363 in 4cec84f
One thing I'm seeing there, however, is that we're not checking the license validity on mirrord side (we're not calling the |
Not sure I understand the edge case from the user's perspective. Assuming seat limit has been surpassed and |
I tested this scenario by changing our check in the operator here to always return the max seats reached error. You'll get the error when we reach the "connecting to target" part, with omitted or mirrord/mirrord/cli/src/connection.rs Lines 94 to 96 in 4cec84f
It should not fallback to OSS for this case. |
Currently, unless operator:true or the user tried to use a paid feature, we fall back to OSS, which can be confusing.
The text was updated successfully, but these errors were encountered: