]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/tasks/cephfs/mount.py: always setup the NAT rules 34978/head
authorXiubo Li <xiubli@redhat.com>
Tue, 12 May 2020 03:13:14 +0000 (23:13 -0400)
committerXiubo Li <xiubli@redhat.com>
Tue, 12 May 2020 03:20:42 +0000 (23:20 -0400)
commit2e6e3916a0989ad7caabac1b76409f9814169ac4
treec367982d4bb663f280078f3a65292584e7f12015
parentf7b49f5bab651dca2d78a5bfe3f47ab1500bcdaf
qa/tasks/cephfs/mount.py: always setup the NAT rules

If the last test failed just after the 'ceph-brx' bridge is created
but with setuping the NAT rules in iptables, so if we run the test
case again, it will just skip seting the 'ceph-brx' and the NAT rules.
Then deleting the NAT rules will get the errors like:

iptables: Bad rule (does a matching rule exist in that chain?).

Signed-off-by: Xiubo Li <xiubli@redhat.com>
qa/tasks/cephfs/mount.py