RodrigoDLopez opened a new pull request, #6783:
URL: https://github.com/apache/cloudstack/pull/6783

   ### Description
   When adding a KVM host via ACS UI, it is necessary to provide a username and 
password for ACS to connect via SSH to the host. When using the 
`updateHostPassword` API, ACS updates the password in the metadata. When the 
update_passwd_on_host parameter is specified as true, ACS sends a command to 
the host that causes it to run a script to change the user's password on the 
host.
   
   During some internal tests, it was observed that the script was not changing 
the password and returned an error. Adjustments were made to this script to 
make it work again.
   
   ### Types of changes
   
   - [ ] 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)
   
   ### Feature/Enhancement Scale or Bug Severity
   
   #### Feature/Enhancement Scale
   
   - [ ] Major
   - [ ] Minor
   
   #### Bug Severity
   
   - [ ] BLOCKER
   - [ ] Critical
   - [ ] Major
   - [ ] Minor
   - [ ] Trivial
   
   ### How Has This Been Tested?
   After executing the `updateHostPassword` API, an attempt was made to access 
the host via ssh using the user and the new password as a parameter. The 
expected result is that the password for that user has been updated, and this 
was the result observed during the tests.


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