[Bug 1812148] Re: openstack-dashboard failed to upgrade with custom theme
Seyeong Kim
seyeong.kim at canonical.com
Thu Jan 24 03:07:42 UTC 2019
This issue is happening because there is no 'default' theme in
AVAILABLE_THEME
when custom theme imports default theme's file(scss)
I uploaded patch for this in case someone want to import default theme
rather than creating whole theme seperatly.
** Tags added: sts
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1812148
Title:
openstack-dashboard failed to upgrade with custom theme
Status in horizon package in Ubuntu:
New
Bug description:
The error seen is:
Setting up openstack-dashboard (3:13.0.1-0ubuntu4~cloud0) ...
Collecting and compressing static assets...
CommandError: An error occurred during rendering /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html: Couldn't find anything to import: /themes/default/variables
Extensions: <NamespaceAdapterExtension>, <DjangoExtension>, <CompassExtension>
Search path:
on line 3 of themes/custom/_variables.scss
imported from line 1 of u'string:9f15978b0c3553cd:\n // My Themes\n at import "/themes/custom/variables";\n\n// Horizon\n at import "/dashboard/scss/horizon.s'
dpkg: error processing package openstack-dashboard (--configure):
Removing the custom themeing bits from /etc/openstack-
dashbaord/local_settings.py allowed the upgrade to complete but of
course, this customer does not have a custom theme any more.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1812148/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list