You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/11/18 15:53:44 UTC

[GitHub] [pulsar] pedro93 opened a new issue #5687: Failed to enable State API in K8s installation

pedro93 opened a new issue #5687: Failed to enable State API in K8s installation
URL: https://github.com/apache/pulsar/issues/5687
 
 
   **Describe the bug**
   Can't enable State API in a minikube-based installation of Pulsar, despite adding the appropriate property `extraServerComponents` to the values-mini.yaml in the bookkeeper.configData section.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Add the following line to values-mini.yaml under the bookkeeper.configData section:
   ```yaml
   extraServerComponents: "org.apache.bookkeeper.stream.server.StreamStorageLifecycleComponent"
   ```
   2. Launch pulsar cluster via helm (this is using the helm templates found in this repo):
   ```
   helm install . --values values-mini.yaml helm -n pulsar
   ```
   3. When the K8s cluster is ready, check the configuration of the bookkeeper nodes and confirm that the `extraServerComponents` property in `conf/bookkeeper.conf` is not defined with the specified value.
   
   **Expected behavior**
   That following the steps to reproduce the bookkeeper nodes would have this property defined.
   
   **Desktop (please complete the following information):**
    - OS: Ubuntu 18.04
    - Minikube (v1.4.0) deployment
    - Pulsar version v2.4.1
   
   **Additional context**
   I believe this issue is due to https://github.com/apache/pulsar/commits/master/docker/pulsar/scripts/apply-config-from-env.py which ignores commented lines, as such to fix this issue, the extraServerComponents property should not be commented but defined with a default empty value. This issue is not limited to the aforementioned property only but to all properties that are commented out, as the setup/procedure to enable such features are not working for K8s deployments.
   

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