How to configure dns search (option 119) for Openstack network's subnet

Ubuntu Version:

22.04 LTS

Desktop Environment (if applicable):

Problem Description:

According to Bug #1996759 “Add support for DHCP option 119 (domain-search) fo...” : Bugs : neutron it is possible to set dhcp option 119 (domain-search-list) by neutron but I cannot understand how set this option for a network’s subnet, so I tried to set OVN directly but if I use

ovn-nbctl set dhcp_options dhcp_option_uuid options:dns_search=domain

where
dhcp_option_uuid is the UUID of the DHCP options I want to modify,
and domain is the with the DNS search domain I want to add.

ovn’s dhcp stop running and I have to recreate the subnet

Relevant System Information:

openstack 2023.2 bundle
ovn central:
ovn-central/jammy-updates,now 22.09.1-0ubuntu0.22.10.1~cloud0 amd64 [installed]
ovn-common/jammy-updates,now 22.09.1-0ubuntu0.22.10.1~cloud0 amd64 [installed,automatic]

Screenshots or Error Messages:

What I’ve Tried:


This topic was automatically closed after 30 days. New replies are no longer allowed.