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 2017/04/14 21:11:41 UTC

[jira] [Commented] (VCL-1033) Add corrective attempts if Windows fails to respond or does not obtain a public IP address

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

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

Commit 1791416 from arkurth@apache.org in branch 'vcl/trunk'
[ https://svn.apache.org/r1791416 ]

VCL-1033
Improved Windows.pm::post_load to attempt to retrieve or set the public IP before settings a persistent default route.

Added code in post_load if the retrieval failed and DHCP is used to call 'ipconfig /renew' and check again.

Cleaned up and modernized Windows.pm::ipconfig_renew.

Changed Version_6.pm::wait_for_response to check if the computer is a VM. If so, the total wait time is reduced to 5 minutes from 10-30. If the wait time is reached without a response, an attempt is made to call the provisioning object's power_reset subroutine, then another response loop is attempted.

> Add corrective attempts if Windows fails to respond or does not obtain a public IP address
> ------------------------------------------------------------------------------------------
>
>                 Key: VCL-1033
>                 URL: https://issues.apache.org/jira/browse/VCL-1033
>             Project: VCL
>          Issue Type: Improvement
>          Components: vcld (backend)
>            Reporter: Andy Kurth
>            Assignee: Andy Kurth
>             Fix For: 2.5
>
>
> The OS post-load code loops until the computer responds to SSH.  The most common load failure is due to the computer never responding.  This is often caused by a blip which prevents the computer from obtaining a private IP address.
> Problems also occur when the public IP isn't obtained the first time the computer attempts to request one.  If the first attempt fails, the VCL code does not attempt any corrective measures.
> Load failures would be greatly reduced if the code attempted to restart the computer after some amount of time and checking again for an SSH response.
> Many problems would also be corrected if the code detected that the public IP wasn't obtained via DHCP, and called ipconfig /renew.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)