ravening opened a new pull request #4359:
URL: https://github.com/apache/cloudstack/pull/4359


   
   ## Description
   <!--- Describe your changes in detail -->
   
   If the entries for a host in host_details table are missing then we cant 
update the
   password of the host using the cloudmonkey command
   This can happen because host was removed earlier resulting in deletion
   of entries in the database
   
   This commit fixes the issue
   
   (local) mgt01 > update hostpassword
   hostid=50436ac8-b73a-4eaf-bbab-7adbd9a50870 username=root
   password=cloudstack
   {
     "success": true
   }
   
   Now the entries should be added in host_details table as well
   
   
   ## 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)
   - [X] Bug fix (non-breaking change which fixes an issue)
   - [ ] Enhancement (improves an existing feature and functionality)
   - [ ] Cleanup (Code refactoring and cleanup, that may add test cases)
   
   ## Screenshots (if appropriate):
   
   ## 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. -->
   Using cloudmonkey api updateHost
   
   <!-- 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.

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


Reply via email to