sureshanaparti opened a new pull request #1257:
URL: https://github.com/apache/cloudstack/pull/1257


   ## Description
   <!--- Describe your changes in detail -->
   CLOUDSTACK-9175: [VMware DRS] Adding new host to DRS cluster does not 
participate in load balancing.
   
   Summary: When a new host is added to a cluster, Cloudstack doesn't create 
all the port groups (created by cloudstack earlier in other hosts) present in 
the cluster. Since the new host doesn't have all the necessary networking port 
groups of cloudstack, it is not eligible to participate in DRS load balancing 
or HA.
   
   Solution: When adding a host to the cluster in Cloudstack, use VMware API to 
find the list of unique port groups on a previously added host (older host in 
the cluster) if exists and then create them on the new host.
   
   <!-- For new features, provide link to FS, dev ML discussion etc. -->
   <!-- In case of bug fix, the expected and actual behaviours, steps to 
reproduce. -->
   
   <!-- When "Fixes: #<id>" is specified, the issue/PR will automatically be 
closed when this PR gets merged -->
   <!-- For addressing multiple issues/PRs, use multiple "Fixes: #<id>" -->
   <!-- Fixes: # -->
    Fixes: #3156 
   
   ## Types of changes
   <!--- What types of changes does your code introduce? Put an `x` in all the 
boxes that apply: -->
   - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
   - [ ] New feature (non-breaking change which adds functionality)
   - [] Bug fix (non-breaking change which fixes an issue)
   - [x] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ## Screenshots (if appropriate):
   
   
![ACS_AddPortGroupsToNewHostAdded_VMware](https://user-images.githubusercontent.com/12028987/129905676-e6eace15-4c16-48ab-ac55-6f28f12f702e.png)
   
   
   ## How Has This Been Tested?
   <!-- Please describe in detail how you tested your changes. -->
   <!-- Include details of your testing environment, and the tests you ran to 
-->
   <!-- see how your change affects other areas of the code, etc. -->
   Manually tested adding a new host in the VMware cluster, and verified the 
port groups added in the new host.
   
   <!-- Please read the 
[CONTRIBUTING](https://github.com/apache/cloudstack/blob/master/CONTRIBUTING.md)
 document -->
   
   
   
   


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