Project

General

Profile

Bug #38426

ceph-mgr: Re-enabling the restful module results in "Address already in use" error

Added by Brad Hubbard about 5 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
restful module
Target version:
-
% Done:

0%

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

Description

$ ceph mgr module disable restful
$ ceph mgr module enable restful

The following traceback appears in the mgr log.

2019-02-22 05:47:39.206 7fae7b25b700  0 mgr[restful] Traceback (most recent call last):
  File "/usr/lib64/ceph/mgr/restful/module.py", line 255, in serve
    self._serve()
  File "/usr/lib64/ceph/mgr/restful/module.py", line 330, in _serve
    ssl_context=(cert_fname, pkey_fname),
  File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 486, in make_server
    passthrough_errors, ssl_context)
  File "/usr/lib/python2.7/site-packages/werkzeug/serving.py", line 410, in __init__
    HTTPServer.__init__(self, (host, int(port)), handler)
  File "/usr/lib64/python2.7/SocketServer.py", line 419, in __init__
    self.server_bind()
  File "/usr/lib64/python2.7/BaseHTTPServer.py", line 108, in server_bind
    SocketServer.TCPServer.server_bind(self)
  File "/usr/lib64/python2.7/SocketServer.py", line 430, in server_bind
    self.socket.bind(self.server_address)
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use

Current master, 14.0.1

History

#1 Updated by Brad Hubbard about 5 years ago

  • Subject changed from Re-enabling the restful module results in "Address already in use" error to ceph-mgr: Re-enabling the restful module results in "Address already in use" error

#2 Updated by Greg Farnum about 5 years ago

  • Project changed from Ceph to mgr

#3 Updated by Sebastian Wagner over 4 years ago

  • Category set to restful module

Also available in: Atom PDF