You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/09/26 13:11:17 UTC

[GitHub] [cloudstack] satishglondhe commented on issue #6765: Using API's created instances gives error Permission denied (publickey) under the VPC network

satishglondhe commented on issue #6765:
URL: https://github.com/apache/cloudstack/issues/6765#issuecomment-1258020041

   _is it the ssh registering or the create new instance that is to be done by the API for this to fail, or both?_
   Both is working, SSH registered using API and passed its name in deployVirtualMachine APIs keypair/ keypairs param. Then we can see the keypair attached to instance in details page at Cloud Stack UI level. But not able to access.
   
   _And what do you mean by
   5. Attach this instance to the VPC network_
   My mistake, Network is created first and it's id passed in deployVirtualMachine API call in param iptonetworklist[0].networkid.
   
   deployVirtualMachine API request params
   
   {
   "apikey": "API_KEY",
   "bootmode": "LEGACY",
   "boottype": "BIOS",
   "command": "deployVirtualMachine",
   "displayname": "vm-kimber-578e53",
   "iptonetworklist[0].networkid": "6320d0b7-fd14-44b1-b32f-266169116424",
   "keypairs": "satish",
   "name": "vm-kimber-578e53",
   "projectid": "adf82a41-3bf9-4798-8ac1-82d3169c6294",
   "response": "json",
   "serviceofferingid": "39f225df-5e9e-43ae-96ed-3ee8b8bb2717",
   "startvm": "true",
   "templateid": "aa94497a-4a4f-4373-8b9e-ec1f3c23e1fb",
   "zoneid": "4b9ecd7c-04af-453a-8b86-88d864e59f71",
   "signature": "mvrrdNbIr+XUHk/N4tYrHn/5WEY="
   }
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org