[Openstack-operators] docker-juno installation failed

Arun Adiththan arunadiththan at gmail.com
Thu Jul 9 17:48:18 UTC 2015


Hello Hamza,

I faced the same issue with Devstack Juno. The error indicates that
*concurrency
*module isn't installed under */usr/lib/python-*/dist-packages/oslo*. You
can fix the problem as follows:

1. Create a directory called concurrency inside
*/usr/lib/python-*/dist-packages/oslo *
2. Copy the contents of */usr/lib/python-*/dist-packages/oslo_concurrency *
to */usr/lib/python-*/dist-packages/oslo/concurrency*

Hope this helps.


​Thanks
,
Arun Adiththan



On Thu, Jul 9, 2015 at 7:38 AM, Achi Hamza <h16mara at gmail.com> wrote:

> Hi guys,
>
> I've tried to installed Docker with juno release on Ubuntu but all the
> attempts failed.
> here how i installed the nova-docker driver:
>
> *sudo apt-get install python-pip*
> *sudo apt-get install python-dev*
> *git clone https://github.com/stackforge/nova-docker
> <http://github.com/stackforge/nova-docker>*
> *cd nova-docker*
> *git checkout stable/juno*
> *sudo python setup.py install*
>
> After configuring novadocker.virt.docker.DockerDriver driver and
> restarting the compute service i got nova DOWN with the following error
> messages in the log file:
>
>
> 2015-07-09 23:12:44.557 17688 INFO nova.virt.driver [-] Loading compute
> driver 'novadocker.virt.docker.DockerDriver'
> 2015-07-09 23:12:44.565 17688 *ERROR nova.virt.driver [-] Unable to load
> the virtualization driver*
> 2015-07-09 23:12:44.565 17688 TRACE nova.virt.driver Traceback (most
> recent call last):
> 2015-07-09 23:12:44.565 17688 TRACE nova.virt.driver   File
> "/usr/lib/python2.7/dist-packages/nova/virt/driver.py", line 1402, in
> load_compute_driver
> 2015-07-09 23:12:44.565 17688 TRACE nova.virt.driver     virtapi)
> 2015-07-09 23:12:44.565 17688 TRACE nova.virt.driver   File
> "/usr/lib/python2.7/dist-packages/nova/openstack/common/importutils.py",
> line 52, in import_object_ns
> 2015-07-09 23:12:44.565 17688 TRACE nova.virt.driver     return
> import_class(import_str)(*args, **kwargs)
> 2015-07-09 23:12:44.565 17688 TRACE nova.virt.driver   File
> "/usr/lib/python2.7/dist-packages/nova/openstack/common/importutils.py",
> line 27, in import_class
> 2015-07-09 23:12:44.565 17688 TRACE nova.virt.driver
> __import__(mod_str)
> 2015-07-09 23:12:44.565 17688 TRACE nova.virt.driver   File
> "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/__init__.py",
> line 20, in <module>
> 2015-07-09 23:12:44.565 17688 TRACE nova.virt.driver     from
> novadocker.virt.docker import driver
> 2015-07-09 23:12:44.565 17688 TRACE nova.virt.driver   File
> "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/driver.py",
> line 46, in <module>
> 2015-07-09 23:12:44.565 17688 TRACE nova.virt.driver     from
> novadocker.virt.docker import network
> 2015-07-09 23:12:44.565 17688 TRACE nova.virt.driver   File
> "/usr/local/lib/python2.7/dist-packages/novadocker/virt/docker/network.py",
> line 16, in <module>
> 2015-07-09 23:12:44.565 17688 TRACE nova.virt.driver     from
> oslo.concurrency import processutils
> 2015-07-09 23:12:44.565 17688 TRACE *nova.virt.driver ImportError: No
> module named concurrency*
> 2015-07-09 23:12:44.565 17688 TRACE nova.virt.driver
>
>
> Any help is greatly appreciated.
>
> Thank you,
>
> Hamza
>
> _______________________________________________
> 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/20150709/ce026ac9/attachment.html>


More information about the OpenStack-operators mailing list