Re: Issues with docker in Fedora 30? #docker


Tong Li
 

Looks like that the ports were fire-walled. Please see this doc https://github.com/litong01/minifabric/blob/master/docs/RunningOnFedora.md to get a solution on how to do this.

Thanks.

Tong Li
IBM Open Technology

mario.schwaiger---08/26/2020 03:13:52 PM---This is getting weirder and weirder. I removed everything, tried to start from a clean build. Got th

From: mario.schwaiger@...
To: fabric@...
Date: 08/26/2020 03:13 PM
Subject: [EXTERNAL] Re: [Hyperledger Fabric] Issues with docker in Fedora 30? #docker
Sent by: fabric@...





This is getting weirder and weirder. I removed everything, tried to start from a clean build. Got this. (I have to say the peer might be there because I tried docker run hyperledger/fabric-peer - this kind of worked. The docker didn't terminate, but just ran alone)

(base) [user@f30 fabcar]$ docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
(base) [user@f30 fabcar]$ docker ps -a
CONTAINER ID        IMAGE                          COMMAND                  CREATED             STATUS                         PORTS               NAMES
3176e64e6867        hyperledger/fabric-ca:latest   "sh -c 'fabric-ca-se…"   21 seconds ago      Exited (1) 18 seconds ago                          ca_org2
1b2b4aab97fe        hyperledger/fabric-ca:latest   "sh -c 'fabric-ca-se…"   21 seconds ago      Exited (1) 18 seconds ago                          ca_org1
a526a72ac87d        hyperledger/fabric-ca:latest   "sh -c 'fabric-ca-se…"   21 seconds ago      Exited (1) 18 seconds ago                          ca_orderer
0c4437009820        ubuntu                         "bash"                   11 minutes ago      Exited (0) 11 minutes ago                          elated_swirles
3d15519bcfab        hello-world                    "/hello"                 12 minutes ago      Exited (0) 12 minutes ago                          naughty_borg
53a4e50a385d        hello-world                    "/hello"                 About an hour ago   Exited (0) About an hour ago                       blissful_shannon
15f638ad5f95        hyperledger/fabric-peer        "peer node start"        About an hour ago   Exited (0) About an hour ago                       distracted_jones


Here's the complete log. What could that be?
(base) [user@f30 fabcar]$ ./startFabric.sh javascript
/home/user/fabric-samples/test-network /home/user/fabric-samples/fabcar
Stopping network

Removing network net_test
WARNING: Network net_test not found.
Removing volume net_orderer.example.com
WARNING: Volume net_orderer.example.com not found.
Removing volume net_peer0.org1.example.com
WARNING: Volume net_peer0.org1.example.com not found.
Removing volume net_peer0.org2.example.com
WARNING: Volume net_peer0.org2.example.com not found.
Removing network net_test
WARNING: Network net_test not found.
Removing volume net_peer0.org3.example.com
WARNING: Volume net_peer0.org3.example.com not found.
---- No containers available for deletion ----
---- No images available for deletion ----
Creating channel 'mychannel'.

If network is not up, starting nodes with CLI timeout of '5' tries and CLI delay of '3' seconds and using database 'couchdb with crypto from 'Certificate Authorities'

Bringing up network
LOCAL_VERSION=2.2.0
DOCKER_IMAGE_VERSION=2.2.0
CA_LOCAL_VERSION=1.4.7
CA_DOCKER_IMAGE_VERSION=1.4.7

##########################################################
##### Generate certificates using Fabric CA's ############
##########################################################
Creating network "net_test" with the default driver
Creating ca_orderer ... done
Creating ca_org1    ... done
Creating ca_org2    ... done
##########################################################
############ Create Org1 Identities ######################
##########################################################

Enroll the CA admin

+ fabric-ca-client enroll -u
https://admin:adminpw@localhost:7054 --caname ca-org1 --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem
2020/08/26 19:04:25 [INFO] Created a default configuration file at /home/user/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/fabric-ca-client-config.yaml
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem: no such file or directory
+ set +x

Register peer0

+ fabric-ca-client register --caname ca-org1 --id.name peer0 --id.secret peer0pw --id.type peer --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem
2020/08/26 19:04:25 [INFO] Configuration file location: /home/user/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/fabric-ca-client-config.yaml
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem: no such file or directory
+ set +x

Register user

+ fabric-ca-client register --caname ca-org1 --id.name user1 --id.secret user1pw --id.type client --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem
2020/08/26 19:04:25 [INFO] Configuration file location: /home/user/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/fabric-ca-client-config.yaml
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem: no such file or directory
+ set +x

Register the org admin

+ fabric-ca-client register --caname ca-org1 --id.name org1admin --id.secret org1adminpw --id.type admin --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem
2020/08/26 19:04:25 [INFO] Configuration file location: /home/user/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/fabric-ca-client-config.yaml
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem: no such file or directory
+ set +x

## Generate the peer0 msp

+ fabric-ca-client enroll -u
https://peer0:peer0pw@localhost:7054 --caname ca-org1 -M /home/user/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp --csr.hosts peer0.org1.example.com --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem: no such file or directory
+ set +x

## Generate the peer0-tls certificates

+ fabric-ca-client enroll -u
https://peer0:peer0pw@localhost:7054 --caname ca-org1 -M /home/user/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls --enrollment.profile tls --csr.hosts peer0.org1.example.com --csr.hosts localhost --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem: no such file or directory
+ set +x
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/tlscacerts/*': No such file or directory
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/signcerts/*': No such file or directory
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/keystore/*': No such file or directory
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/tlscacerts/*': No such file or directory
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/tlscacerts/*': No such file or directory
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/cacerts/*': No such file or directory

## Generate the user msp

+ fabric-ca-client enroll -u
https://user1:user1pw@localhost:7054 --caname ca-org1 -M /home/user/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/User1@.../msp --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem: no such file or directory
+ set +x

## Generate the org admin msp

+ fabric-ca-client enroll -u
https://org1admin:org1adminpw@localhost:7054 --caname ca-org1 -M /home/user/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/Admin@.../msp --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem: no such file or directory
+ set +x
##########################################################
############ Create Org2 Identities ######################
##########################################################

Enroll the CA admin

+ fabric-ca-client enroll -u
https://admin:adminpw@localhost:8054 --caname ca-org2 --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem
2020/08/26 19:04:25 [INFO] Created a default configuration file at /home/user/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/fabric-ca-client-config.yaml
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem: no such file or directory
+ set +x

Register peer0

+ fabric-ca-client register --caname ca-org2 --id.name peer0 --id.secret peer0pw --id.type peer --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem
2020/08/26 19:04:25 [INFO] Configuration file location: /home/user/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/fabric-ca-client-config.yaml
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem: no such file or directory
+ set +x

Register user

+ fabric-ca-client register --caname ca-org2 --id.name user1 --id.secret user1pw --id.type client --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem
2020/08/26 19:04:25 [INFO] Configuration file location: /home/user/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/fabric-ca-client-config.yaml
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem: no such file or directory
+ set +x

Register the org admin

+ fabric-ca-client register --caname ca-org2 --id.name org2admin --id.secret org2adminpw --id.type admin --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem
2020/08/26 19:04:25 [INFO] Configuration file location: /home/user/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/fabric-ca-client-config.yaml
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem: no such file or directory
+ set +x

## Generate the peer0 msp

+ fabric-ca-client enroll -u
https://peer0:peer0pw@localhost:8054 --caname ca-org2 -M /home/user/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp --csr.hosts peer0.org2.example.com --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem: no such file or directory
+ set +x

## Generate the peer0-tls certificates

+ fabric-ca-client enroll -u
https://peer0:peer0pw@localhost:8054 --caname ca-org2 -M /home/user/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls --enrollment.profile tls --csr.hosts peer0.org2.example.com --csr.hosts localhost --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem: no such file or directory
+ set +x
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/tlscacerts/*': No such file or directory
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/signcerts/*': No such file or directory
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/keystore/*': No such file or directory
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/tlscacerts/*': No such file or directory
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/tlscacerts/*': No such file or directory
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/cacerts/*': No such file or directory

## Generate the user msp

+ fabric-ca-client enroll -u
https://user1:user1pw@localhost:8054 --caname ca-org2 -M /home/user/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/User1@.../msp --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem: no such file or directory
+ set +x

## Generate the org admin msp

+ fabric-ca-client enroll -u
https://org2admin:org2adminpw@localhost:8054 --caname ca-org2 -M /home/user/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/Admin@.../msp --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem: no such file or directory
+ set +x
##########################################################
############ Create Orderer Org Identities ###############
##########################################################

Enroll the CA admin

+ fabric-ca-client enroll -u
https://admin:adminpw@localhost:9054 --caname ca-orderer --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem
2020/08/26 19:04:25 [INFO] Created a default configuration file at /home/user/fabric-samples/test-network/organizations/ordererOrganizations/example.com/fabric-ca-client-config.yaml
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem: no such file or directory
+ set +x

Register orderer

+ fabric-ca-client register --caname ca-orderer --id.name orderer --id.secret ordererpw --id.type orderer --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem
2020/08/26 19:04:25 [INFO] Configuration file location: /home/user/fabric-samples/test-network/organizations/ordererOrganizations/example.com/fabric-ca-client-config.yaml
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem: no such file or directory
+ set +x

Register the orderer admin

+ fabric-ca-client register --caname ca-orderer --id.name ordererAdmin --id.secret ordererAdminpw --id.type admin --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem
2020/08/26 19:04:25 [INFO] Configuration file location: /home/user/fabric-samples/test-network/organizations/ordererOrganizations/example.com/fabric-ca-client-config.yaml
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem: no such file or directory
+ set +x

## Generate the orderer msp

+ fabric-ca-client enroll -u
https://orderer:ordererpw@localhost:9054 --caname ca-orderer -M /home/user/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp --csr.hosts orderer.example.com --csr.hosts localhost --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem
2020/08/26 19:04:25 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem: no such file or directory
+ set +x

## Generate the orderer-tls certificates

+ fabric-ca-client enroll -u
https://orderer:ordererpw@localhost:9054 --caname ca-orderer -M /home/user/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls --enrollment.profile tls --csr.hosts orderer.example.com --csr.hosts localhost --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem
2020/08/26 19:04:26 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem: no such file or directory
+ set +x
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/tlscacerts/*': No such file or directory
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/signcerts/*': No such file or directory
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/keystore/*': No such file or directory
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/tlscacerts/*': No such file or directory
cp: cannot stat '/home/user/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/tlscacerts/*': No such file or directory

## Generate the admin msp

+ fabric-ca-client enroll -u
https://ordererAdmin:ordererAdminpw@localhost:9054 --caname ca-orderer -M /home/user/fabric-samples/test-network/organizations/ordererOrganizations/example.com/users/Admin@.../msp --tls.certfiles /home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem
2020/08/26 19:04:26 [INFO] TLS Enabled
Error: Failed to get client TLS config: Failed to read '/home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem': open /home/user/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem: no such file or directory
+ set +x

Generate CCP files for Org1 and Org2
awk: fatal: cannot open file `organizations/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem' for reading (No such file or directory)
awk: fatal: cannot open file `organizations/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem' for reading (No such file or directory)
awk: fatal: cannot open file `organizations/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem' for reading (No such file or directory)
awk: fatal: cannot open file `organizations/peerOrganizations/org1.example.com/ca/ca.org1.example.com-cert.pem' for reading (No such file or directory)
awk: fatal: cannot open file `organizations/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem' for reading (No such file or directory)
awk: fatal: cannot open file `organizations/peerOrganizations/org2.example.com/ca/ca.org2.example.com-cert.pem' for reading (No such file or directory)
awk: fatal: cannot open file `organizations/peerOrganizations/org2.example.com/tlsca/tlsca.org2.example.com-cert.pem' for reading (No such file or directory)
awk: fatal: cannot open file `organizations/peerOrganizations/org2.example.com/ca/ca.org2.example.com-cert.pem' for reading (No such file or directory)
/home/user/fabric-samples/bin/configtxgen
#########  Generating Orderer Genesis block ##############
+ configtxgen -profile TwoOrgsOrdererGenesis -channelID system-channel -outputBlock ./system-genesis-block/genesis.block
2020-08-26 19:04:26.173 UTC [common.tools.configtxgen] main -> INFO 001 Loading configuration
2020-08-26 19:04:26.199 UTC [common.tools.configtxgen.localconfig] completeInitialization -> INFO 002 orderer type: etcdraft
2020-08-26 19:04:26.199 UTC [common.tools.configtxgen.localconfig] completeInitialization -> INFO 003 Orderer.EtcdRaft.Options unset, setting to tick_interval:"500ms" election_tick:10 heartbeat_tick:1 max_inflight_blocks:5 snapshot_interval_size:16777216
2020-08-26 19:04:26.199 UTC [common.tools.configtxgen.localconfig] Load -> INFO 004 Loaded configuration: /home/user/fabric-samples/test-network/configtx/configtx.yaml
2020-08-26 19:04:26.199 UTC [common.tools.configtxgen] main -> FATA 005 Error on outputBlock: could not create bootstrapper: could not create channel group: could not create orderer group: cannot marshal metadata for orderer type etcdraft: cannot load client cert for consenter orderer.example.com:7050: open /home/user/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/server.crt: no such file or directory
+ res=1
+ set +x
Failed to generate orderer genesis block...




Join fabric@lists.hyperledger.org to automatically receive all group messages.