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

James Slagle jslagle at redhat.com
Mon Apr 20 16:28:36 UTC 2015


On Mon, Apr 20, 2015 at 08:23:30AM +0200, Matthias Runge wrote:
> 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.

This should be resolved now,
http://trunk.rdoproject.org/centos70/latest-RDO-trunk-CI/ has been rolled back
to a previous known good repo.

The root cause of the actual issue is that the horizon package was no longer
running collectstatic, yet puppet-horizon was relying on that having been done
before compressing the static assets.

This will be addressed by these 2 patches:
puppet-horizon: https://review.openstack.org/175404
openstack-packages/horizon: https://review.gerrithub.io/#/c/230650/

--
-- James Slagle
--




More information about the dev mailing list