Comment 1 for bug 865448

Revision history for this message
Hugo Kou (tonytkdk) wrote : Re: [Bug 865448] [NEW] Keystone failed to find top directory for templates

Try to ...
Exec the command with full path will help you

2011/10/3 Patrick Hetu <email address hidden>

> Public bug reported:
>
> Version of keystone and python-keystone:
> 1.0~d4~20110929.1190-0ubuntu0ppa1~oneiric1
>
> This is the error I have in the log file:
>
> 2011-10-03 10:53:31 ERROR [root] Template
> u'/usr/keystone/content/admin/version.json.tpl' not found at line 0 column 0
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/keystone/utils.py", line 62, in
> check_error
> return func(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/keystone/controllers/version.py",
> line 42, in get_version_info
> VERSION_DATE=config.VERSION_DATE)
> File "/usr/lib/python2.7/dist-packages/keystone/common/template.py", line
> 374, in template
> **settings)
> File "/usr/lib/python2.7/dist-packages/keystone/common/template.py", line
> 97, in __init__
> (0, 0), None)
> TemplateError: Template u'/usr/keystone/content/admin/version.json.tpl' not
> found at line 0 column 0
> 2011-10-03 10:53:31 ERROR [root] Template
> u'/usr/keystone/content/admin/version.json.tpl' not found at line 0 column 0
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/keystone/utils.py", line 62, in
> check_error
> return func(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/keystone/controllers/version.py",
> line 42, in get_version_info
> VERSION_DATE=config.VERSION_DATE)
> File "/usr/lib/python2.7/dist-packages/keystone/common/template.py", line
> 374, in template
> **settings)
> File "/usr/lib/python2.7/dist-packages/keystone/common/template.py", line
> 97, in __init__
> (0, 0), None)
> TemplateError: Template u'/usr/keystone/content/admin/version.json.tpl' not
> found at line 0 column 0
>
> ** Affects: keystone
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to
> OpenStack.
> https://bugs.launchpad.net/bugs/865448
>
> Title:
> Keystone failed to find top directory for templates
>
> Status in Identity for OpenStack (Keystone):
> New
>
> Bug description:
> Version of keystone and python-keystone:
> 1.0~d4~20110929.1190-0ubuntu0ppa1~oneiric1
>
> This is the error I have in the log file:
>
> 2011-10-03 10:53:31 ERROR [root] Template
> u'/usr/keystone/content/admin/version.json.tpl' not found at line 0 column 0
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/keystone/utils.py", line 62, in
> check_error
> return func(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/keystone/controllers/version.py",
> line 42, in get_version_info
> VERSION_DATE=config.VERSION_DATE)
> File "/usr/lib/python2.7/dist-packages/keystone/common/template.py",
> line 374, in template
> **settings)
> File "/usr/lib/python2.7/dist-packages/keystone/common/template.py",
> line 97, in __init__
> (0, 0), None)
> TemplateError: Template u'/usr/keystone/content/admin/version.json.tpl'
> not found at line 0 column 0
> 2011-10-03 10:53:31 ERROR [root] Template
> u'/usr/keystone/content/admin/version.json.tpl' not found at line 0 column 0
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/keystone/utils.py", line 62, in
> check_error
> return func(*args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/keystone/controllers/version.py",
> line 42, in get_version_info
> VERSION_DATE=config.VERSION_DATE)
> File "/usr/lib/python2.7/dist-packages/keystone/common/template.py",
> line 374, in template
> **settings)
> File "/usr/lib/python2.7/dist-packages/keystone/common/template.py",
> line 97, in __init__
> (0, 0), None)
> TemplateError: Template u'/usr/keystone/content/admin/version.json.tpl'
> not found at line 0 column 0
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/keystone/+bug/865448/+subscriptions
>

--
+Hugo Kuo+
<email address hidden>
<email address hidden>
+886-935-004-793

www.cloudena.com