Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-231

ninuteman repeatedly crashing complaining 'iptables: command not found'

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Won't Do
    • Affects Version/s: 1.7-open
    • Fix Version/s: None
    • Component/s: networking
    • Labels:
      None
    • Environment:

      Description

      I've installed the DCOS on a 10 bare-metal node cluster with SLES 12.1 OS.

      All the functionalities seem to be working except for the VIP.

      I found the minuteman service is constantly restarted by systemd.

      Here are some logs:
      error.log:

      2016-07-12 00:08:01.077 [error] <0.988.0>@minuteman_network_sup:load_rule:83 Unknown response: {ok,"/bin/sh: line 1: iptables: command not found\n"}
      2016-07-12 00:08:01.078 [error] <0.988.0> Supervisor minuteman_sup had child undefined started with minuteman_network_sup:start_link() at undefined exit with reason {'EXIT',{iptables_fail,[{minuteman_network_sup,load_rule,1,[{file,"/pkg/src/minuteman/_build/prod/lib/minuteman/src/minuteman_network_sup.erl"},{line,84}]},{lists,foreach,2,[{file,"lists.erl"},{line,1337}]},{minuteman_network_sup,start_link,0,[{file,"/pkg/src/minuteman/_build/prod/lib/minuteman/src/minuteman_network_sup.erl"},{line,46}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,343}]},{supervisor,start_children,3,[{file,"supervisor.erl"},{line,326}]},{supervisor,init_children,...},...]}} in context start_error
      2016-07-12 00:08:01.079 [error] <0.986.0> CRASH REPORT Process <0.986.0> with 0 neighbours exited with reason: {{shutdown,{failed_to_start_child,minuteman_network_sup,{'EXIT',{iptables_fail,[{minuteman_network_sup,load_rule,1,[{file,"/pkg/src/minuteman/_build/prod/lib/minuteman/src/minuteman_network_sup.erl"},{line,84}]},{lists,foreach,2,[{file,"lists.erl"},{line,1337}]},{minuteman_network_sup,start_link,0,[{file,"/pkg/src/minuteman/_build/prod/lib/minuteman/src/minuteman_network_sup.erl"},{line,46}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,343}]},{supervisor,start_children,3,[{...},...]},...]}}}},...} in application_master:init/4 line 134
      

      crash.log:

      2016-07-12 00:08:01 =SUPERVISOR REPORT====
           Supervisor: {local,minuteman_sup}
           Context:    start_error
           Reason:     {'EXIT',{iptables_fail,[{minuteman_network_sup,load_rule,1,[{file,"/pkg/src/minuteman/_build/prod/lib/minuteman/src/minuteman_network_sup.erl"},{line,84}]},{lists,foreach,2,[{file,"lists.erl"},{line,1337}]},{minuteman_network_sup,start_link,0,[{file,"/pkg/src/minuteman/_build/prod/lib/minuteman/src/minuteman_network_sup.erl"},{line,46}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,343}]},{supervisor,start_children,3,[{file,"supervisor.erl"},{line,326}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,292}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,328}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}}
           Offender:   [{pid,undefined},{id,minuteman_network_sup},{mfargs,{minuteman_network_sup,start_link,[]}},{restart_type,permanent},{shutdown,5000},{child_type,supervisor}]
      
      2016-07-12 00:08:01 =CRASH REPORT====
        crasher:
          initial call: application_master:init/4
          pid: <0.986.0>
          registered_name: []
          exception exit: {{{shutdown,{failed_to_start_child,minuteman_network_sup,{'EXIT',{iptables_fail,[{minuteman_network_sup,load_rule,1,[{file,"/pkg/src/minuteman/_build/prod/lib/minuteman/src/minuteman_network_sup.erl"},{line,84}]},{lists,foreach,2,[{file,"lists.erl"},{line,1337}]},{minuteman_network_sup,start_link,0,[{file,"/pkg/src/minuteman/_build/prod/lib/minuteman/src/minuteman_network_sup.erl"},{line,46}]},{supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,343}]},{supervisor,start_children,3,[{file,"supervisor.erl"},{line,326}]},{supervisor,init_children,2,[{file,"supervisor.erl"},{line,292}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,328}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}}}},{minuteman_app,start,[normal,[]]}},[{application_master,init,4,[{file,"application_master.erl"},{line,134}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}]}
          ancestors: [<0.985.0>]
          messages: [{'EXIT',<0.987.0>,normal}]
          links: [<0.985.0>,<0.760.0>]
          dictionary: []
          trap_exit: true
          status: running
          heap_size: 1598
          stack_size: 27
          reductions: 241
        neighbours:
      

      I am wondering why it said iptables not found.

      Could it be the reason that SLES is not supported well by DCOS? Must I reinstall DCOS with RHEL/CentOS to get all the things up and running?

        Attachments

          Activity

            People

            • Assignee:
              sargun Sargun Dhillon (Inactive)
              Reporter:
              pengwa Enzo Wang
              Watchers:
              Enzo Wang, Sargun Dhillon (Inactive)
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your JIRA administrators.