IBM / blockchain-network-on-kubernetes

Demonstrates the steps involved in setting up your business network on Hyperledger Fabric using Kubernetes APIs on IBM Cloud Kubernetes Service.
https://developer.ibm.com/patterns/deploy-hyperledger-fabric-network-on-ibm-cloud/
Apache License 2.0
316 stars 182 forks source link

If restart the pods, lose the shared-pvc volume data #74

Closed leandrosilvaferreira closed 3 years ago

leandrosilvaferreira commented 4 years ago

To test my persistent data, I rebooted my kubernates service and after that, I lost all my data in shared-pvc volume claim.

`root@blockchain-org1peer1-7fddb4c66f-249wj:/# cd /shared/

root@blockchain-org1peer1-7fddb4c66f-249wj:/shared# ls -lah

total 36K

drwxrwxrwt 9 root root 4.0K Jul 21 18:30 .

drwxr-xr-x 1 root root 4.0K Jul 21 18:29 ..

drwxrwxrwt 2 root root 4.0K Jul 21 18:23 .ICE-unix

drwxrwxrwt 2 root root 4.0K Jul 21 18:23 .Test-unix

drwxrwxrwt 2 root root 4.0K Jul 21 18:23 .X11-unix

drwxrwxrwt 2 root root 4.0K Jul 21 18:23 .XIM-unix

drwxrwxrwt 2 root root 4.0K Jul 21 18:23 .font-unix

drwx------ 3 root root 4.0K Jul 21 18:23 systemd-private-28177ba8811e43d490782af54178f0ce-systemd-resolved.service-sZkfkl

drwx------ 3 root root 4.0K Jul 21 18:23 systemd-private-28177ba8811e43d490782af54178f0ce-systemd-timesyncd.service-vA7pNs `

maheshwarishikha commented 4 years ago

@leandrosilvaferreira - No, that should not happen. Are you trying on IBM Cloud? If yes, did you run setup scripts again after rebooting K8 service?

maheshwarishikha commented 3 years ago

Closing this issue because of no-activity.