Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.3.2
-
None
Description
The get_service_configuration subroutine in Windows.pm may hang if the remote computer has a lot of data in the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services part of the registry. This is because it is calling reg_export which creates a text file on the remote computer, then get_file_contents is called which makes an SSH call to cat the file. The cat output may be very lengthy.
The code should be changed to copy the file to the management node and then retrieve its contents locally.