Details

    • Type: Bug
    • Status: Unverified (View Workflow)
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: v1.4.0, v1.4.1, v1.4.2
    • Fix Version/s: None
    • Component/s: fabric-ledger
    • Labels:
      None
    • Steps to Reproduce:
      (Please add steps to reproduce)

      Description

      Continue of this issue - FAB-15564.

       

      At first it could start after 3 attempts.

      Now it could not start on nfs at all.

      Part of debug logs below:

       

      2019-06-27 13:36:34.126 UTC [ledgermgmt] initialize -> INFO 03b Initializing ledger mgmt
      2019-06-27 13:36:34.126 UTC [kvledger] NewProvider -> INFO 03c Initializing ledger provider
      2019-06-27 13:36:34.126 UTC [kvledger.util] CreateDirIfMissing -> DEBU 03d CreateDirIfMissing [/var/hyperledger/production/ledgersData/ledgerProvider/]
      2019-06-27 13:36:34.126 UTC [kvledger.util] logDirStatus -> DEBU 03e Before creating dir - [/var/hyperledger/production/ledgersData/ledgerProvider/] exists
      2019-06-27 13:36:34.126 UTC [kvledger.util] logDirStatus -> DEBU 03f After creating dir - [/var/hyperledger/production/ledgersData/ledgerProvider/] exists
      panic: Error opening leveldb: resource temporarily unavailable
      goroutine 1 [running]:
      github.com/hyperledger/fabric/common/ledger/util/leveldbhelper.(*DB).Open(0xc000178a80)
      

       

       

      If there is any opportunity how could I provide more information - please tell me.

      Some little progress here, which gave me solution:

       

       [root@myhost ~]# oc scale deployment peer0-bchorg1 --replicas=0
      deployment.extensions/peer0-bchorg1 scaled
      [root@myhost ~]# mv /mnt/nfs/peer0-bchorg1/production/ /mnt/nfs/peer0-bchorg1/production_old
      [root@myhost ~]# cp -ar /mnt/nfs/peer0-bchorg1/production_old/ /mnt/nfs/peer0-bchorg1/production
      [root@myhost ~]# oc scale deployment peer0-bchorg1 --replicas=1

       

      after this operation peer starts working

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              NN77 Nikolay Nazarkin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code