[Openstack] [Nova] Launched Instance failed

Trinath Somanchi trinath.somanchi at freescale.com
Thu Nov 21 09:01:52 UTC 2013


Hi-

Nova.conf is as below.

[DEFAULT]
#Ceilometer-Agent-Compute
instance_usage_audit=True
instance_usage_audit_period=hour
notify_on_state_change=vm_and_task_state
notification_driver=nova.openstack.common.notifier.rpc_notifier
notification_driver=ceilometer.compute.nova_notifier


network_api_class=nova.network.neutronv2.api.API
neutron_url=http://10.10.10.100:9696
neutron_auth_strategy=keystone
neutron_admin_tenant_name=service
neutron_admin_username=neutron
neutron_admin_password=password
neutron_admin_auth_url=http://10.10.10.100:35357/v2.0
firewall_driver=nova.virt.firewall.NoopFirewallDriver
security_group_api=neutron


auth_strategy=keystone
nstance_usage_audit=True
instance_usage_audit_period=hour
notify_on_state_change=vm_and_task_state
notification_driver=nova.openstack.common.notifier.rpc_notifier
notification_driver=ceilometer.compute.nova_notifier
network_manager=nova.network.manager.FlatDHCPManager
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
network_size=254
allow_same_net_traffic=False
multi_host=True
send_arp_for_ha=True
share_dhcp_address=True
force_dhcp_release=True
flat_network_bridge=br100
flat_interface=eth1
public_interface=eth1

dhcpbridge_flagfile=/etc/nova/nova.conf
dhcpbridge=/usr/bin/nova-dhcpbridge
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
force_dhcp_release=True
iscsi_helper=tgtadm
libvirt_use_virtio_for_bridges=True
connection_type=libvirt
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
verbose=True
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
volumes_path=/var/lib/nova/volumes
enabled_apis=ec2,osapi_compute,metadata
my_ip=10.10.10.100
vncserver_listen=0.0.0.0
vncserver_proxyclient_address=10.10.10.100
rpc_backend = nova.rpc.impl_kombu
rabbit_host = 10.10.10.100
glance_host = 10.10.10.100
[database]
connection = mysql://nova:password@10.10.10.100/nova


I don't have vif_type key in the nova.conf file... Am I missing any thing..

--
Trinath Somanchi - B39208
trinath.somanchi at freescale.com | extn: 4048

From: wu jiang [mailto:wingwj at gmail.com]
Sent: Thursday, November 21, 2013 2:29 PM
To: Somanchi Trinath-B39208
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] [Nova] Launched Instance failed

Hi Trinath,

    It looks like your vif_type is not correct. Would u plz paste your nova.conf on?

Thx.

On Thu, Nov 21, 2013 at 3:52 PM, Trinath Somanchi <trinath.somanchi at freescale.com<mailto:trinath.somanchi at freescale.com>> wrote:
Hi Stackers-

While Launching the instance, I get the following error in nova-compute (Openstack Havana) log.

==> /var/log/nova/nova-compute.log <==
2013-11-21 13:27:04.475 12473 ERROR nova.virt.libvirt.driver [-] [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b] During wait destroy, instance disappeared.
2013-11-21 13:27:05.088 12473 ERROR nova.compute.manager [req-91b38661-2e02-4d6b-b3a8-2b0342fcc70f cb1d76176a07463db848ae89060e5786 18088213420b45109da582f677ed8367] [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b] Error: Unexpected vif_type=binding_failed
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b] Traceback (most recent call last):
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1037, in _build_instance
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b]     set_access_ip=set_access_ip)
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1410, in _spawn
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b]     LOG.exception(_('Instance failed to spawn'), instance=instance)
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1407, in _spawn
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b]     block_device_info)
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2067, in spawn
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b]     write_to_disk=True)
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3040, in to_xml
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b]     disk_info, rescue, block_device_info)
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2927, in get_guest_config
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b]     inst_type)
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b]   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 364, in get_config
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b]     _("Unexpected vif_type=%s") % vif_type)
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b] NovaException: Unexpected vif_type=binding_failed
2013-11-21 13:27:05.088 12473 TRACE nova.compute.manager [instance: 4a30c9f6-79fb-4146-a52e-59079d44f58b]
2013-11-21 13:27:06.007 12473 ERROR nova.openstack.common.rpc.amqp [req-91b38661-2e02-4d6b-b3a8-2b0342fcc70f cb1d76176a07463db848ae89060e5786 18088213420b45109da582f677ed8367] Exception during message handling
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 461, in _process_data
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     **args)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     result = getattr(proxyobj, method)(ctxt, **kwargs)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 90, in wrapped
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     payload)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 73, in wrapped
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     return f(self, context, *args, **kw)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 243, in decorated_function
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     pass
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 229, in decorated_function
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 294, in decorated_function
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     function(self, context, *args, **kwargs)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 271, in decorated_function
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     e, sys.exc_info())
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 258, in decorated_function
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     return function(self, context, *args, **kwargs)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1613, in run_instance
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     do_run_instance()
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 246, in inner
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     return f(*args, **kwargs)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1612, in do_run_instance
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     legacy_bdm_in_spec)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 962, in _run_instance
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     notify("error", msg=unicode(e))  # notify that build failed
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 946, in _run_instance
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     instance, image_meta, legacy_bdm_in_spec)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1075, in _build_instance
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     filter_properties, bdms, legacy_bdm_in_spec)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1119, in _reschedule_or_error
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     self._log_original_error(exc_info, instance_uuid)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1114, in _reschedule_or_error
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     bdms, requested_networks)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1662, in _shutdown_instance
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     requested_networks)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1652, in _shutdown_instance
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     context=context)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 835, in destroy
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     destroy_disks, context=context)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 871, in _cleanup
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     self.unplug_vifs(instance, network_info)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 753, in unplug_vifs
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     self.vif_driver.unplug(instance, vif)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/vif.py", line 727, in unplug
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp     _("Unexpected vif_type=%s") % vif_type)
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp NovaException: Unexpected vif_type=binding_failed
2013-11-21 13:27:06.007 12473 TRACE nova.openstack.common.rpc.amqp

Kindly help me trouble shoot the issue.

--
Trinath Somanchi - B39208
trinath.somanchi at freescale.com<mailto:trinath.somanchi at freescale.com> | extn: 4048


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131121/a537c98d/attachment.html>


More information about the Openstack mailing list