[Bug 2067632] Re: No logo in Horizon - 404 logo-canonical-openstack-splash.svg
Guillaume Boutry
2067632 at bugs.launchpad.net
Thu Jul 11 09:52:29 UTC 2024
** Description changed:
+ [ Impact ]
+
+ * Installation of the horizon package that change the root url will not
+ have the ubuntu theme's static assets load properly. The fixed proposed
+ replaces the absolute paths for static assets to make use of the
+ static_url variable available from the scss context.
+
+ [ Test Plan ]
+
+ * Install the horizon package and change the static url, this is the
+ default behavior of Sunbeam.
+
+ * In non-sunbeam installation, modify the apache2 routes from
+ /etc/apache2/conf-enabled/openstack-dashboard.conf, and update
+ /etc/openstack-dashboard/local_settings.py value STATIC_URL to match
+ your new apache2 configuration.
+
+ * This has been tested by creating a horizon Rock from a PPA, and
+ verifying the images are available with and without offline compression
+ enabled.
+
+ [ Where problems could occur ]
+
+ * Problems could occur if the installation static assets have not been
+ compressed after this change. The files provided by the package would
+ have the fix, but not the actually used static assets (compressed assets
+ when offline compression is enabled)
+
+
+ [ Original Report ]
+
By following the single node scenario:
https://microstack.run/docs/single-node
the login screen and the dashboard after logging in are missing the main
logo.
horizon-k8s 2024.1/edge 82
** Merge proposal linked:
https://code.launchpad.net/~gboutry/ubuntu/+source/horizon/+git/horizon/+merge/469192
--
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/2067632
Title:
No logo in Horizon - 404 logo-canonical-openstack-splash.svg
Status in OpenStack Snap:
Triaged
Status in Sunbeam Charms:
New
Status in OpenStack Rock definitions:
New
Status in horizon package in Ubuntu:
Triaged
Status in horizon source package in Noble:
Triaged
Status in horizon source package in Oracular:
Triaged
Bug description:
[ Impact ]
* Installation of the horizon package that change the root url will
not have the ubuntu theme's static assets load properly. The fixed
proposed replaces the absolute paths for static assets to make use of
the static_url variable available from the scss context.
[ Test Plan ]
* Install the horizon package and change the static url, this is the
default behavior of Sunbeam.
* In non-sunbeam installation, modify the apache2 routes from
/etc/apache2/conf-enabled/openstack-dashboard.conf, and update
/etc/openstack-dashboard/local_settings.py value STATIC_URL to match
your new apache2 configuration.
* This has been tested by creating a horizon Rock from a PPA, and
verifying the images are available with and without offline
compression enabled.
[ Where problems could occur ]
* Problems could occur if the installation static assets have not
been compressed after this change. The files provided by the package
would have the fix, but not the actually used static assets
(compressed assets when offline compression is enabled)
[ Original Report ]
By following the single node scenario:
https://microstack.run/docs/single-node
the login screen and the dashboard after logging in are missing the
main logo.
horizon-k8s 2024.1/edge 82
To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-openstack/+bug/2067632/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list