[Bug 1848495] Re: heat-dashboard deb has installation errors
Marcus Furlong
1848495 at bugs.launchpad.net
Wed Nov 6 18:22:59 UTC 2019
Confirmed that this is not reproducible.
We had a setting in our horizon conf that caused this:
AVAILABLE_THEMES = [
('default', 'Default', '../themes/default'),
]
instead of
AVAILABLE_THEMES = [
('default', 'Default', 'themes/default'),
]
This didn't seem to have any other noticeable side-effects apart from
breaking other dashboard installations.
** Changed in: heat-dashboard (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to heat-dashboard in Ubuntu.
https://bugs.launchpad.net/bugs/1848495
Title:
heat-dashboard deb has installation errors
Status in heat-dashboard package in Ubuntu:
Invalid
Bug description:
# apt install python-heat-dashboard
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-heat-dashboard is already the newest version (1.4.0-0ubuntu1~cloud0).
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up python-heat-dashboard (1.4.0-0ubuntu1~cloud0) ...
INFO:keyring.backend:Loading Windows (alt)
INFO:keyring.backend:Loading pyfs
INFO:keyring.backend:Loading multi
INFO:keyring.backend:Loading Google
INFO:keyring.backend:Loading Gnome
INFO:keyring.backend:Loading keyczar
INFO:keyring.backend:Loading file
Traceback (most recent call last):
File "/usr/share/openstack-dashboard/manage.py", line 25, in <module>
execute_from_command_line(sys.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 330, in execute
output = self.handle(*args, **options)
File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 199, in handle
collected = self.collect()
File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 115, in collect
for path, storage in finder.list(self.ignore_patterns):
File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/finders.py", line 112, in list
for path in utils.get_files(storage, ignore_patterns):
File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/utils.py", line 28, in get_files
directories, files = storage.listdir(location)
File "/usr/lib/python2.7/dist-packages/django/core/files/storage.py", line 397, in listdir
for entry in os.listdir(path):
OSError: [Errno 2] No such file or directory: '/usr/share/openstack-dashboard/themes/default'
dpkg: error processing package python-heat-dashboard (--configure):
installed python-heat-dashboard package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
python-heat-dashboard
E: Sub-process /usr/bin/dpkg returned an error code (1)
# ls -l /usr/share/openstack-dashboard/
total 24
drwxr-xr-x 3 root root 4096 Oct 13 10:28 bin
-rwxr-xr-x 1 root root 881 Jun 18 19:51 manage.py
lrwxrwxrwx 1 root root 37 Oct 13 10:28 openstack_dashboard -> /etc/alternatives/openstack_dashboard
-rw-r--r-- 1 root root 15781 Jun 18 19:51 settings.py
# ls -l /usr/share/openstack-dashboard/openstack_dashboard/
total 196
drwxr-xr-x 3 root root 4096 Oct 13 10:28 api
drwxr-xr-x 4 root root 4096 Oct 17 12:19 conf
-rw-r--r-- 1 root root 4469 May 10 18:48 context_processors.py
-rw-r--r-- 1 root root 3393 Oct 13 10:28 context_processors.pyc
drwxr-xr-x 3 root root 4096 Oct 13 10:28 contrib
drwxr-xr-x 6 root root 4096 Oct 13 10:28 dashboards
drwxr-xr-x 2 root root 4096 Oct 13 10:28 django_pyscss_fix
drwxr-xr-x 2 root root 12288 Oct 17 12:19 enabled
-rw-r--r-- 1 root root 2084 May 10 18:47 exceptions.py
-rw-r--r-- 1 root root 929 Oct 13 10:28 exceptions.pyc
-rw-r--r-- 1 root root 1063 May 10 18:48 hooks.py
-rw-r--r-- 1 root root 560 Oct 13 10:28 hooks.pyc
-rw-r--r-- 1 root root 0 May 10 18:47 __init__.py
-rw-r--r-- 1 root root 151 Oct 13 10:28 __init__.pyc
-rw-r--r-- 1 root root 6794 May 10 18:47 karma.conf.js
drwxr-xr-x 4 root root 4096 Oct 17 12:19 local
drwxr-xr-x 36 root root 4096 Oct 13 10:28 locale
drwxr-xr-x 3 root root 4096 Oct 13 10:28 management
-rw-r--r-- 1 root root 2171 May 10 18:47 policy.py
-rw-r--r-- 1 root root 2042 Oct 13 10:28 policy.pyc
-rw-r--r-- 1 root root 15781 Jun 18 19:51 settings.py
-rw-r--r-- 1 root root 13560 Oct 13 10:28 settings.pyc
drwxr-xr-x 5 root root 4096 Oct 13 10:28 static
drwxr-xr-x 7 root root 4096 Oct 13 10:28 templates
drwxr-xr-x 2 root root 4096 Oct 13 10:28 templatetags
drwxr-xr-x 10 root root 4096 Oct 13 10:28 test
drwxr-xr-x 5 root root 4096 Oct 13 10:28 themes
-rw-r--r-- 1 root root 2504 May 10 18:48 theme_settings.py
-rw-r--r-- 1 root root 1446 Oct 13 10:28 theme_settings.pyc
-rw-r--r-- 1 root root 2357 May 10 18:47 urls.py
-rw-r--r-- 1 root root 1646 Oct 13 10:28 urls.pyc
drwxr-xr-x 2 root root 4096 Oct 13 10:28 usage
drwxr-xr-x 2 root root 4096 Oct 13 10:28 utils
-rw-r--r-- 1 root root 4195 May 10 18:47 views.py
-rw-r--r-- 1 root root 4150 Oct 13 10:28 views.pyc
drwxr-xr-x 2 root root 4096 Oct 13 10:28 wsgi
-rw-r--r-- 1 root root 973 May 10 18:47 wsgi.py
-rw-r--r-- 1 root root 654 Oct 13 10:28 wsgi.pyc
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heat-dashboard/+bug/1848495/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list