← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1367383] [NEW] VolumeViewTests has nagging 404 errors

 

Public bug reported:

Just merged from master, now if run_tests.sh from horizon, will have 2
nagging 404 errors. Test passed though. They are from

./run_tests.sh
openstack_dashboard.dashboards.project.volumes.volumes.tests:VolumeViewTests

............................Not Found: Not Found (HTTP 404)
Traceback (most recent call last):
  File "/home/stack/horizon/openstack_dashboard/dashboards/project/volumes/volumes/tables.py", line 181, in allowed
    limits = api.cinder.tenant_absolute_limits(request)
  File "/home/stack/horizon/horizon/utils/memoized.py", line 90, in wrapped
    value = cache[key] = func(*args, **kwargs)
  File "/home/stack/horizon/openstack_dashboard/api/cinder.py", line 439, in tenant_absolute_limits
    limits = cinderclient(request).limits.get().absolute
  File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/v1/limits.py", line 92, in get
    return self._get("/limits", "limits")
  File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/base.py", line 145, in _get
    resp, body = self.api.client.get(url)
  File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 220, in get
    return self._cs_request(url, 'GET', **kwargs)
  File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 187, in _cs_request
    **kwargs)
  File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 170, in request
    raise exceptions.from_response(resp, body)
NotFound: Not Found (HTTP 404)
..Not Found: Not Found (HTTP 404)
Traceback (most recent call last):
  File "/home/stack/horizon/openstack_dashboard/dashboards/project/volumes/volumes/tables.py", line 181, in allowed
    limits = api.cinder.tenant_absolute_limits(request)
  File "/home/stack/horizon/horizon/utils/memoized.py", line 90, in wrapped
    value = cache[key] = func(*args, **kwargs)
  File "/home/stack/horizon/openstack_dashboard/api/cinder.py", line 439, in tenant_absolute_limits
    limits = cinderclient(request).limits.get().absolute
  File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/v1/limits.py", line 92, in get
    return self._get("/limits", "limits")
  File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/base.py", line 145, in _get
    resp, body = self.api.client.get(url)
  File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 220, in get
    return self._cs_request(url, 'GET', **kwargs)
  File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 187, in _cs_request
    **kwargs)
  File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 170, in request
    raise exceptions.from_response(resp, body)
NotFound: Not Found (HTTP 404)

** Affects: horizon
     Importance: Undecided
     Assignee: Gloria Gu (gloria-gu)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Gloria Gu (gloria-gu)

** Description changed:

- Just merged from main, now if run_tests.sh from horizon, will have 2
+ Just merged from master, now if run_tests.sh from horizon, will have 2
  nagging 404 errors. Test passed though. They are from
  
  ./run_tests.sh
  openstack_dashboard.dashboards.project.volumes.volumes.tests:VolumeViewTests
  
- 
  ............................Not Found: Not Found (HTTP 404)
  Traceback (most recent call last):
-   File "/home/stack/horizon/openstack_dashboard/dashboards/project/volumes/volumes/tables.py", line 181, in allowed
-     limits = api.cinder.tenant_absolute_limits(request)
-   File "/home/stack/horizon/horizon/utils/memoized.py", line 90, in wrapped
-     value = cache[key] = func(*args, **kwargs)
-   File "/home/stack/horizon/openstack_dashboard/api/cinder.py", line 439, in tenant_absolute_limits
-     limits = cinderclient(request).limits.get().absolute
-   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/v1/limits.py", line 92, in get
-     return self._get("/limits", "limits")
-   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/base.py", line 145, in _get
-     resp, body = self.api.client.get(url)
-   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 220, in get
-     return self._cs_request(url, 'GET', **kwargs)
-   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 187, in _cs_request
-     **kwargs)
-   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 170, in request
-     raise exceptions.from_response(resp, body)
+   File "/home/stack/horizon/openstack_dashboard/dashboards/project/volumes/volumes/tables.py", line 181, in allowed
+     limits = api.cinder.tenant_absolute_limits(request)
+   File "/home/stack/horizon/horizon/utils/memoized.py", line 90, in wrapped
+     value = cache[key] = func(*args, **kwargs)
+   File "/home/stack/horizon/openstack_dashboard/api/cinder.py", line 439, in tenant_absolute_limits
+     limits = cinderclient(request).limits.get().absolute
+   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/v1/limits.py", line 92, in get
+     return self._get("/limits", "limits")
+   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/base.py", line 145, in _get
+     resp, body = self.api.client.get(url)
+   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 220, in get
+     return self._cs_request(url, 'GET', **kwargs)
+   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 187, in _cs_request
+     **kwargs)
+   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 170, in request
+     raise exceptions.from_response(resp, body)
  NotFound: Not Found (HTTP 404)
  ..Not Found: Not Found (HTTP 404)
  Traceback (most recent call last):
