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 183 forks source link

Waiting for Createchannel job to be completed #56

Closed swapmote closed 3 years ago

swapmote commented 4 years ago

It hangs at "Waiting for Createchannel job to be completed".. any suggestions please

maheshwarishikha commented 4 years ago

Hi @swapmote , please check https://github.com/IBM/blockchain-network-on-kubernetes/issues/54, it will help. It is because of changes in latest version of Kubernetes. I'll update repository soon with this. Let me know if it helps or not.

swapmote commented 4 years ago

@maheshwarishikha I referred to issue 54 and made the changes regarding dind version, but no luck.. Still facing the same error while channel creation. Any more suggestions please

maheshwarishikha commented 4 years ago

@swapmote , Please share the output of following command.

kubectl version --short

Also, I assume you retried after proper clean-up in your environement and that also did not work.

swapmote commented 4 years ago

@maheshwarishikha Yes.. I did a cleanup and tried.

kuberctl version --short output: Client Version: V1.14.7-eks-1861c5 Server Version: V1.14.6-eks-5047ed

kaizenlabs commented 4 years ago

Does anybody have a fix for this? This repo is unusable right now. Trying to launch this on IBM instead of GCP to try out IBM Cloud for the first time, but having no such luck because of the createChannel issue. Tried changing Line 35 in docker.yaml to " docker:18.09-dind", still getting the issue.

maheshwarishikha commented 4 years ago

@JohnAntonusMaximus , I think you should check once the difference between IBM Cloud Kubernetes Cluster and GCP Cluster, as it works on IBM Cloud Cluster as explained. It might help. Thanks

maheshwarishikha commented 4 years ago

@JohnAntonusMaximus , did it work for you?

basurohit77 commented 4 years ago

hi i got the siillar error, but internall i found in blockchain-orderer pod i found:

[33m2020-06-12 10:06:41.952 UTC [common.deliver] Handle -> WARN 00d[0m Error reading from 172.30.239.44:44062: rpc error: code = Canceled desc = context canceled [34m2020-06-12 10:06:41.952 UTC [comm.grpc.server] 1 -> INFO 00e[0m streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Deliver grpc.peer_address=172.30.239.44:44062 error="rpc error: code = Canceled desc = context canceled" grpc.code=Canceled grpc.call_duration=8.489745ms [31m2020-06-12 10:06:51.373 UTC [cauthdsl] deduplicate -> ERRO 00f[0m Principal deserialization failure (the supplied identity is not valid: x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "ca.org1.example.com")) for identity 0 [33m2020-06-12 10:06:51.373 UTC [orderer.common.broadcast] ProcessMessage -> WARN 010[0m [channel: channel1] Rejecting broadcast of config message from 172.30.183.67:60622 because of error: error validating channel creation transaction for new channel 'channel1', could not succesfully apply update to template configuration: error authorizing update: error validating DeltaSet: policy for [Group] /Channel/Application not satisfied: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Admins' sub-policies to be satisfied [34m2020-06-12 10:06:51.373 UTC [comm.grpc.server] 1 -> INFO 011[0m streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Broadcast grpc.peer_address=172.30.183.67:60622 grpc.code=OK grpc.call_duration=2.980217ms [33m2020-06-12 10:06:51.377 UTC [common.deliver] Handle -> WARN 012[0m Error reading from 172.30.183.67:60620: rpc error: code = Canceled desc = context canceled [34m2020-06-12 10:06:51.377 UTC [comm.grpc.server] 1 -> INFO 013[0m streaming call completed grpc.service=orderer.AtomicBroadcast grpc.method=Deliver grpc.peer_address=172.30.183.67:60620 error="rpc error: code = Canceled desc = context canceled" grpc.code=Canceled grpc.call_duration=12.040193ms

/configFiles/docker.yaml ---> image: "docker:19.03.8-dind" [root@oc4458204364 blockchain-network-on-kubernetes]# kubectl version --short Client Version: v1.17.0 Server Version: v1.16.2

Can you suggest anything

maheshwarishikha commented 3 years ago

@basurohit77 - are you still facing issue?

maheshwarishikha commented 3 years ago

Old issue. Not active. Hence closing.