Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-3481

Succeed to get gossip logging level of peer0/1, but fail to get it from peer2/3

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Medium
    • Resolution: Done
    • None
    • v1.0.0
    • None
    • MacOS version 10.12.1

      root@18c5c1c69e6d:/opt/gopath/src/github.com/hyperledger/fabric/peer# peer -v
      Fabric peer server version 1.0.0-snapshot-d4cc809

    Description

      Base on the docker-compose.yaml under fabric/example/e2e_cli directory, set 'debug' as default gossip logging level for peer0/1/23, run 'docker-compose up -d' to start all containers,
      login cli contain to check all peers' logging level via command 'CORE_PEER_ADDRESS=peerX:7051 peer logging getlevel gossip'

      Succeed to get gossip logging level of peer0 and peer 1, but fail to get it for peer2 and peer3. Details, please see following info.

      root@18c5c1c69e6d:/opt/gopath/src/github.com/hyperledger/fabric/peer# CORE_PEER_ADDRESS=peer0:7051 peer logging getlevel gossip
      2017-04-27 13:22:42.394 UTC [cli/logging] getLevel -> INFO 001 Current log level for peer module 'gossip': DEBUG
      2017-04-27 13:22:42.394 UTC [main] main -> INFO 002 Exiting.....

      root@18c5c1c69e6d:/opt/gopath/src/github.com/hyperledger/fabric/peer# CORE_PEER_ADDRESS=peer1:7051 peer logging getlevel gossip
      2017-04-27 13:22:49.752 UTC [cli/logging] getLevel -> INFO 001 Current log level for peer module 'gossip': DEBUG
      2017-04-27 13:22:49.752 UTC [main] main -> INFO 002 Exiting.....

      root@18c5c1c69e6d:/opt/gopath/src/github.com/hyperledger/fabric/peer# CORE_PEER_ADDRESS=peer2:7051 peer logging getlevel gossip
      2017-04-27 13:22:59.792 UTC [cli/logging] getLevel -> WARN 001 PER:404 - Error trying to connect to local peer
      /opt/gopath/src/github.com/hyperledger/fabric/peer/common/common.go:82 github.com/hyperledger/fabric/peer/common.GetAdminClient
      /opt/gopath/src/github.com/hyperledger/fabric/peer/clilogging/getlevel.go:46 github.com/hyperledger/fabric/peer/clilogging.getLevel
      /opt/gopath/src/github.com/hyperledger/fabric/peer/clilogging/getlevel.go:37 github.com/hyperledger/fabric/peer/clilogging.glob..func1
      /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:605 github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).execute
      /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:689 github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).ExecuteC
      /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:648 github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).Execute
      /opt/gopath/src/github.com/hyperledger/fabric/peer/main.go:118 main.main
      /opt/go/src/runtime/proc.go:192 runtime.main
      /opt/go/src/runtime/asm_amd64.s:2087 runtime.goexit
      Caused by: grpc: timed out when dialing
      2017-04-27 13:22:59.794 UTC [main] main -> INFO 002 Exiting.....

      root@18c5c1c69e6d:/opt/gopath/src/github.com/hyperledger/fabric/peer# CORE_PEER_ADDRESS=peer3:7051 peer logging getlevel gossip
      2017-04-27 13:24:35.284 UTC [cli/logging] getLevel -> WARN 001 PER:404 - Error trying to connect to local peer
      /opt/gopath/src/github.com/hyperledger/fabric/peer/common/common.go:82 github.com/hyperledger/fabric/peer/common.GetAdminClient
      /opt/gopath/src/github.com/hyperledger/fabric/peer/clilogging/getlevel.go:46 github.com/hyperledger/fabric/peer/clilogging.getLevel
      /opt/gopath/src/github.com/hyperledger/fabric/peer/clilogging/getlevel.go:37 github.com/hyperledger/fabric/peer/clilogging.glob..func1
      /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:605 github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).execute
      /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:689 github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).ExecuteC
      /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:648 github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).Execute
      /opt/gopath/src/github.com/hyperledger/fabric/peer/main.go:118 main.main
      /opt/go/src/runtime/proc.go:192 runtime.main
      /opt/go/src/runtime/asm_amd64.s:2087 runtime.goexit
      Caused by: grpc: timed out when dialing
      2017-04-27 13:24:35.289 UTC [main] main -> INFO 002 Exiting.....

      Attachments

        Activity

          People

            wlahti Will Lahti
            amber-zhang Amber Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: