Skip to content
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

Subnet controller does not honor dnsPublishFixedIP #189

Open
mandre opened this issue Jan 23, 2025 · 2 comments
Open

Subnet controller does not honor dnsPublishFixedIP #189

mandre opened this issue Jan 23, 2025 · 2 comments

Comments

@mandre
Copy link
Collaborator

mandre commented Jan 23, 2025

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.

@mandre mandre changed the title Subnet controller does not respect dnsPublishFixedIP Subnet controller does not honor dnsPublishFixedIP Jan 23, 2025
@mandre
Copy link
Collaborator Author

mandre commented Jan 30, 2025

I've tried to debug in #203. From what I could see:

  • we correctly pass the value for dns_publish_fixed_ip to 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.

@mandre
Copy link
Collaborator Author

mandre commented Jan 30, 2025

After reading the designate and neutron related docs looks like we're missing a few steps:

  • set dns_domain in neutron.conf
  • add dns extension to ml2's extension_drivers setting
  • create a zone in designate
  • create the network with dns_domain option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant