You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Josh Thompson (JIRA)" <ji...@apache.org> on 2017/05/09 17:57:04 UTC

[jira] [Created] (VCL-1038) Wrong OS module used if NAT host image is noimage

Josh Thompson created VCL-1038:
----------------------------------

             Summary: 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)