[
https://issues.apache.org/jira/browse/VCL-609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13430437#comment-13430437
]
Dmitri Chebotarov commented on VCL-609:
---------------------------------------
Andy, I think you are referring to this error:
|image|DataStructure.pm:get_computer_private_ip_address(1589)|failed to cat
/etc/hosts on this management node, exit status: 255, output:
Last time I got this error it was caused by non-0 return status while executing
SSH command during reservation. In my case it was:
new|utils.pm:run_ssh_command(5481)|SSH command executed on vmguest-vcl91,
returning (0, "The following error occurred: ...")
It didn't triggered a warning or error during the reservation process, but I
think the non-0 return code is "passed" to get_computer_private_ip_address
subroutine, which triggers the error/failure above, but there is nothing wrong
with the 'cat /etc/hosts'.
> Reservations fail if cat command returns non-zero exit status when retrieving
> contents of /etc/hosts on management node
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: VCL-609
> URL: https://issues.apache.org/jira/browse/VCL-609
> Project: VCL
> Issue Type: Bug
> Components: vcld (backend)
> Affects Versions: 2.3
> Reporter: Andy Kurth
> Assignee: Andy Kurth
> Priority: Minor
> Fix For: 2.3.1
>
>
> The get_computer_private_ip_address subroutine in Datastructure.pm retrieves
> the contents of /etc/hosts on the management node using the cat command.
> Occasionally this command returns a non-zero exit status even though the
> contents were retrieved causing the subroutine to return null unnecessarily.
--
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