echoidcf commented on issue #4246:
URL: https://github.com/apache/cloudstack/issues/4246#issuecomment-682430370


   Cloudstack 4.7 (but all version should be affected)
   Vmware/vcenter 6.5
   
   The problem is we don't know the exact procedure to make VCenter change the 
device order like I showed. Maybe a upgrade or   a restart or a failover or 
something like that. But it do happened (in our production environment about 8k 
VRs looks like this ).
   And cloudstack can simply use 
   ~~~
   VirtualDevice[] nicDevices = vmMo.getNicDevices(true);
   ~~~
   to prevent the problem without side effects.


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

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


Reply via email to