turbinia
turbinia copied to clipboard
Local installation failed when CLOUD_PROVIDER is set None.
The turbinia_config_tmpl.py
says to use None
for local installation.
# Which Cloud provider to use. Valid options are None and 'GCP'. Use 'GCP'
# for GCP or hybrid installations, and None for local installations.
CLOUD_PROVIDER = 'GCP'
However, turbinia/config/__init__.py
specifies CLOUD_PROVIDER is required and None
raises exception.
line#43
# Required config vars
REQUIRED_VARS = [
# Turbinia Config
'INSTANCE_ID',
'CLOUD_PROVIDER',
line#210
if var in REQUIRED_VARS and getattr(_config, var) is None:
raise TurbiniaException(
'Config attribute {0:s}:{1:s} is not set'.format(
_config.configSource, var))
ty roshan i can fix, in meantime, you can put empty ''
instead of None
and that should work