weizhouapache commented on PR #177:
URL: 
https://github.com/apache/cloudstack-cloudmonkey/pull/177#issuecomment-3190854914

   @DaanHoogland @shwstppr 
   
   `https` works in my testing
   
   
   ```
   (localcloud) 🐱 > get uploadparamsfortemplate format=qcow2 hypervisor=kvm 
name=systemvm-upload ostypeid=f85a99a8-782d-11f0-a8cb-1e001b0003c8 
zoneid=e58d87c5-bc92-47f3-9395-ce3f1a0dd415 
filepath=/root/systemvmtemplate-4.20.2-x86_64-kvm.qcow2
   {
     "getuploadparams": {
       "expires": "2025-08-15T08:37:44.223Z",
       "id": "a9197f7f-73e0-4707-b5da-89b3b372a9ae",
       "metadata": 
"awP2MN5HGEjF5vfdgpxyrSlr0CGN5ifW7Tx5z+UDO9yl3EqjqLqZs+WOgOY/PV7i4t3eiTTRJu+OMBVd8wln/8ar0wOIti9pL3/IBdIwi1Q1mlvE5w60fsKXHi+1xZXxaDFIVlUHtaDMG+HUE6IePnBiqYc73UGmyKCf+GxBluX8Fmvm3trTAeJKDnFKk6ws++QdXPGNxjnq3fLxgPxTm9Dm8Dl1p5hHt2Y/MW08SGKll9DvBT7gtVc0nZ7kS157FBIqCPTDJP/Df8Fz5kSH2JxLMVjaM3E5njBanEWWokGhqVN66tsbe5+0eb7sdpq9SinvV50vBr4AtBJ+8IaV23DAtzDdW5l6qEAMOowGXNMKuGFg13XX4qRVkEeiBrYAH4I0SN0fOApD6kddS4tX9CJ0E4lcvvbMlvoszH3hpz6HFaNXPkecnVCq7QzNWqT6DUwpx/vW+8sTpKxAoRWO6LxJn6Wa2YI9z8p3dGE6jgDCaK/Xuvwe3GMC0g0r55TvNSDNvI2dnMPjWgw4AaHP59W74J7ozTLdDxwVoTVP7EeUn5pjKHeff0HhdTDac3ePfBeco2D2jdpJkrfqvaB32Wd6cYSEeVjRv9U6j2S49fu0lvCt7F2+KGCnPF9Rp8naLnGwQjMLlqKZuthb4QQUfSdi4jOSOpXty2BOdISrYMK2m8jjFbGtu4hU",
       "postURL": 
"https://10-0-55-22.sbcloud.uk/upload/a9197f7f-73e0-4707-b5da-89b3b372a9ae";,
       "signature": "u7RC8xXKzNETYw+T0/edohsIc2A="
     }
   }
   Uploading files for getUploadParamsForTemplate : 
[/root/systemvmtemplate-4.20.2-x86_64-kvm.qcow2]
   ⣽ 😾 [1/1] systemvmtemplate-4.20.2-x86_64-kvm.qcow2   [====>                  
 ] 20%
   ```
   
   finally
   ```
   Uploading files for getUploadParamsForTemplate : 
[/root/systemvmtemplate-4.20.2-x86_64-kvm.qcow2]
   [1/1] systemvmtemplate-4.20.2-x86_64-kvm.qcow2       
[========================] ✅
   All files uploaded successfully.
   ```
   
   
   
   `.qcow2.bz2` file does not work, but I think it is NOT an issue
   ```
   Uploading files for getUploadParamsForTemplate : 
[/root/systemvmtemplate-4.20.2-x86_64-kvm.qcow2.bz2]
   Error uploading /root/systemvmtemplate-4.20.2-x86_64-kvm.qcow2.bz2 : [1/1] 
systemvmtemplate-4.20.2-x86_64-kvm.qcow2.bz2      upload failed: File type 
mismatch between uploaded file and selected format. Selected file format: 
QCOW2. Received: bzip2 compressed data, block size = 900k
   🙈 1 out of 1 files failed to upload.
   ```


-- 
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: dev-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to