-
Notifications
You must be signed in to change notification settings - Fork 127
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
New Virtual SSD cloud servers types #62
Comments
@JesusPerez thanks for the report. I need to do a deep dive to confirm but their API might not include the new server types, leading to this issue. Otherwise it should just work. However, there should be a way to disable this check for this specific scenario; I’m sorry for the inconvenience. |
@nicolai86 thanks answer this. To overcome this issue I had to make a simple script to build servers with new server types for k8s clusters, it is done with scw so I can confirm that it works with: scw version |
hi! I'm not sure which part exactly (code-wise) is responsible for querying API of the Scaleway, but one can use
This means that the proper data is there on the API-side, it's just somehow lost after the call is made. |
Right, however the function itself is part of the scaleway-cli fork (scaleway-sdk), here: https://github.com/nicolai86/scaleway-sdk/blob/master/availability.go#L22 Is it possible that this call has changed recently? |
So .. who, how and when will it be fixed ? |
Just verified via curl, the scaleway API does not return availability for the new server types:
I'll cut Scaleway a support ticket and ask if they plan to support this. |
I suspect that Scaleway does not consider this endpoint to be part of their API. Judging from the CORS headers it was probably used for their frontend and not to be used by other users. The relevant code was inserted here: nicolai86/scaleway-sdk@33df10c Recently, Scaleway started to offer their The web interface currently uses another endpoint: https://api.scaleway.com/products/servers/availability In conclusion: I think Scaleway does not consider this part of their API and simply forgot to update their products there. It's quite possible that nobody at Scaleway remembers this endpoint at all... |
FWIW, I managed to trick Terraform into working by manually hosting another
|
@thriqon thank you for diving deep. The scaleway support team gave me two pieces of information:
Given this I’ll update the provider to use a different API endpoint, as it seems to be more up2date. |
@thriqon @JesusPerez with the 1.4.1 release of the provider you can use the new SSD typed servers now. |
Terraform v0.11.8-dev
Error: Error running plan: 4 error(s) occurred:
When do you expect to support new virtual SSD cloud servers types ?
START1-XS START1-S START1-M START1-L
Old ones (VC??) probably will not work soon.
Any alternative ?
Could be an easy fix very helpful now.
Thanks Regards
The text was updated successfully, but these errors were encountered: