<div dir="ltr">Salut!<div><br></div><div>A 500 from Horizon is a bit strange. What do the Horizon logs say?</div><div><br></div><div>If you remove your customization and restart Horizon, does it recover?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 28, 2022 at 11:17 AM Mathilde Hermet <<a href="mailto:mathilde.hermet@ovhcloud.com">mathilde.hermet@ovhcloud.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello Openstack team,<br>
<br>
<br>
I'm currently working on customizing the Horizon (xena) dashboard to use <br>
the OVHcloud assets: logo.svg and logo-splash.svg.<br>
<br>
I've been following this documentation <br>
<a href="https://docs.openstack.org/horizon/latest/configuration/themes.html" rel="noreferrer" target="_blank">https://docs.openstack.org/horizon/latest/configuration/themes.html</a><br>
<br>
I added the ovhcloud theme in <br>
horizon/openstack_dashboard/local/local_settings.py in AVAILABLE_THEMES,<br>
<br>
I created the subdir ovhcloud in horizon/openstack_dashboard/themes and <br>
I created a ovhcloud/img with logo.svg and logo-splash.svg in it.<br>
<br>
I put a _variables.scss and a _styles.scss in /themes/ovhcloud/<br>
<br>
Then I executed python manage.py collectstatic<br>
<br>
It put all the files in horizon-sources/horizon.../static/themes/ovhcloud<br>
<br>
<br>
But then when trying to connect with the session cookie <br>
theme="ovhcloud", I have a 500 error.<br>
<br>
i don't think it comes from images because i've been puting it in <br>
/horizon-souurces/horizon.../static/dashbaord.img and they were <br>
displayed correctly.<br>
<br>
<br>
Do you have any idea about the misconfiguration I've done ?<br>
<br>
<br>
Best regards,<br>
<br>
<br>
Mathilde Hermet<br>
<br>
<br>
</blockquote></div>