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/03/10 02:58:36 UTC

[GitHub] [skywalking] wu-sheng opened a new issue #4477: Support ES username/password change dynamically

wu-sheng opened a new issue #4477: Support ES username/password change dynamically
URL: https://github.com/apache/skywalking/issues/4477
 
 
   By following #4475, the ES username/password could be changed through file, like using Vault. 
   Provide a properties format and being watched file, which could be changed from time to time by 3rd party tool. Once the file content changed, the ES storage will trigger ES reconnection.

----------------------------------------------------------------
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] JaredTan95 removed a comment on issue #4477: Support ES username/password change dynamically

Posted by GitBox <gi...@apache.org>.
JaredTan95 removed a comment on issue #4477: Support ES username/password change dynamically
URL: https://github.com/apache/skywalking/issues/4477#issuecomment-598688146
 
 
   tested `user/password` changed scenario, and LGTM:
   
   ```bash
   ······
   	Caused by: org.elasticsearch.client.ResponseException: method [POST], host [http://localhost:9200], URI [/profile_task/type/_search?typed_keys=true&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&search_type=query_then_fetch&batched_reduce_size=512], status line [HTTP/1.1 401 Unauthorized]
   {"error":{"root_cause":[{"type":"security_exception","reason":"failed to authenticate user [elastic]","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}}],"type":"security_exception","reason":"failed to authenticate user [elastic]","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}},"status":401}
   ······
   org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient - 176 [pool-2-thread-1] INFO  [] - elasticsearch cluster nodes: localhost:9200
   ```

----------------------------------------------------------------
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] JaredTan95 commented on issue #4477: Support ES username/password change dynamically

Posted by GitBox <gi...@apache.org>.
JaredTan95 commented on issue #4477: Support ES username/password change dynamically
URL: https://github.com/apache/skywalking/issues/4477#issuecomment-598688146
 
 
   tested `user/password` changed scenario, and LGTM:
   
   ```bash
   ······
   	Caused by: org.elasticsearch.client.ResponseException: method [POST], host [http://localhost:9200], URI [/profile_task/type/_search?typed_keys=true&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&search_type=query_then_fetch&batched_reduce_size=512], status line [HTTP/1.1 401 Unauthorized]
   {"error":{"root_cause":[{"type":"security_exception","reason":"failed to authenticate user [elastic]","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}}],"type":"security_exception","reason":"failed to authenticate user [elastic]","header":{"WWW-Authenticate":"Basic realm=\"security\" charset=\"UTF-8\""}},"status":401}
   ······
   org.apache.skywalking.oap.server.library.client.elasticsearch.ElasticSearchClient - 176 [pool-2-thread-1] INFO  [] - elasticsearch cluster nodes: localhost:9200
   ```

----------------------------------------------------------------
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] JaredTan95 commented on issue #4477: Support ES username/password change dynamically

Posted by GitBox <gi...@apache.org>.
JaredTan95 commented on issue #4477: Support ES username/password change dynamically
URL: https://github.com/apache/skywalking/issues/4477#issuecomment-598704367
 
 
   provided.

----------------------------------------------------------------
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] JaredTan95 closed issue #4477: Support ES username/password change dynamically

Posted by GitBox <gi...@apache.org>.
JaredTan95 closed issue #4477: Support ES username/password change dynamically
URL: https://github.com/apache/skywalking/issues/4477
 
 
   

----------------------------------------------------------------
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