mirror of
https://github.com/ceph/ceph
synced 2025-04-07 01:54:01 +00:00
add the log object to ceph_manager
Signed-off-by: Alfredo Deza <adeza@redhat.com>
This commit is contained in:
parent
920552a266
commit
f7c1ca4a1e
@ -9,6 +9,7 @@ import time
|
|||||||
import gevent
|
import gevent
|
||||||
import base64
|
import base64
|
||||||
import json
|
import json
|
||||||
|
import logging
|
||||||
import threading
|
import threading
|
||||||
import traceback
|
import traceback
|
||||||
import os
|
import os
|
||||||
@ -17,11 +18,12 @@ from tasks.scrub import Scrubber
|
|||||||
from util.rados import cmd_erasure_code_profile
|
from util.rados import cmd_erasure_code_profile
|
||||||
from teuthology.orchestra.remote import Remote
|
from teuthology.orchestra.remote import Remote
|
||||||
from teuthology.orchestra import run
|
from teuthology.orchestra import run
|
||||||
import subprocess
|
|
||||||
|
|
||||||
|
|
||||||
DEFAULT_CONF_PATH = '/etc/ceph/ceph.conf'
|
DEFAULT_CONF_PATH = '/etc/ceph/ceph.conf'
|
||||||
|
|
||||||
|
log = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
def write_conf(ctx, conf_path=DEFAULT_CONF_PATH):
|
def write_conf(ctx, conf_path=DEFAULT_CONF_PATH):
|
||||||
conf_fp = StringIO()
|
conf_fp = StringIO()
|
||||||
|
Loading…
Reference in New Issue
Block a user