Chaincode container is running but query operation gives chaincode instantiation failed #fabric-chaincode

Suresh Appana


I am trying to setup HLF to run in K8s. I see that peer is starting chaincode container and chaincode container is running succesfully. But instantiation step is exiting with EOF and when I perform a query, its failed with the error message:

Error: endorsement failure during query. response: status:500 message:"make sure the chaincode test_cc has been successfully instantiated and try again: chaincode test_cc not found"

Attached logs of instantiation and query. My setup is peer pod contains: peer container and dind. Chaincode container runs in dind.



Join to automatically receive all group messages.