-
Notifications
You must be signed in to change notification settings - Fork 8
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
Validation error when listing deployments in the dashboard from other clients #2364
Comments
@A-Harby |
No, The deployments were listed, but I was only testing listing from other clients so maybe it could cause a problem with adding a domain in vms or works in the kubernetes from ts client |
What is the status here? |
Sorry for the delay took some time to investigate, was able to duplicate the error. Identifying the source of error in client. |
Might be caused by inconsistent type casting in client. |
error is due to missing validations for number of characters in name in go client which is inconsistent with the validation implemented in the ts client. @A-Harby please list any other missing validations in go client. Please also let us know if validations are missing in terraform |
The naming validation is different for every client (TS, GO, and Terraform). Only the TS client has an alphanumeric validation naming for any deployment name, disk name, and network name with a minimum and maximum length. while the terraform doesn't have any length validation and can accept underscores only beside alphanumeric, and the same goes for the Go client so far(there could be a difference in some cases). |
opened an issue for it in the go sdk here |
should set the name length to 35 characters
and check for dashboard name length validation as well |
Add a new test case on Dashboard Suite: TC2927 - List deployment from different clients Update validation in CLI: TC1492 - Deploy VM |
Description
A clear description of the bug is:
Validation error from deployments made outside of the TS client, either go or terraform (name validation is different from go compared with the TS).
Must include any relevant identifiers like:
Network: Devnet
Version: ea66380
Steps to reproduce
The text was updated successfully, but these errors were encountered: