yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76901
[Bug 1815165] Re: Creating a snapshot in Consistency Group was failed with Traceback of TemplateDoesNotExist
Reviewed: https://review.openstack.org/635400
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=2ef503465c2da54b2d462b51dcf1196d327d839d
Submitter: Zuul
Branch: master
commit 2ef503465c2da54b2d462b51dcf1196d327d839d
Author: Keigo Noha <knoha@xxxxxxxxxx>
Date: Thu Feb 7 12:23:00 2019 +0900
Fixing a link in templates of CG and CG snapshots
Commit f85e0ffa9135a60ff203651ce7bfd5c0ca36ceec moved Consistency Group
out of Volumes panel.
During the work, some template files were not modified with new location.
A lack of the modification caused that user cannot create a snapshot in
Consistency Group via Horizon.
This patch fixes the location of the template and it prevents the
traceback.
Change-Id: Ic8a569cf0781e816e6da6f4423c5cd3bcc9e2eb7
Closes-Bug: #1815165
** Changed in: horizon
Status: In Progress => Fix Released
--
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/1815165
Title:
Creating a snapshot in Consistency Group was failed with Traceback of
TemplateDoesNotExist
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
Creating a snapshot in Consistency Group was failed with Traceback of
TemplateDoesNotExist.
The traceback is below.
~~~
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
response = self._get_response(request)
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 217, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 215, in _get_response
response = response.render()
...<snip>...
File "/usr/lib/python2.7/site-packages/django/template/loader_tags.py", line 204, in render
template = context.template.engine.get_template(template_name)
File "/usr/lib/python2.7/site-packages/django/template/engine.py", line 162, in get_template
template, origin = self.find_template(template_name)
File "/usr/lib/python2.7/site-packages/django/template/engine.py", line 148, in find_template
raise TemplateDoesNotExist(name, tried=tried)
TemplateDoesNotExist: project/volumes/cgroups/_snapshot_limits.html
~~~
Consistency Group panel was moved from Volumes panel,f85e0ffa9135a60ff203651ce7bfd5c0ca36ceec.
Some templates weren't modified at that time.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1815165/+subscriptions
References