Ask Your Question
0

"Virtual Interface creation failed", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\"

asked 2014-12-11 00:07:04 -0500

AMIT SAHA gravatar image

updated 2014-12-11 00:35:33 -0500

dbaxps gravatar image

We have installed the Openstack Icehouse Setup seccessfully. Horizon service shows all services up and running. But while we create and intance we get this error result . our platform is on Ubuntu ( Linux controller 3.11.0-26-generic #45~precise1-Ubuntu )

+--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property                             | Value                                                                                                                                                                          |
+--------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                                                                                                                                                         |
| OS-EXT-AZ:availability_zone          | nova                                                                                                                                                                           |
| OS-EXT-SRV-ATTR:host                 | compute                                                                                                                                                                        |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | compute                                                                                                                                                                        |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000003                                                                                                                                                              |
| OS-EXT-STS:power_state               | 0                                                                                                                                                                              |
| OS-EXT-STS:task_state                | -                                                                                                                                                                              |
| OS-EXT-STS:vm_state                  | error                                                                                                                                                                          |
| OS-SRV-USG:launched_at               | -                                                                                                                                                                              |
| OS-SRV-USG:terminated_at             | -                                                                                                                                                                              |
| accessIPv4                           |                                                                                                                                                                                |
| accessIPv6                           |                                                                                                                                                                                |
| config_drive                         |                                                                                                                                                                                |
| created                              | 2014-12-11T04:59:50Z                                                                                                                                                           |
| ext-net network                      | 115.111.157.77                                                                                                                                                                 |
| fault                                | {"message": "Virtual Interface creation failed", "code": 500, "details": "  File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 290, in decorated_function |
|                                      |     return function(self, context, *args, **kwargs)                                                                                                                            |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2111, in run_instance                                                                                |
|                                      |     do_run_instance()                                                                                                                                                          |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py\", line 249, in inner                                                                             |
|                                      |     return f(*args, **kwargs)                                                                                                                                                  |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2110, in do_run_instance                                                                             |
|                                      |     legacy_bdm_in_spec)                                                                                                                                                        |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1224, in _run_instance                                                                               |
|                                      |     notify(\"error\", fault=e)  # notify that build failed                                                                                                                     |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py\", line 68, in __exit__                                                                            |
|                                      |     six.reraise(self.type_, self.value, self.tb)                                                                                                                               |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1208, in _run_instance                                                                               |
|                                      |     instance, image_meta, legacy_bdm_in_spec)                                                                                                                                  |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1352, in _build_instance                                                                             |
|                                      |     network_info.wait(do_raise=False)                                                                                                                                          |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py\", line 68, in __exit__                                                                            |
|                                      |     six.reraise(self.type_, self.value, self.tb)                                                                                                                               |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1328, in _build_instance                                                                             |
|                                      |     set_access_ip=set_access_ip)                                                                                                                                               |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 393, in decorated_function                                                                           |
|                                      |     return function(self, context, *args, **kwargs)                                                                                                                            |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1740, in _spawn                                                                                      |
|                                      |     LOG.exception(_('Instance failed to spawn'), instance=instance)                                                                                                            |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py\", line 68, in __exit__                                                                            |
|                                      |     six.reraise(self.type_, self.value, self.tb)                                                                                                                               |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 1737, in _spawn                                                                                      |
|                                      |     block_device_info)                                                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py\", line 2295, in spawn                                                                                   |
|                                      |     block_device_info)                                                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py\", line 3722, in _create_domain_and_network                                                              |
|                                      |     raise exception.VirtualInterfaceCreateException()                                                                                                                          |
|                                      | ", "created": "2014-12-11T05:04:55Z"}                                                                                                                                          |
| flavor                               | m1.tiny (1)                                                                                                                                                                    |
| hostId                               | 0c0d78e2080146ce1f5f87af07a6aec904e0616260aacaa4f837898e                                                                                                                       |
| id                                   | ff0845a6-61aa-4f83-a984-efc0309807db                                                                                                                                           |
| image                                | cirros-0.3.2-x86_64 (d016b758-082d-4151-af95-77e67a9e3742)                                                                                                                     |
| key_name                             | -                                                                                                                                                                              |
| metadata                             | {}                                                                                                                                                                             |
| name                                 | demo-instance1                                                                                                                                                                 |
| os-extended-volumes:volumes_attached | []                                                                                                                                                                             |
| security_groups                      | default                                                                                                                                                                        |
| status                               | ERROR                                                                                                                                                                          |
| tenant_id                            | 585ef0e5e2b6478a9bf70212f9c13d45                                                                                                                                               |
| updated                              | 2014-12-11T05:04:56Z                                                                                                                                                           |
| user_id                              | 3728a582767242db8e574f33033cfdb4                                                                                                                                               |
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-12-11 00:40:48 -0500

dbaxps gravatar image
edit flag offensive delete link more
1

answered 2014-12-11 03:11:30 -0500

Add these to the nova.conf and remove any unwanted spaces from neutron.conf

add the below in the default section of nova.conf vif_plugging_is_fatal: false

vif_plugging_timeout: 0

edit flag offensive delete link more

Comments

Did it help ?

dbaxps gravatar imagedbaxps ( 2014-12-11 03:39:55 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2014-12-11 00:07:04 -0500

Seen: 1,779 times

Last updated: Dec 11 '14