Я пытаюсь построить сеть с фабрикой Hyperledger, но каждый раз, когда она показывает мне ошибку.
Также я использую докер-образы 1.0.3.
npm version: 5.6.0
nodejs version: v4.2.6
Client:
Version: 18.05.0-ce
API version: 1.37
Go version: go1.9.5
Git commit: f150324
Built: Wed May 9 22:16:25 2018
OS/Arch: linux/amd64
Experimental: false
Orchestrator: swarm
Server:
Engine:
Version: 18.05.0-ce
API version: 1.37 (minimum version 1.12)
Go version: go1.9.5
Git commit: f150324
Built: Wed May 9 22:14:32 2018
OS/Arch: linux/amd64
Experimental: false
docker-compose version 1.16.0-rc1, build 9bea70a
docker-py version: 2.5.0
CPython version: 2.7.13
OpenSSL version: OpenSSL 1.0.1t 3 May 2016
Generating certs and genesis block for channel 'mychannel' with CLI timeout of '10' seconds and CLI delay of '3' seconds
Continue? [Y/n] y
proceeding ...
/home/bashayer/fabric-samples/first-network/../bin/cryptogen
##########################################################
##### Generate certificates using cryptogen tool #########
##########################################################
+ cryptogen generate --config=./crypto-config.yaml
org1.example.com
org2.example.com
+ res=0
+ set +x
/home/bashayer/fabric-samples/first-network/../bin/configtxgen
##########################################################
######### Generating Orderer Genesis block ##############
##########################################################
+ configtxgen -profile TwoOrgsOrdererGenesis -outputBlock ./channel-artifacts/genesis.block
2018-07-06 16:29:48.898 +03 [common/tools/configtxgen] main -> WARN 001 Omitting the channel ID for configtxgen is deprecated. Explicitly passing the channel ID will be required in the future, defaulting to 'testchainid'.
2018-07-06 16:29:48.898 +03 [common/tools/configtxgen] main -> INFO 002 Loading configuration
2018-07-06 16:29:48.906 +03 [common/tools/configtxgen/encoder] NewChannelGroup -> WARN 003 Default policy emission is deprecated, please include policy specificiations for the channel group in configtx.yaml
2018-07-06 16:29:48.906 +03 [common/tools/configtxgen/encoder] NewOrdererGroup -> WARN 004 Default policy emission is deprecated, please include policy specificiations for the orderer group in configtx.yaml
2018-07-06 16:29:48.906 +03 [common/tools/configtxgen/encoder] NewOrdererOrgGroup -> WARN 005 Default policy emission is deprecated, please include policy specificiations for the orderer org group OrdererOrg in configtx.yaml
2018-07-06 16:29:48.907 +03 [msp] getMspConfig -> INFO 006 Loading NodeOUs
2018-07-06 16:29:48.907 +03 [common/tools/configtxgen/encoder] NewOrdererOrgGroup -> WARN 007 Default policy emission is deprecated, please include policy specificiations for the orderer org group Org1MSP in configtx.yaml
2018-07-06 16:29:48.907 +03 [msp] getMspConfig -> INFO 008 Loading NodeOUs
2018-07-06 16:29:48.907 +03 [common/tools/configtxgen/encoder] NewOrdererOrgGroup -> WARN 009 Default policy emission is deprecated, please include policy specificiations for the orderer org group Org2MSP in configtx.yaml
2018-07-06 16:29:48.907 +03 [common/tools/configtxgen] doOutputBlock -> INFO 00a Generating genesis block
2018-07-06 16:29:48.908 +03 [common/tools/configtxgen] doOutputBlock -> INFO 00b Writing genesis block
2018-07-06 16:29:48.908 +03 [common/tools/configtxgen] main -> CRIT 00c Error on outputBlock: Error writing genesis block: open ./channel-artifacts/genesis.block: is a directory
+ res=1
+ set +x
Failed to generate orderer genesis block...