[
https://issues.apache.org/jira/browse/VCL-297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Kurth resolved VCL-297.
----------------------------
Resolution: Fixed
> Windows code is using the private IP address from the database rather than
> the hosts file
> -----------------------------------------------------------------------------------------
>
> Key: VCL-297
> URL: https://issues.apache.org/jira/browse/VCL-297
> Project: VCL
> Issue Type: Bug
> Components: vcld (backend)
> Affects Versions: 2.0
> Reporter: Andy Kurth
> Assignee: Andy Kurth
> Priority: Minor
> Fix For: 2.3
>
>
> The Windows OS code is using the computer's private IP address from the
> database rather than the /etc/hosts file on the management node. The code is
> supposed to be trying to use the hosts file first in case the database value
> is incorrect. This isn't happening becuase the value is getting set in the
> reservation data hash from the database by get_request_info. The sub in
> DataStructure.pm checks to see if the hash value is set before attempting to
> retrieve it from /etc/hosts. It is set, so /etc/hosts is never read.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira