The part that was missing, I had to deploy instance via API calls and specify 
the keypair. 

Also, from what I am seeing in API docs for 3.0.x - there is really no way to 
change the key after it was deployed.

With that in mind, I have two questions I would truly appreciate if you can 
help answering.

1) In mysql, when you do assign ssh keypair to a vm via API calls, what 
field/table gets updated? For example, I can see there is a table ssh_keypairs 
- but I cant figure out where the relationship of VM to Keypair is set in mysql.

2) Do we have API docs for ACS 4 posted somewhere?

I may have to look into extending GUI and adding ability to pick ssh_keypairs 
during instance deployment. If I do make headway in that, I will post code - 
unless its already in the works.

As always, thank you for your feedback,

Regards
ilya
-----Original Message-----
From: Harikrishna Patnala [mailto:harikrishna.patn...@citrix.com] 
Sent: Friday, October 12, 2012 1:26 AM
To: cloudstack-dev@incubator.apache.org
Subject: RE: SSH keys and linux VMs on CS 3.0.3 + doc mistake/bug


did you check the api call while deploying your VM? To associate ssh key to 
your VM, you need to provide the ssh keypair name (that you have already 
created) while deploying the VM.
-----Original Message-----
From: Musayev, Ilya [mailto:imusa...@webmd.net] 
Sent: 12 October 2012 09:28
To: cloudstack-dev@incubator.apache.org
Subject: SSH keys and linux VMs on CS 3.0.3 + doc mistake/bug

> I created an ssh key via API call and installed the cloud-ssh script on the 
> linux vm. At the moment I run CS 3.0.3
> 
> I'm able to confirm that linux VM connects to router vm and look for the ssh 
> keys. However on router VM, ssh file is blank. I sshd to a router vm and 
> confirmed it as well in /var/www/html (I think it was metadata)/{IP}/*-ssh
> 
> 
> One other note, I think it's a mistake in doc or bug - the API mention that 
> domainid and account are optional - but when you do an actual API call, it 
> appears that its required. I provided ROOT domain id and my user account name 
> and the key has been generated then.
> 
> If anyone got this part to work, please kindly shed some light on what am I 
> missing.
> 
> Thanks
> ilya



Reply via email to