Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-2189

Warnings about "file containing link outside of the archive" after enabling the MCP Tools plugins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • 1.8.0
    • Plugin
    • False
    • Hide

      None

      Show
      None
    • False
    • Known Issue
    • RHDH AI Sprint 3284

      Description of problem:

      Context: RHDH 1.8 Test day, while going through https://redhat-developer.github.io/red-hat-developers-documentation-rhdh/pr-1462/model-context-protocol-tools/

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      apiVersion: v1
      kind: ConfigMap
      metadata: 
        name: dynamic-plugins-rhdh
      data: 
        dynamic-plugins.yaml: |
          includes: 
            - dynamic-plugins.default.yaml
          plugins: 
            - package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-plugin-mcp-actions-backend:bs_1.42.5__0.1.2!backstage-plugin-mcp-actions-backend
              disabled: true
            - package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-software-catalog-mcp-tool:bs_1.42.5__0.2.3!red-hat-developer-hub-backstage-plugin-software-catalog-mcp-tool
              disabled: false
            - package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-techdocs-mcp-tool:bs_1.42.5__0.3.0!red-hat-developer-hub-backstage-plugin-techdocs-mcp-tool
              disabled: false
      

      Actual results:

      Everything is installed, but I am seeing the following warnings in the init container logs:

      
      ======= Installing dynamic plugin oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-software-catalog-mcp-tool:bs_1.42.5__0.2.3!red-hat-developer-hub-backstage-plugin-software-catalog-mcp-tool
              ==> Copying image oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-software-catalog-mcp-tool:bs_1.42.5__0.2.3 to local filesystem
              ==> WARNING: skipping file containing link outside of the archive: red-hat-developer-hub-backstage-plugin-software-catalog-mcp-tool/node_modules/.bin/mime -> /home/runner/work/rhdh-plugin-export-overlays/rhdh-plugin-export-overlays/source-repo/workspaces/mcp-integrations/plugins/software-catalog-mcp-tool/dist-dynamic/node_modules/mime/cli.js
              ==> Successfully installed dynamic plugin oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-software-catalog-mcp-tool:bs_1.42.5__0.2.3!red-hat-developer-hub-backstage-plugin-software-catalog-mcp-tool
      
      ======= Installing dynamic plugin oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-techdocs-mcp-tool:bs_1.42.5__0.3.0!red-hat-developer-hub-backstage-plugin-techdocs-mcp-tool
              ==> Copying image oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-techdocs-mcp-tool:bs_1.42.5__0.3.0 to local filesystem
              ==> WARNING: skipping file containing link outside of the archive: red-hat-developer-hub-backstage-plugin-techdocs-mcp-tool/node_modules/.bin/mime -> /home/runner/work/rhdh-plugin-export-overlays/rhdh-plugin-export-overlays/source-repo/workspaces/mcp-integrations/plugins/techdocs-mcp-tool/dist-dynamic/node_modules/mime/cli.js
              ==> Successfully installed dynamic plugin oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/red-hat-developer-hub-backstage-plugin-techdocs-mcp-tool:bs_1.42.5__0.3.0!red-hat-developer-hub-backstage-plugin-techdocs-mcp-tool
      ======= Removed lock file: /dynamic-plugins-root/install-dynamic-plugins.lock
      

      Expected results:

      No warnings

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      
      

      Additional info (Such as Logs, Screenshots, etc):

              rh-ee-tpetkos Theofanis Petkos
              rh-ee-asoro Armel Soro
              RHDH AI
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: