openstack-resource-controller icon indicating copy to clipboard operation
openstack-resource-controller copied to clipboard

Subnet marked as available even when router interface can't be created

Open mandre opened this issue 9 months ago • 0 comments

Create a subnet with:

---
apiVersion: openstack.k-orc.cloud/v1alpha1
kind: Subnet
metadata:
  name: subnet
spec:
  cloudCredentialsRef:
    cloudName: openstack
    secretName: openstack-clouds
  managementPolicy: managed
  networkRef: existing-network
  resource:
    ipVersion: 4
    cidr: 192.168.0.0/24
    routerRef: non-existing-router

ORC will happily create the subnet and mark it as available, even though the router does not exist, and the router interface never moves to available.

mandre avatar Mar 12 '25 10:03 mandre