You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/04/07 06:21:08 UTC

[GitHub] [skywalking] lianghuiyuan opened a new issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch

lianghuiyuan opened a new issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch
URL: https://github.com/apache/skywalking/issues/4613
 
 
   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [x] Question or discussion
   - [ ] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   what is the `es_keystore.jks` ? 
   how to get `es_keystore.jks` ?
   fix the error: `NoSuchFileException: ../es_keystore.jks`
   ___
   ### Bug
   - Which version of SkyWalking, OS and JRE?
   Helm charts: v2.0.0
   
   - Which company or project?
   skywalking-kubernetes
   
   - What happen?
   ```
   2020-04-07 06:08:40,297 - org.apache.skywalking.oap.server.library.module.BootstrapFlow -9512 [main] INFO  [] - start the provider default in alarm module.
   2020-04-07 06:08:40,297 - org.apache.skywalking.oap.server.library.module.BootstrapFlow -9512 [main] INFO  [] - start the provider elasticsearch7 in storage module.
   2020-04-07 06:08:40,298 - org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient -9513 [main] INFO  [] - elasticsearch cluster nodes: es-cn-v0h1kgc6u000jqlo1.public.elasticsearch.aliyuncs.com:9200
   2020-04-07 06:08:40,321 - org.apache.skywalking.oap.server.starter.OAPServerBootstrap -9536 [main] ERROR [] - ../es_keystore.jks
   org.apache.skywalking.oap.server.library.module.ModuleStartException: ../es_keystore.jks
           at org.apache.skywalking.oap.server.storage.plugin.elasticsearch7.StorageModuleElasticsearch7Provider.start(StorageModuleElasticsearch7Provider.java:224) ~[storage-elasticsearch7-plugin-7.0.0.jar:7.0.0]
           at org.apache.skywalking.oap.server.library.module.BootstrapFlow.start(BootstrapFlow.java:58) ~[library-module-7.0.0.jar:7.0.0]
           at org.apache.skywalking.oap.server.library.module.ModuleManager.init(ModuleManager.java:69) ~[library-module-7.0.0.jar:7.0.0]
           at org.apache.skywalking.oap.server.starter.OAPServerBootstrap.start(OAPServerBootstrap.java:43) [server-bootstrap-7.0.0.jar:7.0.0]
           at org.apache.skywalking.oap.server.starter.OAPServerStartUp.main(OAPServerStartUp.java:27) [server-starter-es7-7.0.0.jar:7.0.0]
   Caused by: java.nio.file.NoSuchFileException: ../es_keystore.jks
           at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) ~[?:1.8.0_212]
           at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) ~[?:1.8.0_212]
           at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) ~[?:1.8.0_212]
           at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214) ~[?:1.8.0_212]
           at java.nio.file.Files.newByteChannel(Files.java:361) ~[?:1.8.0_212]
           at java.nio.file.Files.newByteChannel(Files.java:407) ~[?:1.8.0_212]
           at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384) ~[?:1.8.0_212]
           at java.nio.file.Files.newInputStream(Files.java:152) ~[?:1.8.0_212]
           at org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient.createClient(ElasticSearchClient.java:151) ~[library-client-7.0.0.jar:7.0.0]
           at org.apache.skywalking.oap.server.storage.plugin.elasticsearch7.client.ElasticSearch7Client.connect(ElasticSearch7Client.java:95) ~[storage-elasticsearch7-plugin-7.0.0.jar:7.0.0]
           at org.apache.skywalking.oap.server.storage.plugin.elasticsearch7.StorageModuleElasticsearch7Provider.start(StorageModuleElasticsearch7Provider.java:216) ~[storage-elasticsearch7-plugin-7.0.0.jar:7.0.0]
           ... 4 more
   ```
   
   ___
   ### Requirement or improvement
   fix the error: `NoSuchFileException: ../es_keystore.jks`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] lianghuiyuan commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
lianghuiyuan commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-610228388
 
 
   > Set the path empty if you don't have the jks auth or file.
   
   Thank you for reply.
   in the `skywalking/values.yaml` file has been set keystore empty already: `keystore: []`
   ![image](https://user-images.githubusercontent.com/8090998/78642649-a76cf100-78e5-11ea-9179-676e8aa514e8.png)
   
   Is there something wrong?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] lianghuiyuan commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
