Project

General

Profile

Actions

Bug #23136

open

mgr: disable then enable of Restful plugin does not work without restart of active manager.

Added by Hans van den Bogert about 6 years ago. Updated over 4 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
-
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

The restful plugin does not work after a disable/enable cycle:

curl -k https://mon03:8003 {
"api_version": 1,
"auth": "Use \"ceph restful create-key <key>\" to create a key pair, pass it as HTTP Basic auth to authenticate",
"doc": "See /doc endpoint",
"info": "Ceph Manager RESTful API server"
cephadmin@mon03:~$ ceph mgr module disable restful
cephadmin@mon03:~$ ceph mgr module enable restful
cephadmin@mon03:~$ curl --connect-timeout 20 -k https://mon03:8003
curl: (28) Operation timed out after 0 milliseconds with 0 out of 0 bytes received
cephadmin@mon03:~$

Actions

Also available in: Atom PDF