scaleway / crossplane-provider-scaleway

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

Flexible IP not created #79

Open MicheleSica opened 3 months ago

MicheleSica commented 3 months ago

Hello, Following the Scaleway IP documentation available at https://marketplace.upbound.io/providers/scaleway/provider-scaleway/v0.2.0/resources/flexibleip.scaleway.upbound.io/Ip/v1alpha1#doc , I created a flexible IP. However, the resource does not appear in the console despite the message indicating that it was requested successfully:

kubectl describe ip xxxxxx-flexible-ip

Events:
  Type    Reason                   Age                   From                                                      Message
  ----    ------                   ----                  ----                                                      -------
  Normal  PendingExternalResource  30m (x18 over 33m)    managed/flexibleip.scaleway.upbound.io/v1alpha1, kind=ip  Waiting for external resource existence to be confirmed
  Normal  CreatedExternalResource  3m35s (x48 over 33m)  managed/flexibleip.scaleway.upbound.io/v1alpha1, kind=ip  Successfully requested creation of external resource

Do you have any suggestions?

Codelax commented 3 months ago

A flexible IP is the naming of IPs bound to baremetal product (check Elastic Metal on console to see those IPs). Is that what you expected ? If what you want is IP for instances, you have to use instance IP: https://marketplace.upbound.io/providers/scaleway/provider-scaleway/v0.2.0/resources/instance.scaleway.upbound.io/IP/v1alpha1

MicheleSica commented 2 months ago

Hello Codelax,

we need a public IP that we intend to assign to a LB

kind: LB
metadata:
  name: lb
spec:
  forProvider:
    ipIdRef:
      name: flexible-ip
    name: my-lb
    type: LB-S
  providerConfigRef:
    name: crossplane

Can we assign this object (https://marketplace.upbound.io/providers/scaleway/provider-scaleway/v0.3.0/resources/instance.scaleway.upbound.io/IP/v1alpha1) to a LB?

apiVersion: instance.scaleway.upbound.io/v1alpha1

kind: IP 

We tried to use this, but the resource status is stuck on pending:

PendingExternalResource Waiting for external resource existence to be confirmed

Could you kindly check?