shwstppr commented on pull request #5242:
URL: https://github.com/apache/cloudstack/pull/5242#issuecomment-890871260


   @DaanHoogland 
   
   - I've not debugged the reason but not all VMs have an internal name in 
vCenter in my env
   - I cloned a VM in vCenter. Cloned VM didn't have an internal name assigned 
though it had the property. 
   ![Screenshot from 2021-08-02 
14-47-17](https://user-images.githubusercontent.com/153340/127837480-cb3a7fdd-caf1-491d-b690-31783ffbb34a.png)
   
   - I manually set the value there to `ak-cloned`
   ![Screenshot from 2021-08-02 
14-48-45](https://user-images.githubusercontent.com/153340/127837138-631f5128-3937-4ddd-8086-3b9f2f1da25a.png)
   
   - Code didn't pick this value during import as the method 
`isUserVMInternalCSName` would return false. So after import `instance_name` in 
the vm_instance` table for the VM remained `cloned`
   ![Screenshot from 2021-08-02 
13-51-36](https://user-images.githubusercontent.com/153340/127837210-fc79550a-eb66-4d61-8ce0-42e882134664.png)
   ![Screenshot from 2021-08-02 
14-01-04](https://user-images.githubusercontent.com/153340/127837226-c78cb7cc-f396-4727-ba4b-5043cd82a878.png)
   


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