src/rgw/setup/rgw.py
def _verify_backend_store_value(conf: MappedConf):
        """Verify backed store value as motr."""
        config_file = Rgw._get_rgw_config_path(conf)
        confstore_url = const.CONFSTORE_FILE_HANDLER + config_file
        Rgw._load_rgw_config(Rgw._conf_idx, confstore_url)
        backend_store = Conf.get(Rgw._conf_idx, const.RGW_BACKEND_STORE_KEY)
        if not backend_store in const.SUPPORTED_BACKEND_STORES:
            raise SetupError(errno.EINVAL,
                f'Supported rgw backend store are {const.SUPPORTED_BACKEND_STORES},'
                f' currently configured one is {backend_store}')
Verify backed store value as motr.
Verify backed store value as motr.
Verify backed store value as motr .
def _verify_backend_store_value(conf: MappedConf):
        config_file = Rgw._get_rgw_config_path(conf)
        confstore_url = const.CONFSTORE_FILE_HANDLER + config_file
        Rgw._load_rgw_config(Rgw._conf_idx, confstore_url)
        backend_store = Conf.get(Rgw._conf_idx, const.RGW_BACKEND_STORE_KEY)
        if not backend_store in const.SUPPORTED_BACKEND_STORES:
            raise SetupError(errno.EINVAL,
                f'Supported rgw backend store are {const.SUPPORTED_BACKEND_STORES},'
                f' currently configured one is {backend_store}')
def _verify_backend_store_value ( conf : MappedConf ) : config_file = Rgw . _get_rgw_config_path ( conf ) confstore_url = const . CONFSTORE_FILE_HANDLER + config_file Rgw . _load_rgw_config ( Rgw . _conf_idx , confstore_url ) backend_store = Conf . get ( Rgw . _conf_idx , const . RGW_BACKEND_STORE_KEY ) if not backend_store in const . SUPPORTED_BACKEND_STORES : raise SetupError ( errno . EINVAL , f'Supported rgw backend store are {const.SUPPORTED_BACKEND_STORES},' f' currently configured one is {backend_store}' )
Verify backed store value as motr.
Verify backed store value as motr .
"""Verify backed store value as motr."""
conf
MappedConf