[Openstack] swift in horizon error

Hua ZZ Zhang zhuadl at cn.ibm.com
Tue May 27 01:48:55 UTC 2014


I believe this is a bug of horizon. You can reported a bug in horizon.
https://bugs.launchpad.net/horizon/+filebug

-Edward Zhang



                                                                           
             Yugang LIU                                                    
             <zzzz88.aaaa at gmai                                             
             l.com>                                                     To 
                                       openstack at lists.openstack.org       
             2014-05-26 下午                                            cc 
             05:27                                                         
                                                                   Subject 
                                       [Openstack] swift in horizon error  
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





I install swift to test the feature.

After upload file in subdirectory, I can list files:

$ swift list mytest
ntp/ntp.sh
t

There is a file,"ntp.sh" in "ntp" directory. All are ok with swift cli.
I also download file.

I switch to horizon with brower.

In navigator menu, Project => Object store => container, I may see
containter "mytest" and subdirectory "ntp". When I click subdirectory
link "ntp", it raise internal error!

Who have the same experience? Thanks.

/var/log/apache/error.log:
[Mon May 26 09:07:32.830459 2014] [:error] [pid 7650:tid
139921512400640] Internal Server Error:
/horizon/project/containers/mytest/ntp/
[Mon May 26 09:07:32.830525 2014] [:error] [pid 7650:tid
139921512400640] Traceback (most recent call last):
[Mon May 26 09:07:32.830530 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line
137, in get_response
[Mon May 26 09:07:32.830534 2014] [:error] [pid 7650:tid
139921512400640]     response = response.render()
[Mon May 26 09:07:32.830538 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/response.py", line
105, in render
[Mon May 26 09:07:32.830542 2014] [:error] [pid 7650:tid
139921512400640]     self.content = self.rendered_content
[Mon May 26 09:07:32.830545 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/response.py", line 82,
in rendered_content
[Mon May 26 09:07:32.830549 2014] [:error] [pid 7650:tid
139921512400640]     content = template.render(context)
[Mon May 26 09:07:32.830552 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in
render
[Mon May 26 09:07:32.830569 2014] [:error] [pid 7650:tid
139921512400640]     return self._render(context)
[Mon May 26 09:07:32.830573 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in
_render
[Mon May 26 09:07:32.830576 2014] [:error] [pid 7650:tid
139921512400640]     return self.nodelist.render(context)
[Mon May 26 09:07:32.830580 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in
render
[Mon May 26 09:07:32.830583 2014] [:error] [pid 7650:tid
139921512400640]     bit = self.render_node(node, context)
[Mon May 26 09:07:32.830586 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in
render_node
[Mon May 26 09:07:32.830589 2014] [:error] [pid 7650:tid
139921512400640]     return node.render(context)
[Mon May 26 09:07:32.830592 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line
123, in render
[Mon May 26 09:07:32.830596 2014] [:error] [pid 7650:tid
139921512400640]     return compiled_parent._render(context)
[Mon May 26 09:07:32.830599 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in
_render
[Mon May 26 09:07:32.830602 2014] [:error] [pid 7650:tid
139921512400640]     return self.nodelist.render(context)
[Mon May 26 09:07:32.830605 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in
render
[Mon May 26 09:07:32.830608 2014] [:error] [pid 7650:tid
139921512400640]     bit = self.render_node(node, context)
[Mon May 26 09:07:32.830611 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in
render_node
[Mon May 26 09:07:32.830615 2014] [:error] [pid 7650:tid
139921512400640]     return node.render(context)
[Mon May 26 09:07:32.830618 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line
62, in render
[Mon May 26 09:07:32.830621 2014] [:error] [pid 7650:tid
139921512400640]     result = block.nodelist.render(context)
[Mon May 26 09:07:32.830624 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in
render
[Mon May 26 09:07:32.830630 2014] [:error] [pid 7650:tid
139921512400640]     bit = self.render_node(node, context)
[Mon May 26 09:07:32.830634 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in
render_node
[Mon May 26 09:07:32.830638 2014] [:error] [pid 7650:tid
139921512400640]     return node.render(context)
[Mon May 26 09:07:32.830641 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line
62, in render
[Mon May 26 09:07:32.830645 2014] [:error] [pid 7650:tid
139921512400640]     result = block.nodelist.render(context)
[Mon May 26 09:07:32.830648 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in
render
[Mon May 26 09:07:32.830652 2014] [:error] [pid 7650:tid
139921512400640]     bit = self.render_node(node, context)
[Mon May 26 09:07:32.830655 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in
render_node
[Mon May 26 09:07:32.830659 2014] [:error] [pid 7650:tid
139921512400640]     return node.render(context)
[Mon May 26 09:07:32.830662 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 891, in
render
[Mon May 26 09:07:32.830665 2014] [:error] [pid 7650:tid
139921512400640]     output = self.filter_expression.resolve(context)
[Mon May 26 09:07:32.830673 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 585, in
resolve
[Mon May 26 09:07:32.830677 2014] [:error] [pid 7650:tid
139921512400640]     obj = self.var.resolve(context)
[Mon May 26 09:07:32.830680 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 735, in
resolve
[Mon May 26 09:07:32.830684 2014] [:error] [pid 7650:tid
139921512400640]     value = self._resolve_lookup(context)
[Mon May 26 09:07:32.830687 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 789, in
_resolve_lookup
[Mon May 26 09:07:32.830691 2014] [:error] [pid 7650:tid
139921512400640]     current = current()
[Mon May 26 09:07:32.830694 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/horizon/browsers/base.py", line 149,
in render
[Mon May 26 09:07:32.830697 2014] [:error] [pid 7650:tid
139921512400640]     return browser_template.render(context)
[Mon May 26 09:07:32.830701 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in
render
[Mon May 26 09:07:32.830704 2014] [:error] [pid 7650:tid
139921512400640]     return self._render(context)
[Mon May 26 09:07:32.830707 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in
_render
[Mon May 26 09:07:32.830711 2014] [:error] [pid 7650:tid
139921512400640]     return self.nodelist.render(context)
[Mon May 26 09:07:32.830714 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in
render
[Mon May 26 09:07:32.830718 2014] [:error] [pid 7650:tid
139921512400640]     bit = self.render_node(node, context)
[Mon May 26 09:07:32.830721 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in
render_node
[Mon May 26 09:07:32.830725 2014] [:error] [pid 7650:tid
139921512400640]     return node.render(context)
[Mon May 26 09:07:32.830728 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 891, in
render
[Mon May 26 09:07:32.830732 2014] [:error] [pid 7650:tid
139921512400640]     output = self.filter_expression.resolve(context)
[Mon May 26 09:07:32.830735 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 585, in
resolve
[Mon May 26 09:07:32.830739 2014] [:error] [pid 7650:tid
139921512400640]     obj = self.var.resolve(context)
[Mon May 26 09:07:32.830742 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 735, in
resolve
[Mon May 26 09:07:32.830745 2014] [:error] [pid 7650:tid
139921512400640]     value = self._resolve_lookup(context)
[Mon May 26 09:07:32.830749 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 789, in
_resolve_lookup
[Mon May 26 09:07:32.830755 2014] [:error] [pid 7650:tid
139921512400640]     current = current()
[Mon May 26 09:07:32.830759 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/horizon/tables/base.py", line 1149, in
render
[Mon May 26 09:07:32.830762 2014] [:error] [pid 7650:tid
139921512400640]     return table_template.render(context)
[Mon May 26 09:07:32.830765 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in
render
[Mon May 26 09:07:32.830768 2014] [:error] [pid 7650:tid
139921512400640]     return self._render(context)
[Mon May 26 09:07:32.830771 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in
_render
[Mon May 26 09:07:32.830774 2014] [:error] [pid 7650:tid
139921512400640]     return self.nodelist.render(context)
[Mon May 26 09:07:32.830780 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in
render
[Mon May 26 09:07:32.830784 2014] [:error] [pid 7650:tid
139921512400640]     bit = self.render_node(node, context)
[Mon May 26 09:07:32.830787 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in
render_node
[Mon May 26 09:07:32.830790 2014] [:error] [pid 7650:tid
139921512400640]     return node.render(context)
[Mon May 26 09:07:32.830793 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line
506, in render
[Mon May 26 09:07:32.830796 2014] [:error] [pid 7650:tid
139921512400640]     output = self.nodelist.render(context)
[Mon May 26 09:07:32.830799 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in
render
[Mon May 26 09:07:32.830802 2014] [:error] [pid 7650:tid
139921512400640]     bit = self.render_node(node, context)
[Mon May 26 09:07:32.830806 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in
render_node
[Mon May 26 09:07:32.830809 2014] [:error] [pid 7650:tid
139921512400640]     return node.render(context)
[Mon May 26 09:07:32.830812 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line
506, in render
[Mon May 26 09:07:32.830815 2014] [:error] [pid 7650:tid
139921512400640]     output = self.nodelist.render(context)
[Mon May 26 09:07:32.830818 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in
render
[Mon May 26 09:07:32.830821 2014] [:error] [pid 7650:tid
139921512400640]     bit = self.render_node(node, context)
[Mon May 26 09:07:32.830824 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in
render_node
[Mon May 26 09:07:32.830827 2014] [:error] [pid 7650:tid
139921512400640]     return node.render(context)
[Mon May 26 09:07:32.830830 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line
53, in render
[Mon May 26 09:07:32.830834 2014] [:error] [pid 7650:tid
139921512400640]     result = self.nodelist.render(context)
[Mon May 26 09:07:32.830837 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in
render
[Mon May 26 09:07:32.830840 2014] [:error] [pid 7650:tid
139921512400640]     bit = self.render_node(node, context)
[Mon May 26 09:07:32.830843 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in
render_node
[Mon May 26 09:07:32.830846 2014] [:error] [pid 7650:tid
139921512400640]     return node.render(context)
[Mon May 26 09:07:32.830849 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line
53, in render
[Mon May 26 09:07:32.830852 2014] [:error] [pid 7650:tid
139921512400640]     result = self.nodelist.render(context)
[Mon May 26 09:07:32.830856 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in
render
[Mon May 26 09:07:32.830859 2014] [:error] [pid 7650:tid
139921512400640]     bit = self.render_node(node, context)
[Mon May 26 09:07:32.830862 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in
render_node
[Mon May 26 09:07:32.830865 2014] [:error] [pid 7650:tid
139921512400640]     return node.render(context)
[Mon May 26 09:07:32.830868 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line
305, in render
[Mon May 26 09:07:32.830876 2014] [:error] [pid 7650:tid
139921512400640]     return nodelist.render(context)
[Mon May 26 09:07:32.830879 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in
render
[Mon May 26 09:07:32.830882 2014] [:error] [pid 7650:tid
139921512400640]     bit = self.render_node(node, context)
[Mon May 26 09:07:32.830885 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in
render_node
[Mon May 26 09:07:32.830888 2014] [:error] [pid 7650:tid
139921512400640]     return node.render(context)
[Mon May 26 09:07:32.830892 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 891, in
render
[Mon May 26 09:07:32.830895 2014] [:error] [pid 7650:tid
139921512400640]     output = self.filter_expression.resolve(context)
[Mon May 26 09:07:32.830898 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 585, in
resolve
[Mon May 26 09:07:32.830901 2014] [:error] [pid 7650:tid
139921512400640]     obj = self.var.resolve(context)
[Mon May 26 09:07:32.830904 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 735, in
resolve
[Mon May 26 09:07:32.830907 2014] [:error] [pid 7650:tid
139921512400640]     value = self._resolve_lookup(context)
[Mon May 26 09:07:32.830910 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 789, in
_resolve_lookup
[Mon May 26 09:07:32.830913 2014] [:error] [pid 7650:tid
139921512400640]     current = current()
[Mon May 26 09:07:32.830916 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/horizon/browsers/breadcrumb.py", line
48, in render
[Mon May 26 09:07:32.830920 2014] [:error] [pid 7650:tid
139921512400640]     return breadcrumb_template.render(context)
[Mon May 26 09:07:32.830923 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in
render
[Mon May 26 09:07:32.830926 2014] [:error] [pid 7650:tid
139921512400640]     return self._render(context)
[Mon May 26 09:07:32.830929 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in
_render
[Mon May 26 09:07:32.830932 2014] [:error] [pid 7650:tid
139921512400640]     return self.nodelist.render(context)
[Mon May 26 09:07:32.830935 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in
render
[Mon May 26 09:07:32.830938 2014] [:error] [pid 7650:tid
139921512400640]     bit = self.render_node(node, context)
[Mon May 26 09:07:32.830941 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in
render_node
[Mon May 26 09:07:32.830945 2014] [:error] [pid 7650:tid
139921512400640]     return node.render(context)
[Mon May 26 09:07:32.830948 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line
506, in render
[Mon May 26 09:07:32.830951 2014] [:error] [pid 7650:tid
139921512400640]     output = self.nodelist.render(context)
[Mon May 26 09:07:32.830954 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 840, in
render
[Mon May 26 09:07:32.830957 2014] [:error] [pid 7650:tid
139921512400640]     bit = self.render_node(node, context)
[Mon May 26 09:07:32.830960 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 854, in
render_node
[Mon May 26 09:07:32.830963 2014] [:error] [pid 7650:tid
139921512400640]     return node.render(context)
[Mon May 26 09:07:32.830966 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line
447, in render
[Mon May 26 09:07:32.830973 2014] [:error] [pid 7650:tid
139921512400640]     six.reraise(*exc_info)
[Mon May 26 09:07:32.830976 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line
433, in render
[Mon May 26 09:07:32.830979 2014] [:error] [pid 7650:tid
139921512400640]     url = reverse(view_name, args=args, kwargs=kwargs,
current_app=context.current_app)
[Mon May 26 09:07:32.830982 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line
532, in reverse
[Mon May 26 09:07:32.830986 2014] [:error] [pid 7650:tid
139921512400640]     return
iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))
[Mon May 26 09:07:32.830989 2014] [:error] [pid 7650:tid
139921512400640]   File
"/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line
452, in _reverse_with_prefix
[Mon May 26 09:07:32.830992 2014] [:error] [pid 7650:tid
139921512400640]     (lookup_view_s, args, kwargs, len(patterns),
patterns))
[Mon May 26 09:07:32.830996 2014] [:error] [pid 7650:tid
139921512400640] NoReverseMatch: Reverse for 'breadcrumb.url' with
arguments '(u'mytest/',)' and keyword arguments '{}' not found. 0
pattern(s) tried: []


--
Best regards

Yugang LIU

Keep It Simple, Stupid


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140527/590930da/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140527/590930da/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pic04177.gif
Type: image/gif
Size: 1255 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140527/590930da/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ecblank.gif
Type: image/gif
Size: 45 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140527/590930da/attachment-0002.gif>


More information about the Openstack mailing list