[
https://issues.apache.org/jira/browse/VCL-1038?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16003673#comment-16003673
]
ASF subversion and git services commented on VCL-1038:
------------------------------------------------------
Commit 1794653 from [email protected] in branch 'vcl/trunk'
[ https://svn.apache.org/r1794653 ]
VCL-1038
Added check in Module.pm::create_nathost_os_object. If the NAT host OS object
would have been a non-Linux.pm-based module or UnixLab.pm,
'VCL::Module::OS::Linux' is used.
> Wrong OS module used if NAT host image is noimage
> -------------------------------------------------
>
> Key: VCL-1038
> URL: https://issues.apache.org/jira/browse/VCL-1038
> Project: VCL
> Issue Type: Bug
> Components: vcld (backend)
> Reporter: Josh Thompson
> Fix For: 2.5
>
>
> When a computer is configured to use NAT, an OS module must be created to
> control the computer providing NAT. When currentimage for the NAT computer is
> set to noimage, vcld uses the Unix OS module which doesn't have sufficient
> code to handle iptables for doing NAT.
> Here is some info from vcld.log:
> 2017-05-09
> 13:02:34|5706|6|6|reserved|Module.pm:create_nathost_os_object|720|attempting
> to create NAT host OS object
> 2017-05-09
> 13:02:34|5706|6|6|reserved|Module.pm:create_nathost_os_object|753|NAT host
> resource type is computer, creating VCL::Modu
> le::OS::Linux::UnixLab OS object to control vmhost1
> ....
> 2017-05-09 13:02:52|5706|6|6|reserved|OS.pm:process_connect_methods|3702|NAT
> not configured on vmhost1, VCL::Module::OS::Linux::firewall does not
> implement a 'nat_configure_host' subroutine
> 2017-05-09 13:02:52|5706|6|6|reserved|OS.pm:process_connect_methods|3717|NAT
> not configured on vmhost1 for this reservation,
> VCL::Module::OS::Linux::firewall does not implement a
> 'nat_configure_reservation' subroutine
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)