cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Somesh Naidu <Somesh.Na...@citrix.com>
Subject RE: Not able to upload templates: Connection timed out
Date Thu, 11 Dec 2014 20:05:33 GMT
> So... how can I change the password or install an ssh pub key?

You can do either,
1. create a VM from that template, customize it, like change passwd etc and then created a
template out of it (https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/create-template-from-existing-vm.html)
2. upload a ssh keypair and assign it to the VM (https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Installation_Guide/using-sshkeys.html)

In addition, you could also a template as password enabled so cloudstack can be used to manage/reset
the password (https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/add-password-management-to-templates.html)

Hope that helps.

-----Original Message-----
From: Vladislav Nazarenko [mailto:vladislav.nazarenko@gmail.com] 
Sent: Thursday, December 11, 2014 1:29 PM
To: users@cloudstack.apache.org
Subject: Re: Not able to upload templates: Connection timed out

Guys ...

Tejas, Tilak, Somesh,

thanx a lot! With your workarounds I was able to login to SSVM, find the 
reason and upload an image!!!

So I can now create instances now ...

May be one more question ... I downloaded a template (centos) from hier 
http://dl.openvm.eu/cloudstack/centos/vanilla/6/x86_64/CentOS-6-x86_64-vanilla-kvm.qcow2.bz2

It looks like the rootpw is password (according to the kickstart 
http://dl.openvm.eu/cloudstack/centos/ks/vanilla/6/security.ks)

So... how can I change the password or install an ssh pub key?

Thank you in advance
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.dunaway@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.nazarenko@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
>>>
>>>

Mime
View raw message