openstack-resource-controller
openstack-resource-controller copied to clipboard
CI environment does not support testing `dnsPublishFixedIP`
I'm trying to create a subnet with:
---
apiVersion: openstack.k-orc.cloud/v1alpha1
kind: Subnet
metadata:
name: create-full-v4
spec:
cloudCredentialsRef:
cloudName: devstack
secretName: openstack-clouds
managementPolicy: managed
networkRef: create-full-v4
resource:
[snip]
dnsPublishFixedIP: true
It returns a status with:
status:
resource:
[snip]
dnsPublishFixedIP: false
Perhaps that's just an OpenStack thing, where my environment does not support this option.
I've tried to debug in #203. From what I could see:
- we correctly pass the value for
dns_publish_fixed_ipto the subnet creation request - openstack creates the subnet, but without
dns_publish_fixed_ip - we correctly report the status for the subnet
This most likely means that ORC is doing the right thing and that we're seeing there is only an environmental problem.