[horizon] refresh_horizon_django_cache: /usr/share/openstack-dashboard/manage.py compress --force: IOError: [Errno 40] Too many levels of symbolic links

Bug #1516519 reported by Vladimir Khlyunev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Aleksei Stepanov
8.0.x
Fix Released
Critical
Aleksei Stepanov
Mitaka
Fix Released
Critical
Aleksei Stepanov
Newton
Fix Released
High
Aleksei Stepanov

Bug Description

ISO 165
Several CI jobs failed with error
(/Stage[main]/Horizon/Exec[refresh_horizon_django_cache]) /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear && /usr/share/openstack-dashboard/manage.py compress --force returned 1 instead of one of [0]
(helpful log - https://product-ci.infra.mirantis.net/job/8.0.system_test.ubuntu.custom_hostname/43/artifact/logs/fail_error_set_custom_hostname-fuel-snapshot-2015-11-16_00-47-33.tar.xz.filtered.log )

One of failed jobs: https://product-ci.infra.mirantis.net/job/8.0.system_test.ubuntu.custom_hostname/43/
Steps:
Scenario:
1. Revert the snapshot
2. Create a cluster
3. Add 3 nodes with controller role
4. Add 1 node with compute role
5. Set custom hostnames for all cluster nodes
6. Deploy the cluster <- failed here

Snapshot
https://product-ci.infra.mirantis.net/job/8.0.system_test.ubuntu.custom_hostname/43/artifact/logs/fail_error_set_custom_hostname-fuel-snapshot-2015-11-16_00-47-33.tar.xz

Critical because it blocks part of tests.

UPD: Error from puppet.log from the controller: http://paste.openstack.org/show/478938/ pay attention on line 24

summary: - [horizon] refresh_horizon_django_cache: /usr/share/openstack-
- dashboard/manage.py collectstatic --noinput --clear &&
- /usr/share/openstack-dashboard/manage.py compress --force returned 1
- instead of one of [0]
+ [horizon] refresh_horizon_django_cache: /usr/share/openstack-
+ dashboard/manage.py compress --force: IOError: [Errno 40] Too many
+ levels of symbolic links
description: updated
Changed in fuel:
status: New → Confirmed
assignee: nobody → MOS Puppet Team (mos-puppet)
Revision history for this message
Denis Egorenko (degorenko) wrote :

This problem related to broken Horizon package.

For more information see: https://bugs.launchpad.net/mos/+bug/1512665

Changed in fuel:
assignee: MOS Puppet Team (mos-puppet) → MOS Packaging Team (mos-packaging)
Mikhail Ivanov (mivanov)
Changed in fuel:
assignee: MOS Packaging Team (mos-packaging) → Mikhail Ivanov (mivanov)
Revision history for this message
Igor Yozhikov (iyozhikov) wrote :

Root cause for this bug is - https://bugs.launchpad.net/mos/+bug/1512665, now we are reverting https://review.fuel-infra.org/#/c/13605/4 and investigating how to make "proper" package which will fit Debian policy .

Dmitry Pyzhov (dpyzhov)
tags: added: area-mos
Revision history for this message
Thomas Goirand (thomas-goirand) wrote :

This has been fixed in the latest version of libjs-jquery-ui in Debian. Please sync from it.

Revision history for this message
Mikhail Ivanov (mivanov) wrote :

Package was reverted with commit https://review.fuel-infra.org/#/c/13605/, so I think that we should close bug

Changed in fuel:
status: Confirmed → Fix Committed
Revision history for this message
Vladimir Khlyunev (vkhlyunev) wrote :

Not reproduced for 4 swarm runs - verified (ISO 195).

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Aleksei Stepanov (penguinolog) wrote :

node-3.test.domain.local 2016-04-20T00:01:09.070600 err: (/Stage[main]/Horizon/Exec[refresh_horizon_django_cache]) Failed to call refresh: /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear && /usr/share/openstack-dashboard/manage.py compress --force returned 1 instead of one of [0]
node-3.test.domain.local 2016-04-20T00:01:09.070776 err: (/Stage[main]/Horizon/Exec[refresh_horizon_django_cache]) Failed to call refresh: /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear && /usr/share/openstack-dashboard/manage.py compress --force returned 1 instead of one of [0]
node-3.test.domain.local 2016-04-20T00:01:09.072493 err: (/Stage[main]/Horizon/Exec[refresh_horizon_django_cache]) /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear && /usr/share/openstack-dashboard/manage.py compress --force returned 1 instead of one of [0]
node-3.test.domain.local 2016-04-20T00:01:09.072786 err: (/Stage[main]/Horizon/Exec[refresh_horizon_django_cache]) /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear && /usr/share/openstack-dashboard/manage.py compress --force returned 1 instead of one of [0]

ISO fuel-9.0-220-2016-04-19_08-00-00.iso

Changed in fuel:
status: Fix Released → New
Revision history for this message
Aleksei Stepanov (penguinolog) wrote :
Revision history for this message
Dmitry Klenov (dklenov) wrote :

Folks, can you please check if master is affected?

Changed in fuel:
status: New → Confirmed
Revision history for this message
Ivan Udovichenko (iudovichenko) wrote :

I've checked it with our latest packages in 9.0 repository:
# dpkg -l | grep -P '(horizon|dashboard)'
ii horizon-vendor-theme 1.0.0~mos8-2~u14.04+mos2 all SCSS theme package for horizon
ii openstack-dashboard 2:9.0.0-4~u14.04+mos25 all web application to control an OpenStack cloud
ii openstack-dashboard-apache 2:9.0.0-4~u14.04+mos25 all web application to control an OpenStack cloud - Apache support
ii python-django-horizon 2:9.0.0-4~u14.04+mos25 all Django module providing web interaction with OpenStack

And "collectstatic" call works along with "compression".

Please provide more information which packages are used during test. According to the name of Jenkins job 9.0.system_test.ubuntu.uca_neutron_ha it is more likely that Ubuntu Cloud Archive is being used.

Revision history for this message
Igor Yozhikov (iyozhikov) wrote :

According to logs from failed tests packages were consumed from Canonical (UCA)
We are not responsible for packages maintained by Ubuntu people.

Revision history for this message
Aleksei Stepanov (penguinolog) wrote :

Fuel bug status -> Fix released, UCA: spike found

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.