kiranchavala commented on issue #12925:
URL: https://github.com/apache/cloudstack/issues/12925#issuecomment-4168335863

   Thanks @Matrix89  was able to reproduce the issue 
   
   We need to add a validation for the following api call 
   
   https://cloudstack.apache.org/api/apidocs-4.22/apis/createSSHKeyPair.html
   https://cloudstack.apache.org/api/apidocs-4.22/apis/registerSSHKeyPair.html
   
   
   
   1. Created a sshkeypair with name "test,test"
   
   2. Exception when trying to launch a vm from the ui 
   
   <img width="1581" height="187" alt="Image" 
src="https://github.com/user-attachments/assets/46147bd3-ad0d-4dba-b3a2-68f630174d85";
 />
   
   <img width="1605" height="492" alt="Image" 
src="https://github.com/user-attachments/assets/73439e17-9356-4578-89be-e11e92ba42a1";
 />
   
   3. Depploy a vm from the api call 
   
   ```
   deploy virtualmachine templateid=51f036c4-2137-11f1-b16a-1e00190002a8 
serviceofferingid=327f7a0e-6080-4db3-a861-8ad8de72c6f3 
networkids=d67ca7ca-1022-4653-a15c-3f009bca48af keypair=test,test 
zoneid=b8f183d0-a866-4619-a3e2-dc0ea05c665f
   
   ```
   
   4. Check the ui 
   
   <img width="1628" height="454" alt="Image" 
src="https://github.com/user-attachments/assets/a3e31cc6-5018-490e-bbef-ed7efef3c5de";
 />
   
   <img width="1628" height="550" alt="Image" 
src="https://github.com/user-attachments/assets/2fd87125-e0d4-4667-8df4-274410aa577c";
 />


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