aidtechnology / lf-k8s-hlf-webinar

Material for Webinar "A Hitchhiker's guide to deploying Hyperledger Fabric on Kubernetes"
GNU General Public License v3.0
127 stars 68 forks source link

Which version of the Hyperledger Fabrics are supported? #4

Closed yinwhm12 closed 5 years ago

yinwhm12 commented 5 years ago

Sorry, I have some troubles to read the if-k8s-hlf-webinar. I am confused to which version of the charts(hlf-ord,hlf-peer...) you are using. I got that the image of fabric-network is 1.2.0(1.2.1) by the files of value.yaml. So i choose the following charts: hlf-ord is 1.2.2v; hlf-peer is 1.2.0v Action:

  1. use the fabric-tool creates the crypto material
  2. follow the values.yaml to fill some params
  3. launch the fabric-network(1.2 version) successful

Error: can not create channel Error Info:create the channel command Error: got unexpoected status: BAD_REQUEST -- error authorizing update: error validationg DeltaSet: policy for [Group] /Channel/Application not satisfied: Failed to reach implicit threshold of 1 sub-policies, required 1 remaining command terminated with exit code 1

orderer some errors: Evaluation Failed: Only 0 policies were satisfy policy /Channel/Application/ChannelCreationPolicy ...

I sure the crypto material is OK, because the orderer is running without error and the peer does so. So i will be appreciated that you spend some time solving the troubles. TY(Thank you)

yinwhm12 commented 5 years ago

and I find the parameter caServerTls in your values.yaml, but Official values.yaml did not contain the parameter. SO I' confused.

yinwhm12 commented 5 years ago

my project is just simple, no ca ,no PV ... , just one orderer and one peer(one org)

yinwhm12 commented 5 years ago

image

image

alexvicegrab commented 5 years ago

Hi @yinwhm12, I have been using 1.2 for the webinar, and have made things work also for version 1.3 as well.

The Webinar only shows how to deploy with a CA. Nowadays, I recommend that you check out the Workshop material instead (this has 2 examples, one with a single peer and orderer, without a CA, and one with multiple peers and orderers and a CA):

https://github.com/aidtechnology/hgf-k8s-workshop