Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-18105

The [designate] section in in the neutron server config is not processed in RHOSO

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhos-18.0.0
    • neutron-operator
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • None
    • Critical

      To configure the Neutron - Designate integration, it is necessary to add a [designate] section to the Neutron server configuration, as described in the upstream documentation: https://docs.openstack.org/neutron/latest/admin/config-dns-int-ext-serv.html#configuring-openstack-networking-for-integration-with-an-external-dns-service. Following this document, using oc edit openstackcontrolplane I add the [designate] section to the configuration:

            customServiceConfig: |
              [DEFAULT]
              vlan_transparent = true
              service_plugins = qos,ovn-router,trunk,segments,log
              agent_down_time = 600
              router_distributed = true
              router_scheduler_driver = neutron.scheduler.l3_agent_scheduler.ChanceScheduler
              debug = true
              dns_domain=example.com.
              external_dns_driver = designate
              [designate]
              endpoint_type = internal
              region_name = regionOne
              auth_type = password
              auth_url = {{ .KeystoneInternalURL }}
              username = {{ .ServiceUser }}
              password = {{ .ServicePassword }}
              project_name = service
              project_domain_name = Default
              user_domain_name = Default
              allow_reverse_dns_lookup = True
              ipv4_ptr_zone_prefix_size = 24
              ipv6_ptr_zone_prefix_size = 116
              ptr_zone_email = admin@example.com
              [agent]
              report_interval = 300
              ... 

      After the Neutron server restarts, i check its log file and cannot find the parameters in the [designate] section. One of the parameters in that section is auth_type. Searching for it, I can find the corresponding one for the  [nova] and [placement] sections, but nothing for the [designate] section:

      2025-07-09 18:10:24.949 1 DEBUG neutron.common.config [-] nova.auth_type                 = password
      2025-07-09 18:10:24.951 1 DEBUG neutron.common.config [-] placement.auth_type            = password

      It seems that to support a new section in the Neutron server configuration, a code change in the https://github.com/openstack-k8s-operators/neutron-operator is required.

              mlavalle@redhat.com Miguel Lavalle
              mlavalle@redhat.com Miguel Lavalle
              rhos-dfg-networking-squad-neutron
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h