Actions
Bug #53096
openmgr/nfs: handle `radosgw-admin` timeout exceptions
% Done:
0%
Source:
Tags:
backport_processed
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/nfs
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Timeout of the `radosgw-admin` command during nfs export create fails with a cryptic message:
$ ceph nfs export create rgw x bubbles /baz Error EPERM: local variable 'p' referenced before assignment
Traceback from the mgr log:
Traceback (most recent call last): File "/home/ceph/src/pybind/mgr/nfs/export.py", line 365, in create_export return self.create_rgw_export(**kwargs) File "/home/ceph/src/pybind/mgr/nfs/export.py", line 655, in create_rgw_export self._create_export_user(export) File "/home/ceph/src/pybind/mgr/nfs/export.py", line 229, in _create_export_user ret, out, err = self._exec(['radosgw-admin', 'bucket', 'stats', '--bucket', File "/home/ceph/src/pybind/mgr/nfs/export.py", line 155, in _exec return p.returncode, p.stdout.decode(), p.stderr.decode()
Actions