Description of problem:
After upgrade I tried creating a new instance and failed with the following error:
RescheduledException: Build of instance 0eebb3c5-4b2f-4ac6-90b5-e3f707098472 was re-scheduled: Unexpected vif_type=binding_failed
to fix it we need to add some configuration to neutron and nova conf files as published by kashyap:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. after upgrade we fail to launch a new instance
2. we need to add some additional changes to the following files:
we fail to launch an instance until we add the changes and I did not find the changes in the network configuration guide.
changes should add the changes to the guide.
here are the changes for each file:
type_drivers = gre
tenant_network_types = gre
mechanism_drivers = openvswitch
tunnel_id_ranges = 1:1000
enable_security_group = True
local_ip = 126.96.36.199
tunnel_types = gre
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver
vif_plugging_is_fatal = False
vif_plugging_timeout = 0
agent_down_time = 75
report_interval = 5
Assigning to Martin Lopes, as the designated author for Neutron and networking issues.
These values are correct.
It means that nova will wait for vif plugging event from neutron for 300 sec and only after it will arrive (that means that neutron successfully created port for the instance) the instance will be launched successfully .
Otherwise if the configuration is set to "false", event won't be expected to arrive, and nova can launch an instance even before neutron creates appropriate port for it, as a result instance could be created but without IP address.
we found the the issue was not these values but a bug in one of the commands in nova configuration which is in the guide.
I opened a separate bug on that and closing this one