def setUp(self): super(TestJobManager, self).setUp() p.patch_minidom_writexml() self.override_config('plugins', ['fake']) pb.setup_plugins() castellan.validate_config() ds_manager.setup_data_sources()
def setup_common(possible_topdir, service_name): dev_conf = os.path.join(possible_topdir, 'etc', 'sahara', 'sahara.conf') config_files = None if os.path.exists(dev_conf): config_files = [dev_conf] config.parse_configs(config_files) common_config.set_config_defaults() log.setup(CONF, "sahara") # Validate other configurations (that may produce logs) here cinder.validate_config() castellan.validate_config() messaging.setup(service_name) plugins_base.setup_plugins() LOG.info(_LI('Sahara {service} started').format(service=service_name))
def setup_common(possible_topdir, service_name): dev_conf = os.path.join(possible_topdir, 'etc', 'sahara', 'sahara.conf') config_files = None if os.path.exists(dev_conf): config_files = [dev_conf] config.parse_configs(config_files) log.setup(CONF, "sahara") # Validate other configurations (that may produce logs) here cinder.validate_config() castellan.validate_config() if service_name != 'all-in-one' or cfg.CONF.enable_notifications: messaging.setup() plugins_base.setup_plugins() LOG.info(_LI('Sahara {service} started').format(service=service_name))
def setUp(self): super(TestInternalSwift, self).setUp() castellan.validate_config()
def setUp(self): super(TestJobManager, self).setUp() p.patch_minidom_writexml() pb.setup_plugins() castellan.validate_config()
def setUp(self): super(TestSwiftType, self).setUp() castellan.validate_config() self.i_s = SwiftType()
def setUp(self): super(JobBinaryTest, self).setUp() castellan.validate_config()
def setUp(self): super(JobExecutionTest, self).setUp() castellan.validate_config()
def setUp(self): super(DataSourceTest, self).setUp() castellan.validate_config()
def setUp(self): super(TestPeriodicBack, self).setUp() self.api = manager.ConductorManager() castellan.validate_config()
def validate_castellan_config(): with admin_context(): castellan.validate_config()