не удалось создать статус: SERVICE_UNAVAILABLE причина: нет лидера плота - PullRequest
0 голосов
/ 04 февраля 2020

Я пытаюсь создать Hyperledger Fabri c EST с помощью Hyperledger Fabri *1008* v1.4.3. Я развернул все модули orderer и peer в пространстве имен по умолчанию. Пожалуйста, найдите раздел с заказчиком в файле configtx.yaml ниже.

Orderer: &OrdererDefaults
  OrdererType: etcdraft
  EtcdRaft:
      Consenters:
      - Host: orderer1.default.svc.cluster.local
        Port: 30750
        ClientTLSCert: crypto-config/ordererOrganizations/default.svc.cluster.local/orderers/orderer1.default.svc.cluster.local/tls/server.crt
        ServerTLSCert: crypto-config/ordererOrganizations/default.svc.cluster.local/orderers/orderer1.default.svc.cluster.local/tls/server.crt
      - Host: orderer2.default.svc.cluster.local
        Port: 30750
        ClientTLSCert: crypto-config/ordererOrganizations/default.svc.cluster.local/orderers/orderer2.default.svc.cluster.local/tls/server.crt
        ServerTLSCert: crypto-config/ordererOrganizations/default.svc.cluster.local/orderers/orderer2.default.svc.cluster.local/tls/server.crt
      - Host: orderer3.default.svc.cluster.local
        Port: 30750
        ClientTLSCert: crypto-config/ordererOrganizations/default.svc.cluster.local/orderers/orderer3.default.svc.cluster.local/tls/server.crt
        ServerTLSCert: crypto-config/ordererOrganizations/default.svc.cluster.local/orderers/orderer3.default.svc.cluster.local/tls/server.crt
      - Host: orderer4.default.svc.cluster.local
        Port: 30750
        ClientTLSCert: crypto-config/ordererOrganizations/default.svc.cluster.local/orderers/orderer4.default.svc.cluster.local/tls/server.crt
        ServerTLSCert: crypto-config/ordererOrganizations/default.svc.cluster.local/orderers/orderer4.default.svc.cluster.local/tls/server.crt
      - Host: orderer5.default.svc.cluster.local
        Port: 30750
        ClientTLSCert: crypto-config/ordererOrganizations/default.svc.cluster.local/orderers/orderer5.default.svc.cluster.local/tls/server.crt
        ServerTLSCert: crypto-config/ordererOrganizations/default.svc.cluster.local/orderers/orderer5.default.svc.cluster.local/tls/server.crt
  Addresses:
      - orderer1.default.svc.cluster.local:30750
      - orderer2.default.svc.cluster.local:30750
      - orderer3.default.svc.cluster.local:30750
      - orderer4.default.svc.cluster.local:30750
      - orderer5.default.svc.cluster.local:30750

Я получаю сообщение об ошибке ниже в журналах заказов

       [36m2020-02-04 17:10:08.472 UTC [orderer.consensus.etcdraft] logSendFailure -> DEBU 546[0m Failed to send StepRequest to 4, because: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup orderer4.default.svc.cluster.local on : no such host" channel=byfn-sys-channel node=1
      [36m2020-02-04 17:10:08.472 UTC [orderer.consensus.etcdraft] consensusSent -> DEBU 547[0m Sending msg of 28 bytes to 5 on channel  byfn-sys-channel took 39.02µs
      [36m2020-02-04 17:10:08.472 UTC [orderer.consensus.etcdraft] logSendFailure -> DEBU 548[0m Failed to send StepRequest to 5, because: rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp: lookup orderer5.default.svc.cluster.local on : no such host" channel=byfn-sys-channel node=1
...