Public bug reported: openstack-dashboard 2014.2-0ubuntu1~cloud0 from cloud:trusty- updates/juno fails install (exit status 1)
full stack trace: 2014-10-27 20:40:42 INFO install Setting up openstack-dashboard (1:2014.2-0ubuntu1~cloud0) ... 2014-10-27 20:40:43 INFO install Adding system user `horizon' (UID 106) ... 2014-10-27 20:40:43 INFO install Adding new user `horizon' (UID 106) with group `horizon' ... 2014-10-27 20:40:43 INFO install Not creating home directory `/usr/share/openstack-dashboard/'. 2014-10-27 20:40:43 INFO install Collecting and compressing static assets... 2014-10-27 20:40:45 INFO install Traceback (most recent call last): 2014-10-27 20:40:45 INFO install File "manage.py", line 25, in <module> 2014-10-27 20:40:45 INFO install execute_from_command_line(sys.argv) 2014-10-27 20:40:45 INFO install File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line 2014-10-27 20:40:45 INFO install utility.execute() 2014-10-27 20:40:45 INFO install File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute 2014-10-27 20:40:45 INFO install self.fetch_command(subcommand).run_from_argv(self.argv) 2014-10-27 20:40:45 INFO install File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 261, in fetch_command 2014-10-27 20:40:45 INFO install commands = get_commands() 2014-10-27 20:40:45 INFO install File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 107, in get_commands 2014-10-27 20:40:45 INFO install apps = settings.INSTALLED_APPS 2014-10-27 20:40:45 INFO install File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 54, in __getattr__ 2014-10-27 20:40:45 INFO install self._setup(name) 2014-10-27 20:40:45 INFO install File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 49, in _setup 2014-10-27 20:40:45 INFO install self._wrapped = Settings(settings_module) 2014-10-27 20:40:45 INFO install File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 128, in __init__ 2014-10-27 20:40:45 INFO install mod = importlib.import_module(self.SETTINGS_MODULE) 2014-10-27 20:40:45 INFO install File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module 2014-10-27 20:40:45 INFO install __import__(name) 2014-10-27 20:40:45 INFO install File "/usr/share/openstack-dashboard/openstack_dashboard/settings.py", line 316, in <module> 2014-10-27 20:40:45 INFO install from local.local_settings import * # noqa 2014-10-27 20:40:45 INFO install File "/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py", line 98, in <module> 2014-10-27 20:40:45 INFO install SECRET_KEY = secret_key.generate_or_read_from_file('/var/lib/openstack-dashboard/secret_key') 2014-10-27 20:40:45 INFO install File "/usr/lib/python2.7/dist-packages/horizon/utils/secret_key.py", line 61, in generate_or_read_from_file 2014-10-27 20:40:45 INFO install raise FilePermissionError("Insecure key file permissions!") 2014-10-27 20:40:45 INFO install horizon.utils.secret_key.FilePermissionError: Insecure key file permissions! 2014-10-27 20:40:45 INFO install dpkg: error processing package openstack-dashboard (--configure): 2014-10-27 20:40:45 INFO install subprocess installed post-installation script returned error exit status 1 Looks like /var/lib/openstack-dashboard/secret_key is created without the correct permissions using charm lp:~openstack-charmers/charms/trusty/openstack-dashboard/next to deploy currently -- doesnt seem as if that charm is writing anything to those locations before apt-get install, but I could be wrong. ** Affects: horizon (Ubuntu) Importance: Undecided Status: New ** Tags: oil -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1386429 Title: openstack-dashboard 2014.2-0ubuntu1~cloud0 from cloud:trusty- updates/juno fails install (exit status 1) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1386429/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs