Project

General

Profile

Bug #45339

qa/cephfs: run nsenter commands with superuser privileges

Added by Rishabh Dave 5 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
qa
Pull request ID:
Crash signature:

Description

2020-04-29 23:44:37,442.442 INFO:__main__:======================================================================
2020-04-29 23:44:37,442.442 INFO:__main__:ERROR: test_cd_with_args (tasks.cephfs.test_cephfs_shell.TestCD)
2020-04-29 23:44:37,443.443 INFO:__main__:----------------------------------------------------------------------
2020-04-29 23:44:37,443.443 INFO:__main__:Traceback (most recent call last):
2020-04-29 23:44:37,443.443 INFO:__main__:  File "/home/rishabh/repos/ceph/fs-shell/qa/tasks/cephfs/cephfs_test_case.py", line 145, in setUp
2020-04-29 23:44:37,443.443 INFO:__main__:    self.mounts[i].mount_wait()
2020-04-29 23:44:37,443.443 INFO:__main__:  File "/home/rishabh/repos/ceph/fs-shell/qa/tasks/cephfs/mount.py", line 420, in mount_wait
2020-04-29 23:44:37,443.443 INFO:__main__:    mount_options=mount_options)
2020-04-29 23:44:37,443.443 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 752, in mount
2020-04-29 23:44:37,443.443 INFO:__main__:    self.fuse_daemon.wait()
2020-04-29 23:44:37,443.443 INFO:__main__:  File "../qa/tasks/vstart_runner.py", line 176, in wait
2020-04-29 23:44:37,443.443 INFO:__main__:    raise CommandFailedError(self.args, self.exitstatus)
2020-04-29 23:44:37,443.443 INFO:__main__:CommandFailedError: Command failed with status 1: ['nsenter', '--net=/var/run/netns/ceph-ns--tmp-tmpKWmwt3-mnt.0', './bin/ceph-fuse', '--client_die_on_failed_dentry_invalidate=false', '-f', '--name', 'client.0', '/tmp/tmpKWmwt3/mnt.0']
2020-04-29 23:44:37,443.443 INFO:__main__:
$ nsenter --net=/var/run/netns/ceph-ns--tmp-tmpKWmwt3-mnt.0 ./bin/ceph-fuse --client_die_on_failed_dentry_invalidate=false -f  --name client.0 /tmp/tmpKWmwt3/mnt.0
nsenter: reassociate to namespace 'ns/net' failed: Operation not permitted

History

#1 Updated by Rishabh Dave 5 months ago

  • Pull request ID set to 34838

#2 Updated by Rishabh Dave 5 months ago

  • Status changed from New to Fix Under Review

#3 Updated by Patrick Donnelly 5 months ago

  • Target version set to v16.0.0

#4 Updated by Patrick Donnelly 4 months ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF