I am facing couple of issues when running e2e_cli examples.
I was able to complete all the steps(mentioned in documentation) before running this example
LOGS
sudo ./network_setup.sh up sahil
Channel name - sahil
Building configtxgen
Makefile:72: *** "No go in PATH: Check dependencies". Stop.
Generating genesis block
2017/04/19 13:00:16 Loading configuration
2017/04/19 13:00:16 Could not find configtx.yaml in paths of [ ].Try setting ORDERER_CFG_PATH, PEER_CFG_PATH, or GOPATH correctly.
mv: cannot stat 'orderer.block': No such file or directory
Generating channel configuration transaction
2017/04/19 13:00:16 Loading configuration
2017/04/19 13:00:16 Could not find configtx.yaml in paths of [ ].Try setting ORDERER_CFG_PATH, PEER_CFG_PATH, or GOPATH correctly.
mv: cannot stat 'channel.tx': No such file or directory
Starting orderer0
peer0 is up-to-date
peer1 is up-to-date
peer2 is up-to-date
peer3 is up-to-date
Recreating cli
Channel name : sahil
2017-04-19 13:00:18.269 UTC [logging] InitFromViper -> DEBU 001 Setting default logging level to DEBUG for command 'channel'
2017-04-19 13:00:18.269 UTC [msp] GetLocalMSP -> DEBU 002 Returning existing local MSP
2017-04-19 13:00:18.269 UTC [msp] GetDefaultSigningIdentity -> DEBU 003 Obtaining default signing identity
Error connecting: rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure
Error: rpc error: code = 14 desc = grpc: RPC failed fast due to transport failure
Usage:
peer channel create [flags]
!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
================== ERROR !!! FAILED to execute End-2-End Scenario ==================
go is in path
sahil.kapoor@a1dvmcphdlt01:~/work/src/github.com/hyperledger/fabric/examples/e2e_cli $ go version
go version go1.8 linux/amd64
Could not find configtx.yaml in paths of [ ].. This file also present.
GOPATH=/home/sahil.kapoor/work
GOROOT=/usr/local/go
And my farbic folder is inside GOPATH
/work/src/github.com/hyperledger/fabric/examples/e2e_cli
code
blocks. That will be much easier to read – Guillaume