Uploaded image for project: 'Indy Node'
  1. Indy Node
  2. INDY-1182

read_ledger exception on NFS mounted file system

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Complete
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: libsovrin
    • Labels:
      None
    • Epic Link:
    • Sprint:
      EV 18.10 Stability and VC

      Description

      T-Shirt: S

      When the ledger is on an NFS mounted file system. the read_ledger script successfully reads the ledger but then fails to delete the copy of the ledger with the following exception:

      Traceback (most recent call last):
        File "/usr/local/bin/read_ledger", line 169, in <module>
          shutil.rmtree(read_copy_ledger_data_dir)
        File "/usr/lib/python3.5/shutil.py", line 474, in rmtree
          _rmtree_safe_fd(fd, path, onerror)
        File "/usr/lib/python3.5/shutil.py", line 416, in _rmtree_safe_fd
          onerror(os.rmdir, fullname, sys.exc_info())
        File "/usr/lib/python3.5/shutil.py", line 414, in _rmtree_safe_fd
          os.rmdir(name, dir_fd=topfd)
      OSError: [Errno 39] Directory not empty: 'domain_merkleNodes'
      

      See https://uisapp2.iu.edu/confluence-prd/pages/viewpage.action?pageId=123962105 and https://github.com/hashdist/hashdist/issues/113 for related info.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ozheregelya Olga Zheregelya
              Reporter:
              smithbk Keith Smith
              Watchers:
              Alexander Shcherbakov, Keith Smith, Olga Zheregelya, Sean Bohan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: