Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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 |

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

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) *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) 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) *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                                                                                                                                               |

|