<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div>I am also using ubuntu vm under vmware. I can run this command.<br>check if you enabled the virtual Intel Vt-x/EPT or AMD-V/RVI on Vm setting of this vmware vm.<br><div><br></div><font color="#990099">-----openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net wrote: -----<br><br></font><blockquote style="padding-right: 0px; padding-left: 5px; margin-left: 5px; border-left: 2px solid #000000; margin-right: 0px;">To: Leander Bessa <a class="moz-txt-link-rfc2396E" href="mailto:leanderbb@gmail.com"><leanderbb@gmail.com></a><br>From: Sam Su <a class="moz-txt-link-rfc2396E" href="mailto:susltd.su@gmail.com"><susltd.su@gmail.com></a><br>Sent by: <a class="moz-txt-link-abbreviated" href="mailto:openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net">openstack-bounces+gongysh=cn.ibm.com@lists.launchpad.net</a><br>Date: 04/02/2012 07:35AM<br>Cc: openstack <a class="moz-txt-link-rfc2396E" href="mailto:openstack@lists.launchpad.net"><openstack@lists.launchpad.net></a><br>Subject: Re: [Openstack] HELP: create VM failure<br><br><div>Hi Leander,</div><div><br></div><div>Thank you for you response.</div><div><br></div><div>I have double checked the value of libvirt_type in nova.conf, it is kvm, not hvm. I search this problem in Google, it looks like a bug of libvirt before.</div> <div><a href="https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/445253">https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/445253</a> </div><div><br></div><div>I tried to change  libvirt_type=qemu and reboot system, nothing was changed.</div><div><br></div><div>Maybe this problem is because my Ubuntu server is installed in a VMWare VM. I am planning to re-install Openstack in a physical machine.</div> <div><br></div><div><br></div><div>Thanks,</div><div>Sam</div><div><br></div><br><div class="gmail_quote">On Sun, Apr 1, 2012 at 3:04 PM, Leander Bessa <span dir="ltr"><<a href="mailto:leanderbb@gmail.com">leanderbb@gmail.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;"><div><br></div>Maybe you specified --libvirt_type=hvm instead of --libvirt_type=kvm in your nova.conf file.<br><br><div class="gmail_quote"> <div><div class="h5">On Sun, Apr 1, 2012 at 8:44 PM, Sam Su <span dir="ltr"><<a href="mailto:susltd.su@gmail.com" target="_blank">susltd.su@gmail.com</a>></span> wrote:<br> </div></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;"><div><div class="h5">Hi, <div><br></div><div>I am trying to deploy Openstack all-in-one environment (Nova, Glance, Keystone, Dashboard ) from scratch in an Ubuntu 12.04 server, After installed Nova,  I tried to create a VM with nova command but failed:</div> <div><br></div><div><div>root@ubuntu:/etc/nova#  nova boot --flavor 1 --image 8e7f9978-86b2-4c75-a0a8-44b0bb2a46e2 --key_name key1 VM2</div><div>+-------------------------------------+--------------------------------------+</div> <div>|               Property              |                Value                 |</div><div>+-------------------------------------+--------------------------------------+</div><div>| OS-DCF:diskConfig                   | MANUAL                               |</div> <div>| OS-EXT-SRV-ATTR:host                | ubuntu                               |</div><div>| OS-EXT-SRV-ATTR:hypervisor_hostname | None                                 |</div><div>| OS-EXT-SRV-ATTR:instance_name       | instance-00000002                    |</div> <div>| OS-EXT-STS:power_state              | 0                                    |</div><div>| OS-EXT-STS:task_state               | scheduling                           |</div><div>| OS-EXT-STS:vm_state                 | building                             |</div> <div>| accessIPv4                          |                                      |</div><div>| accessIPv6                          |                                      |</div><div>| adminPass                           | Yj6mVrxaEiX6                         |</div> <div>| config_drive                        |                                      |</div><div>| created                             | 2012-04-01T19:25:54Z                 |</div><div>| flavor                              | m1.tiny                              |</div> <div>| hostId                              |                                      |</div><div>| id                                  | c15be925-c4d8-4b76-b7c3-e94ebe513cf1 |</div><div>| image                               | Ubuntu 11.10 cloudimg amd64          |</div> <div>| key_name                            | key1                                 |</div><div>| metadata                            | {}                                   |</div><div>| name                                | VM2                                  |</div> <div>| progress                            | 0                                    |</div><div>| status                              | BUILD                                |</div><div>| tenant_id                           | 2660dedf826c4510aff873c05d9d506b     |</div> <div>| updated                             | 2012-04-01T19:25:54Z                 |</div><div>| user_id                             | b42c715d94384aa6a66c56df44ac69b2     |</div><div>+-------------------------------------+--------------------------------------+</div> <div>root@ubuntu:/etc/nova# nova show VM2</div><div>+-------------------------------------+----------------------------------------------------------------------------------+</div><div>|               Property              |                                      Value                                       |</div> <div>+-------------------------------------+----------------------------------------------------------------------------------+</div><div>| OS-DCF:diskConfig                   | MANUAL                                                                           |</div> <div>| OS-EXT-SRV-ATTR:host                | ubuntu                                                                           |</div><div>| OS-EXT-SRV-ATTR:hypervisor_hostname | None                                                                             |</div> <div>| OS-EXT-SRV-ATTR:instance_name       | instance-00000002                                                                |</div><div>| OS-EXT-STS:power_state              | 0                                                                                |</div> <div>| OS-EXT-STS:task_state               | spawning                                                                         |</div><div>| OS-EXT-STS:vm_state                 | error                                                                            |</div> <div>| accessIPv4                          |                                                                                  |</div><div>| accessIPv6                          |                                                                                  |</div> <div>| config_drive                        |                                                                                  |</div><div>| created                             | 2012-04-01T19:25:54Z                                                             |</div> <div>| fault                               | {u'message': u'libvirtError', u'code': 500, u'created': u'2012-04-01T19:25:57Z'} |</div><div>| flavor                              | m1.tiny                                                                          |</div> <div>| hostId                              | 05c193a7baf099665d8bd6cb4964e738b424d7224a67603c49d62f4b                         |</div><div>| id                                  | c15be925-c4d8-4b76-b7c3-e94ebe513cf1                                             |</div> <div>| image                               | Ubuntu 11.10 cloudimg amd64                                                      |</div><div>| key_name                            | key1                                                                             |</div> <div>| metadata                            | {}                                                                               |</div><div>| name                                | VM2                                                                              |</div> <div>| status                              | ERROR                                                                            |</div><div>| tenant_id                           | 2660dedf826c4510aff873c05d9d506b                                                 |</div> <div>| updated                             | 2012-04-01T19:25:57Z                                                             |</div><div>| user_id                             | b42c715d94384aa6a66c56df44ac69b2                                                 |</div> <div>+-------------------------------------+----------------------------------------------------------------------------------+</div><div><br></div><div><br></div><div>From the result of the command Nova show VM2, I can see the fault as below:</div> </div><div>fault                               | {u'message': u'libvirtError', u'code': 500, u'created': u'2012-04-01T19:25:57Z'} | </div><div><br></div><div><br></div><div>I tried to check nova log for more hints and get the following errors (nova-compute.log is a very long, so I attached the log file and nova.conf for reference).</div><div><br></div> <div><div>nova-compute.log:(nova.compute.manager): TRACE: libvirtError: internal error no supported architecture for os type 'hvm'</div><div>nova-compute.log:(nova.rpc.amqp): TRACE: libvirtError: internal error no supported architecture for os type 'hvm'</div> </div><div><br></div><div><br></div><div>Any hints or tips are appreciated.</div><div><br></div><div>Thanks,</div><div>Sam</div><br></div></div>_______________________________________________<br> Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br> Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br> Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br> More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br><br></blockquote></div><br> </blockquote></div><br> <font face="Courier New,Courier,monospace" size="3">_______________________________________________<br>Mailing list: <a href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>Post to     : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/%7Eopenstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></font> </blockquote><br></div></font> <br/>