kiranchavala commented on issue #9463:
URL: https://github.com/apache/cloudstack/issues/9463#issuecomment-2255476385

   @Dragonzz27 , I am not able to reproduce the behaviour
   
   Could you please try with the extract template API call 
   
   https://cloudstack.apache.org/api/apidocs-4.19/apis/extractTemplate.html
   
   Example
   
   ```
   (CMK) > extract template id=b451ccef-0ff5-4702-bcd1-66e73fe48450 
zoneid=7625c6bd-67ee-4847-a3b4-48ee73281aed  mode=HTTP_DOWNLOAD
   {
     "template": {
       "accountid": "80c25e48-2941-11ef-b10c-1e007c000297",
       "extractMode": "HTTP_DOWNLOAD",
       "id": "b451ccef-0ff5-4702-bcd1-66e73fe48450",
       "name": "kube-v1.27.2/ubuntu-2004",
       "state": "DOWNLOAD_URL_CREATED",
       "url": 
"http://10.0.54.122/userdata/7ca93d49-d6e0-4cfa-a755-a0b5133bf93b.qcow2";,
       "zoneid": "7625c6bd-67ee-4847-a3b4-48ee73281aed",
       "zonename": "ref-trl-6823-k-Mr8-kiran-chavala"
     }
   }
   ```
   
   Then try wget the file 
                                                                                
                                                                             
   ```
   ╰─ wget 
"http://10.0.54.122/userdata/7ca93d49-d6e0-4cfa-a755-a0b5133bf93b.qcow2";
   --2024-07-29 15:12:04--  
http://10.0.54.122/userdata/7ca93d49-d6e0-4cfa-a755-a0b5133bf93b.qcow2
   Connecting to 10.0.54.122:80... connected.
   HTTP request sent, awaiting response... 200 OK
   Length: 4399300608 (4.1G)
   Saving to: ‘7ca93d49-d6e0-4cfa-a755-a0b5133bf93b.qcow2’
   
   7ca93d49-d6e0-4cfa-a755-a0b5133bf93b.qcow2       0%[                         
                                                                         ]   
1.15M  1.04MB/s
   
   
   ```
   


-- 
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