Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MXmaster2s/fc2e6898c164bae3b6e5a8bd22634525 to your computer and use it in GitHub Desktop.
Save MXmaster2s/fc2e6898c164bae3b6e5a8bd22634525 to your computer and use it in GitHub Desktop.
rohit@rohit-Swift-SF514-52T:~/workspace/certification-network/network$ ./fabricNetwork.sh install
Installing chaincode for channel 'certificationchannel' with CLI timeout of '15' seconds and CLI delay of '5' seconds and chaincode version '1.1'
Continue? [Y/n] y
proceeding ...
LOCAL_VERSION=1.4.3
DOCKER_IMAGE_VERSION=1.4.7
=================== WARNING ===================
Local fabric binaries and docker images are
out of sync. This may cause problems.
===============================================
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"scripts/installChaincode.sh\": permission denied": unknown
rohit@rohit-Swift-SF514-52T:~/workspace/certification-network/network$ ./fabricNetwork.sh install
Installing chaincode for channel 'certificationchannel' with CLI timeout of '15' seconds and CLI delay of '5' seconds and chaincode version '1.1'
Continue? [Y/n] Y
proceeding ...
LOCAL_VERSION=1.4.3
DOCKER_IMAGE_VERSION=1.4.7
=================== WARNING ===================
Local fabric binaries and docker images are
out of sync. This may cause problems.
===============================================
____ _____ _ ____ _____
/ ___| |_ _| / \ | _ \ |_ _|
\___ \ | | / _ \ | |_) | | |
___) | | | / ___ \ | _ < | |
|____/ |_| /_/ \_\ |_| \_\ |_|
Deploying Chaincode CERTNET On Certification Network
Channel name : certificationchannel
Installing chaincode on peer0.iit.certification-network.com ...
+ peer chaincode install -n certnet -v 1.1 -l node -p /opt/gopath/src/github.com/hyperledger/fabric/peer/chaincode/
+ res=0
+ set +x
2020-06-08 13:41:26.078 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 001 Using default escc
2020-06-08 13:41:26.079 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default vscc
2020-06-08 13:41:26.104 UTC [chaincodeCmd] install -> INFO 003 Installed remotely response:<status:200 payload:"OK" >
===================== Chaincode is installed on peer0.iit =====================
Installing chaincode on peer0.mhrd.certification-network.com ...
+ peer chaincode install -n certnet -v 1.1 -l node -p /opt/gopath/src/github.com/hyperledger/fabric/peer/chaincode/
+ res=0
+ set +x
2020-06-08 13:41:26.184 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 001 Using default escc
2020-06-08 13:41:26.184 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default vscc
2020-06-08 13:41:26.202 UTC [chaincodeCmd] install -> INFO 003 Installed remotely response:<status:200 payload:"OK" >
===================== Chaincode is installed on peer0.mhrd =====================
Installing chaincode on peer0.upgrad.certification-network.com ...
+ peer chaincode install -n certnet -v 1.1 -l node -p /opt/gopath/src/github.com/hyperledger/fabric/peer/chaincode/
+ res=0
+ set +x
2020-06-08 13:41:26.277 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 001 Using default escc
2020-06-08 13:41:26.277 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default vscc
2020-06-08 13:41:26.294 UTC [chaincodeCmd] install -> INFO 003 Installed remotely response:<status:200 payload:"OK" >
===================== Chaincode is installed on peer0.upgrad =====================
Instantiating chaincode on channel using peer0.iit.certification-network.com ...
+ peer chaincode instantiate -o orderer.certification-network.com:7050 -C certificationchannel -n certnet -l node -v 1.1 -c '{"Args":["org.certification-network.certnet:instantiate"]}' -P 'OR ('\''iitMSP.member'\'','\''mhrdMSP.member'\'','\''upgradMSP.member'\'')'
+ res=1
+ set +x
2020-06-08 13:41:26.375 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 001 Using default escc
2020-06-08 13:41:26.375 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 002 Using default vscc
Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:58632->[::1]:53: read: connection refused
!!!!!!!!!!!!!!! Chaincode instantiation on peer0.iit on channel 'certificationchannel' failed !!!!!!!!!!!!!!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment