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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to