Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save christo4ferris/aa35e948a8c2b2d7bc5bc11810a82cf7 to your computer and use it in GitHub Desktop.
Save christo4ferris/aa35e948a8c2b2d7bc5bc11810a82cf7 to your computer and use it in GitHub Desktop.
e2e from checkout of https://gerrit.hyperledger.org/r/#/c/8865/2 fails
cbf$ ./network_setup.sh up mychanfoobar
mychanfoobar
Using cryptogen -> /Users/cbf/dev/gocode/bin/cryptogen
##########################################################
##### Generate certificates using cryptogen tool #########
##########################################################
org1.example.com
2017-05-03 10:01:07.660 EDT [bccsp] GetDefault -> WARN 001 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-03 10:01:07.678 EDT [bccsp] GetDefault -> WARN 002 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-03 10:01:07.680 EDT [bccsp] GetDefault -> WARN 003 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-03 10:01:07.686 EDT [bccsp] GetDefault -> WARN 004 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-03 10:01:07.688 EDT [bccsp] GetDefault -> WARN 005 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
org2.example.com
2017-05-03 10:01:07.697 EDT [bccsp] GetDefault -> WARN 006 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-03 10:01:07.712 EDT [bccsp] GetDefault -> WARN 007 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-03 10:01:07.715 EDT [bccsp] GetDefault -> WARN 008 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-03 10:01:07.718 EDT [bccsp] GetDefault -> WARN 009 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-03 10:01:07.721 EDT [bccsp] GetDefault -> WARN 00a Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-03 10:01:07.726 EDT [bccsp] GetDefault -> WARN 00b Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-03 10:01:07.729 EDT [bccsp] GetDefault -> WARN 00c Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-03 10:01:07.732 EDT [bccsp] GetDefault -> WARN 00d Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
Using configtxgen -> /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/build/bin/configtxgen
##########################################################
######### Generating Orderer Genesis block ##############
##########################################################
2017-05-03 10:01:07.883 EDT [common/configtx/tool] main -> INFO 001 Loading configuration
2017-05-03 10:01:07.900 EDT [msp] getMspConfig -> INFO 002 intermidiate certs folder not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/ordererOrganizations/example.com/msp/intermediatecerts]. Skipping.: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/ordererOrganizations/example.com/msp/intermediatecerts: no such file or directory]
2017-05-03 10:01:07.900 EDT [msp] getMspConfig -> INFO 003 crls folder not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/ordererOrganizations/example.com/msp/intermediatecerts]. Skipping.: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/ordererOrganizations/example.com/msp/crls: no such file or directory]
2017-05-03 10:01:07.900 EDT [msp] getMspConfig -> INFO 004 MSP configuration file not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/ordererOrganizations/example.com/msp/config.yaml]: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/ordererOrganizations/example.com/msp/config.yaml: no such file or directory]
2017-05-03 10:01:07.902 EDT [msp] getMspConfig -> INFO 005 intermidiate certs folder not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/peerOrganizations/org1.example.com/msp/intermediatecerts]. Skipping.: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/peerOrganizations/org1.example.com/msp/intermediatecerts: no such file or directory]
2017-05-03 10:01:07.902 EDT [msp] getMspConfig -> INFO 006 crls folder not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/peerOrganizations/org1.example.com/msp/intermediatecerts]. Skipping.: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/peerOrganizations/org1.example.com/msp/crls: no such file or directory]
2017-05-03 10:01:07.902 EDT [msp] getMspConfig -> INFO 007 MSP configuration file not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/peerOrganizations/org1.example.com/msp/config.yaml]: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/peerOrganizations/org1.example.com/msp/config.yaml: no such file or directory]
2017-05-03 10:01:07.905 EDT [msp] getMspConfig -> INFO 008 intermidiate certs folder not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/peerOrganizations/org2.example.com/msp/intermediatecerts]. Skipping.: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/peerOrganizations/org2.example.com/msp/intermediatecerts: no such file or directory]
2017-05-03 10:01:07.905 EDT [msp] getMspConfig -> INFO 009 crls folder not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/peerOrganizations/org2.example.com/msp/intermediatecerts]. Skipping.: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/peerOrganizations/org2.example.com/msp/crls: no such file or directory]
2017-05-03 10:01:07.905 EDT [msp] getMspConfig -> INFO 00a MSP configuration file not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/peerOrganizations/org2.example.com/msp/config.yaml]: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/e2e_cli/crypto-config/peerOrganizations/org2.example.com/msp/config.yaml: no such file or directory]
2017-05-03 10:01:07.908 EDT [common/configtx/tool] doOutputBlock -> INFO 00b Generating genesis block
2017-05-03 10:01:07.921 EDT [common/configtx/tool] doOutputBlock -> INFO 00c Writing genesis block
#################################################################
### Generating channel configuration transaction 'channel.tx' ###
#################################################################
2017-05-03 10:01:07.950 EDT [common/configtx/tool] main -> INFO 001 Loading configuration
2017-05-03 10:01:07.957 EDT [common/configtx/tool] doOutputChannelCreateTx -> INFO 002 Generating new channel configtx
2017-05-03 10:01:07.958 EDT [common/configtx/tool] doOutputChannelCreateTx -> INFO 003 Writing new channel tx
#################################################################
####### Generating anchor peer update for Org0MSP ##########
#################################################################
2017-05-03 10:01:07.991 EDT [common/configtx/tool] main -> INFO 001 Loading configuration
2017-05-03 10:01:07.997 EDT [common/configtx/tool] doOutputAnchorPeersUpdate -> INFO 002 Generating anchor peer update
2017-05-03 10:01:07.997 EDT [common/configtx/tool] doOutputAnchorPeersUpdate -> INFO 003 Writing anchor peer update
#################################################################
####### Generating anchor peer update for Org1MSP ##########
#################################################################
2017-05-03 10:01:08.022 EDT [common/configtx/tool] main -> INFO 001 Loading configuration
2017-05-03 10:01:08.033 EDT [common/configtx/tool] doOutputAnchorPeersUpdate -> INFO 002 Generating anchor peer update
2017-05-03 10:01:08.034 EDT [common/configtx/tool] doOutputAnchorPeersUpdate -> INFO 003 Writing anchor peer update
Creating network "e2ecli_default" with the default driver
Creating peer0.org1.example.com
Creating peer1.org2.example.com
Creating peer1.org1.example.com
Creating orderer.example.com
Creating peer0.org2.example.com
Creating cli
____ _____ _ ____ _____ _____ ____ _____
/ ___| |_ _| / \ | _ \ |_ _| | ____| |___ \ | ____|
\___ \ | | / _ \ | |_) | | | _____ | _| __) | | _|
___) | | | / ___ \ | _ < | | |_____| | |___ / __/ | |___
|____/ |_| /_/ \_\ |_| \_\ |_| |_____| |_____| |_____|
Channel name : mychanfoobar
CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/ca.crt
CORE_PEER_TLS_KEY_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.key
CORE_PEER_LOCALMSPID=Org0MSP
CORE_VM_ENDPOINT=unix:///host/var/run/docker.sock
CORE_PEER_TLS_CERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/server.crt
CORE_PEER_TLS_ENABLED=true
CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp
CORE_PEER_ID=cli
CORE_LOGGING_LEVEL=DEBUG
CORE_PEER_ADDRESS=peer0.org1.example.com:7051
panic: Fatal error when setting up MSP from directory /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp: err Could not load a valid signer certificate from directory /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts, err stat /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts: no such file or directory
goroutine 1 [running]:
panic(0xc1ac20, 0xc42021f600)
/opt/go/src/runtime/panic.go:500 +0x1a1
main.main()
/opt/gopath/src/github.com/hyperledger/fabric/peer/main.go:114 +0x692
!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
================== ERROR !!! FAILED to execute End-2-End Scenario ==================
@cyberSlav
Copy link

do you end up fixing it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment