Project

General

Profile

Actions

Bug #55323

closed

cephadm/test_dashboard_e2e.sh: cypress "500: Internal Server Error" caused by missing password

Added by Laura Flores about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
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

/a/yuriw-2022-04-13_20:41:44-rados-wip-yuri2-testing-2022-04-13-0703-distro-default-smithi/6790772/teuthology.log

2022-04-13T21:07:50.959 INFO:tasks.workunit.client.0.smithi022.stdout:  1) Hosts page
2022-04-13T21:07:50.959 INFO:tasks.workunit.client.0.smithi022.stdout:       when Orchestrator is available
2022-04-13T21:07:50.959 INFO:tasks.workunit.client.0.smithi022.stdout:         "before each" hook for "should not add an exsiting host":
2022-04-13T21:07:50.960 INFO:tasks.workunit.client.0.smithi022.stdout:     CypressError: `cy.request()` failed on:
2022-04-13T21:07:50.960 INFO:tasks.workunit.client.0.smithi022.stdout:
2022-04-13T21:07:50.960 INFO:tasks.workunit.client.0.smithi022.stdout:https://172.21.15.22:8443/api/auth
2022-04-13T21:07:50.960 INFO:tasks.workunit.client.0.smithi022.stdout:
2022-04-13T21:07:50.960 INFO:tasks.workunit.client.0.smithi022.stdout:The response we received from your web server was:
2022-04-13T21:07:50.961 INFO:tasks.workunit.client.0.smithi022.stdout:
2022-04-13T21:07:50.961 INFO:tasks.workunit.client.0.smithi022.stdout:  > 500: Internal Server Error
2022-04-13T21:07:50.961 INFO:tasks.workunit.client.0.smithi022.stdout:
2022-04-13T21:07:50.961 INFO:tasks.workunit.client.0.smithi022.stdout:This was considered a failure because the status code was not `2xx` or `3xx`.
2022-04-13T21:07:50.961 INFO:tasks.workunit.client.0.smithi022.stdout:
2022-04-13T21:07:50.962 INFO:tasks.workunit.client.0.smithi022.stdout:If you do not want status codes to cause failures pass the option: `failOnStatusCode: false`
2022-04-13T21:07:50.962 INFO:tasks.workunit.client.0.smithi022.stdout:

/a/yuriw-2022-04-13_20:41:44-rados-wip-yuri2-testing-2022-04-13-0703-distro-default-smithi/6790772/remote/smithi022/log/884235d0-bb6c-11ec-8c38-001a4aab830c/ceph-mgr.a.log.gz

2022-04-13T21:07:48.827+0000 7fa9b6e5d700 20 mgr get_config  key: mgr/dashboard/AUDIT_API_ENABLED
2022-04-13T21:07:48.827+0000 7fa9b6e5d700 10 mgr get_typed_config  AUDIT_API_ENABLED not found
2022-04-13T21:07:48.828+0000 7fa9b6e5d700  0 [dashboard ERROR exception] Internal Server Error
Traceback (most recent call last):
  File "/usr/share/ceph/mgr/dashboard/services/exception.py", line 47, in dashboard_exception_handler
    return handler(*args, **kwargs)
  File "/lib/python3.6/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/share/ceph/mgr/dashboard/controllers/_base_controller.py", line 263, in inner
    ret = func(*args, **kwargs)
  File "/usr/share/ceph/mgr/dashboard/controllers/_rest_controller.py", line 191, in wrapper
    return func(*vpath, **params)
TypeError: create() missing 1 required positional argument: 'password'

Potentially related to https://github.com/ceph/ceph/pull/45859.

Actions #1

Updated by Laura Flores about 2 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Laura Flores
  • Pull request ID set to 45915
Actions #2

Updated by Laura Flores about 2 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF