yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #30987
[Bug 1438133] Re: django-admin.py collectstatic failing to find static/themes/default
** Changed in: horizon
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1438133
Title:
django-admin.py collectstatic failing to find static/themes/default
Status in OpenStack Dashboard (Horizon):
Invalid
Status in tripleo - openstack on openstack:
Fix Committed
Bug description:
At some stage over the last 10 days tripleo has stared to to fail to
run
DJANGO_SETTINGS_MODULE=openstack_dashboard.settings django-
admin.py collectstatic --noinput
Exiting with the following error
os-collect-config: dib-run-parts Fri Mar 27 03:56:44 UTC 2015 Running /usr/libexec/os-refresh-config/post-configure.d/14-horizon
os-collect-config: WARNING:root:"dashboards" and "default_dashboard" in (local_)settings is DEPRECATED now and may be unsupported in some future release. The preferred way to specify the order of dashboards and the default dashboard is the pluggable dashboard mechanism (in /opt/stack/venvs/openstack/local/lib/python2.7/site-packages/openstack_dashboard/enabled, /opt/stack/venvs/openstack/local/lib/python2.7/site-packages/openstack_dashboard/local/enabled).
os-collect-config: WARNING:py.warnings:DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_config instead.
os-collect-config: WARNING:py.warnings:DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_serialization instead.
os-collect-config: Traceback (most recent call last):
os-collect-config: File "/opt/stack/venvs/openstack/bin/django-admin.py", line 5, in <module>
os-collect-config: management.execute_from_command_line()
os-collect-config: File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
os-collect-config: utility.execute()
os-collect-config: File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in execute
os-collect-config: self.fetch_command(subcommand).run_from_argv(self.argv)
os-collect-config: File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
os-collect-config: self.execute(*args, **options.__dict__)
os-collect-config: File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
os-collect-config: output = self.handle(*args, **options)
os-collect-config: File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
os-collect-config: return self.handle_noargs(**options)
os-collect-config: File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 173, in handle_noargs
os-collect-config: collected = self.collect()
os-collect-config: File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 103, in collect
os-collect-config: for path, storage in finder.list(self.ignore_patterns):
os-collect-config: File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/django/contrib/staticfiles/finders.py", line 106, in list
os-collect-config: for path in utils.get_files(storage, ignore_patterns):
os-collect-config: File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/django/contrib/staticfiles/utils.py", line 25, in get_files
os-collect-config: directories, files = storage.listdir(location)
os-collect-config: File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/django/core/files/storage.py", line 249, in listdir
os-collect-config: for entry in os.listdir(path):
os-collect-config: OSError: [Errno 2] No such file or directory: '/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/openstack_dashboard/local/static/themes/default'
os-collect-config: [2015-03-27 03:56:45,548] (os-refresh-config) [ERROR] during post-configure phase. [Command '['dib-run-parts', '/usr/libexec/os-refresh-config/post-configure.d']' returned non-zero exit status
example here
http://logs.openstack.org/05/168205/1/check-tripleo/check-tripleo-ironic-undercloud-precise-nonha/3f384bd/logs/undercloud-undercloud_logs/os-collect-config.txt.gz#_Mar_27_03_56_45
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1438133/+subscriptions
References