Project

General

Profile

Actions

Bug #56079

closed

mgr/dashboard: known issues in dashboard cephadm cypress e2e

Added by Nizamudeen A almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Category:
Build, CI, Dependencies & Tools
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

this is happening for a while now..

1 failing

  1) when cluster creation is completed
       Hosts page
         should check if mon daemon is running on all hosts:
     HttpErrorResponse: The following error originated from your application code, not from Cypress.

  > Http failure response for https://192.168.100.100:8443/api/prometheus/rules: 400 Bad Request

When Cypress detects uncaught errors originating from your application it will automatically fail the current test.

This behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.

https://on.cypress.io/uncaught-exception-from-application

The below errors are from this run: https://jenkins.ceph.com/job/ceph-dashboard-cephadm-e2e/4030/
this is becoming recurring and started after the osd creation wizard thing..

Jun 16 15:07:02 ceph-node-00 ceph-mgr[11812]: [dashboard INFO request] [::ffff:192.168.100.1:55338] [GET] [200] [0.017s] [admin] [266.0B] /ui-api/osd/deployment_options
Jun 16 15:07:02 ceph-node-00 ceph-mgr[11812]: [dashboard ERROR frontend.error] (https://192.168.100.100:8443/#/expand-cluster): Cannot read properties of undefined (reading 'recommended_option')
                                               TypeError: Cannot read properties of undefined (reading 'recommended_option')
                                                  at OsdFormComponent_div_1_div_13_Template (https://192.168.100.100:8443/main.js:9235:185)
                                                  at executeTemplate (https://192.168.100.100:8443/vendor.js:24051:9)
                                                  at refreshView (https://192.168.100.100:8443/vendor.js:23917:13)
                                                  at refreshEmbeddedViews (https://192.168.100.100:8443/vendor.js:25042:17)
                                                  at refreshView (https://192.168.100.100:8443/vendor.js:23941:9)
                                                  at refreshEmbeddedViews (https://192.168.100.100:8443/vendor.js:25042:17)
                                                  at refreshView (https://192.168.100.100:8443/vendor.js:23941:9)
                                                  at refreshComponent (https://192.168.100.100:8443/vendor.js:25088:13)
                                                  at refreshChildComponents (https://192.168.100.100:8443/vendor.js:23713:9)
                                                  at refreshView (https://192.168.100.100:8443/vendor.js:23967:13)
Jun 16 15:07:02 ceph-node-00 ceph-mgr[11812]: [dashboard INFO request] [::ffff:192.168.100.1:55338] [POST] [200] [0.003s] [admin] [24.0B] /ui-api/logging/js-error
Jun 16 15:07:02 ceph-node-00 ceph-mgr[11812]: [dashboard ERROR frontend.error] (https://192.168.100.100:8443/#/expand-cluster): Cannot read properties of undefined (reading 'recommended_option')
                                               TypeError: Cannot read properties of undefined (reading 'recommended_option')
                                                  at OsdFormComponent_div_1_div_13_Template (https://192.168.100.100:8443/main.js:9235:185)
                                                  at executeTemplate (https://192.168.100.100:8443/vendor.js:24051:9)
                                                  at refreshView (https://192.168.100.100:8443/vendor.js:23917:13)
                                                  at refreshEmbeddedViews (https://192.168.100.100:8443/vendor.js:25042:17)
                                                  at refreshView (https://192.168.100.100:8443/vendor.js:23941:9)
                                                  at refreshEmbeddedViews (https://192.168.100.100:8443/vendor.js:25042:17)
                                                  at refreshView (https://192.168.100.100:8443/vendor.js:23941:9)
                                                  at refreshComponent (https://192.168.100.100:8443/vendor.js:25088:13)
                                                  at refreshChildComponents (https://192.168.100.100:8443/vendor.js:23713:9)
                                                  at refreshView (https://192.168.100.100:8443/vendor.js:23967:13)
Jun 16 15:07:23 ceph-node-00 ceph-mgr[11812]: [dashboard ERROR taskexec] Error while calling Task(ns=osd/create, md={'tracking_id': 'Cost/Capacity-optimized deployment'})
                                              Traceback (most recent call last):
                                                File "/usr/share/ceph/mgr/dashboard/tools.py", line 550, in _run
                                                  val = self.task.fn(*self.task.fn_args, **self.task.fn_kwargs)  # type: ignore
                                                File "/usr/share/ceph/mgr/dashboard/controllers/osd.py", line 417, in create
                                                  return self._create_predefined_drive_group(data)
                                                File "/usr/share/ceph/mgr/dashboard/controllers/osd.py", line 371, in _create_predefined_drive_group
                                                  option]['encrypted'] = data[0]['encrypted']
                                              KeyError: 'encrypted'
Jun 16 15:07:23 ceph-node-00 ceph-mgr[11812]: [dashboard INFO taskmgr] finished Task(ns=osd/create, md={'tracking_id': 'Cost/Capacity-optimized deployment'})
Jun 16 15:07:23 ceph-node-00 ceph-mgr[11812]: [dashboard INFO orchestrator] is orchestrator available: True, 
Jun 16 15:07:23 ceph-node-00 ceph-mgr[11812]: [dashboard INFO orchestrator] is orchestrator available: True, 
Jun 16 15:07:23 ceph-node-00 ceph-mgr[11812]: [dashboard INFO request] [::ffff:192.168.100.1:55154] [GET] [200] [0.044s] [admin] [1.4K] /api/host
Jun 16 15:07:23 ceph-node-00 ceph-mgr[11812]: [dashboard INFO orchestrator] is orchestrator available: True, 
Jun 16 15:07:23 ceph-node-00 ceph-mgr[11812]: [dashboard INFO orchestrator] is orchestrator available: True, 
Jun 16 15:07:23 ceph-node-00 ceph-mgr[11812]: [dashboard INFO orchestrator] is orchestrator available: True, 
Jun 16 15:07:23 ceph-node-00 ceph-mgr[11812]: [dashboard INFO orchestrator] is orchestrator available: True, 
Jun 16 15:07:23 ceph-node-00 ceph-mgr[11812]: [cephadm INFO root] Removed label _no_schedule to host ceph-node-01
Jun 16 15:07:23 ceph-node-00 ceph-mgr[11812]: log_channel(cephadm) log [INF] : Removed label _no_schedule to host ceph-node-01
Jun 16 15:07:24 ceph-node-00 ceph-mgr[11812]: [cephadm INFO root] Removed label _no_schedule to host ceph-node-02
Jun 16 15:07:24 ceph-node-00 ceph-mgr[11812]: log_channel(cephadm) log [INF] : Removed label _no_schedule to host ceph-node-02
Jun 16 15:07:24 ceph-node-00 ceph-mgr[11812]: [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)
                                                File "/usr/share/ceph/mgr/dashboard/controllers/_task.py", line 79, in wrapper
                                                  raise ex
                                                File "/usr/share/ceph/mgr/dashboard/controllers/_task.py", line 69, in wrapper
                                                  status, value = task.wait(self.wait_for)
                                                File "/usr/share/ceph/mgr/dashboard/tools.py", line 639, in wait
                                                  raise self.exception
                                                File "/usr/share/ceph/mgr/dashboard/tools.py", line 550, in _run
                                                  val = self.task.fn(*self.task.fn_args, **self.task.fn_kwargs)  # type: ignore
                                                File "/usr/share/ceph/mgr/dashboard/controllers/osd.py", line 417, in create
                                                  return self._create_predefined_drive_group(data)
                                                File "/usr/share/ceph/mgr/dashboard/controllers/osd.py", line 371, in _create_predefined_drive_group
                                                  option]['encrypted'] = data[0]['encrypted']
                                              KeyError: 'encrypted'
Actions #1

Updated by Ernesto Puerta almost 2 years ago

  • Translation missing: en.field_tag_list set to test-failure
Actions #2

Updated by Pedro González Gómez almost 2 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Pedro González Gómez almost 2 years ago

  • Pull request ID set to 47137
Actions

Also available in: Atom PDF