'Raises error if any required configuration flag is missing.'

def check_for_setup_error(self):

    required_flags = ['glusterfs_backup_share']
    for flag in required_flags:
        val = getattr(CONF, flag, None)
        if (not val):
            raise exception.InvalidConfigurationValue(option=flag, value=val)
