[Openstack-operators] OpenStack With KVM

Roberto Dalas Z. Benavides betodalas at gmail.com
Wed Oct 26 20:49:31 UTC 2011


I installed kvm and nova computer in same machine, but occurred a error:

2011-10-26 18:47:05,936 ERROR nova.exception [-] Uncaught exception
(nova.exception): TRACE: Traceback (most recent call last):
(nova.exception): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/exception
.py", line 98, in wrapped
(nova.exception): TRACE:     return f(*args, **kw)
(nova.exception): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/virt/libv
irt/connection.py", line 673, in spawn
(nova.exception): TRACE:
self.firewall_driver.setup_basic_filtering(instance
, network_info)
(nova.exception): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/virt/libv
irt/firewall.py", line 525, in setup_basic_filtering
(nova.exception): TRACE:     self.refresh_provider_fw_rules()
(nova.exception): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/virt/libv
irt/firewall.py", line 737, in refresh_provider_fw_rules
(nova.exception): TRACE:     self._do_refresh_provider_fw_rules()
(nova.exception): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/utils.py"
, line 687, in inner
(nova.exception): TRACE:     with lock:
(nova.exception): TRACE:   File "/usr/lib/pymodules/python2.7/lockfile.py",
line
223, in __enter__
(nova.exception): TRACE:     self.acquire()
(nova.exception): TRACE:   File "/usr/lib/pymodules/python2.7/lockfile.py",
line
239, in acquire
(nova.exception): TRACE:     raise LockFailed("failed to create %s" %
self.uniqu
e_name)
(nova.exception): TRACE: LockFailed: failed to create
/usr/lib/python2.7/dist-pa
ckages/OPSTACK-CTR-02.Dummy-9-23053
(nova.exception): TRACE:
2011-10-26 18:47:05,937 ERROR nova.compute.manager [-] Instance '10' failed
to
s
pawn. Is virtualization enabled in the BIOS? Details: failed to create
/usr/lib/
python2.7/dist-packages/OPSTACK-CTR-02.Dummy-9-23053
(nova.compute.manager): TRACE: Traceback (most recent call last):
(nova.compute.manager): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/com
pute/manager.py", line 424, in _run_instance
(nova.compute.manager): TRACE:     network_info, block_device_info)
(nova.compute.manager): TRACE:   File
"/usr/lib/python2.7/dist-packages/nova/exc
eption.py", line 129, in wrapped
(nova.compute.manager): TRACE:     raise Error(str(e))
(nova.compute.manager): TRACE: Error: failed to create
/usr/lib/python2.7/dist-p
ackages/OPSTACK-CTR-02.Dummy-9-23053
(nova.compute.manager): TRACE:


2011/10/26 Sharif Islam <islamsh at indiana.edu>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 10/26/2011 03:30 PM, Roberto Dalas Z. Benavides wrote:
> > I have a server with all the novaservices it and on another server I
> > have installed kvm.
> > As the new will know what he kvm server will create the machine in?
>
>
> Ok. the server you have kvm, you will need to install nova-compute and
> in nova.conf file add --libvirt_type=kvm along with the other options.
> This way nova services will know which server to use.
>
>
> > For example: I use the vmware vmwareapi User data information and
> > password. But in kvm?
>
> I think this will depend how you create your images. You can add a local
> user in the image or as I mentioned before use a ssh key which will be
> injected by nova as it boots up.
>
> - --sharif
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQEcBAEBAgAGBQJOqGLsAAoJEACffes9SivFZMQIALchlwetKfSF5NIT4P2EzK2d
> Gp7MTDLm77ATJ2XC2bhdZiHR64wdyC6ehjmHoyl5JBHcQWP6cECFuS93Yc1D8cc1
> kmTKSNXtKxvn0eKxCPyARohIaJO2rXMHGEhZTr5amOx31uuebbAVpU+ONJkaw6zP
> nlNvNwqfxAefHicD3jMYY+PSrQWSRDy6oxWHh5ctNDtVF0b7o3jjY7D+RzhO2gNi
> dUuBHqsQQTiqmp5bRFQ0uh+nvPFTFEqazzpbS4uMRWRTXi2PVjWZLoBMZU9+Tl7g
> aRbpmBOdebhsaqsvYI2vKqzR5kXRdrulRpZUGUxHIEZW6XfItvBHnVEegxyLH8g=
> =aJjg
> -----END PGP SIGNATURE-----
> _______________________________________________
> Openstack-operators mailing list
> Openstack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20111026/30bc71cf/attachment-0002.html>


More information about the Openstack-operators mailing list