aws-samples / hyperledger-on-kubernetes

Builds a Hyperledger Fabric network on Kubernetes
MIT No Attribution
119 stars 64 forks source link

Generating channel artifacts #19

Closed aleksandarnasuovski closed 4 years ago

aleksandarnasuovski commented 5 years ago

updateChannelArtifacts function create container inside org0 namespace and mount org0 data and scripts folder but gen-channel-artifacts.sh search msp folders for other orgs and getting error:

2019-08-08 09:55:05.697 UTC [common.tools.configtxgen.encoder] New -> PANI 007 Error creating channel group: could not create consortiums group: failed to create consortium SampleConsortium: failed to create consortium org: 1 - Error loading MSP configuration for org: org1: could not load a valid ca certificate from directory /data/orgs/org1/msp/cacerts: stat /data/orgs/org1/msp/cacerts: no such file or directory

I'm using pvc per Org so that could be a problem. Channel artifacts mount nfs rca-scripts path so can access all Orgs MSP.