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

Cannot specify deployment size in create deployment #27

Closed
jasons2019 opened this issue Jul 9, 2019 · 4 comments
Closed

Cannot specify deployment size in create deployment #27

jasons2019 opened this issue Jul 9, 2019 · 4 comments
Labels

Comments

@jasons2019
Copy link

Found a problem with the Following Command

./oasis create deployment --cacertificate-id wttnefqllmtap66jrwc1 --organization-id 95616625 --project-id 95616808 --region-id gcp-europe-west4 --name ScriptDeployment --version 3.4.7

** Error: FTL Failed to create deployment error="rpc error: code = InvalidArgument desc = coordinators value 3 is greater than the limit of 2"

** Notes:

  • There is no way to list available versions
  • There is no way to specify size or advanced features
@Robert-Stam
Copy link
Contributor

  • List of versions can be found with: oasis list arangodb versions
  • The limits can be retrieved via oasis get server limits -o xxx -p yyy, there is no way to specify the limits during creation afaik.

@ewoutp ewoutp added the 1 Bug label Jul 10, 2019
@ewoutp ewoutp changed the title Error Trying to Create a New Deployment with Oasis Cannot specify deployment size in create deployment Jul 10, 2019
@Robert-Stam
Copy link
Contributor

There was a small bug in the server limits code, which is fixed now, so please update Oasis before continue.
I executed oasis get server limits -o free-test -p proj1 --region-id gcp-europe-west4 which results in

Coordinators            2 - 2
Coordinator-Memory-Size 1GB, 2GB
Dbservers               2 - 3
Dbserver-Memory-Size    1GB, 2GB
Dbserver-Disk-Size      2GB - 16GB

@Robert-Stam
Copy link
Contributor

I added support for servers-preset in Oasis, this works now:
oasis create deployment -o free-test -p proj1 --region-id gcp-europe-west4 --name test --version 3.4.7 --servers-preset Tiny

You can get the presets with:
oasis list servers presets -o free-test -p proj1 --region-id gcp-europe-west4

@ewoutp
Copy link
Contributor

ewoutp commented Aug 2, 2019

Further improvements follow in #38

@ewoutp ewoutp closed this as completed Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants