error launche from dashbord

asked 2015-09-04 06:31:36 -0500

Mehdi gravatar image

updated 2015-09-04 07:15:30 -0500

Hello,

I have a problem when launching a instance from OpenStack dashboard, its gives an error "ERROR nova.compute.manager Instance failed to spawn," and when i run the command "nova shwo vm-name" from the controller node, i get that issue:

nova show vm-admin2
+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property                             | Value                                                                                                                                                                 |
+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                                                                                                                                                |
| OS-EXT-AZ:availability_zone          | nova                                                                                                                                                                  |
| OS-EXT-SRV-ATTR:host                 | ComputeNode                                                                                                                                                           |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | ComputeNode                                                                                                                                                           |
| OS-EXT-SRV-ATTR:instance_name        | instance-0000001a                                                                                                                                                     |
| 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                              | 2015-09-04T10:23:03Z                                                                                                                                                  |
| ext-net network                      | 192.168.103.124                                                                                                                                                       |
| fault                                | {"message": "No valid host was found. ", "code": 500, "details": "  File \"/usr/lib/python2.7/dist-packages/nova/conductor/manager.py\", line 616, in build_instances |
|                                      |     request_spec, filter_properties)                                                                                                                                  |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py\", line 49, in select_destinations                                                        |
|                                      |     context, request_spec, filter_properties)                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py\", line 35, in __run_method                                                               |
|                                      |     return getattr(self.instance, __name)(*args, **kwargs)                                                                                                            |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py\", line 34, in select_destinations                                                           |
|                                      |     context, request_spec, filter_properties)                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py\", line 108, in select_destinations                                                                |
|                                      |     request_spec=request_spec, filter_properties=filter_properties)                                                                                                   |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py\", line 152, in call                                                                           |
|                                      |     retry=self.retry)                                                                                                                                                 |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py\", line 90, in _send                                                                            |
|                                      |     timeout=timeout, retry=retry)                                                                                                                                     |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py\", line 408, in send                                                                  |
|                                      |     retry=retry)                                                                                                                                                      |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py\", line 399, in _send                                                                 |
|                                      |     raise result                                                                                                                                                      |
|                                      | ", "created": "2015-09-04T10:23:06Z"}                                                                                                                                 |
| flavor                               | m1.tiny (1)                                                                                                                                                           |
| hostId                               | 092c1616c6b752453d303c4d4b1e31adfa178b28f4719dadb9d21f9e                                                                                                              |
| id                                   | 182fb603-d87e-422f-a336-e9b6836bddad                                                                                                                                  |
| image                                | cirros-0.3.3-x86_64 (ee07385d-64ee-400d-b187-605e4f8d9bc3)                                                                                                            |
| key_name                             | admin-key                                                                                                                                                             |
| metadata                             | {}                                                                                                                                                                    |
| name                                 | vm-admin2                                                                                                                                                             |
| os-extended-volumes:volumes_attached | []                                                                                                                                                                    |
| security_groups                      | default                                                                                                                                                               |
| status                               | ERROR
edit retag flag offensive close merge delete