Please see above comment for the root-cause.
Here is the proposed solution:
I've tested the following code and confirmed that killed dnsmasq are started with following code changes.
90a91 > super(QuantumManager, self).init_host() 108a110,124 > > #Similar to FlatDHCPMananger > def _setup_network_on_host(self, context, network): > """Sets up network on this host.""" > network['dhcp_server'] = self._get_dhcp_ip(context, network) > self.l3driver.initialize_gateway(network) > > if not FLAGS.fake_network: > dev = self.driver.get_dev(network) > self.driver.update_dhcp(context, dev, network) > if(FLAGS.use_ipv6): > self.driver.update_ra(context, dev, network) > gateway = utils.get_my_linklocal(dev) > self.db.network_update(context, network['id'], > {'gateway_v6': gateway})
If I hear no comments on the above solution, I'm planning to go ahead with Gerrit review with above changes.
Please see above comment for the root-cause.
Here is the proposed solution:
I've tested the following code and confirmed that killed dnsmasq are started with following code changes.
90a91 nager, self).init_host() network_ on_host( self, context, network): 'dhcp_server' ] = self._get_ dhcp_ip( context, network) initialize_ gateway( network) get_dev( network) update_ dhcp(context, dev, network) update_ ra(context, dev, network) my_linklocal( dev) network_ update( context, network['id'],
> super(QuantumMa
108a110,124
>
> #Similar to FlatDHCPMananger
> def _setup_
> """Sets up network on this host."""
> network[
> self.l3driver.
>
> if not FLAGS.fake_network:
> dev = self.driver.
> self.driver.
> if(FLAGS.use_ipv6):
> self.driver.
> gateway = utils.get_
> self.db.
> {'gateway_v6': gateway})
If I hear no comments on the above solution, I'm planning to go ahead with Gerrit review with above changes.