weizhouapache commented on issue #4509:
URL: https://github.com/apache/cloudstack/issues/4509#issuecomment-737729725


   > Ah yes, I have been running the script here
   > 
   > 
http://docs.cloudstack.apache.org/en/latest/quickinstallationguide/qig.html#system-template-setup
   > 
   > with this output:
   > 
   > ```
   > 
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt: 
line 168: which: command not found
   > --2020-12-02 20:16:39--  
http://download.cloudstack.org/systemvm/4.14/systemvmtemplate-4.14.0-kvm.qcow2.bz2
   > Resolving download.cloudstack.org (download.cloudstack.org)... 
2a00:f10:121:400:403:9cff:fe00:37f, 185.27.174.49
   > Connecting to download.cloudstack.org 
(download.cloudstack.org)|2a00:f10:121:400:403:9cff:fe00:37f|:80... connected.
   > HTTP request sent, awaiting response... 200 OK
   > Length: 328521792 (313M) [application/x-bzip2]
   > Saving to: 
'/usr/share/cloudstack-common/scripts/storage/secondary/1dd8ef05-81f2-40d5-a3c2-02da036a3341.qcow2'
   > 
   > 
100%[===========================================================================================================================================================================>]
 328,521,792 10.4MB/s   in 50s    
   > 
   > 2020-12-02 20:17:30 (6.29 MB/s) - 
'/usr/share/cloudstack-common/scripts/storage/secondary/1dd8ef05-81f2-40d5-a3c2-02da036a3341.qcow2'
 saved [328521792/328521792]
   > 
   > /usr/share/cloudstack-common/scripts/storage/secondary/createtmplt.sh: 
line 57: file: command not found
   > File 
/usr/share/cloudstack-common/scripts/storage/secondary/1dd8ef05-81f2-40d5-a3c2-02da036a3341.qcow2
 does not appear to be compressed
   > /usr/share/cloudstack-common/scripts/storage/secondary/createtmplt.sh: 
line 76: file: command not found
   > /usr/share/cloudstack-common/scripts/storage/secondary/createtmplt.sh: 
line 43: file: command not found
   > Moving to 
/export/secondary/template/tmpl/1/3///1dd8ef05-81f2-40d5-a3c2-02da036a3341.qcow2...could
 take a while
   > Successfully installed system VM template  and template.properties to 
/export/secondary/template/tmpl/1/3/
   > ```
   
   @inmanturbo this is because qemu-img is not found.
   the dependency has been added in #3371
   if you use older versions, please install qemu-utils (ubuntu) or qemu-img 
(centos) on management server.
   


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

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


Reply via email to