when upgrade from folsom to grizzly, nova-compute can't starts because vif_type is None, vif_type is added to networkinfo model in grizzly, so when upgrade a folsom env to grizzly, existing instances's info_cache need to update to set this param.
log info:
File "/home/yaguang/working/openstack/nova/nova/service.py", line 147, in run_server
server.start()
File "/home/yaguang/working/openstack/nova/nova/service.py", line 429, in start
self.manager.init_host()
File "/home/yaguang/working/openstack/nova/nova/compute/manager.py", line 574, in init_host
self._init_instance(context, instance)
File "/home/yaguang/working/openstack/nova/nova/compute/manager.py", line 463, in _init_instance
self.driver.plug_vifs(instance, legacy_net_info)
File "/home/yaguang/working/openstack/nova/nova/virt/libvirt/driver.py", line 686, in plug_vifs
self.vif_driver.plug(instance, (network, mapping))
File "/home/yaguang/working/openstack/nova/nova/virt/libvirt/vif.py", line 391, in plug
_("vif_type parameter must be present "
NovaException: vif_type parameter must be present for this vif_driver implementation
https:/ /review. openstack. org/#/c/ 23888/