Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save christo4ferris/fd35222c38ec04a298c8eaf0da944be7 to your computer and use it in GitHub Desktop.
Save christo4ferris/fd35222c38ec04a298c8eaf0da944be7 to your computer and use it in GitHub Desktop.
output from make compose-up https://gerrit.hyperledger.org/r/#/c/8579/
cbf$ make compose-up
build/bin/cryptogen generate --config config/cryptogen.yaml --output build/cryptogen
org1.net
2017-05-04 14:50:27.964 EDT [bccsp] GetDefault -> WARN 001 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-04 14:50:27.987 EDT [bccsp] GetDefault -> WARN 002 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-04 14:50:27.991 EDT [bccsp] GetDefault -> WARN 003 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-04 14:50:27.992 EDT [bccsp] GetDefault -> WARN 004 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-04 14:50:27.994 EDT [bccsp] GetDefault -> WARN 005 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-04 14:50:27.996 EDT [bccsp] GetDefault -> WARN 006 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-04 14:50:27.998 EDT [bccsp] GetDefault -> WARN 007 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-04 14:50:28.003 EDT [bccsp] GetDefault -> WARN 008 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-04 14:50:28.004 EDT [bccsp] GetDefault -> WARN 009 Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
2017-05-04 14:50:28.008 EDT [bccsp] GetDefault -> WARN 00a Before using BCCSP, please call InitFactories(). Falling back to bootBCCSP.
GOBIN=/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/bin go install github.com/hyperledger/fabric/common/configtx/tool/configtxgen
cp config/configtx.yaml build/configtx.yaml
cp config/core.yaml build/core.yaml
FABRIC_CFG_PATH=build build/bin/configtxgen -profile SampleOrg -outputBlock build/nodes/orderer/genesis.block
2017-05-04 14:50:31.617 EDT [common/configtx/tool] main -> INFO 001 Loading configuration
2017-05-04 14:50:31.622 EDT [msp] getMspConfig -> INFO 002 intermidiate certs folder not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/ordererOrganizations/orderer.net/msp/intermediatecerts]. Skipping.: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/ordererOrganizations/orderer.net/msp/intermediatecerts: no such file or directory]
2017-05-04 14:50:31.622 EDT [msp] getMspConfig -> INFO 003 crls folder not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/ordererOrganizations/orderer.net/msp/intermediatecerts]. Skipping.: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/ordererOrganizations/orderer.net/msp/crls: no such file or directory]
2017-05-04 14:50:31.622 EDT [msp] getMspConfig -> INFO 004 MSP configuration file not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/ordererOrganizations/orderer.net/msp/config.yaml]: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/ordererOrganizations/orderer.net/msp/config.yaml: no such file or directory]
2017-05-04 14:50:31.623 EDT [msp] getMspConfig -> INFO 005 intermidiate certs folder not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/peerOrganizations/org1.net/msp/intermediatecerts]. Skipping.: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/peerOrganizations/org1.net/msp/intermediatecerts: no such file or directory]
2017-05-04 14:50:31.623 EDT [msp] getMspConfig -> INFO 006 crls folder not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/peerOrganizations/org1.net/msp/intermediatecerts]. Skipping.: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/peerOrganizations/org1.net/msp/crls: no such file or directory]
2017-05-04 14:50:31.623 EDT [msp] getMspConfig -> INFO 007 MSP configuration file not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/peerOrganizations/org1.net/msp/config.yaml]: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/peerOrganizations/org1.net/msp/config.yaml: no such file or directory]
2017-05-04 14:50:31.624 EDT [msp] getMspConfig -> INFO 008 intermidiate certs folder not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/ordererOrganizations/orderer.net/msp/intermediatecerts]. Skipping.: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/ordererOrganizations/orderer.net/msp/intermediatecerts: no such file or directory]
2017-05-04 14:50:31.624 EDT [msp] getMspConfig -> INFO 009 crls folder not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/ordererOrganizations/orderer.net/msp/intermediatecerts]. Skipping.: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/ordererOrganizations/orderer.net/msp/crls: no such file or directory]
2017-05-04 14:50:31.624 EDT [msp] getMspConfig -> INFO 00a MSP configuration file not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/ordererOrganizations/orderer.net/msp/config.yaml]: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/ordererOrganizations/orderer.net/msp/config.yaml: no such file or directory]
2017-05-04 14:50:31.624 EDT [msp] getMspConfig -> INFO 00b intermidiate certs folder not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/peerOrganizations/org1.net/msp/intermediatecerts]. Skipping.: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/peerOrganizations/org1.net/msp/intermediatecerts: no such file or directory]
2017-05-04 14:50:31.624 EDT [msp] getMspConfig -> INFO 00c crls folder not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/peerOrganizations/org1.net/msp/intermediatecerts]. Skipping.: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/peerOrganizations/org1.net/msp/crls: no such file or directory]
2017-05-04 14:50:31.624 EDT [msp] getMspConfig -> INFO 00d MSP configuration file not found at [/Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/peerOrganizations/org1.net/msp/config.yaml]: [stat /Users/cbf/dev/gocode/src/github.com/hyperledger/fabric/examples/cluster/build/cryptogen/peerOrganizations/org1.net/msp/config.yaml: no such file or directory]
2017-05-04 14:50:31.625 EDT [common/configtx/tool] doOutputBlock -> INFO 00e Generating genesis block
2017-05-04 14:50:31.627 EDT [common/configtx/tool] doOutputBlock -> INFO 00f Writing genesis block
Built build/nodes/orderer
FABRIC_CFG_PATH=build build/bin/configtxgen -profile SampleChannel \
-channelID mychannel \
-outputCreateChannelTx build/channel.tx
2017-05-04 14:50:31.672 EDT [common/configtx/tool] main -> INFO 001 Loading configuration
2017-05-04 14:50:31.679 EDT [common/configtx/tool] doOutputChannelCreateTx -> INFO 002 Generating new channel configtx
2017-05-04 14:50:31.680 EDT [common/configtx/tool] doOutputChannelCreateTx -> INFO 003 Writing new channel tx
FABRIC_CFG_PATH=build build/bin/configtxgen -profile SampleChannel \
-channelID mychannel \
-outputAnchorPeersUpdate build/anchor.tx \
-asOrg Org1MSP
2017-05-04 14:50:31.714 EDT [common/configtx/tool] main -> INFO 001 Loading configuration
2017-05-04 14:50:31.719 EDT [common/configtx/tool] doOutputAnchorPeersUpdate -> INFO 002 Generating anchor peer update
2017-05-04 14:50:31.719 EDT [common/configtx/tool] doOutputAnchorPeersUpdate -> INFO 003 Writing anchor peer update
Built build/nodes/cli
docker-compose -f compose/docker-compose.yaml up -d ca peer1 peer2 peer3 peer4
Creating orderer
Creating ca
Creating peer1
Creating peer2
Creating peer3
Creating peer4
docker-compose -f compose/docker-compose.yaml run --rm cli ./configure.sh mychannel "build/channel.tx build/anchor.tx" "peer1 peer2 peer3 peer4" true
+ set -e
+ CHANNEL_NAME=mychannel
+ CHANNEL_TXNS='build/channel.tx build/anchor.tx'
+ PEERS='peer1 peer2 peer3 peer4'
+ TLS_ENABLED=true
+ CA_CRT=build/cryptogen/ordererOrganizations/orderer.net/ca/ca.orderer.net-cert.pem
+ '[' true == true ']'
+ CREATE_OPTS='--tls --cafile build/cryptogen/ordererOrganizations/orderer.net/ca/ca.orderer.net-cert.pem'
+ for TXN in '$CHANNEL_TXNS'
+ peer channel create -o orderer:7050 -c mychannel -f build/channel.tx --tls --cafile build/cryptogen/ordererOrganizations/orderer.net/ca/ca.orderer.net-cert.pem
2017-05-04 18:50:39.758 UTC [msp] getMspConfig -> INFO 001 intermidiate certs folder not found at [/etc/hyperledger/fabric/msp/intermediatecerts]. Skipping.: [stat /etc/hyperledger/fabric/msp/intermediatecerts: no such file or directory]
2017-05-04 18:50:39.758 UTC [msp] getMspConfig -> INFO 002 crls folder not found at [/etc/hyperledger/fabric/msp/intermediatecerts]. Skipping.: [stat /etc/hyperledger/fabric/msp/crls: no such file or directory]
2017-05-04 18:50:39.759 UTC [msp] getMspConfig -> INFO 003 MSP configuration file not found at [/etc/hyperledger/fabric/msp/config.yaml]: [stat /etc/hyperledger/fabric/msp/config.yaml: no such file or directory]
2017-05-04 18:50:39.780 UTC [msp] GetLocalMSP -> DEBU 004 Returning existing local MSP
2017-05-04 18:50:39.781 UTC [msp] GetDefaultSigningIdentity -> DEBU 005 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]
Global Flags:
-b, --blockpath string Path to file containing genesis block
--cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint
-c, --chain string In case of a newChain command, the chain ID to create.
-f, --file string Configuration transaction file generated by a tool such as configtxgen for submitting to orderer
--logging-level string Default logging level and overrides, see core.yaml for full syntax
-o, --orderer string Ordering service endpoint
--test.coverprofile string Done (default "coverage.cov")
--tls Use TLS when communicating with the orderer endpoint
-v, --version Display current version of fabric peer server
make: *** [compose-up] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment