scaleway / crossplane-provider-scaleway

Crossplane Scaleway Provider
Apache License 2.0
21 stars 10 forks source link

Error applying scaleway cluster #21

Closed Mouadouakil closed 11 months ago

Mouadouakil commented 1 year ago

Hi,

I'm trying to apply an example for scalawag cluster, all the ressources are created but I have this error.

I only encountered this error recently (last tow days)

Maybe the Scaleway crossplane provider is not yet updated to the same level as scaleway-go-sdk so it generate a private network but in invalid constraint

scaleway-sdk-go: invalid argument(s): private_network_id does not respect constraint, a Private Network is mandatory for this cluster typ

any way to fix it?

@yfodil

Mia-Cross commented 1 year ago

Hi !

The problem probably comes from the fact that the Kapsule API changed very recently to prevent the creation of clusters without a Private Network attached to it because they will reach end of support in 2024.

Does a Private Network actually get created ?

I don't know much about Crossplane, just about Kapsule, so maybe @yfodil can add extra information.

alexandrebrg commented 1 year ago

Hello, I can confirm this is a real issue, I ended up with the same problem trying to use crossplane with this provider.

No network gets created, it just doesn't work sadly. Any idea if this will get fixed ?

Mouadouakil commented 1 year ago

Hello, @AlexandreBrg the workaround i did is to use only Kosmos, you can use type attribute in the definition until they fix this. use type : "multicloud"

image
alexandrebrg commented 1 year ago

Hello, @AlexandreBrg the workaround i did is to use only Kosmos, you can use type attribute in the definition until they fix this. use type : "multicloud" image

Thank you for the workaround 😉