So, hier noch der Beitrag zum ausrollen der Service.
Dieses Problem habe ich, beim ausrollen auf eine neue Maschine:
TASK [services_graphite : install apt packages] ********************************
ok: [services] => (item=[u'python', u'python-pip', u'python-dev', u'uwsgi', u'uwsgi-plugin-python', u'libffi-dev'])
TASK [services_graphite : install django] **************************************
ok: [services]
TASK [services_graphite : install requirements for graphite-web] ***************
ok: [services] => (item=python-memcached)
ok: [services] => (item=txAMQP)
ok: [services] => (item=simplejson)
ok: [services] => (item=django-tagging)
ok: [services] => (item=gunicorn)
ok: [services] => (item=pytz)
ok: [services] => (item=sphinx)
ok: [services] => (item=sphinx_rtd_theme)
failed: services => {"cmd": "/usr/bin/pip2 install cairocffi", "failed": true, "item": "cairocffi", "msg": "stdout: Downloading/unpacking cairocffi
Running setup.py (path:/tmp/pip-build-F5VHMy/cairocffi/setup.py) egg_info for package cairocffi
Installed /tmp/pip-build-F5VHMy/cairocffi/cffi-1.10.0-py2.7-linux-x86_64.egg
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip-build-F5VHMy/cairocffi/setup.py", line 44, in
extras_require={'xcb': ['xcffib>=0.3.2']},
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
setupdistribution = dist = klass(attrs)
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 266, in init
Distribution.init(self,attrs)
File "/usr/lib/python2.7/distutils/dist.py", line 287, in init
self.finalizeoptions()
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 301, in finalize_options
ep.load()(self, ep.name, value)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
['name'])
ImportError: No module named setuptools_ext
Complete output from command python setup.py egg_info:
Installed /tmp/pip-build-F5VHMy/cairocffi/cffi-1.10.0-py2.7-linux-x86_64.egg
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip-build-F5VHMy/cairocffi/setup.py", line 44, in
extras_require={'xcb': ['xcffib>=0.3.2']},
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
setupdistribution = dist = klass(attrs)
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 266, in init
Distribution.init(self,attrs)
File "/usr/lib/python2.7/distutils/dist.py", line 287, in init
self.finalizeoptions()
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 301, in finalize_options
ep.load()(self, ep.name, value)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2190, in load
['name'])
ImportError: No module named setuptools_ext
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-F5VHMy/cairocffi
Storing debug log for failure in /root/.pip/pip.log
"}
ok: [services] => (item=whitenoise)
RUNNING HANDLER [services_bind : restart bind9] ********************************
to retry, use: --limit @/opt/ansible-ffhp/services.retry
PLAY RECAP *********************************************************************
services : ok=78 changed=9 unreachable=0 failed=1
Weiß jemand weiter?
Grüße
Christoph
Weiß jemand weiter?
Grüße
Christoph