Comment 4 for bug 1163312

Revision history for this message
jagan kumar kotipatruni (jagankumar-k) wrote :

Can u post the results of

iptables -t filter -S
sudo iptables -t nat -S

Seems some problem with in this piece of code.

        for cmd, tables in s:
            for table in tables:
                current_table, _err = self.execute('%s-save' % (cmd,), '-c',
                                                   '-t', '%s' % (table,),
                                                   run_as_root=True,
                                                   attempts=5)
                current_lines = current_table.split('\n')
                new_filter = self._modify_rules(current_lines,
                                                tables[table])
                self.execute('%s-restore' % (cmd,), '-c', run_as_root=True,
                             process_input='\n'.join(new_filter),
                             attempts=5)
        LOG.debug(_("IPTablesManager.apply completed with success"))

I need output of the above commands to debug further.

jagan