-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: explorer-20.2.0, explorer-21.0.0
-
Component/s: Explorer
-
Epic Link:
-
Team:AT
-
Sprint:nxAT 11.x.28
-
Story Points:2
The export has been failing recently:
- first pb linked to compat change between 11.3 (explorer package is aligned on 11.) and 11.4.x changes was fixed by revert at https://github.com/nuxeo/nuxeo/pull/4423/ (see
NXP-29812) - second pb is linked to helm chart used, incompatible with ES upgrade:
dependencies: - alias: nuxeo name: nuxeo version: ~1.0.11 repository: https://chartmuseum.platform.dev.nuxeo.com
Deployment starts with error:
2020-10-30T08:40:05,769 WARN [ElasticSearchEmbeddedNode] Elasticsearch embedded configuration is ONLY for testing purpose. You need to create a dedicated Elasticsearch cluster for production. 2020-10-30T08:40:13,881 WARN [DanglingIndicesState] gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually 2020-10-30T08:40:17,213 ERROR [ComponentManager] Component service:org.nuxeo.elasticsearch.ElasticSearchComponent notification of application started failed: Validation Failed: 1: mapping type is missing; org.elasticsearch.action.ActionRequestValidationException: Validation Failed: 1: mapping type is missing; at org.elasticsearch.action.ValidateActions.addValidationError(ValidateActions.java:26) ~[elasticsearch-7.9.2.jar:7.9.2] at org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest.validate(PutMappingRequest.java:118) ~[elasticsearch-7.9.2.jar:7.9.2] at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:144) ~[elasticsearch-7.9.2.jar:7.9.2] at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:83) ~[elasticsearch-7.9.2.jar:7.9.2] at org.elasticsearch.client.node.NodeClient.executeLocally(NodeClient.java:83) ~[elasticsearch-7.9.2.jar:7.9.2] at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:72) ~[elasticsearch-7.9.2.jar:7.9.2] at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:409) ~[elasticsearch-7.9.2.jar:7.9.2] at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:398) ~[elasticsearch-7.9.2.jar:7.9.2] at org.elasticsearch.client.support.AbstractClient$IndicesAdmin.execute(AbstractClient.java:1268) ~[elasticsearch-7.9.2.jar:7.9.2] at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:45) ~[elasticsearch-7.9.2.jar:7.9.2] at org.elasticsearch.action.ActionRequestBuilder.get(ActionRequestBuilder.java:52) ~[elasticsearch-7.9.2.jar:7.9.2] at org.nuxeo.elasticsearch.client.ESTransportClient.createMapping(ESTransportClient.java:152) ~[nuxeo-elasticsearch-core-11.4.16.jar:?] at org.nuxeo.elasticsearch.core.ElasticSearchAdminImpl.initIndex(ElasticSearchAdminImpl.java:468) ~[nuxeo-elasticsearch-core-11.4.16.jar:?] at org.nuxeo.elasticsearch.core.ElasticSearchAdminImpl.initIndex(ElasticSearchAdminImpl.java:367) ~[nuxeo-elasticsearch-core-11.4.16.jar:?] at org.nuxeo.elasticsearch.core.ElasticSearchAdminImpl.initIndex(ElasticSearchAdminImpl.java:352) ~[nuxeo-elasticsearch-core-11.4.16.jar:?] at org.nuxeo.elasticsearch.core.ElasticSearchAdminImpl.initIndexes(ElasticSearchAdminImpl.java:316) ~[nuxeo-elasticsearch-core-11.4.16.jar:?] at org.nuxeo.elasticsearch.core.ElasticSearchAdminImpl.initializeIndexes(ElasticSearchAdminImpl.java:203) ~[nuxeo-elasticsearch-core-11.4.16.jar:?] at org.nuxeo.elasticsearch.core.ElasticSearchAdminImpl.<init>(ElasticSearchAdminImpl.java:109) ~[nuxeo-elasticsearch-core-11.4.16.jar:?] at org.nuxeo.elasticsearch.ElasticSearchComponent.start(ElasticSearchComponent.java:181) ~[nuxeo-elasticsearch-core-11.4.16.jar:?] at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.start(RegistrationInfoImpl.java:372) [nuxeo-runtime-11.4.16.jar:?] at org.nuxeo.runtime.model.impl.ComponentManagerImpl.startComponent(ComponentManagerImpl.java:751) [nuxeo-runtime-11.4.16.jar:?] at org.nuxeo.runtime.model.impl.ComponentManagerImpl.startComponents(ComponentManagerImpl.java:733) [nuxeo-runtime-11.4.16.jar:?] at org.nuxeo.runtime.model.impl.ComponentManagerImpl.start(ComponentManagerImpl.java:834) [nuxeo-runtime-11.4.16.jar:?] at org.nuxeo.runtime.osgi.OSGiRuntimeService.startComponents(OSGiRuntimeService.java:453) [nuxeo-runtime-11.4.16.jar:?] at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:468) [nuxeo-runtime-11.4.16.jar:?] at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:223) [nuxeo-runtime-osgi-11.4.16.jar:?] at org.nuxeo.osgi.application.loader.FrameworkLoader.doStart(FrameworkLoader.java:225) [nuxeo-runtime-osgi-11.4.16.jar:?] at org.nuxeo.osgi.application.loader.FrameworkLoader.start(FrameworkLoader.java:124) [nuxeo-runtime-osgi-11.4.16.jar:?] at org.nuxeo.runtime.deployment.NuxeoStarter.start(NuxeoStarter.java:124) [nuxeo-runtime-deploy-11.4.16.jar:?] at org.nuxeo.runtime.deployment.NuxeoStarter.contextInitialized(NuxeoStarter.java:93) [nuxeo-runtime-deploy-11.4.16.jar:?] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4716) [catalina.jar:9.0.39] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5177) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.39] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) [catalina.jar:9.0.39] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) [catalina.jar:9.0.39] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:706) [catalina.jar:9.0.39] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631) [catalina.jar:9.0.39] at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1830) [catalina.jar:9.0.39] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.39] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) [?:?] at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526) [catalina.jar:9.0.39] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425) [catalina.jar:9.0.39] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576) [catalina.jar:9.0.39] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) [catalina.jar:9.0.39] at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936) [catalina.jar:9.0.39] at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:843) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.39] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) [catalina.jar:9.0.39] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) [catalina.jar:9.0.39] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.39] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) [?:?] at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) [catalina.jar:9.0.39] at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.39] at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.39] at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.39] at org.apache.catalina.startup.Catalina.start(Catalina.java:772) [catalina.jar:9.0.39] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342) [bootstrap.jar:9.0.39] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473) [bootstrap.jar:9.0.39] 2020-10-30T08:40:22,173 ERROR [ComponentManager] Component service:org.nuxeo.ecm.core.uidgen.UIDGeneratorService notification of application started failed: null java.lang.NullPointerException: null at org.nuxeo.elasticsearch.ElasticSearchComponent.getClient(ElasticSearchComponent.java:254) ~[nuxeo-elasticsearch-core-11.4.16.jar:?] at org.nuxeo.elasticsearch.seqgen.ESUIDSequencer.init(ESUIDSequencer.java:63) ~[nuxeo-elasticsearch-seqgen-11.4.16.jar:?] at org.nuxeo.ecm.core.uidgen.UIDGeneratorComponent.start(UIDGeneratorComponent.java:66) ~[nuxeo-core-11.4.16.jar:?] at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.start(RegistrationInfoImpl.java:372) [nuxeo-runtime-11.4.16.jar:?] at org.nuxeo.runtime.model.impl.ComponentManagerImpl.startComponent(ComponentManagerImpl.java:751) [nuxeo-runtime-11.4.16.jar:?] at org.nuxeo.runtime.model.impl.ComponentManagerImpl.startComponents(ComponentManagerImpl.java:733) [nuxeo-runtime-11.4.16.jar:?] at org.nuxeo.runtime.model.impl.ComponentManagerImpl.start(ComponentManagerImpl.java:834) [nuxeo-runtime-11.4.16.jar:?] at org.nuxeo.runtime.osgi.OSGiRuntimeService.startComponents(OSGiRuntimeService.java:453) [nuxeo-runtime-11.4.16.jar:?] at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:468) [nuxeo-runtime-11.4.16.jar:?] at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:223) [nuxeo-runtime-osgi-11.4.16.jar:?] at org.nuxeo.osgi.application.loader.FrameworkLoader.doStart(FrameworkLoader.java:225) [nuxeo-runtime-osgi-11.4.16.jar:?] at org.nuxeo.osgi.application.loader.FrameworkLoader.start(FrameworkLoader.java:124) [nuxeo-runtime-osgi-11.4.16.jar:?] at org.nuxeo.runtime.deployment.NuxeoStarter.start(NuxeoStarter.java:124) [nuxeo-runtime-deploy-11.4.16.jar:?] at org.nuxeo.runtime.deployment.NuxeoStarter.contextInitialized(NuxeoStarter.java:93) [nuxeo-runtime-deploy-11.4.16.jar:?] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4716) [catalina.jar:9.0.39] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5177) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.39] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717) [catalina.jar:9.0.39] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690) [catalina.jar:9.0.39] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:706) [catalina.jar:9.0.39] at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:631) [catalina.jar:9.0.39] at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1830) [catalina.jar:9.0.39] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.39] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) [?:?] at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:526) [catalina.jar:9.0.39] at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:425) [catalina.jar:9.0.39] at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576) [catalina.jar:9.0.39] at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) [catalina.jar:9.0.39] at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936) [catalina.jar:9.0.39] at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:843) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.39] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384) [catalina.jar:9.0.39] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374) [catalina.jar:9.0.39] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.39] at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) [?:?] at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909) [catalina.jar:9.0.39] at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.39] at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.39] at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:930) [catalina.jar:9.0.39] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.39] at org.apache.catalina.startup.Catalina.start(Catalina.java:772) [catalina.jar:9.0.39] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?] at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:342) [bootstrap.jar:9.0.39] at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473) [bootstrap.jar:9.0.39] 2020-10-30T08:40:23,189 WARN [StreamMetricsComputation] Instance elected to report stream metrics 2020-10-30T08:40:23,465 ERROR [ComputationRunner] bulk/bulkIndex: Exception in processLoop: null java.lang.NullPointerException: null at org.nuxeo.elasticsearch.ElasticSearchComponent.getClient(ElasticSearchComponent.java:254) ~[nuxeo-elasticsearch-core-11.4.16.jar:?] at org.nuxeo.elasticsearch.bulk.BulkIndexComputation.getESClient(BulkIndexComputation.java:150) ~[nuxeo-elasticsearch-core-11.4.16.jar:?] at org.nuxeo.elasticsearch.bulk.BulkIndexComputation.init(BulkIndexComputation.java:97) ~[nuxeo-elasticsearch-core-11.4.16.jar:?] at org.nuxeo.lib.stream.computation.log.ComputationRunner.run(ComputationRunner.java:204) [nuxeo-stream-11.4.16.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:834) [?:?] 2020-10-30T08:40:23,468 ERROR [ComputationRunner] bulk/bulkIndex: Exception in processLoop: null java.lang.NullPointerException: null at org.nuxeo.elasticsearch.ElasticSearchComponent.getClient(ElasticSearchComponent.java:254) ~[nuxeo-elasticsearch-core-11.4.16.jar:?] at org.nuxeo.elasticsearch.bulk.BulkIndexComputation.getESClient(BulkIndexComputation.java:150) ~[nuxeo-elasticsearch-core-11.4.16.jar:?] at org.nuxeo.elasticsearch.bulk.BulkIndexComputation.init(BulkIndexComputation.java:97) ~[nuxeo-elasticsearch-core-11.4.16.jar:?] at org.nuxeo.lib.stream.computation.log.ComputationRunner.run(ComputationRunner.java:204) [nuxeo-stream-11.4.16.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:834) [?:?] 2020-10-30T08:40:23,479 ERROR [ComputationRunner] Terminate computation: bulk/bulkIndex due to previous failure 2020-10-30T08:40:23,480 ERROR [ComputationRunner] Terminate computation: bulk/bulkIndex due to previous failure 2020-10-30T08:40:27,093 ERROR [OSGiRuntimeService] Nuxeo Platform Started ====================================================================== = Component Loading Errors: * Component service:org.nuxeo.elasticsearch.ElasticSearchComponent notification of application started failed: Validation Failed: 1: mapping type is missing; * Component service:org.nuxeo.ecm.core.uidgen.UIDGeneratorService notification of application started failed: null ====================================================================== = Component Loading Status: Pending: 0 / Missing: 0 / Unstarted: 2 / Total: 651 - service:org.nuxeo.ecm.core.uidgen.UIDGeneratorService - service:org.nuxeo.elasticsearch.ElasticSearchComponent ====================================================================== 2020-10-30 08:40:31 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [59798] milliseconds
After updating to use nuxeo helm version 1.1.0, pb persists with same error logs at startup