[Rdo-list] rdo-manager installs failing at horizon's manage.py step

Matthias Runge mrunge at redhat.com
Mon Apr 20 06:23:30 UTC 2015


On 19/04/15 21:10, James Slagle wrote:
> FYI, all rdo-manager installs are currently failing during the Undercloud
> installation with:

> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/lib/python2.7/site-packages/horizon/templates/horizon/_conf.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/overview/index.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/overview/undeploy_confirmation.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/overview/scale_out.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/overview/deploy_confirmation.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/_workflow_base.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/lib/python2.7/site-packages/tuskar_boxes/templates/tuskar_boxes/overview/index.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/nodes/register.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/overview/post_deploy_init.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/_fullscreen_workflow_base.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/lib/python2.7/site-packages/horizon/templates/horizon/_scripts.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/nodes/index.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/share/openstack-dashboard/openstack_dashboard/templates/_stylesheets.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/base.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/base_detail.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns:   /usr/lib/python2.7/site-packages/tuskar_ui/infrastructure/templates/infrastructure/nodes/detail.html
> 16:26:11 Notice: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]/returns: Compressing...
> 16:26:11 Error: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]: Failed to call refresh: /usr/share/openstack-dashboard/manage.py compress returned 1 instead of one of [0]
> 16:26:11 Error: /Stage[main]/Horizon/Exec[refresh_horizon_django_cache]: /usr/share/openstack-dashboard/manage.py compress returned 1 instead of one of [0]
>
> Initial investigation indicates it's probably related to this Horizon packaging
> change from Friday:
>
> https://review.gerrithub.io/#/c/230349/

The issue is produced in tuskar-ui.

Your mentioned config change was a change in compression to remove the 
compression step from package build.
That should make it easier for anyone to package add-ons to horizon.
It was briefly discussed on #rdo and on this list last week

https://www.redhat.com/archives/rdo-list/2015-April/msg00046.html
(and a few other mentions)

For horizon itself, I saw some changes in static files required, because 
location of them changed during kilo cycle. That's the pain, we're going 
through, when packaging stuff depending on Horizon upstream.

Matthias




More information about the rdo-list mailing list