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
Attempting to deploy Algo to Azure via a Google Cloud Shell. Followed directions for deployment but encountered an error on step 6:
TASK [cloud-azure : Create AlgoVPN Server] ****************************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'list' object has no attribute 'get'
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):
File \"/home/<REDACTED>/.ansible/tmp/ansible-tmp-1633527977.8338578-3510-221620219594329/AnsiballZ_azure_rm_deployment.py\", line 102, in <module>
_ansiballz_main()
File \"/home/<REDACTED>/.ansible/tmp/ansible-tmp-1633527977.8338578-3510-221620219594329/AnsiballZ_azure_rm_deployment.py\", line 94, in _ansiballz_main
invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)
File \"/home/<REDACTED>/.ansible/tmp/ansible-tmp-1633527977.8338578-3510-221620219594329/AnsiballZ_azure_rm_deployment.py\", line 40, in invoke_module
runpy.run_module(mod_name='ansible.modules.cloud.azure.azure_rm_deployment', init_globals=None, run_name='__main__', alter_sys=True)
File \"/usr/lib/python3.7/runpy.py\", line 205, in run_module
return _run_module_code(code, init_globals, run_name, mod_spec)
File \"/usr/lib/python3.7/runpy.py\", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File \"/usr/lib/python3.7/runpy.py\", line 85, in _run_code
exec(code, run_globals)
File \"/tmp/ansible_azure_rm_deployment_payload_dlz47xer/ansible_azure_rm_deployment_payload.zip/ansible/modules/cloud/azure/azure_rm_deployment.py\", line 702, in <module>
File \"/tmp/ansible_azure_rm_deployment_payload_dlz47xer/ansible_azure_rm_deployment_payload.zip/ansible/modules/cloud/azure/azure_rm_deployment.py\", line 698, in main
File \"/tmp/ansible_azure_rm_deployment_payload_dlz47xer/ansible_azure_rm_deployment_payload.zip/ansible/modules/cloud/azure/azure_rm_deployment.py\", line 471, in __init__
File \"/tmp/ansible_azure_rm_deployment_payload_dlz47xer/ansible_azure_rm_deployment_payload.zip/ansible/module_utils/azure_rm_common.py\", line 341, in __init__
File \"/tmp/ansible_azure_rm_deployment_payload_dlz47xer/ansible_azure_rm_deployment_payload.zip/ansible/module_utils/azure_rm_common.py\", line 1148, in __init__
File \"/tmp/ansible_azure_rm_deployment_payload_dlz47xer/ansible_azure_rm_deployment_payload.zip/ansible/module_utils/azure_rm_common.py\", line 1378, in _get_credentials
File \"/tmp/ansible_azure_rm_deployment_payload_dlz47xer/ansible_azure_rm_deployment_payload.zip/ansible/module_utils/azure_rm_common.py\", line 1289, in _get_azure_cli_credentials
File \"/home/<REDACTED>/algo/.env/lib/python3.7/site-packages/azure/common/credentials.py\", line 47, in get_azure_cli_credentials
cred, subscription_id, _ = profile.get_login_credentials(resource=resource)
File \"/home/<REDACTED>/algo/.env/lib/python3.7/site-packages/azure/cli/core/_profile.py\", line 559, in get_login_credentials
account = self.get_subscription(subscription_id)
File \"/home/<REDACTED>/algo/.env/lib/python3.7/site-packages/azure/cli/core/_profile.py\", line 516, in get_subscription
subscriptions = self.load_cached_subscriptions()
File \"/home/<REDACTED>/algo/.env/lib/python3.7/site-packages/azure/cli/core/_profile.py\", line 500, in load_cached_subscriptions
subscriptions = self._storage.get(_SUBSCRIPTIONS) or []
File \"/home/<REDACTED>/algo/.env/lib/python3.7/site-packages/azure/cli/core/_session.py\", line 79, in get
return self.data.get(key, default)
AttributeError: 'list' object has no attribute 'get'
", "module_stdout": "", "msg": "MODULE FAILURE
See stdout/stderr for the exact error", "rc": 1}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Attempting to deploy Algo to Azure via a Google Cloud Shell. Followed directions for deployment but encountered an error on step 6:
Beta Was this translation helpful? Give feedback.
All reactions