Have you set the global setting; secstorage.allowed.internal.sites to allow secondary storage to connect to your http server on the mgmt. network.
[email protected] www.shapeblue.com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue -----Original Message----- From: Parth Patel <[email protected]> Sent: 03 April 2018 15:13 To: [email protected] Subject: Re: Not able to import template from internal network Soundar, I too have faced the same issue in ACS 4.11. The default port (80) won't work. For me, changing the httpd server's port to 8080 worked. I think it's a bug in the iptables or ingress rules of SSVM. I too am able to wget or curl from inside of SSVM. Can anyone please explain this behaviour? Regards, Parth Patel On Tue 3 Apr, 2018, 17:17 Swastik Mittal, <[email protected]> wrote: > Soundar > > Do you have your sshd services available on your internal network. > > On 3 Apr 2018 3:47 p.m., "soundar rajan" <[email protected]> wrote: > > > Further debugging found the below errors > > > > INFO [Storage.template.httptemplatedownloader] No credentials > > configured for host=172.xx.xx.xx:80 Starting download from > > http://172.xx.xx.xx/SVR.qcow2 to > > /mnt/SecStorage/0d869-xx-xx-xxx-xx/template/2/245/dndlxxtmp_ > > remotesize-27839829 max size-32232323 Download completion for job id > > xxx status=unrecoverable_error > > > > The above log is fron SSVM > > > > Regards > > Shyam > > > > On Tue, Apr 3, 2018 at 3:29 PM, soundar rajan > > <[email protected]> > > wrote: > > > > > i logged in to the SSVM from management console login in using > > > root and able to download the QCow2 file using wget > > > > > > @ Swastik > > > > > > The error message it says as stream closed (its a qcow2 format not > > > an > > iso) > > > > > > On Tue, Apr 3, 2018 at 3:21 PM, Dag Sonstebo < > [email protected] > > > > > > wrote: > > > > > >> Soundar, > > >> > > >> The first step in troubleshooting is to simply log on to the > > >> SSVM, > then > > >> try to do a wget against the internal URL. > > >> > > >> Regards, > > >> Dag Sonstebo > > >> Cloud Architect > > >> ShapeBlue > > >> > > >> On 03/04/2018, 10:49, "soundar rajan" <[email protected]> wrote: > > >> > > >> But the same works from the template downloaded from internet > > >> for eg.. > > >> > > >> http://cloud.centos.org/Centos7.xx.qcow2 ( Works fine) > > >> http://172.xx.xx.xx/SVR.qcow2 (says stream closed not > > >> working) > > >> > > >> secstorage.allowed.internal.sites: 172.xx.0.0/16 > > >> > > >> On Tue, Apr 3, 2018 at 3:14 PM, soundar rajan < > > [email protected] > > >> > > > >> wrote: > > >> > > >> > Hi, > > >> > > > >> > I am not able to import template from internal network. I > > >> haved added the > > >> > ip in the global config and configured the same. > > >> > > > >> > Please find the error message > > >> > > > >> > 2018-04-03 15:12:29,323 DEBUG [c.c.a.t.Request] > > >> > (AgentManager-Handler-7:null) (logid:) Seq > 2-4749608757015609350: > > >> > Processing: { Ans: , MgmtId: 2887018115, via: 2, Ver: v1, > Flags: > > >> 10, > > >> > [{"com.cloud.agent.api.storage.DownloadAnswer":{" > > >> > jobId":"37d6c445-25b2-4d0c-9c5e-264152ff76bc"," > > >> > downloadPct":0,"errorString":"Stream closed","downloadStatus":" > > >> > DOWNLOAD_ERROR","downloadPath":"/mnt/SecStorage/0d869cc4- > > >> > 6763-391b-83ef-4b686f2ac7a2/template/tmpl/2/243/ > > >> > dnld7748993734774922951tmp_","installPath":"template/tmpl/2/ > > >> > 243","templateSize":0,"templatePhySicalSize":0," > > >> > checkSum":"","result":true,"details":"Stream > > >> closed","wait":0}}] > > } > > >> > > > >> > Regards > > >> > Shyam > > >> > > > >> > > >> > > >> > > >> [email protected] > > >> www.shapeblue.com > > >> 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue > > >> > > >> > > >> > > >> > > > > > >
