[
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 [email protected] 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)