Hey, Yeah, if the current content of /etc/neutron/plugins/ml2/ml2_config.ini contains only port_security, the supplied override is correct. So in OpenStack-Ansible we promote the approach of overrides instead of having a variable for each possible config parameter. This is possible as we us config_template Ansible plugin for placing files instead of the template. And we maintain a variable for most of templates that needs to be placed for your deployment. So for neutron there're bunch of such variables: https://opendev.org/openstack/openstack-ansible-os_neutron/src/commit/05058f... You can read more about override functionality in our docs: https://docs.openstack.org/openstack-ansible/latest/reference/configuration/... пн, 11 нояб. 2024 г. в 19:33, Rambo Rambo <ram.ramb2412@gmail.com>:
Hi Dmitriy
Yes, I need to integrate neutron with designate. I already see designate details in neutron.conf file and user_variables files have below:
neutron.conf
# Driver for external DNS integration. (string value) external_dns_driver = designate
user_variables--->
neutron_l2_population: true neutron_dnsmasq_dns_servers: "X.Y.Z.Y" --> values changed to XYZY neutron_dns_domain: "abcd" --> value changed to abcd neutron_designate_enabled: True
Currently I have below extension plugins as per the /etc/neutron/plugins/ml2/ml2_config.ini file
root@control-01:/etc/neutron/plugins/ml2# cat ml2_conf.ini
[ml2]
type_drivers = flat,vlan,vxlan,local
tenant_network_types = vxlan,flat
mechanism_drivers = linuxbridge,l2population
extension_drivers = port_security
In the openstack-ansible user_variables file , I don't see any extension_drivers defined, can you please confirm the default extension drivers that will be activated if user_variables doesn't have any entry ml2 extension drivers entry.
Also if I just add below:
neutron_ml2_conf_ini_overrides: ml2: extension_drivers:
- port_security
- subnet_dns_publish_fixed_ip
And run `openstack-ansible os-neutron-install.yml --tags neutron-config'
Regards
On Mon, Nov 11, 2024 at 3:16 PM Dmitriy Rabotyagov <noonedeadpunk@gmail.com> wrote:
Hey there,
Just a question, are you doing integration with Designate?
If the only thing you need to do is to enable the extensions, you can do it by overriding ml2_conf.ini file like this: neutron_ml2_conf_ini_overrides: ml2: extension_drivers: - port_security - qos - dns - subnet_dns_publish_fixed_ip
Please mention that you'd need to specify all extensions that are currently present plus the one you want to add with such override, so I'd suggest checking what extensions are enabled now and come up with a list based on that. After you can run `openstack-ansble os-neutron-install.yml --tags neutron-config` (not 100% sure if that tag is working properly on Victoria tbh as branch is not maintained for a while now).
Hope this helps.
пн, 11 нояб. 2024 г. в 12:39, Rambo Rambo <ram.ramb2412@gmail.com>:
Hi Team
I am running openstack-ansible Victoria release and would need to activate automatic dns records creation when a new instance is created. So, I am looking for the way to enable neutron plugin Subnet_dns_publish_fixed_ip. After which I can enable dns_publish_fixed_ip in the subnet properties
Regards Rambo