Browse code

Enable the correct instance managers for instance/floating ips.

Currently the default is nova.network.dns_driver.DNSDriver for
both. We need to switch to nova.network.minidns.MiniDNS for
both instance_dns_manager and floating_ip_dns_manager.
nova.network.dns_driver.DNSDriver is just the interface, we
need a good implementation as the default

Fixes LP #1040236

Change-Id: If6e65cb1c7802b1ba0c1e64d4c06185cabf9eeca

Davanum Srinivas authored on 2012/12/05 06:06:52
Showing 1 changed files
... ...
@@ -1478,6 +1478,8 @@ if is_service_enabled nova; then
1478 1478
         fi
1479 1479
     elif is_service_enabled n-net; then
1480 1480
         add_nova_opt "network_manager=nova.network.manager.$NET_MAN"
1481
+        add_nova_opt "instance_dns_manager=nova.network.minidns.MiniDNS"
1482
+        add_nova_opt "floating_ip_dns_manager=nova.network.minidns.MiniDNS"
1481 1483
         add_nova_opt "public_interface=$PUBLIC_INTERFACE"
1482 1484
         add_nova_opt "vlan_interface=$VLAN_INTERFACE"
1483 1485
         add_nova_opt "flat_network_bridge=$FLAT_NETWORK_BRIDGE"