Actions
Cleanup #45525
closedqa/task/cephfs/mount.py: skip saving/restoring the previous value for ip_forward
% Done:
0%
Tags:
Backport:
Reviewed:
Affected Versions:
Description
Skip saving/restore the previous value for ip_forward and just hardcode it to 1.
Updated by Xiubo Li almost 4 years ago
2020-05-13T02:11:13.149 INFO:teuthology.orchestra.run.smithi191:> sudo bash -c 'echo 0 > /tmp/python-ceph-brx'
2020-05-13T02:11:13.160 INFO:teuthology.orchestra.run.smithi191.stderr:bash: /tmp/python-ceph-brx: Permission denied
2020-05-13T02:11:13.161 DEBUG:teuthology.orchestra.run:got remote process result: 1
2020-05-13T02:11:13.162 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
File "/home/teuthworker/src/git.ceph.com_git_teuthology_i45438/teuthology/run_tasks.py", line 90, in run_tasks
manager.__enter__()
File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-pdonnell-testing-20200512.190805/qa/tasks/ceph_fuse.py", line 146, in task
info["mount"].mount(mountpoint=mountpoint, mount_path=mount_path)
File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-pdonnell-testing-20200512.190805/qa/tasks/cephfs/fuse_mount.py", line 34, in mount
self.setup_netns()
File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-pdonnell-testing-20200512.190805/qa/tasks/cephfs/mount.py", line 323, in setup_netns
self._setup_brx_and_nat()
File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-pdonnell-testing-20200512.190805/qa/tasks/cephfs/mount.py", line 132, in _setup_brx_and_nat
self.client_remote.run(args=args, timeout=(5*60))
File "/home/teuthworker/src/git.ceph.com_git_teuthology_i45438/teuthology/orchestra/remote.py", line 206, in run
r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
File "/home/teuthworker/src/git.ceph.com_git_teuthology_i45438/teuthology/orchestra/run.py", line 473, in run
r.wait()
File "/home/teuthworker/src/git.ceph.com_git_teuthology_i45438/teuthology/orchestra/run.py", line 162, in wait
self._raise_for_status()
File "/home/teuthworker/src/git.ceph.com_git_teuthology_i45438/teuthology/orchestra/run.py", line 184, in _raise_for_status
node=self.hostname, label=self.label
teuthology.exceptions.CommandFailedError: Command failed on smithi191 with status 1: "sudo bash -c 'echo 0 > /tmp/python-ceph-brx'"
2020-05-13T02:11:13.195 ERROR:teuthology.run_tasks: Sentry event: http://sentry.ceph.com/sepia/teuthology/?q=150cad20d27d4a85970f5d7697465315
Traceback (most recent call last):
File "/home/teuthworker/src/git.ceph.com_git_teuthology_i45438/teuthology/run_tasks.py", line 90, in run_tasks
manager.__enter__()
File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
return next(self.gen)
File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-pdonnell-testing-20200512.190805/qa/tasks/ceph_fuse.py", line 146, in task
info["mount"].mount(mountpoint=mountpoint, mount_path=mount_path)
File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-pdonnell-testing-20200512.190805/qa/tasks/cephfs/fuse_mount.py", line 34, in mount
self.setup_netns()
File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-pdonnell-testing-20200512.190805/qa/tasks/cephfs/mount.py", line 323, in setup_netns
self._setup_brx_and_nat()
File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-pdonnell-testing-20200512.190805/qa/tasks/cephfs/mount.py", line 132, in _setup_brx_and_nat
self.client_remote.run(args=args, timeout=(5*60))
File "/home/teuthworker/src/git.ceph.com_git_teuthology_i45438/teuthology/orchestra/remote.py", line 206, in run
r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
File "/home/teuthworker/src/git.ceph.com_git_teuthology_i45438/teuthology/orchestra/run.py", line 473, in run
r.wait()
File "/home/teuthworker/src/git.ceph.com_git_teuthology_i45438/teuthology/orchestra/run.py", line 162, in wait
self._raise_for_status()
File "/home/teuthworker/src/git.ceph.com_git_teuthology_i45438/teuthology/orchestra/run.py", line 184, in _raise_for_status
node=self.hostname, label=self.label
Updated by Patrick Donnelly almost 4 years ago
- Status changed from In Progress to Fix Under Review
- Assignee changed from Xiubo Li to Patrick Donnelly
- Target version set to v16.0.0
- Pull request ID set to 35081
taking this -- it's particularly disruptive for qa testing and the fix is simple.
Updated by Patrick Donnelly almost 4 years ago
- Status changed from Fix Under Review to Resolved
Actions