tazouxme opened a new issue, #13157:
URL: https://github.com/apache/cloudstack/issues/13157

   ### problem
   
   CloudStack CKS upgrade from Kubernetes 1.33.1 to 1.34.7 fails during image 
import.
   
   The upgrade script runs:
   ctr -n k8s.io image import /mnt/k8sdisk/docker/pause:3.10.1.tar
   
   It fails with:
   ctr: unrecognized image format
   
   All other image archives in /mnt/k8sdisk/docker import successfully.
   
   The pause archive appears malformed:
   tar -tf pause:3.10.1.tar | head
   blobs/
   blobs/sha256/
   blobs/sha256/19e4906e80f6945d2222896120e909003ebf8028c30ebc8c99c3c42a35fb6b7f
   blobs/sha256/278fb9dbcca9518083ad1e11276933a2e96f23de604a3a08cc3c80002767d24c
   
   It lacks OCI metadata such as:
   index.json
   oci-layout
   
   or Docker archive metadata such as:
   manifest.json
   repositories
   
   ### versions
   
   4.22.0
   
   ### The steps to reproduce the bug
   
   I tried the following script to check which tar file (in the docker folder 
of the ISO) is wrong
   
   for f in /mnt/k8s-1.34.7/docker/*; do
     echo
     echo "=== testing $f ==="
     file "$f"
     ctr -n k8s.io image import "$f"
     rc=$?
     echo "exit=$rc"
     if [ "$rc" -ne 0 ]; then
       echo "FAILED_FILE=$f"
       break
     fi
   done
   
   ### What to do about it?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to