Vlad,

Two things, 
a. looking up the specific error message in ssvm logs 
(/var/log/cloud/cloud.out) should give a better insight on what's happening 
(not working).
b. running ssvm-check.sh will test this for you (if you can mount sec storage 
within the SSVM).

The below link will provide you with lot more troubleshooting tips:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting

-----Original Message-----
From: Vladislav Nazarenko [mailto:vladislav.nazare...@gmail.com] 
Sent: Wednesday, December 10, 2014 3:10 PM
To: users@cloudstack.apache.org
Subject: Re: Not able to upload templates: Connection timed out

Hi Guys,

thanx a lot for your prompt responses:

@Dave:
  The image(http://IP/CentOS-6-x86_64-vanilla-kvm.qcow2.bz2) is 
available and can be downloaded (tested with wget)

@Tejas: Hypervisor hosts  are able to mount the secondary storage
How can I debug this on the SSVM?

Kind regards
Vlad

On 10.12.2014 20:44, Tejas Sheth wrote:
> Hi Vlad,
>
>    I was also getting the same error few days ago, for me the issue was my
> SSVM was not able to mount Secondary storage.
> Make sure that all your hypervisor hosts and system vms are able to access
> nfs secondary storage.
>
> Thanks,
> Tejas
>
>
> On Thu, Dec 11, 2014 at 1:07 AM, Dave Dunaway <dave.duna...@gmail.com>
> wrote:
>
>> Hey Vlado,
>>
>> Check out your download URL ....
>>
>> "http://IP/CentOS-6-x86_64-vanilla-kvm.qcow2.bz2
>> <http://ip/CentOS-6-x86_64-vanilla-kvm.qcow2.bz2>"
>>
>>
>>
>> On Wed, Dec 10, 2014 at 1:56 PM, Vladislav Nazarenko <
>> vladislav.nazare...@gmail.com> wrote:
>>
>>> Hi Everybody,
>>>
>>> need help with a fresh installed cloudstack with basic setup.
>>>
>>> System VMs are running. Trying to upload a template a see the following
>> in
>>> /var/log/cloudstack/management/management-server.log
>>>
>>> 2014-12-10 18:35:22,043 DEBUG [c.c.a.t.Request] (Timer-13:ctx-8ce1d6ae)
>>> Seq 3-8582734989861322876: Sending  { Cmd , MgmtId: 207379926576, via:
>>> 3(s-2-VM), Ver: v1, Flags: 100011, [{"org.apache.cloudstack.
>>> storage.command.DownloadProgressCommand":{"jobId":"2683e976-bd26-450d-
>>> 8774-092665b1233e","request":"GET_STATUS","hvm":true,"
>>> description":"CENTOS","maxDownloadSizeInBytes":53687091200,"id":209,"
>>> resourceType":"TEMPLATE","installPath":"template/tmpl/2/
>>> 209","_store":{"com.cloud.agent.api.to.NfsTO":{"_url":"
>>> nfs://IP/secondary","_role":"Image"}},"url":"http://IP/
>>> CentOS-6-x86_64-vanilla-kvm.qcow2.bz2","format":"QCOW2","
>>> accountId":2,"name":"209-2-4a99674a-acce-36e0-b2f6-
>>> e12a7ad15e6b","secUrl":"nfs://IP/secondary","wait":0}}] }
>>>
>>> Please advice
>>> Vlad
>>>
>>>

Reply via email to