lianghuiyuan commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-610794452
 
 
   > Did not reproduce the problem you said, there is one thing you should pay attention to when `elasticsearch.enabled = false`, any elasticsearch related configuration except the `elasticsearch.config.x` takes effect is invalid. @lianghuiyuan
   
   - `kubectl get pods -n monitoring`
   ![image](https://user-images.githubusercontent.com/8090998/78750820-9682b500-79a3-11ea-8436-9dbfb19c8f4d.png)
   
   - `kubectl describe pods skywalking-es-init-ds4r8 -n monitoring`
   ![image](https://user-images.githubusercontent.com/8090998/78751371-abac1380-79a4-11ea-999a-0e7a006a950f.png)
   
   - `kubectl logs -f skywalking-es-init-ds4r8 -n monitoring` 
   ![image](https://user-images.githubusercontent.com/8090998/78751905-a26f7680-79a5-11ea-993d-ba3c161f06f6.png)
   
   
   - `vim .\skywalking\values.yaml`
   ![image](https://user-images.githubusercontent.com/8090998/78751710-50c6ec00-79a5-11ea-94ed-c262d0ce5cc9.png)
   
   @innerpeacez 
   
   this problem happens in the pods of Job/skywalking-es-init.
   I am sure this problems happens every time I run `helm install skywalking skywalking -n namespace` while I use aliyun Elasticsearch7.4.0 instead of installing a elasticsearch instance.
   Anyway, in `skywalking\values.yaml` file I have set `user` and `password` already, shouldn't It be ignore to find  `../es_keystore.jks` ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] lianghuiyuan edited a comment on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
lianghuiyuan edited a comment on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-610228388
 
 
   > Set the path empty if you don't have the jks auth or file.
   
   Thank you for reply.
   in the helm chart v2.0.0  `skywalking/values.yaml` file has been set keystore empty already: `keystore: []`
   ![image](https://user-images.githubusercontent.com/8090998/78642649-a76cf100-78e5-11ea-9179-676e8aa514e8.png)
   
   Is there something wrong?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] innerpeacez commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
innerpeacez commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-611289731
 
 
   ```
     elasticsearch7:
       trustStorePath: ${SW_SW_STORAGE_ES_SSL_JKS_PATH:"../es_keystore.jks"}
   ```
   
   this `SW_SW_STORAGE_ES_SSL_JKS_PATH`
   
   > Set the path empty if you don't have the jks auth or file.
   
   Try to modify the `values.yaml` file:
   
   ```
   oap:
     env:
       SW_SW_STORAGE_ES_SSL_JKS_PATH: ""
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] innerpeacez edited a comment on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
innerpeacez edited a comment on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-611939794
 
 
   Just display the problem, the environment variable has been set to
   ![image](https://user-images.githubusercontent.com/37059529/78886357-a2987080-7a90-11ea-9d93-0ed78e26c7ec.png)
    
   But why it didn't take effect.@wu-sheng

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] innerpeacez commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
innerpeacez commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-611939794
 
 
   Just display the problem, the environment variable has been set to
   ![image](https://user-images.githubusercontent.com/37059529/78886357-a2987080-7a90-11ea-9d93-0ed78e26c7ec.png)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] wu-sheng commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-611948597
 
 
   This is a code level bug, if default value is not null, this value can't be overrided to be as an empty string.
   
   Also, @innerpeacez @hanahmily @JaredTan95 this key is not right, having duplicated `SW_`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] wu-sheng commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-610217668
 
 
   Set the path empty if you don't have the jks auth or file.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] innerpeacez commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
innerpeacez commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-610253317
 
 
   Please provide your helm install command. @lianghuiyuan 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] innerpeacez edited a comment on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
innerpeacez edited a comment on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-610765533
 
 
   Did not reproduce the problem you said, there is one thing you should pay attention to when `elasticsearch.enabled = false`, any elasticsearch related configuration except the `elasticsearch.config.x` takes effect is invalid. @lianghuiyuan 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] lianghuiyuan commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
lianghuiyuan commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-610256846
 
 
   > Please provide your helm install command. @lianghuiyuan
   
   my helm install command(the elasticsearch host,port,user,password are in the attach file):
   ```
   helm install skywalking skywalking -n monitoring
   ```
   
   my `skywalking/values.yaml` file:
   [skywalking helm chart values.txt](https://github.com/apache/skywalking/files/4442938/skywalking.helm.chart.values.txt)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] lianghuiyuan opened a new issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
lianghuiyuan opened a new issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613
 
 
   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [x] Question or discussion
   - [x] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   ___
   ### Question
   - What do you want to know?
   what is the `es_keystore.jks` ? 
   how to get `es_keystore.jks` ?
   fix the error: `NoSuchFileException: ../es_keystore.jks`
   ___
   ### Bug
   - Which version of SkyWalking, OS and JRE?
   Helm charts: `v2.0.0`
   Elasticsearch: `7.4.0`
   
   - Which company or project?
   skywalking-kubernetes
   
   - What happen?
   ```
   2020-04-07 06:08:40,297 - org.apache.skywalking.oap.server.library.module.BootstrapFlow -9512 [main] INFO  [] - start the provider default in alarm module.
   2020-04-07 06:08:40,297 - org.apache.skywalking.oap.server.library.module.BootstrapFlow -9512 [main] INFO  [] - start the provider elasticsearch7 in storage module.
   2020-04-07 06:08:40,298 - org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient -9513 [main] INFO  [] - elasticsearch cluster nodes: es-cn-vasdfakgkcvkafasfow09.public.elasticsearch.aliyuncs.com:9200
   2020-04-07 06:08:40,321 - org.apache.skywalking.oap.server.starter.OAPServerBootstrap -9536 [main] ERROR [] - ../es_keystore.jks
   org.apache.skywalking.oap.server.library.module.ModuleStartException: ../es_keystore.jks
           at org.apache.skywalking.oap.server.storage.plugin.elasticsearch7.StorageModuleElasticsearch7Provider.start(StorageModuleElasticsearch7Provider.java:224) ~[storage-elasticsearch7-plugin-7.0.0.jar:7.0.0]
           at org.apache.skywalking.oap.server.library.module.BootstrapFlow.start(BootstrapFlow.java:58) ~[library-module-7.0.0.jar:7.0.0]
           at org.apache.skywalking.oap.server.library.module.ModuleManager.init(ModuleManager.java:69) ~[library-module-7.0.0.jar:7.0.0]
           at org.apache.skywalking.oap.server.starter.OAPServerBootstrap.start(OAPServerBootstrap.java:43) [server-bootstrap-7.0.0.jar:7.0.0]
           at org.apache.skywalking.oap.server.starter.OAPServerStartUp.main(OAPServerStartUp.java:27) [server-starter-es7-7.0.0.jar:7.0.0]
   Caused by: java.nio.file.NoSuchFileException: ../es_keystore.jks
           at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) ~[?:1.8.0_212]
           at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) ~[?:1.8.0_212]
           at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) ~[?:1.8.0_212]
           at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214) ~[?:1.8.0_212]
           at java.nio.file.Files.newByteChannel(Files.java:361) ~[?:1.8.0_212]
           at java.nio.file.Files.newByteChannel(Files.java:407) ~[?:1.8.0_212]
           at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384) ~[?:1.8.0_212]
           at java.nio.file.Files.newInputStream(Files.java:152) ~[?:1.8.0_212]
           at org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient.createClient(ElasticSearchClient.java:151) ~[library-client-7.0.0.jar:7.0.0]
           at org.apache.skywalking.oap.server.storage.plugin.elasticsearch7.client.ElasticSearch7Client.connect(ElasticSearch7Client.java:95) ~[storage-elasticsearch7-plugin-7.0.0.jar:7.0.0]
           at org.apache.skywalking.oap.server.storage.plugin.elasticsearch7.StorageModuleElasticsearch7Provider.start(StorageModuleElasticsearch7Provider.java:216) ~[storage-elasticsearch7-plugin-7.0.0.jar:7.0.0]
           ... 4 more
   ```
   
   ___
   ### Requirement or improvement
   fix the error: `NoSuchFileException: ../es_keystore.jks`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] lianghuiyuan edited a comment on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
lianghuiyuan edited a comment on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-610256846
 
 
   > Please provide your helm install command. @lianghuiyuan
   
   Thank you!
   my helm install command(_the elasticsearch host,port,user,password are in the attach file_):
   ```
   helm install skywalking skywalking -n monitoring
   ```
   
   my `skywalking/values.yaml` file:
   [skywalking helm chart values.txt](https://github.com/apache/skywalking/files/4442938/skywalking.helm.chart.values.txt)
   
   @innerpeacez 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] wu-sheng closed issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] innerpeacez edited a comment on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
innerpeacez edited a comment on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-611289731
 
 
   ```
     elasticsearch7:
       trustStorePath: ${SW_SW_STORAGE_ES_SSL_JKS_PATH:"../es_keystore.jks"}
   ```
   
   this `SW_SW_STORAGE_ES_SSL_JKS_PATH`
   
   > Set the path empty if you don't have the jks auth or file.
   
   Try to modify the `values.yaml` file:
   
   ```
   oap:
     env:
       SW_SW_STORAGE_ES_SSL_JKS_PATH: ""
   ```
   
   @lianghuiyuan

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] innerpeacez commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
innerpeacez commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-610765533
 
 
   Did not reproduce the problem you said, there is one thing you should pay attention to when `elasticsearch.enabled = false`, any elasticsearch related configuration except the elasticsearch.config.x takes effect is invalid. @lianghuiyuan 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] wu-sheng closed issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
wu-sheng closed issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] wu-sheng commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-610233318
 
 
   @innerpeacez Please take a look.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [skywalking] lianghuiyuan commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7

Posted by GitBox <gi...@apache.org>.
lianghuiyuan commented on issue #4613: `NoSuchFileException: ../es_keystore.jks` when helm install skywalking with exist elasticsearch7
URL: https://github.com/apache/skywalking/issues/4613#issuecomment-611418119
 
 
   > ```
   >   elasticsearch7:
   >     trustStorePath: ${SW_SW_STORAGE_ES_SSL_JKS_PATH:"../es_keystore.jks"}
   > ```
   > 
   > this `SW_SW_STORAGE_ES_SSL_JKS_PATH`
   > 
   > > Set the path empty if you don't have the jks auth or file.
   > 
   > Try to modify the `values.yaml` file:
   > 
   > ```
   > oap:
   >   env:
   >     SW_SW_STORAGE_ES_SSL_JKS_PATH: ""
   > ```
   > 
   > @lianghuiyuan
   ---
   
   
   
   
   - **test1 with empty value: SW_SW_STORAGE_ES_SSL_JKS_PATH: ""**
   ```
   oap:
     env:
       SW_SW_STORAGE_ES_SSL_JKS_PATH: ""
   ```
   skywlking/values.yaml
   ![image](https://user-images.githubusercontent.com/8090998/78875637-c8b61480-7a80-11ea-8f7f-97b85eb2305b.png)
   
   result:
   env
   ![image](https://user-images.githubusercontent.com/8090998/78875173-12522f80-7a80-11ea-9089-e862624323b0.png)
   
   log
   ![image](https://user-images.githubusercontent.com/8090998/78875508-95738580-7a80-11ea-9eb9-57dd4c661e45.png)
   
   
   
   
   
   - **test2 with a test value: SW_SW_STORAGE_ES_SSL_JKS_PATH: "aa/test.jks"**
   ```
   oap:
     env:
       SW_SW_STORAGE_ES_SSL_JKS_PATH: "aa/test.jks"
   ```
   skywlking/values.yaml
   ![image](https://user-images.githubusercontent.com/8090998/78874350-d8ccf480-7a7e-11ea-942a-ac80efaa57ec.png)
   
   result:
   env
   ![image](https://user-images.githubusercontent.com/8090998/78874139-7ffd5c00-7a7e-11ea-958a-8776e3b5240c.png)
   
   log
   ![image](https://user-images.githubusercontent.com/8090998/78873750-edf55380-7a7d-11ea-998d-bc03f1e75d98.png)
   
   
   
   
   - **test3 modify skywalking\templates\es-init.job.yaml**
   ![image](https://user-images.githubusercontent.com/8090998/78876160-7f19f980-7a81-11ea-84b5-0e41d073bd14.png)
   
   result:
   env
   ![image](https://user-images.githubusercontent.com/8090998/78876563-197a3d00-7a82-11ea-9f0e-1bb40007fd37.png)
   
   log
   ![image](https://user-images.githubusercontent.com/8090998/78876762-678f4080-7a82-11ea-9fab-92a975bd58e8.png)
   
   
   @innerpeacez 
   All above:  `SW_SW_STORAGE_ES_SSL_JKS_PATH` can not be set empty.
   even `SW_SW_STORAGE_ES_SSL_JKS_PATH` be set empty,  `Job/skywalking-es-init` still find `../es_keystore.jks`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services