You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On server side : pip install covalent==v0.227.0-rc.0
pip install covalent-azurebatch-plugin==0.12.0
On client side: pip install covalent==v0.227.0-rc.0
I set the base_image_uri to "covalent.azurecr.io/covalent-executor-base:latest" according to the official covalent documentation.
And the error happened. I checked the error in Azure.
It seems that the environment AZURE_CLIENT_ID, AZURE_CLIENT_SECRET and AZURE_TENANT_ID cannot be found in the image.
So I add these environment variables into covalent_azurebatch_plugin/azurebatch.py, and it works!
So I want to know if it is necessary to build my own custom image to pass the credential envs to it ?
Or is this error caused by my wrong settings?
Could you help me about this error?
Thanks.
The text was updated successfully, but these errors were encountered:
On server side :
pip install covalent==v0.227.0-rc.0
pip install covalent-azurebatch-plugin==0.12.0
On client side:
pip install covalent==v0.227.0-rc.0
Config on the server:
` [sdk]
config_file = "/root/.config/covalent/covalent.conf"
log_dir = "/var/lib/covalent/.cache/covalent"
log_level = "warning"
enable_logging = "true"
executor_dir = "/var/lib/covalent/.config/covalent/executor_plugins"
no_cluster = "false"
exhaustive_postprocess = "true"
[dispatcher]
address = "localhost"
port = 48008
cache_dir = "/var/lib/covalent/.cache/covalent"
results_dir = "/var/lib/covalent/.local/share/covalent/data"
log_dir = "/var/lib/covalent/.cache/covalent"
db_path = "/var/lib/covalent/.local/share/covalent/dispatcher_db.sqlite"
heartbeat_interval = 5
heartbeat_file = "/var/lib/covalent/.cache/covalent/heartbeat"
[dask]
cache_dir = "/var/lib/covalent/.cache/covalent"
log_dir = "/var/lib/covalent/.cache/covalent"
mem_per_worker = "auto"
threads_per_worker = 1
num_workers = 16
scheduler_address = "tcp://127.0.0.1:34541"
dashboard_link = "http://127.0.0.1:8787/status"
process_info = ""
pid = 98506
admin_host = "127.0.0.1"
admin_port = 40297
[workflow_data]
storage_type = "local"
base_dir = "/var/lib/covalent/.local/share/covalent/workflow_data"
[user_interface]
address = "localhost"
port = 48008
dev_port = 49009
log_dir = "/var/lib/covalent/.cache/covalent"
[executors.dask]
log_stdout = "stdout.log"
log_stderr = "stderr.log"
cache_dir = "/root/.cache/covalent"
workdir = "/root/.cache/covalent/workdir"
create_unique_workdir = false
[executors.local]
log_stdout = "stdout.log"
log_stderr = "stderr.log"
cache_dir = "/root/.cache/covalent"
workdir = "/root/.cache/covalent/workdir"
create_unique_workdir = false
[executors.remote_executor]
poll_freq = 15
remote_cache = ".cache/covalent"
credentials_file = ""
[executors.azurebatch]
tenant_id = "tenant_id"
client_id = "client_id"
client_secret = "secret"
batch_account_url = "account_url"
storage_account_name = "Mystorage"
pool_id = "Mypool"
retries = 5
time_limit = 500
base_image_uri = "covalent.azurecr.io/covalent-executor-base:latest"
cache_dir = "/tmp/covalent"
poll_freq = 10
batch_account_domain = "batch.core.windows.net"
storage_account_domain = "blob.core.windows.net"
`
I set the base_image_uri to "covalent.azurecr.io/covalent-executor-base:latest" according to the official covalent documentation.
And the error happened. I checked the error in Azure.
It seems that the environment AZURE_CLIENT_ID, AZURE_CLIENT_SECRET and AZURE_TENANT_ID cannot be found in the image.
So I add these environment variables into covalent_azurebatch_plugin/azurebatch.py, and it works!
So I want to know if it is necessary to build my own custom image to pass the credential envs to it ?
Or is this error caused by my wrong settings?
Could you help me about this error?
Thanks.
The text was updated successfully, but these errors were encountered: