[openstack-dev] [Zun][Higgins]Enable Zun in devstack
opensdock
opensdock at 163.com
Wed Aug 17 13:13:26 UTC 2016
Hi team,
I tried to enable Zun in devstack by add following line in my local.conf
enable_plugin higgins https://git.openstack.org/openstack/higgins master
The stack script completed successfully, but when I tried to create container using zun cmd line:
zun container-create --name test1 --image ubuntu
The container creation failed and I found this Error in zun-compute.log:
[00;36mNone None[00;32m] [01;35m[00;32mCreating container...[00m [00;33mfrom (pid=1643) _do_container_create /opt/stack/higgins/zun/compute/manager.py:39[00m
[01;36mreq-6a879692-2205-40f7-b74c-ae3cb816a59c [00;36mNone None[00;32m] [01;35m[00;32mFile doesn't exist[00m [00;33mfrom (pid=1643) load_config /usr/local/lib/python2.7/dist-packages/docker/auth/auth.py:179[00m
[00;32mDEBUG zun.container.docker.driver [[01;36mreq-6a879692-2205-40f7-b74c-ae3cb816a59c [00;36mNone None[00;32m] [01;35m[00;32mPulling image ubuntu[00m [00;33mfrom (pid=1643) pull_image /opt/stack/higgins/zun/container/docker/driver.py:38[00m
[00;32mDEBUG docker.api.image [[01;36mreq-6a879692-2205-40f7-b74c-ae3cb816a59c [00;36mNone None[00;32m] [01;35m[00;32mLooking for auth config[00m [00;33mfrom (pid=1643) pull /usr/local/lib/python2.7/dist-packages/docker/api/image.py:172[00m
[00;32mDEBUG docker.api.image [[01;36mreq-6a879692-2205-40f7-b74c-ae3cb816a59c [00;36mNone None[00;32m] [01;35m[00;32mNo auth config in memory - loading from filesystem[00m [00;33mfrom (pid=1643) pull /usr/local/lib/python2.7/dist-packages/docker/api/image.py:175[00m
[00;32mDEBUG docker.auth.auth [[01;36mreq-6a879692-2205-40f7-b74c-ae3cb816a59c [00;36mNone None[00;32m] [01;35m[00;32mFile doesn't exist[00m [00;33mfrom (pid=1643) load_config /usr/local/lib/python2.7/dist-packages/docker/auth/auth.py:179[00m
[00;32mDEBUG docker.auth.auth [[01;36mreq-6a879692-2205-40f7-b74c-ae3cb816a59c [00;36mNone None[00;32m] [01;35m[00;32mLooking for auth entry for 'docker.io'[00m [00;33mfrom (pid=1643) resolve_authconfig /usr/local/lib/python2.7/dist-packages/docker/auth/auth.py:73[00m
[00;32mDEBUG docker.auth.auth [[01;36mreq-6a879692-2205-40f7-b74c-ae3cb816a59c [00;36mNone None[00;32m] [01;35m[00;32mNo entry found[00m [00;33mfrom (pid=1643) resolve_authconfig /usr/local/lib/python2.7/dist-packages/docker/auth/auth.py:84[00m
[00;32mDEBUG docker.api.image [[01;36mreq-6a879692-2205-40f7-b74c-ae3cb816a59c [00;36mNone None[00;32m] [01;35m[00;32mNo auth config found[00m [00;33mfrom (pid=1643) pull /usr/local/lib/python2.7/dist-packages/docker/api/image.py:190[00m
[01;31mERROR zun.compute.manager [[01;36mreq-6a879692-2205-40f7-b74c-ae3cb816a59c [00;36mNone None[01;31m] [01;35m[01;31mUnexpected exception: ('Connection aborted.', error(2, 'ENOENT'))[00m
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00mTraceback (most recent call last):
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m File "/opt/stack/higgins/zun/compute/manager.py", line 44, in _do_container_create
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m self.driver.pull_image(container.image)
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m File "/opt/stack/higgins/zun/container/docker/driver.py", line 40, in pull_image
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m docker.pull(image_repo, tag=image_tag)
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/docker/api/image.py", line 197, in pull
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m stream=stream, timeout=None
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/docker/utils/decorators.py", line 47, in inner
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m return f(self, *args, **kwargs)
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/docker/client.py", line 108, in _post
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m return self.post(url, **self._set_request_timeout(kwargs))
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 514, in post
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m return self.request('POST', url, data=data, json=json, **kwargs)
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 471, in request
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m resp = self.send(prep, **send_kwargs)
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 581, in send
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m r = adapter.send(request, **kwargs)
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 467, in send
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00m raise ConnectionError(err, request=request)
[01;31m2016-08-17 16:52:54.534 TRACE zun.compute.manager [01;35m[00mConnectionError: ('Connection aborted.', error(2, 'ENOENT'))
Do I need to do some extra setup work(like install/configure docker engine) manually?
Please help on this, thanks in advance!
2016-08-17
opensdock
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160817/d5448b02/attachment.html>
More information about the OpenStack-dev
mailing list