-   File "/home/stack/horizon/openstack_dashboard/dashboards/project/volumes/volumes/tables.py", line 181, in allowed
-     limits = api.cinder.tenant_absolute_limits(request)
-   File "/home/stack/horizon/horizon/utils/memoized.py", line 90, in wrapped
-     value = cache[key] = func(*args, **kwargs)
-   File "/home/stack/horizon/openstack_dashboard/api/cinder.py", line 439, in tenant_absolute_limits
-     limits = cinderclient(request).limits.get().absolute
-   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/v1/limits.py", line 92, in get
-     return self._get("/limits", "limits")
-   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/base.py", line 145, in _get
-     resp, body = self.api.client.get(url)
-   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 220, in get
-     return self._cs_request(url, 'GET', **kwargs)
-   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 187, in _cs_request
-     **kwargs)
-   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 170, in request
-     raise exceptions.from_response(resp, body)
+   File "/home/stack/horizon/openstack_dashboard/dashboards/project/volumes/volumes/tables.py", line 181, in allowed
+     limits = api.cinder.tenant_absolute_limits(request)
+   File "/home/stack/horizon/horizon/utils/memoized.py", line 90, in wrapped
+     value = cache[key] = func(*args, **kwargs)
+   File "/home/stack/horizon/openstack_dashboard/api/cinder.py", line 439, in tenant_absolute_limits
+     limits = cinderclient(request).limits.get().absolute
+   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/v1/limits.py", line 92, in get
+     return self._get("/limits", "limits")
+   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/base.py", line 145, in _get
+     resp, body = self.api.client.get(url)
+   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 220, in get
+     return self._cs_request(url, 'GET', **kwargs)
+   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 187, in _cs_request
+     **kwargs)
+   File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 170, in request
+     raise exceptions.from_response(resp, body)
  NotFound: Not Found (HTTP 404)

-- 
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/1367383

Title:
  VolumeViewTests has nagging 404 errors

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Just merged from master, now if run_tests.sh from horizon, will have 2
  nagging 404 errors. Test passed though. They are from

  ./run_tests.sh
  openstack_dashboard.dashboards.project.volumes.volumes.tests:VolumeViewTests

  ............................Not Found: Not Found (HTTP 404)
  Traceback (most recent call last):
    File "/home/stack/horizon/openstack_dashboard/dashboards/project/volumes/volumes/tables.py", line 181, in allowed
      limits = api.cinder.tenant_absolute_limits(request)
    File "/home/stack/horizon/horizon/utils/memoized.py", line 90, in wrapped
      value = cache[key] = func(*args, **kwargs)
    File "/home/stack/horizon/openstack_dashboard/api/cinder.py", line 439, in tenant_absolute_limits
      limits = cinderclient(request).limits.get().absolute
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/v1/limits.py", line 92, in get
      return self._get("/limits", "limits")
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/base.py", line 145, in _get
      resp, body = self.api.client.get(url)
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 220, in get
      return self._cs_request(url, 'GET', **kwargs)
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 187, in _cs_request
      **kwargs)
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 170, in request
      raise exceptions.from_response(resp, body)
  NotFound: Not Found (HTTP 404)
  ..Not Found: Not Found (HTTP 404)
  Traceback (most recent call last):
    File "/home/stack/horizon/openstack_dashboard/dashboards/project/volumes/volumes/tables.py", line 181, in allowed
      limits = api.cinder.tenant_absolute_limits(request)
    File "/home/stack/horizon/horizon/utils/memoized.py", line 90, in wrapped
      value = cache[key] = func(*args, **kwargs)
    File "/home/stack/horizon/openstack_dashboard/api/cinder.py", line 439, in tenant_absolute_limits
      limits = cinderclient(request).limits.get().absolute
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/v1/limits.py", line 92, in get
      return self._get("/limits", "limits")
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/base.py", line 145, in _get
      resp, body = self.api.client.get(url)
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 220, in get
      return self._cs_request(url, 'GET', **kwargs)
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 187, in _cs_request
      **kwargs)
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/client.py", line 170, in request
      raise exceptions.from_response(resp, body)
  NotFound: Not Found (HTTP 404)

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


Follow ups

References