← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1296273] Re: NoReverseMatch: u"'horizon" is not a registered namespace error when listing an object in a container

 

Thank you for the update.

** Changed in: horizon
       Status: Incomplete => 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/1296273

Title:
  NoReverseMatch: u"'horizon" is not a registered namespace error when
  listing an object in a container

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  I have installed the latest Icehouse M2 puddle, and while installing it on 2 different setups (1 controller+2 computes and an allinone), I have got a "something went wrong" while defining a container and adding to it an object and clicking on that newly created object.
  Also, this is the error I have got in /var/log/horizon/horizon.log:
  NoReverseMatch: u"'horizon" is not a registered namespace

  the whole error in horizon.log is:
  2014-03-23 07:34:40,628 30212 DEBUG openstack_dashboard.api.swift Swift connection created using token "c5fe1d2996c5dd04c5d4768b2c32b559" and url "http://10.8.0.58:8080/v1/AUTH_c34086428d3142bf828005c00efe1798";
  2014-03-23 07:34:40,653 30212 DEBUG swiftclient REQ: curl -i http://10.8.0.58:8080/v1/AUTH_c34086428d3142bf828005c00efe1798?format=json&limit=1001 -X GET -H "X-Auth-Token: c5fe1d2996c5dd04c5d4768b2c32b559"
  2014-03-23 07:34:40,653 30212 DEBUG swiftclient RESP STATUS: 200 OK
  2014-03-23 07:34:40,654 30212 DEBUG swiftclient RESP HEADERS: [('content-length', '87'), ('accept-ranges', 'bytes'), ('x-timestamp', '1395321037.21488'), ('date', 'Sun, 23 Mar 2014 07:34:40 GMT'), ('x-account-bytes-used', '0'), ('x-account-container-count', '2'), ('content-type', 'application/json; charset=utf-8'), ('x-account-object-count', '3')]
  2014-03-23 07:34:40,654 30212 DEBUG swiftclient RESP BODY: [{"count": 2, "bytes": 0, "name": "test1"}, {"count": 1, "bytes": 0, "name": "test11"}]
  2014-03-23 07:34:40,674 30212 DEBUG swiftclient REQ: curl -i http://10.8.0.58:8080/v1/AUTH_c34086428d3142bf828005c00efe1798?format=json&marker=test11&limit=1001 -X GET -H "X-Auth-Token: c5fe1d2996c5dd04c5d4768b2c32b559"
  2014-03-23 07:34:40,675 30212 DEBUG swiftclient RESP STATUS: 200 OK
  2014-03-23 07:34:40,675 30212 DEBUG swiftclient RESP HEADERS: [('content-length', '2'), ('accept-ranges', 'bytes'), ('x-timestamp', '1395321037.21488'), ('date', 'Sun, 23 Mar 2014 07:34:40 GMT'), ('x-account-bytes-used', '0'), ('x-account-container-count', '2'), ('content-type', 'application/json; charset=utf-8'), ('x-account-object-count', '3')]
  2014-03-23 07:34:40,675 30212 DEBUG swiftclient RESP BODY: []
  2014-03-23 07:34:40,675 30212 DEBUG openstack_dashboard.api.swift Swift connection created using token "c5fe1d2996c5dd04c5d4768b2c32b559" and url "http://10.8.0.58:8080/v1/AUTH_c34086428d3142bf828005c00efe1798";
  2014-03-23 07:34:40,698 30212 DEBUG swiftclient REQ: curl -i http://10.8.0.58:8080/v1/AUTH_c34086428d3142bf828005c00efe1798/test1?format=json&limit=1001&prefix=test2/&delimiter=/ -X GET -H "X-Auth-Token: c5fe1d2996c5dd04c5d4768b2c32b559"
  2014-03-23 07:34:40,698 30212 DEBUG swiftclient RESP STATUS: 200 OK
  2014-03-23 07:34:40,699 30212 DEBUG swiftclient RESP HEADERS: [('date', 'Sun, 23 Mar 2014 07:34:40 GMT'), ('content-length', '167'), ('x-container-object-count', '2'), ('x-container-bytes-used', '0'), ('x-timestamp', '1395324245.89993'), ('accept-ranges', 'bytes'), ('content-type', 'application/json; charset=utf-8')]
  2014-03-23 07:34:40,699 30212 DEBUG swiftclient RESP BODY: [{"hash": "d41d8cd98f00b204e9800998ecf8427e", "last_modified": "2014-03-20T14:08:51.623900", "bytes": 0, "name": "test2/", "content_type": "application/octet-stream"}]
  2014-03-23 07:34:40,720 30212 DEBUG swiftclient REQ: curl -i http://10.8.0.58:8080/v1/AUTH_c34086428d3142bf828005c00efe1798/test1?format=json&marker=test2/&limit=1001&prefix=test2/&delimiter=/ -X GET -H "X-Auth-Token: c5fe1d2996c5dd04c5d4768b2c32b559"
  2014-03-23 07:34:40,720 30212 DEBUG swiftclient RESP STATUS: 200 OK
  2014-03-23 07:34:40,720 30212 DEBUG swiftclient RESP HEADERS: [('date', 'Sun, 23 Mar 2014 07:34:40 GMT'), ('content-length', '2'), ('x-container-object-count', '2'), ('x-container-bytes-used', '0'), ('x-timestamp', '1395324245.89993'), ('accept-ranges', 'bytes'), ('content-type', 'application/json; charset=utf-8')]
  2014-03-23 07:34:40,720 30212 DEBUG swiftclient RESP BODY: []
  2014-03-23 07:34:40,841 30212 DEBUG horizon.base Panel with slug "loadbalancers" is not registered with Dashboard "project".
  2014-03-23 07:34:40,841 30212 DEBUG horizon.base Panel with slug "firewalls" is not registered with Dashboard "project".
  2014-03-23 07:34:40,841 30212 DEBUG horizon.base Panel with slug "vpn" is not registered with Dashboard "project".
  2014-03-23 07:34:40,841 30212 DEBUG horizon.base Panel with slug "loadbalancers" is not registered with Dashboard "project".
  2014-03-23 07:34:40,841 30212 DEBUG horizon.base Panel with slug "firewalls" is not registered with Dashboard "project".
  2014-03-23 07:34:40,841 30212 DEBUG horizon.base Panel with slug "vpn" is not registered with Dashboard "project".
  2014-03-23 07:34:40,848 30212 ERROR django.request Internal Server Error: /dashboard/project/containers/test1/test2/
  Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 136, in get_response
      response = response.render()
    File "/usr/lib/python2.6/site-packages/django/template/response.py", line 104, in render
      self._set_content(self.rendered_content)
    File "/usr/lib/python2.6/site-packages/django/template/response.py", line 81, in rendered_content
      content = template.render(context)
    File "/usr/lib/python2.6/site-packages/django/template/base.py", line 140, in render
      return self._render(context)
    File "/usr/lib/python2.6/site-packages/django/template/base.py", line 134, in _render
      return self.nodelist.render(context)
    File "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.6/site-packages/django/template/base.py", line 837, in render_node
      return node.render(context)
    File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line 123, in render
      return compiled_parent._render(context)
    File "/usr/lib/python2.6/site-packages/django/template/base.py", line 134, in _render
      return self.nodelist.render(context)
    File "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.6/site-packages/django/template/base.py", line 837, in render_node
      return node.render(context)
    File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line 62, in render
      result = block.nodelist.render(context)
    File "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.6/site-packages/django/template/base.py", line 837, in render_node
      return node.render(context)
    File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line 62, in render
      result = block.nodelist.render(context)
    File "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.6/site-packages/django/template/base.py", line 837, in render_node
      return node.render(context)
    File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 282, in render
      return nodelist.render(context)
    File "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.6/site-packages/django/template/base.py", line 837, in render_node
      return node.render(context)
    File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 426, in render
      raise e
  NoReverseMatch: u"'horizon" is not a registered namespace

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1296273/+subscriptions


References