[Openstack] [Nova] Launched Instance failed

Zeeshan Ali Shah zashah at pdc.kth.se
Thu Nov 21 09:17:49 UTC 2013


it seems vif_type not correct, paste ur nova.conf. Remember to ommit
passwords in that file if you have.




On Thu, Nov 21, 2013 at 9:58 AM, wu jiang <wingwj at gmail.com> wrote:

> 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> 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 | extn: 4048
>>
>>
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


-- 

Regards

Zeeshan Ali Shah
System Administrator - PDC HPC
PhD researcher (IT security)
Kungliga Tekniska Hogskolan
+46 8 790 9115
http://www.pdc.kth.se/members/zashah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131121/326b5f3c/attachment.html>


More information about the Openstack mailing list