CONF(sys.argv[1:], project='cinder',
version=version.version_string())
logging.setup(CONF, "cinder")
+ python_logging.captureWarnings(True)
utils.monkey_patch()
- gmr.TextGuruMeditation.setup_autorun(version)
+ gmr.TextGuruMeditation.setup_autorun(version, conf=CONF)
rpc.init(CONF)
launcher = service.process_launcher()
CONF(sys.argv[1:], project='cinder',
version=version.version_string())
logging.setup(CONF, "cinder")
+ python_logging.captureWarnings(True)
utils.monkey_patch()
- gmr.TextGuruMeditation.setup_autorun(version)
+ gmr.TextGuruMeditation.setup_autorun(version, conf=CONF)
server = service.Service.create(binary='cinder-backup')
service.serve(server)
service.wait()
CONF(sys.argv[1:], project='cinder',
version=version.version_string())
logging.setup(CONF, "cinder")
+ python_logging.captureWarnings(True)
utils.monkey_patch()
- gmr.TextGuruMeditation.setup_autorun(version)
+ gmr.TextGuruMeditation.setup_autorun(version, conf=CONF)
server = service.Service.create(binary='cinder-scheduler')
service.serve(server)
service.wait()
CONF(sys.argv[1:], project='cinder',
version=version.version_string())
logging.setup(CONF, "cinder")
+ python_logging.captureWarnings(True)
utils.monkey_patch()
- gmr.TextGuruMeditation.setup_autorun(version)
+ gmr.TextGuruMeditation.setup_autorun(version, conf=CONF)
launcher = service.get_launcher()
LOG = logging.getLogger(__name__)
service_started = False