Ask Your Question
0

Error in Docker integration to Openstack Juno [closed]

asked 2014-11-03 11:29:21 -0500

rahulrajvn gravatar image

updated 2014-11-04 10:41:25 -0500

When I try to integrate Docker to Openstack Juno, I am not able to start the nova service in the compute node. I followed https://wiki.openstack.org/wiki/Docker .

When I remove or comment out #compute_driver = novadocker.virt.docker.DockerDriver from nova configuration, the service is able to start but the pid gets killed soon.

I am getting following error while trying to start the nova service.

http://paste.openstack.org/show/128805/

2014-11-03 14:14:08.138 5264 TRACE nova.openstack.common.threadgroup     timeout=timeout
2014-11-03 14:14:08.138 5264 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 516, in urlopen
2014-11-03 14:14:08.138 5264 TRACE nova.openstack.common.threadgroup     body=body, headers=headers)
2014-11-03 14:14:08.138 5264 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 299, in _make_request
2014-11-03 14:14:08.138 5264 TRACE nova.openstack.common.threadgroup     timeout_obj = self._get_timeout(timeout)
2014-11-03 14:14:08.138 5264 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 279, in _get_timeout
2014-11-03 14:14:08.138 5264 TRACE nova.openstack.common.threadgroup     return Timeout.from_float(timeout)
2014-11-03 14:14:08.138 5264 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/util/timeout.py", line 152, in from_float
2014-11-03 14:14:08.138 5264 TRACE nova.openstack.common.threadgroup     return Timeout(read=timeout, connect=timeout)
2014-11-03 14:14:08.138 5264 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/util/timeout.py", line 95, in __init__
2014-11-03 14:14:08.138 5264 TRACE nova.openstack.common.threadgroup     self._connect = self._validate_timeout(connect, 'connect')
****2014-11-03 14:14:08.138 5264 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/util/timeout.py", line 125, in _validate_timeout
2014-11-03 14:14:08.138 5264 TRACE nova.openstack.common.threadgroup     "int or float." % (name, value))
2014-11-03 14:14:08.138 5264 TRACE nova.openstack.common.threadgroup ValueError: Timeout value connect was Timeout(connect=10, read=10, total=None), but it must be an int or float.
2014-11-03 14:14:08.138 5264 TRACE nova.openstack.common.threadgroup****
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by rahulrajvn
close date 2014-11-04 10:41:05.800175

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-11-04 10:39:47 -0500

rahulrajvn gravatar image

The issue has been fixed , I didn't installed the docker requirement . Once i installed it and rebooted the server its working fine now .

For testing I have used * for installation ,we just need to install the correct packages. https://github.com/stackforge/nova-do...

yum install pbr yum install six yum install babel yum install oslo yum install docker-py

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-11-03 11:29:21 -0500

Seen: 499 times

Last updated: Nov 04 '14