You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "wuyudian1 (via GitHub)" <gi...@apache.org> on 2024/03/10 06:17:58 UTC

[I] Pulsar Manager v0.4.0 in kubernetes still can not persist any data [pulsar-helm-chart]

wuyudian1 opened a new issue, #470:
URL: https://github.com/apache/pulsar-helm-chart/issues/470

   **Describe the bug**
   I upgraded our Pulsar to Chart v3.3.0, and the custom values for Pulsar Manager are as follows:
   ```yml
   pulsar_manager:
     nodeSelector:
       pulsar: "true"
     service:
       type: ClusterIP
     volumes:
       data:
         storageClassName: ebs-gp3
         local_storage: false
         size: 1Gi
   ```
   After creating an environment and some tenants in the web console, I restarted the Pulsar Manager pod to verify whether the data would be persisted. The result was that no data was persisted. I had to recreate the admin user and password via the REST API and recreate all my tenants and related objects.
   
   In the Pulsar Manager POD, the configuration file (/pulsar-manager/pulsar-manager/application.properties) defaults to using HerdDB (which is not persisted), and the PostgreSQL related flags were commented out:
   ```ini
   spring.datasource.schema=classpath:/META-INF/sql/herddb-schema.sql
   spring.datasource.username=sa
   spring.datasource.password=hdb
   spring.datasource.initialization-mode=always
   
   # postgresql configuration
   #spring.datasource.driver-class-name=org.postgresql.Driver
   #spring.datasource.url=jdbc:postgresql://127.0.0.1:5432/pulsar_manager
   #spring.datasource.username=postgres
   #spring.datasource.password=postgres
   ```
   In the PV, I only found files of postgresql database, but no herddb relates files.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. install the latest version of Chart will  reproduce it:
   `helm install pulsar pulsar/pulsar`
   


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pulsar Manager v0.4.0 in kubernetes still can not persist any data [pulsar-helm-chart]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on issue #470:
URL: https://github.com/apache/pulsar-helm-chart/issues/470#issuecomment-2032102604

   Contributions are welcome to fix this issue! /cc @Mortom123 


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Pulsar Manager v0.4.0 in kubernetes still can not persist any data [pulsar-helm-chart]

Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari closed issue #470: Pulsar Manager v0.4.0 in kubernetes still can not persist any data
URL: https://github.com/apache/pulsar-helm-chart/issues/470


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

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org