[Openstack] Cannot launch instance: No valid host was found: Port failed to bind on host

Andreas Scheuring scheuran at linux.vnet.ibm.com
Fri Nov 28 11:37:42 UTC 2014


Hi Uwe, me again.
I just applied the gre on my new stable/juno system. This is the minimal
set of parameters that was required (also using ml2pop).


controller:
[[post-config|/$Q_PLUGIN_CONF_FILE]]
[ml2]
tenant_network_types = gre
mechanism_drivers = openvswitch,l2population

[ml2_type_gre]
tunnel_id_ranges = 1:1000

[ovs]
local_ip = $HOST_IP_DATA
enable_tunneling=True
bridge_mappings = phys-ex:br-ext

[agent]
tunnel_types = gre
l2_population = True
root_helper =
sudo /usr/local/bin/neutron-rootwrap /etc/neutron/rootwrap.conf



compute:
[[post-config|/$Q_PLUGIN_CONF_FILE]]
[ovs]
local_ip = $HOST_IP_DATA
enable_tunneling=True

[agent]
tunnel_types = gre
l2_population = True
root_helper =
sudo /usr/local/bin/neutron-rootwrap /etc/neutron/rootwrap.conf



I also had a look at openvswitch agent code. These are the
variables/sections that are used:


bridge_mappings = q_utils.parse_mappings(config.OVS.bridge_mappings)
integ_br=config.OVS.integration_bridge,
tun_br=config.OVS.tunnel_bridge,
local_ip=config.OVS.local_ip,
root_helper=config.AGENT.root_helper,
polling_interval=config.AGENT.polling_interval,
minimize_polling=config.AGENT.minimize_polling,
tunnel_types=config.AGENT.tunnel_types,
veth_mtu=config.AGENT.veth_mtu,
enable_distributed_routing=config.AGENT.enable_distributed_routing,
l2_population=config.AGENT.l2_population,
arp_responder=config.AGENT.arp_responder,
use_veth_interconnection=config.OVS.use_veth_interconnection,

--> so the agent section still seems to be valid. Maybe there's shortcut
in the code that also the ovs section is treated as agent section or
vice versa. But that's just a guess. Also haven't tried it out so far

-- 
Andreas 
(irc: scheuran)


On Thu, 2014-11-27 at 09:47 +0100, Andreas Scheuring wrote:
> Hi Uwe, 
> this config is from a icehouse system. Maybe things have changed since
> then. And as mentioned before, I'm not even sure if all parameters are
> required... still have to figure this out. This is just how I got it
> running. So I cannot give you a certain reason ;)
> 
> Thanks
> 
> 
> 





More information about the Openstack mailing list