Project

General

Profile

Actions

Bug #53096

open

mgr/nfs: handle `radosgw-admin` timeout exceptions

Added by Michael Fritch over 2 years ago. Updated over 1 year ago.

Status:
Pending Backport
Priority:
Normal
Category:
-
Target version:
-
% 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 #1

Updated by Michael Fritch over 2 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 43743
Actions #2

Updated by Sage Weil over 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions

Also available in: Atom PDF