You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/02/07 21:00:26 UTC

[jira] [Commented] (VCL-746) Windows.pm get_service_configuration may hang

    [ https://issues.apache.org/jira/browse/VCL-746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894948#comment-13894948 ] 

ASF subversion and git services commented on VCL-746:
-----------------------------------------------------

Commit 1565780 from [~arkurth] in branch 'vcl/trunk'
[ https://svn.apache.org/r1565780 ]

VCL-745
Added check to Windows.pm::user_logged_in to use the 'Administrator' username for imaging requests.


VCL-746
Updated Windows.pm::get_service_configuration to copy the reg export text file from the remote computer to the management node and then retrieve its contents locally.
Added OS.pm::copy_file_from subroutine. This is called from get_service_configuration.


Other
Removed duplicate call to update_public_ip_address in Windows.pm::post_load.

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