[Openstack-operators] docker-juno installation failed

Arun Adiththan arunadiththan at gmail.com
Thu Jul 9 20:38:30 UTC 2015


Hello Hamza,

I referred to the installation steps in this blog post:
https://sreeninet.wordpress.com/2015/06/14/openstack-and-docker-part-1/ (I
just replaced kilo with juno in the commands). I had no issues but for the
"concurrency module" error you encountered.

Thanks,
Arun Adiththan
​




On Thu, Jul 9, 2015 at 1:12 PM, Achi Hamza <h16mara at gmail.com> wrote:

> Hi Arun Adiththan and Paul Czarkowski,
>
> Thank you both for your response.
>
> Arun@ your suggest did actually solve my problem, however i encountered
> another issue which is, nova is UP and running with DISABLE status! :)
>
> Disabled
> *Reason: AUTO: Failed to connect to libvirt*
>
>  nova compute service didn't output any critical error on the log file :
>
>
>
> *2015-07-10 03:45:44.923 15256 AUDIT nova.compute.resource_tracker [-]
> Total usable vcpus: 1, total allocated vcpus: 0*
> * 2015-07-10 03:45:44.924 15256 AUDIT nova.compute.resource_tracker [-]
> PCI stats: []*
> * 2015-07-10 03:45:44.925 15256 INFO nova.compute.resource_tracker [-]
> Compute_service record updated for compute:compute*
> * 2015-07-10 03:45:48.079 15256 INFO nova.openstack.common.service [-]
> Caught SIGTERM, exiting*
> * 2015-07-10 03:45:48.553 15616 INFO nova.openstack.common.periodic_task
> [-] Skipping periodic task _periodic_update_dns because its interval is
> negative*
> * 2015-07-10 03:45:48.570 15616 INFO nova.virt.driver [-] Loading compute
> driver 'novadocker.virt.docker.DockerDriver'*
> * 2015-07-10 03:45:48.587 15616 INFO oslo.messaging._drivers.impl_rabbit
> [req-852752ae-d04b-422e-9d66-2129b6d7dd0c ] Connecting to AMQP server on
> 10.10.10.51:5672 <http://10.10.10.51:5672>*
> * 2015-07-10 03:45:48.599 15616 INFO oslo.messaging._drivers.impl_rabbit
> [req-852752ae-d04b-422e-9d66-2129b6d7dd0c ] Connected to AMQP server on
> 10.10.10.51:5672 <http://10.10.10.51:5672>*
> * 2015-07-10 03:45:48.604 15616 INFO oslo.messaging._drivers.impl_rabbit
> [req-852752ae-d04b-422e-9d66-2129b6d7dd0c ] Connecting to AMQP server on
> 10.10.10.51:5672 <http://10.10.10.51:5672>*
> * 2015-07-10 03:45:48.620 15616 INFO oslo.messaging._drivers.impl_rabbit
> [req-852752ae-d04b-422e-9d66-2129b6d7dd0c ] Connected to AMQP server on
> 10.10.10.51:5672 <http://10.10.10.51:5672>*
> * 2015-07-10 03:45:48.649 15616 AUDIT nova.service [-] Starting compute
> node (version 2014.2.2)*
> * 2015-07-10 03:45:48.725 15616 AUDIT nova.compute.resource_tracker [-]
> Auditing locally available compute resources*
> * 2015-07-10 03:45:48.766 15616 AUDIT nova.compute.resource_tracker [-]
> Total physical ram (MB): 2001, total allocated virtual ram (MB): 512*
> * 2015-07-10 03:45:48.767 15616 AUDIT nova.compute.resource_tracker [-]
> Free disk (GB): 60*
> * 2015-07-10 03:45:48.767 15616 AUDIT nova.compute.resource_tracker [-]
> Total usable vcpus: 1, total allocated vcpus: 0*
> * 2015-07-10 03:45:48.767 15616 AUDIT nova.compute.resource_tracker [-]
> PCI stats: []*
> * 2015-07-10 03:45:48.826 15616 INFO nova.scheduler.client.report [-]
> Compute_service record updated for ('compute', 'compute')*
> * 2015-07-10 03:45:48.827 15616 INFO nova.compute.resource_tracker [-]
> Compute_service record updated for compute:compute*
> * 2015-07-10 03:45:48.877 15616 INFO oslo.messaging._drivers.impl_rabbit
> [-] Connecting to AMQP server on 10.10.10.51:5672 <http://10.10.10.51:5672>*
> * 2015-07-10 03:45:48.888 15616 INFO oslo.messaging._drivers.impl_rabbit
> [-] Connected to AMQP server on 10.10.10.51:5672 <http://10.10.10.51:5672>*
>
>
>
>
> Arun can you please provide me with the installation steps that you did to
> get Docker up and running on juno release ?
>
>
> Thank you
>
> Hamza
>
>
>
> On 9 July 2015 at 18:48, Arun Adiththan <arunadiththan at gmail.com> wrote:
>
>> 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/8b2964c4/attachment-0001.html>


More information about the OpenStack-operators mailing list