k get cluster osearch-owsfhc
NAME CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS AGE
osearch-owsfhc Delete Abnormal 72s
k get pod -l app.kubernetes.io/instance=osearch-owsfhc
NAME READY STATUS RESTARTS AGE
osearch-owsfhc-dashboard-0 0/1 CrashLoopBackOff 4 (61s ago) 3m17s
osearch-owsfhc-opensearch-0 2/2 Running 0 3m16s
osearch-owsfhc-opensearch-1 2/2 Running 0 116s
k get cmp -l app.kubernetes.io/instance=osearch-owsfhc
NAME DEFINITION SERVICE-VERSION STATUS AGE
osearch-owsfhc-dashboard opensearch-dashboard-1.0.0-alpha.0 2.7.0 Failed 3m31s
osearch-owsfhc-opensearch opensearch-1.0.0-alpha.0 2.7.0 Running 3m31s
The cluster status in abnormal and the dashboard cmp status is failed.
3.logs
k logs osearch-owsfhc-dashboard-0
{"type":"log","@timestamp":"2024-08-08T03:40:44Z","tags":["info","plugins-service"],"pid":453,"message":"Plugin \"dataSourceManagement\" has been disabled since the following direct or transitive dependencies are missing or disabled: [dataSource]"}
{"type":"log","@timestamp":"2024-08-08T03:40:44Z","tags":["info","plugins-service"],"pid":453,"message":"Plugin \"dataSource\" is disabled."}
{"type":"log","@timestamp":"2024-08-08T03:40:44Z","tags":["info","plugins-service"],"pid":453,"message":"Plugin \"visTypeXy\" is disabled."}
{"type":"log","@timestamp":"2024-08-08T03:40:44Z","tags":["info","plugins-service"],"pid":453,"message":"Plugin \"mlCommonsDashboards\" is disabled."}
{"type":"log","@timestamp":"2024-08-08T03:40:44Z","tags":["fatal","root"],"pid":453,"message":"ValidationError: [config validation of [opensearch].hosts]: types that failed validation:\n- [config validation of [opensearch].hosts.0]: expected URI with scheme [http|https].\n- [config validation of [opensearch].hosts.1]: could not parse array value from json input\n at ObjectType.validate (/usr/share/opensearch-dashboards/node_modules/@osd/config-schema/target/out/types/type.js:72:19)\n at ConfigService.validateAtPath (/usr/share/opensearch-dashboards/node_modules/@osd/config/target/config_service.js:157:23)\n at MapSubscriber.project (/usr/share/opensearch-dashboards/node_modules/@osd/config/target/config_service.js:164:83)\n at MapSubscriber._next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subscriber.js:66:18)\n at MapSubscriber._next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/map.js:55:26)\n at MapSubscriber.Subscriber.next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subscriber.js:66:18)\n at ReplaySubject._subscribe (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/ReplaySubject.js:80:28)\n at ReplaySubject.Observable._trySubscribe (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Observable.js:44:25)\n at ReplaySubject.Subject._trySubscribe (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subject.js:102:51)\n at ReplaySubject.Observable.subscribe (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Observable.js:30:22)\n at MapSubscriber.shareReplayOperation (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/shareReplay.js:53:32)\n at Observable.subscribe (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Observable.js:25:31)\n at MapOperator.call (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/map.js:32:23) {\n cause: SchemaTypesError: types that failed validation:\n at UnionType.handleError (/usr/share/opensearch-dashboards/node_modules/@osd/config-schema/target/out/types/union_type.js:47:24)\n at UnionType.onError (/usr/share/opensearch-dashboards/node_modules/@osd/config-schema/target/out/types/type.js:90:40)\n at internals.Alternatives.<anonymous> (/usr/share/opensearch-dashboards/node_modules/@osd/config-schema/target/out/types/type.js:62:53)\n at finish (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/any/index.js:529:50)\n at internals.Alternatives._validate (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/any/index.js:618:24)\n at type._base (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/object/index.js:212:45)\n at type._validate (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/any/index.js:614:37)\n at type._validateWithOptions (/usr/share/opensearch-dashboards/node_modules/joi/lib/types/any/index.js:674:29)\n at module.exports.internals.Any.root.validate (/usr/share/opensearch-dashboards/node_modules/joi/lib/index.js:146:23)\n at ObjectType.validate (/usr/share/opensearch-dashboards/node_modules/@osd/config-schema/target/out/types/type.js:67:72)\n at ConfigService.validateAtPath (/usr/share/opensearch-dashboards/node_modules/@osd/config/target/config_service.js:157:23)\n at MapSubscriber.project (/usr/share/opensearch-dashboards/node_modules/@osd/config/target/config_service.js:164:83)\n at MapSubscriber._next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/map.js:49:35)\n at MapSubscriber.Subscriber.next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subscriber.js:66:18)\n at DistinctUntilChangedSubscriber._next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/operators/distinctUntilChanged.js:69:30)\n at DistinctUntilChangedSubscriber.Subscriber.next (/usr/share/opensearch-dashboards/node_modules/rxjs/internal/Subscriber.js:66:18) {\n cause: undefined,\n path: [ 'hosts' ],\n errors: [ [SchemaTypeError], [SchemaTypeError] ]\n }\n}"}
FATAL Error: [config validation of [opensearch].hosts]: types that failed validation:
- [config validation of [opensearch].hosts.0]: expected URI with scheme [http|https].
- [config validation of [opensearch].hosts.1]: could not parse array value from json input
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
cluster yaml
2.cluster staus
The cluster status in abnormal and the dashboard cmp status is failed. 3.logs