yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08133
[Bug 1267405] Re: Adding new text field in "launch instance form" at /instances/workflow.py, it gives followig error
this doesn't sounds like a bug but rather a development question for
horizon.
BTW python is white space sensitive and doesn't like tabs.
** Changed in: nova
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1267405
Title:
Adding new text field in "launch instance form" at
/instances/workflow.py, it gives followig error
Status in OpenStack Compute (Nova):
Invalid
Bug description:
Environment:
Request Method: GET
Request URL: http://172.16.0.174/project/volumes/
Django Version: 1.5.3
Python Version: 2.7.3
Installed Applications:
['openstack_dashboard',
'django.contrib.contenttypes',
'django.contrib.auth',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.humanize',
'compressor',
'horizon',
'openstack_dashboard.dashboards.project',
'openstack_dashboard.dashboards.admin',
'openstack_dashboard.dashboards.settings',
'openstack_auth',
'openstack_dashboard.dashboards.router',
'openstack_dashboard.dashboards.project',
'openstack_dashboard.dashboards.admin',
'openstack_dashboard.dashboards.settings']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'horizon.middleware.HorizonMiddleware',
'django.middleware.doc.XViewMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware')
Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
92. response = middleware_method(request)
File "/usr/local/lib/python2.7/dist-packages/django/middleware/locale.py" in process_request
21. check_path = self.is_language_prefix_patterns_used()
File "/usr/local/lib/python2.7/dist-packages/django/middleware/locale.py" in is_language_prefix_patterns_used
56. for url_pattern in get_resolver(None).url_patterns:
File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in url_patterns
347. patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in urlconf_module
342. self._urlconf_module = import_module(self.urlconf_name)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py" in import_module
35. __import__(name)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/urls.py" in <module>
38. url(r'', include(horizon.urls))
File "/usr/local/lib/python2.7/dist-packages/django/conf/urls/__init__.py" in include
26. patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py" in inner
204. self._setup()
File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py" in _setup
270. self._wrapped = self._setupfunc()
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/base.py" in url_patterns
729. return self._urls()[0]
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/base.py" in _urls
760. url(r'^%s/' % dash.slug, include(dash._decorated_urls)))
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/base.py" in _decorated_urls
460. url(r'^%s/' % url_slug, include(panel._decorated_urls)))
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/base.py" in _decorated_urls
234. urlpatterns = self._get_default_urlpatterns()
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/base.py" in _get_default_urlpatterns
87. urls_mod = import_module('.urls', package_string)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py" in import_module
35. __import__(name)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/instances/urls.py" in <module>
24. from openstack_dashboard.dashboards.admin.instances import views
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/admin/instances/views.py" in <module>
36. from openstack_dashboard.dashboards.project.instances import views
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/views.py" in <module>
44. from openstack_dashboard.dashboards.project.instances \
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/workflows/__init__.py" in <module>
1. from create_instance import LaunchInstance
Exception Type: IndentationError at /project/volumes/
Exception Value: unexpected indent (create_instance.py, line 130)
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1267405/+subscriptions
References