Uploaded image for project: 'Opencast'
  1. MH-13326

Error when taking a snapshot: No file/directory found

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed and reviewed
    • Affects versions: 7.0, 6.1
    • Fix versions: None
    • Components: Backend Software
    • Labels:
      None
    • Severity:
      Incorrectly Functioning Without Workaround
    • Steps to reproduce:
      Hide
      Steps to reproduce:
      This happened when taking many snapshots at the same time (when editing many fields via admin ui).

      The manifest file is created in the ws as manifest_MPID.xml and deleted shortly after so it seems one thread is deleting the manifest file that the other thread is using.

      The fix is to just append the version to the mp_id in the file name.

       
       Actual Results:
       2019-01-08 11:23:13,841 | ERROR | (AbstractFileSystemAssetStore:101) - Error while getting file 'http://admin.oc-prod.dcex.harvard.edu/files/collection/archive/manifest_a48f4fbf_93a3_4838_af2e_ae7012a6ba20.xml' from workspace: IOException: No file/directory found at /var/opencast/files/collection/archive/manifest_a48f4fbf_93a3_4838_af2e_ae7012a6ba20.xml
      2019-01-08 11:23:13,846 | ERROR | (AbstractFileSystemAssetStore:101) - Error while getting file 'http://admin.oc-prod.dcex.harvard.edu/files/collection/archive/manifest_a48f4fbf_93a3_4838_af2e_ae7012a6ba20.xml' from workspace: IOException: No file/directory found at /var/opencast/files/collection/archive/manifest_a48f4fbf_93a3_4838_af2e_ae7012a6ba20.xml
      Show
      Steps to reproduce: This happened when taking many snapshots at the same time (when editing many fields via admin ui). The manifest file is created in the ws as manifest_MPID.xml and deleted shortly after so it seems one thread is deleting the manifest file that the other thread is using. The fix is to just append the version to the mp_id in the file name.    Actual Results:  2019-01-08 11:23:13,841 | ERROR | (AbstractFileSystemAssetStore:101) - Error while getting file ' http://admin.oc-prod.dcex.harvard.edu/files/collection/archive/manifest_a48f4fbf_93a3_4838_af2e_ae7012a6ba20.xml' from workspace: IOException: No file/directory found at /var/opencast/files/collection/archive/manifest_a48f4fbf_93a3_4838_af2e_ae7012a6ba20.xml 2019-01-08 11:23:13,846 | ERROR | (AbstractFileSystemAssetStore:101) - Error while getting file ' http://admin.oc-prod.dcex.harvard.edu/files/collection/archive/manifest_a48f4fbf_93a3_4838_af2e_ae7012a6ba20.xml' from workspace: IOException: No file/directory found at /var/opencast/files/collection/archive/manifest_a48f4fbf_93a3_4838_af2e_ae7012a6ba20.xml

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              rute_santos Rute Santos
              Reporter:
              rute_santos Rute Santos
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases