nvazquez commented on pull request #4117: URL: https://github.com/apache/cloudstack/pull/4117#issuecomment-645751628
Extracting templates, volumes, ISOs is not working as the Apache server does not start on the SSVM. Investigating the root cause. These are logs from SSVM, when attempting to extract a template: ```` 2020-06-18 03:26:57,927 INFO [storage.template.HttpTemplateDownloader] (pool-1-thread-1:null) Starting download from http://dl.openvm.eu/cloudstack/macchinina/x86_64/macchinina-vmware.ova to /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202/dnld3255812220891684509tmp_ remoteSize=23308288 , max size=53687091200 2020-06-18 03:27:02,790 INFO [storage.template.DownloadManagerImpl] (pool-1-thread-1:null) Download Completion for jobId: 8cc25d83-e283-42b6-a24c-15b606807140, status=DOWNLOAD_FINISHED 2020-06-18 03:27:02,797 INFO [storage.template.DownloadManagerImpl] (pool-1-thread-1:null) local: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202/dnld3255812220891684509tmp_, bytes=23308288, error=Downloaded 23308288 bytes (download complete remote=23308288bytes), pct=100 2020-06-18 03:27:02,798 INFO [storage.template.DownloadManagerImpl] (pool-1-thread-1:null) No checksum available for 'dnld3255812220891684509tmp_' 2020-06-18 03:27:03,239 INFO [storage.template.OVAProcessor] (pool-1-thread-1:null) Template processing. templatePath: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202, templateName: 9473629b-46c8-3dd5-b1ae-4d6a8161721d 2020-06-18 03:27:03,253 INFO [storage.template.OVAProcessor] (pool-1-thread-1:null) Template processing - untar OVA package. templatePath: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202, templateName: 9473629b-46c8-3dd5-b1ae-4d6a8161721d 2020-06-18 03:27:10,785 INFO [storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-5:null) Determined host 10.2.0.16 corresponds to IP 10.2.0.16 2020-06-18 03:27:10,790 INFO [storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-5:null) MDOVE Secondary storage mount point: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76 2020-06-18 03:27:10,970 INFO [storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-6:null) Determined host 10.2.0.16 corresponds to IP 10.2.0.16 2020-06-18 03:27:26,162 INFO [storage.resource.NfsSecondaryStorageResource] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) Determined host 10.2.0.16 corresponds to IP 10.2.0.16 2020-06-18 03:27:26,195 INFO [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) Creating OVA using MetaFile: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202/202-2-7b371fb4-6a54-36a8-bc38-9649963f61d7.ova.meta 2020-06-18 03:27:26,206 INFO [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) loading properties from ova meta file: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202/202-2-7b371fb4-6a54-36a8-bc38-9649963f61d7.ova.meta 2020-06-18 03:27:26,206 INFO [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) ovafilename: 202-2-7b371fb4-6a54-36a8-bc38-9649963f61d7.ova 2020-06-18 03:27:26,207 INFO [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) ovffilename: macchinina-vmware.ovf 2020-06-18 03:27:26,207 INFO [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) diskname macchinina-vmware-disk1.vmdk 2020-06-18 03:27:26,208 INFO [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) exportDir: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202 2020-06-18 03:27:26,208 INFO [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) Sync file system before we package OVA..., before tar 2020-06-18 03:27:26,209 INFO [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) ova: 202-2-7b371fb4-6a54-36a8-bc38-9649963f61d7.ova, ovf:macchinina-vmware.ovf, vmdk:macchinina-vmware-disk1.vmdk. 2020-06-18 03:27:28,147 INFO [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) Package OVA for template in dir: /mnt/SecStorage/868e8112-9899-38e3-a52f-cbc6c18e6c76/template/tmpl/2/202cmd: tar -cf 202-2-7b371fb4-6a54-36a8-bc38-9649963f61d7.ova macchinina-vmware.ovf macchinina-vmware-disk1.vmdk 2020-06-18 03:27:28,167 INFO [vmware.manager.VmwareStorageManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) OVA file: 202-2-7b371fb4-6a54-36a8-bc38-9649963f61d7.ova is created and ready to extract. 2020-06-18 03:27:28,255 WARN [storage.template.UploadManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) Error in starting apache2 service err=Job for apache2.service failed because the control process exited with error code.See "systemctl status apache2.service" and "journalctl -xe" for details. 2020-06-18 03:27:28,255 ERROR [storage.template.UploadManagerImpl] (agentRequest-Handler-8:job-29, cmd: CreateEntityDownloadURLCommand) Error in starting Apache server root@s-2-VM:~# systemctl status apache2.service ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Thu 2020-06-18 03:27:28 UTC; 3min 40s ago Docs: https://httpd.apache.org/docs/2.4/ Process: 3447 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE) Jun 18 03:27:28 s-2-VM systemd[1]: Starting The Apache HTTP Server... Jun 18 03:27:28 s-2-VM apachectl[3447]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 10.1.35.142. Set the 'ServerName' directive globally to suppress this message Jun 18 03:27:28 s-2-VM apachectl[3447]: Action 'start' failed. Jun 18 03:27:28 s-2-VM apachectl[3447]: The Apache error log may have more information. Jun 18 03:27:28 s-2-VM systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE Jun 18 03:27:28 s-2-VM systemd[1]: apache2.service: Failed with result 'exit-code'. Jun 18 03:27:28 s-2-VM systemd[1]: Failed to start The Apache HTTP 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]
