[Rdo-list] Openstack Juno Live Migration --block-migrate failed "ValueError: A NetworkModel is required here"

Soputhi Sea puthi at live.com
Mon Jan 18 07:10:33 UTC 2016


Hi,
I wonder if anybody come across that same situation as me at all.Puthi

From: puthi at live.com
To: rdo-list at redhat.com
Subject: Openstack Juno Live Migration --block-migrate failed "ValueError: A NetworkModel is required here"
Date: Thu, 14 Jan 2016 18:20:50 +0700




Hi,Openstack Juno's Live Migration, I've been trying to get live-migration to work on this version but i keep getting the same error as below.I wonder if anybody can point me to the right direction to where to debug the problem. Or if anybody come across this problem before please share some ideas.I google around for a few days already but so far I haven't got any luck.Note: the same nova, neutron and libvirt configuration work on Icehouse and Liberty on a different cluster, as i tested.ThanksPuthiNova Version tested: 2014.2.3 and 2014.2.4Nova Error Log============2016-01-14 17:34:08.818 6173 ERROR oslo.messaging.rpc.dispatcher [req-54581412-a194-40d5-9208-b1bf6d04f8d8 ] Exception during message handling: A NetworkModel is required here2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher Traceback (most recent call last):2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 134, in _dispatch_and_reply2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     incoming.message))2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 177, in _dispatch2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo/messaging/rpc/dispatcher.py", line 123, in _do_dispatch2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     result = getattr(endpoint, method)(ctxt, **new_args)2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/exception.py", line 88, in wrapped2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     payload)2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 82, in __exit__2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/exception.py", line 71, in wrapped2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     return f(self, context, *args, **kw)2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 335, in decorated_function2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     kwargs['instance'], e, sys.exc_info())2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/openstack/common/excutils.py", line 82, in __exit__2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 323, in decorated_function2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     return function(self, context, *args, **kwargs)2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 4978, in live_migration2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     expected_attrs=expected)2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/objects/instance.py", line 300, in _from_db_object2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     db_inst['info_cache'])2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/objects/instance_info_cache.py", line 45, in _from_db_object2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     info_cache[field] = db_obj[field]2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 474, in __setitem__2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     setattr(self, name, value)2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/objects/base.py", line 75, in setter2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     field_value = field.coerce(self, name, value)2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/objects/fields.py", line 189, in coerce2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     return self._type.coerce(obj, attr, value)2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/nova/objects/fields.py", line 516, in coerce2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher     raise ValueError(_('A NetworkModel is required here'))2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcher ValueError: A NetworkModel is required here2016-01-14 17:34:08.818 6173 TRACE oslo.messaging.rpc.dispatcherNova Config===========================[DEFAULT]rpc_backend = qpidqpid_hostname = management-hostauth_strategy = keystonemy_ip = 10.201.171.244vnc_enabled = Truenovncproxy_host=0.0.0.0novncproxy_port=6080novncproxy_base_url=http://management-host:6080/vnc_auto.htmlnetwork_api_class = nova.network.neutronv2.api.APIlinuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriverfirewall_driver = nova.virt.firewall.NoopFirewallDrivervncserver_listen=0.0.0.0vncserver_proxyclient_address=10.201.171.244[baremetal][cells][cinder][conductor][database]connection = mysql://nova:novadbpassword@db-host/nova[ephemeral_storage_encryption][glance]host = glance-hostport = 9292api_servers=$host:$port[hyperv][image_file_url][ironic][keymgr][keystone_authtoken]auth_uri = http://management-host:5000/v2.0identity_uri = http://management-host:35357admin_user = novaadmin_tenant_name = serviceadmin_password = nova2014agprod2[libvirt]live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_LIVE #, VIR_MIGRATE_TUNNELLEDblock_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_NON_SHARED_INC, VIR_MIGRATE_LIVE[matchmaker_redis][matchmaker_ring][metrics][neutron]url = http://management-host:9696admin_username = neutronadmin_password = neutronpasswordadmin_tenant_name = serviceadmin_auth_url = http://management-host:35357/v2.0auth_strategy = keystone[osapi_v3][rdp][serial_console][spice][ssl][trusted_computing][upgrade_levels]compute=icehouseconductor=icehouse[vmware][xenserver][zookeeper]Neutron Config============[DEFAULT]auth_strategy = keystonerpc_backend = neutron.openstack.common.rpc.impl_qpidqpid_hostname = management-hostcore_plugin = ml2service_plugins = routerdhcp_lease_duration = 604800dhcp_agents_per_network = 3[matchmaker_redis][matchmaker_ring][quotas][agent][keystone_authtoken]auth_uri = http://management-host:5000identity_uri = http://management-host:35357admin_tenant_name = serviceadmin_user = neutronadmin_password = neutronpasswordauth_host = management-hostauth_protocol = httpauth_port = 35357[database][service_providers]service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:defaultservice_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:defaultNeutron Plugin============[ml2]type_drivers = local,flatmechanism_drivers = openvswitch[ml2_type_flat]flat_networks = physnet3[ml2_type_vlan][ml2_type_gre]tunnel_id_ranges = 1:1000[ml2_type_vxlan][securitygroup]firewall_driver = neutron.agent.firewall.NoopFirewallDriverenable_security_group = False[ovs]enable_tunneling = Falselocal_ip = 10.201.171.244network_vlan_ranges = physnet3bridge_mappings = physnet3:br-bond0Libvirt Config===========/etc/sysconfig/libvirtdUncommentLIBVIRTD_ARGS="--listen"/etc/libvirt/libvirtd.conf listen_tls = 0listen_tcp = 1auth_tcp = “none” 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20160118/1516a408/attachment.html>


More information about the dev mailing list