Closed Nova38 closed 1 year ago
I also am occationally getting this error when I try to do the first two commands. Note that the host i am running the commands on has the ip address of 129.237.120.240 and the host it deployed on had 129.237.120.78. Interestingly it then worked 5 minutes latter. I had waited for the running condition to work: kubectl wait --timeout=180s --for=condition=Running fabriccas.hlf.kungfusoftware.es --all
. I included the hlf inspects when it didn't work and then after it started working.
I also tried giving it the host's ip as --ca-host and the port as --ca-port. (i also tried leaving off the ca-name and swapping the ip address for the ca-name but both errored out)
kubectl hlf peer create --name=org1-peer0 \
--ca-name=org1-ca.default --ca-host=129.237.120.240 --ca-port=30986 \
--statedb=couchdb --image=hyperledger/fabric-peer --version=2.4.6 --storage-class=standard \
--enroll-id=org1-peer0 --enroll-pw=peerpw \
--capacity=5Gi --mspid=Org1MSP
What happened?
I had some difficulty getting the instructions for the ISTIO setup; namely getting it to work when accessing Istio gateway via nodeport as I don't have a load balancer. (I was having some issues trying to get the dns to work with the mutli-host cluster). I tore down the cluster and brought it back up to see if i could get it to work with node ports instead. I was able to get it to successfully create the CA's and register the users. However, when i tried to create a peer it ended up the operator ends up in a loop and never creates the peer.
(seems similar to issue #23 but the solution was not included in the issue)
What did you expect to happen?
For it to create the specified peer node
How can we reproduce it (as minimally and precisely as possible)?
I have a small cluster of 4 ubuntu 22.04 boxes running Kubernetes though canonical microk8s Kubernetes tool. I was able to replicate the issue after reinstalling the hlf operator from scratch and then running the following commands:
Anything else we need to know?
Today's log after removing hlf operator an reinstall it.
Yesterdays log when i tried to make 4 peers and ran into the same issue.
Kubernetes version