Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-27932

Manifest invalid message in the Docker GC task

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.30.1
    • Fix Version/s: 3.34.0
    • Component/s: Docker
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      NXRM Trinity Sprint 13, NXRM Trinity Sprint 14

      Description

      If run Docker GC task show message for some assets `manifest invalid`.

      It happens because in the repository we have empty blob /blobs/sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4 which has kind METADATA but it should be BLOB. Fixing asset kind from METADATA to BLOB will remove the asset from the Docker GC filter which tries to find all METADATA assets.

      Acceptance: 

      • The Orient codebase contains a fix 
      • new DB codebase also contains a fix 
      • New Integration test covers the fix. 
      • Migration is created to update the old incorrect blobs in the repository 
        • Migration for orient 
        • migration for new DB 

        Attachments

        1. image-2021-07-27-13-38-28-837.png
          141 kB
          Anatoliy Ornatovskyy
        2. image-2021-08-02-15-25-45-332.png
          36 kB
          Anatoliy Ornatovskyy
        3. image-2021-08-05-18-15-59-255.png
          536 kB
          Vitalii Hashock
        4. image-2021-08-05-18-16-48-850.png
          558 kB
          Vitalii Hashock
        5. image-2021-08-05-18-57-39-818.png
          477 kB
          Vitalii Hashock
        6. image-2021-08-05-18-58-15-961.png
          562 kB
          Vitalii Hashock
        7. image-2021-08-06-10-21-44-050.png
          548 kB
          Vitalii Hashock
        8. image-2021-08-06-10-22-27-360.png
          1.04 MB
          Vitalii Hashock
        9. image-2021-08-06-10-23-11-833.png
          569 kB
          Vitalii Hashock
        10. image-2021-08-06-10-23-20-123.png
          569 kB
          Vitalii Hashock
        11. image-2021-08-07-21-19-26-276.png
          341 kB
          Anatoliy Ornatovskyy
        12. image-2021-08-07-21-20-35-987.png
          70 kB
          Anatoliy Ornatovskyy
        13. postgres_upgrade
          24 kB
          Anatoliy Ornatovskyy

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              aornatovskyy Anatoliy Ornatovskyy
              Last Updated By:
              Lisa Durant Lisa Durant
              Team:
              NXRM - Trinity
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title