Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
openstack-dashboard
0 upgraded, 1 newly installed, 0 to remove and 22 not upgraded.
Need to get 2,615 kB of archives.
After this operation, 25.8 MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 openstack-dashboard all 3:11.0.0~b1-0ubuntu3 [2,615 kB]
Fetched 2,615 kB in 0s (4,684 kB/s)
Selecting previously unselected package openstack-dashboard.
(Reading database ... 447227 files and directories currently installed.)
Preparing to unpack .../openstack-dashboard_3%3a11.0.0~b1-0ubuntu3_all.deb ...
Unpacking openstack-dashboard (3:11.0.0~b1-0ubuntu3) ...
Setting up openstack-dashboard (3:11.0.0~b1-0ubuntu3) ...
Adding system user `horizon' (UID 131) ...
Adding new user `horizon' (UID 131) with group `horizon' ...
Not creating home directory `/usr/share/openstack-dashboard/'.
Collecting and compressing static assets...
Traceback (most recent call last):
File "manage.py", line 25, in <module>
execute_from_command_line(sys.argv)
File "/home/david/.local/lib/python2.7/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
utility.execute()
File "/home/david/.local/lib/python2.7/site-packages/django/core/management/__init__.py", line 302, in execute
settings.INSTALLED_APPS
File "/home/david/.local/lib/python2.7/site-packages/django/conf/__init__.py", line 55, in __getattr__
self._setup(name)
File "/home/david/.local/lib/python2.7/site-packages/django/conf/__init__.py", line 43, in _setup
self._wrapped = Settings(settings_module)
File "/home/david/.local/lib/python2.7/site-packages/django/conf/__init__.py", line 99, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/usr/share/openstack-dashboard/openstack_dashboard/settings.py", line 341, in <module>
from local.local_settings import * # noqa
File "/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py", line 7, in <module>
from horizon.utils import secret_key
File "/usr/share/openstack-dashboard/horizon/utils/secret_key.py", line 21, in <module>
from oslo_concurrency import lockutils
File "/usr/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 27, in <module>
import fasteners
File "/usr/local/lib/python2.7/dist-packages/fasteners/__init__.py", line 23, in <module>
from fasteners.lock import locked # noqa
File "/usr/local/lib/python2.7/dist-packages/fasteners/lock.py", line 31, in <module>
import eventlet
File "/home/david/.local/lib/python2.7/site-packages/eventlet/__init__.py", line 10, in <module>
from eventlet import convenience
File "/home/david/.local/lib/python2.7/site-packages/eventlet/convenience.py", line 6, in <module>
from eventlet.green import socket
File "/home/david/.local/lib/python2.7/site-packages/eventlet/green/socket.py", line 17, in <module>
from eventlet.support import greendns
File "/home/david/.local/lib/python2.7/site-packages/eventlet/support/greendns.py", line 54, in <module>
socket=_socket_nodns)
File "/home/david/.local/lib/python2.7/site-packages/eventlet/patcher.py", line 119, in import_patched
*additional_modules + tuple(kw_additional_modules.items()))
File "/home/david/.local/lib/python2.7/site-packages/eventlet/patcher.py", line 93, in inject
module = __import__(module_name, {}, {}, module_name.split('.')[:-1])
File "/home/david/.local/lib/python2.7/site-packages/dns/resolver.py", line 35, in <module>
import dns.message
File "/home/david/.local/lib/python2.7/site-packages/dns/message.py", line 191
print('id %d' % self.id, file=s)
^
SyntaxError: invalid syntax
dpkg: error processing package openstack-dashboard (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
openstack-dashboard
E: Sub-process /usr/bin/dpkg returned an error code (1)