[Openstack] 答复: Error while creating a Nova instance

Chenrui (A) kiwik.chenrui at huawei.com
Wed Nov 20 04:08:25 UTC 2013


I find error message “ComputeHostNotFound: Compute host 2 could not be found.” in compute.log
Can you restart your nova-compute process and try again?
More log info is better

发件人: Pax Mridhul [mailto:mridhul at live.com]
发送时间: 2013年11月19日 21:14
收件人: openstack at lists.openstack.org
主题: [Openstack] Error while creating a Nova instance

Hello All,

I’ve installed OS Havana on my servers and while trying to launch an instance it fails immediately and shows the instance state as ERROR

My setup is

MySQL/QPIDD/Horizon/Nova controller/Glance running on a single server (8GB RAM/4vCPU) and Nova compute on a different server(32GB RAM/8CPU)

/var/log/nova/compute.log has the following error trace while I create an instance : http://paste.openstack.org/show/53590/

Whenever I trigger a launch request it fails and this is the status of my server


[root at nova-node1 ~]# nova list
+--------------------------------------+----------------+--------+------------+-------------+----------+
| ID                                   | Name           | Status | Task State | Power State | Networks |
+--------------------------------------+----------------+--------+------------+-------------+----------+
| 88fa9e4f-ddf2-4f81-9afd-25c0160aa320 | Centos-Minimal | ERROR  | None       | NOSTATE     |          |
+--------------------------------------+----------------+--------+------------+-------------+----------+
[root at nova-node1 ~]# nova show 88fa9e4f-ddf2-4f81-9afd-25c0160aa320
+--------------------------------------+-----------------------------------------------------------------------------------------------+
| Property                             | Value                                                                                         |
+--------------------------------------+-----------------------------------------------------------------------------------------------+
| status                               | ERROR                                                                                         |
| updated                              | 2013-11-19T12:41:20Z                                                                          |
| OS-EXT-STS:task_state                | None                                                                                          |
| OS-EXT-SRV-ATTR:host                 | None                                                                                          |
| key_name                             | mykey                                                                                         |
| image                                | CirrOS-test (dd08e2cd-b513-4837-a5db-b441cc17d697)                                            |
| hostId                               |                                                                                               |
| OS-EXT-STS:vm_state                  | error                                                                                         |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000009                                                                             |
| OS-SRV-USG:launched_at               | None                                                                                          |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | None                                                                                          |
| flavor                               | Micro (6b3827d7-ebc4-4992-a44b-557ea2fd9b19)                                                  |
| id                                   | 88fa9e4f-ddf2-4f81-9afd-25c0160aa320                                                          |
| security_groups                      | [{u'name': u'default'}]                                                                       |
| OS-SRV-USG:terminated_at             | None                                                                                          |
| user_id                              | 959a0bb9cad246e1b1dd9a4028fb0a13                                                              |
| name                                 | Centos-Minimal                                                                                |
| created                              | 2013-11-19T12:41:20Z                                                                          |
| tenant_id                            | 09bcee79738d421582c8ac938cb13636                                                              |
| OS-DCF:diskConfig                    | MANUAL                                                                                        |
| metadata                             | {}                                                                                            |
| os-extended-volumes:volumes_attached | []                                                                                            |
| accessIPv4                           |                                                                                               |
| accessIPv6                           |                                                                                               |
| fault                                | {u'message': u'No valid host was found. ', u'code': 500, u'created': u'2013-11-19T12:41:20Z'} |
| OS-EXT-STS:power_state               | 0                                                                                             |
| OS-EXT-AZ:availability_zone          | nova                                                                                          |
| config_drive                         |                                                                                               |
+--------------------------------------+-----------------------------------------------------------------------------------------------+

Mridhul


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


More information about the Openstack mailing list