#nova-manage service list <br>to confirm that that the service is ":)"<br><br>if the compute service is ok, then check the scheduler, did you set some more while you upload the image(glance) ?<br>if your scheduler could not find a proper host for the specified image ,it would bother that ~~<br><br><div><div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;"><div>止语</div></div></div><div> </div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>From: </b> "Chenrui (A)";<kiwik.chenrui@huawei.com>;</div><div><b>Date: </b> Wed, Nov 20, 2013 12:08 PM</div><div><b>To: </b> "Pax Mridhul"<mridhul@live.com>; <wbr></div><div><b>Cc: </b> "openstack@lists.openstack.org"<openstack@lists.openstack.org>; <wbr></div><div><b>Subject: </b> [Openstack] 答复: Error while creating a Nova instance</div></div><div><br></div>
<style></style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.5pt;color:#1F497D" lang="EN-US">I find error message “ComputeHostNotFound: Compute host 2 could not be found.” in compute.log<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#1F497D" lang="EN-US">Can you restart your nova-compute process and try again?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#1F497D" lang="EN-US">More log info is better<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:宋体">发件人<span lang="EN-US">:</span></span></b><span style="font-size:10.0pt;font-family:宋体" lang="EN-US"> Pax Mridhul [mailto:mridhul@live.com]
<br>
</span><b><span style="font-size:10.0pt;font-family:宋体">发送时间<span lang="EN-US">:</span></span></b><span style="font-size:10.0pt;font-family:宋体" lang="EN-US"> 2013</span><span style="font-size:10.0pt;font-family:宋体">年<span lang="EN-US">11</span>月<span lang="EN-US">19</span>日<span lang="EN-US">
21:14<br>
</span><b>收件人<span lang="EN-US">:</span></b><span lang="EN-US"> openstack@lists.openstack.org<br>
</span><b>主题<span lang="EN-US">:</span></b><span lang="EN-US"> [Openstack] Error while creating a Nova instance<o:p></o:p></span></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Hello All,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">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<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">My setup is <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">MySQL/QPIDD/Horizon/Nova controller/Glance running on a single server (8GB RAM/4vCPU) and Nova compute on a different server(32GB RAM/8CPU)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">/var/log/nova/compute.log has the following error trace while I create an instance :
<a href="http://paste.openstack.org/show/53590/">http://paste.openstack.org/show/53590/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Whenever I trigger a launch request it fails and this is the status of my server<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">[root@nova-node1 ~]# nova list<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">+--------------------------------------+----------------+--------+------------+-------------+----------+<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| ID | Name | Status | Task State | Power State | Networks |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">+--------------------------------------+----------------+--------+------------+-------------+----------+<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| 88fa9e4f-ddf2-4f81-9afd-25c0160aa320 | Centos-Minimal | ERROR | None | NOSTATE | |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">+--------------------------------------+----------------+--------+------------+-------------+----------+<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US">[root@nova-node1 ~]# nova show 88fa9e4f-ddf2-4f81-9afd-25c0160aa320<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US">+--------------------------------------+-----------------------------------------------------------------------------------------------+<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| Property | Value |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">+--------------------------------------+-----------------------------------------------------------------------------------------------+<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| status | ERROR |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| updated | 2013-11-19T12:41:20Z |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| OS-EXT-STS:task_state | None |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| OS-EXT-SRV-ATTR:host | None |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| key_name | mykey |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| image | CirrOS-test (dd08e2cd-b513-4837-a5db-b441cc17d697) |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| hostId | |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| OS-EXT-STS:vm_state | error |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| OS-EXT-SRV-ATTR:instance_name | instance-00000009 |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| OS-SRV-USG:launched_at | None |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| OS-EXT-SRV-ATTR:hypervisor_hostname | None |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| flavor | Micro (6b3827d7-ebc4-4992-a44b-557ea2fd9b19) |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| id | 88fa9e4f-ddf2-4f81-9afd-25c0160aa320 |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| security_groups | [{u'name': u'default'}] |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| OS-SRV-USG:terminated_at | None |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| user_id | 959a0bb9cad246e1b1dd9a4028fb0a13 |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| name | Centos-Minimal |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| created | 2013-11-19T12:41:20Z |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| tenant_id | 09bcee79738d421582c8ac938cb13636 |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| OS-DCF:diskConfig | MANUAL |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| metadata | {} |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| os-extended-volumes:volumes_attached | [] |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| accessIPv4 | |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| accessIPv6 | |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| fault | {u'message': u'No valid host was found. ', u'code': 500, u'created': u'2013-11-19T12:41:20Z'} |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| OS-EXT-STS:power_state | 0 |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| OS-EXT-AZ:availability_zone | nova |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">| config_drive | |<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">+--------------------------------------+-----------------------------------------------------------------------------------------------+<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Mridhul<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div></div>