Project

General

Profile

Bug #41949

test_access_permissions fails in tasks.mgr.dashboard.test_cephfs.CephfsTest

Added by Kefu Chai over 4 years ago. Updated almost 3 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
Stephan Müller
Category:
General - Back-end
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2019-09-22T06:55:18.377 ERROR:tasks.mgr.dashboard.helper:Request response: {"status": "403 Forbidden", "version": "3.2.2", "detail": "You don't have permissions to access that resou
rce", "traceback": "Traceback (most recent call last):\n  File \"/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py\", line 653, in respond\n    self.hooks.run('before_handler'
)\n  File \"/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py\", line 112, in run\n    raise exc\nHTTPError: (403, \"You don't have permissions to access that resource\")\n"}
2019-09-22T06:55:18.378 INFO:tasks.mgr.dashboard.helper:Request GET to https://mira041.front.sepia.ceph.com:7789/ui-api/cephfs/2/tabs
2019-09-22T06:55:18.383 INFO:tasks.ceph.mgr.x.mira041.stdout:::ffff:172.21.0.51 - - [22/Sep/2019:06:55:18] "GET /ui-api/cephfs/2/tabs HTTP/1.1" 404 317 "" "python-requests/2.22.0" 
2019-09-22T06:55:18.384 ERROR:tasks.mgr.dashboard.helper:Request response: {"status": "404 Not Found", "version": "3.2.2", "detail": "The path '/ui-api/cephfs/2/tabs' was not found.
", "traceback": "Traceback (most recent call last):\n  File \"/usr/lib/python2.7/site-packages/cherrypy/_cprequest.py\", line 656, in respond\n    response.body = self.handler()\n
File \"/usr/lib/python2.7/site-packages/cherrypy/lib/encoding.py\", line 188, in __call__\n    self.body = self.oldhandler(*args, **kwargs)\n  File \"/usr/lib/python2.7/site-package
s/cherrypy/_cperror.py\", line 386, in __call__\n    raise self\nNotFound: (404, \"The path '/ui-api/cephfs/2/tabs' was not found.\")\n"}
2019-09-22T06:55:18.384 INFO:tasks.cephfs_test_runner:test_access_permissions (tasks.mgr.dashboard.test_cephfs.CephfsTest) ... FAIL

/a/kchai-2019-09-22_06:15:19-rados-master-distro-basic-mira/4325522/

see also https://github.com/ceph/ceph/pull/29800

History

#1 Updated by Kefu Chai over 4 years ago

  • Status changed from New to Can't reproduce

sorry, turns out i was testing against an older dashboard backend.

#2 Updated by Ernesto Puerta almost 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 146 to General - Back-end

Also available in: Atom PDF