Andy Kurth created VCL-746:
------------------------------

             Summary: Windows.pm get_service_configuration may hang
                 Key: VCL-746
                 URL: https://issues.apache.org/jira/browse/VCL-746
             Project: VCL
          Issue Type: Bug
          Components: vcld (backend)
    Affects Versions: 2.3.2
            Reporter: Andy Kurth
            Assignee: Andy Kurth
            Priority: Minor
             Fix For: 2.4


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.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to