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

[Platform] Platform doesn't check length of region name and on premise config creation fails #8940

Open
markwjeske opened this issue Jun 16, 2021 · 0 comments
Assignees
Labels
area/platform Yugabyte Platform team/platform-hi Tickets handled by HashedIn team
Projects
Milestone

Comments

@markwjeske
Copy link

Trying to create an on prem config in platform and the create failed because one of my region names was too long. Apparently 25 is the maximum.

Here's platform log:

2021-06-16 18:15:00,689 [DEBUG] from SetUniverseKey in application-akka.actor.default-dispatcher-3027 - Running universe key setter
2021-06-16 18:16:10,880 [ERROR] from RegionController in application-akka.actor.default-dispatcher-3030 - Error[ERROR: value too long for type character varying(25)]
2021-06-16 18:16:10,880 [ERROR] from ApiResponse in application-akka.actor.default-dispatcher-3030 - Hit error 500, message: {"error":"Unable to create region: datacenter-azure-washington"}

We should check all this information for issues like this before attempting the create and failing. Otherwise the user is forced to start over and fill in all the information.

@SergeyPotachev SergeyPotachev changed the title Platform doesn't check length of region name and on premise config creation fails [Platform] Platform doesn't check length of region name and on premise config creation fails Jun 17, 2021
@SergeyPotachev SergeyPotachev added the area/platform Yugabyte Platform label Jun 17, 2021
@hsu880 hsu880 added the team/platform-hi Tickets handled by HashedIn team label Jun 18, 2021
@hsu880 hsu880 added this to Backlog in Platform Jun 18, 2021
@hsu880 hsu880 assigned hsu880 and kkg-yb and unassigned hsu880 Jun 18, 2021
@hsu880 hsu880 added this to the 2.7.x milestone Jun 18, 2021
@aayush-yb aayush-yb moved this from Backlog to In progress in Platform Aug 19, 2021
@aayush-yb aayush-yb moved this from In progress to In Review in Platform Aug 20, 2021
@aayush-yb aayush-yb moved this from In Review to Closed in Platform Aug 22, 2021
@aayush-yb aayush-yb reopened this Aug 24, 2021
@aayush-yb aayush-yb moved this from Closed to Needs QA/Docs in Platform Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/platform Yugabyte Platform team/platform-hi Tickets handled by HashedIn team
Projects
Platform
  
Needs QA/Docs
Development

No branches or pull requests

6 participants