Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-57387

Seeing "content filepath is tainted" error when running d2m

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • None
    • None
    • None
    • In Progress
    • Release Note Not Required
    • N/A
    • None
    • None
    • None
    • None

      Description of problem:

      Seeing “tainted” error now whilst running the following commands, one after the other, in the same dir. 
      
      oc-mirror --v2 --config=imageset-config-save.yaml file://.
      
      oc-mirror --v2 --config imageset-config-save.yaml --from file://. docker://registry.example.com:8443/ocp4/openshift4

       

      Version-Release number of selected component (if applicable):

          4.18.0-202506021034

      How reproducible:

          Always 

      Steps to Reproduce:

          1. In same dir, run:
          2. oc-mirror --v2 --config=imageset-config-save.yaml file://.
          3. oc-mirror --v2 --config imageset-config-save.yaml --from file://. docker://registry.example.com:8443/ocp4/openshift4     

      Actual results:

          tar file is not unpacked and see the error:
      
      content filepath is tainted: working-dir/.history/.history-2025-06....
      
      

      Expected results:

          tar file should be unpacked and the images loaded into the registry. 

      Additional info:

          Possibly, when I replace "." with $PWD it works ok, the tar file is unpacked. 

              rdossant Rafael Fonseca dos Santos
              sbylo@redhat.com Stephen Bylo
              None
              None
              Nidan Gavali Nidan Gavali
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: