FATAL Error: Validation schema for [opendistro_security] was already registered

We suffered a disk full condition on one of our elastic nodes. After getting that dealt with, kibana is no longer starting:

kibana[744320]: {"type":"log","@timestamp":"2020-10-28T15:17:24Z","tags":["warning","plugins-discovery"],"pid":744320,"message":"Expect plugin \"id\" in camelCase, but found: opendistro-notebooks-kibana"}
kibana[744320]: {"type":"log","@timestamp":"2020-10-28T15:17:29Z","tags":["fatal","root"],"pid":744320,"message":"Error: Validation schema for [opendistro_security] was already registered.\n    at ConfigService.setSchema (/usr/share/kibana/src/core/server/config/config_service.js:60:13)\n    at MergeMapSubscriber.plugin$.pipe [as project] (/usr/share/kibana/src/core/server/plugins/plugins_service.js:134:46)\n    at MergeMapSubscriber._tryNext (/usr/share/kibana/node_modules/rxjs/internal/operators/mergeMap.js:69:27)\n    at MergeMapSubscriber._next (/usr/share/kibana/node_modules/rxjs/internal/operators/mergeMap.js:59:18)\n    at MergeMapSubscriber.Subscriber.next (/usr/share/kibana/node_modules/rxjs/internal/Subscriber.js:66:18)\n    at FilterSubscriber._next (/usr/share/kibana/node_modules/rxjs/internal/operators/filter.js:52:30)\n    at FilterSubscriber.Subscriber.next (/usr/share/kibana/node_modules/rxjs/internal/Subscriber.js:66:18)\n    at ReplaySubject._subscribe (/usr/share/kibana/node_modules/rxjs/internal/ReplaySubject.js:76:28)\n    at ReplaySubject.Observable._trySubscribe (/usr/share/kibana/node_modules/rxjs/internal/Observable.js:44:25)\n    at ReplaySubject.Subject._trySubscribe (/usr/share/kibana/node_modules/rxjs/internal/Subject.js:102:51)\n    at ReplaySubject.Observable.subscribe (/usr/share/kibana/node_modules/rxjs/internal/Observable.js:30:22)\n    at FilterSubscriber.shareReplayOperation (/usr/share/kibana/node_modules/rxjs/internal/operators/shareReplay.js:45:32)\n    at Observable.subscribe (/usr/share/kibana/node_modules/rxjs/internal/Observable.js:25:31)\n    at FilterOperator.call (/usr/share/kibana/node_modules/rxjs/internal/operators/filter.js:29:23)\n    at Observable.subscribe (/usr/share/kibana/node_modules/rxjs/internal/Observable.js:25:31)\n    at MergeMapOperator.call (/usr/share/kibana/node_modules/rxjs/internal/operators/mergeMap.js:39:23)"}
kibana[744320]:  FATAL  Error: Validation schema for [opendistro_security] was already registered.

Any suggestions for how to resolve this? Thanks

That’s odd. I don’t quite know why anything related to a disk full condition is causing this. Is there anything else you can say about how you resolved that situation (re-ran any install scripts, etc.)?

I really didn’t do much other than cleanup some logs, grow the disk and reboot a couple times. Any idea how to resolve this?

I tried re-running /usr/share/elasticsearch/plugins/opendistro_security/tools/securityadmin.sh, but that didn’t help.

related to https://github.com/opendistro-for-elasticsearch/security-kibana-plugin/issues/589

Yeah, appears to be due to a failed attempt to update the security plugin.