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/08/01 20:07:40 UTC

[jira] [Commented] (VCL-769) VMware vim-cmd fails if services fail

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

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

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

VCL-769
Added VIM_SSH.pm::_check_service_pid. This checks if the contents of a service's PID file matches the parent service process. If they do not match, the PID file is updated. This is done before 'services.sh restart' is called.

Added a semaphore to the _services_restart subroutine so that multiple processes for the same VM host do not attempt to restart the services at the same time.

> VMware vim-cmd fails if services fail
> -------------------------------------
>
>                 Key: VCL-769
>                 URL: https://issues.apache.org/jira/browse/VCL-769
>             Project: VCL
>          Issue Type: Improvement
>          Components: vcld (backend)
>    Affects Versions: 2.3.2
>            Reporter: Andy Kurth
>            Assignee: Andy Kurth
>            Priority: Minor
>             Fix For: 2.4
>
>
> The VIM_SSH.pm module will fail to initialize if some of the VMware services are not responding.  When this occurs, the output of many of the vim-cmd's will be:
> Failed to login: Connection reset by peer
> This can be resolved by restarting the VMware services by running:
> services.sh restart
> A call to this could be added to the code when the problem is detected.



--
This message was sent by Atlassian JIRA
(v6.2#6252)