Comments (1)
I get the same TypeError when running the list_nodes
function. I've confirmed that I have only one client_id
value defined
[ERROR ] There was an error running the function: azure.identity._credentials.managed_identity.ManagedIdentityCredential() got multiple values for keyword argument 'client_id'
Traceback (most recent call last):
File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/cli.py", line 242, in run
ret = mapper.do_function(
File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/cloud/__init__.py", line 1567, in do_function
return {alias: {driver: self.clouds[fun](call="function")}}
File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/loader/lazy.py", line 159, in __call__
ret = self.loader.run(run_func, *args, **kwargs)
File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/loader/lazy.py", line 1245, in run
return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs)
File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/loader/lazy.py", line 1260, in _run_as
return _func_or_method(*args, **kwargs)
File "/opt/saltstack/salt/extras-3.10/saltext/azurerm/clouds/azurerm.py", line 466, in list_nodes
nodes = list_nodes_full()
File "/opt/saltstack/salt/extras-3.10/saltext/azurerm/clouds/azurerm.py", line 483, in list_nodes_full
netapi_versions = get_api_versions(
File "/opt/saltstack/salt/extras-3.10/saltext/azurerm/clouds/azurerm.py", line 186, in get_api_versions
resconn = get_conn(client_type="resource")
File "/opt/saltstack/salt/extras-3.10/saltext/azurerm/clouds/azurerm.py", line 260, in get_conn
client = saltext.azurerm.utils.azurerm.get_client(client_type=client_type, **conn_kwargs)
File "/opt/saltstack/salt/extras-3.10/saltext/azurerm/utils/azurerm.py", line 161, in get_client
credentials, subscription_id, cloud_env = _determine_auth(**kwargs)
File "/opt/saltstack/salt/extras-3.10/saltext/azurerm/utils/azurerm.py", line 102, in _determine_auth
credentials = DefaultAzureCredential(authority=authority, **kwargs)
File "/opt/saltstack/salt/extras-3.10/azure/identity/_credentials/default.py", line 126, in __init__
credentials.append(ManagedIdentityCredential(client_id=managed_identity_client_id, **kwargs))
TypeError: azure.identity._credentials.managed_identity.ManagedIdentityCredential() got multiple values for keyword argument 'client_id'
from saltext-azurerm.
Related Issues (20)
- [FEATURE REQUEST] allow using both ssh public key and password
- [FEATURE REQUEST] support multiple NICs
- [BUG] Fix salt-cloud VM creation w/ latest SDK versions HOT 1
- [BUG] the Azure extension seems to have an interaction error with salt-cloud in version 3004.2 HOT 3
- [BUG] error thrown for incomplete profile but does not indicate which attribute is missing a value HOT 3
- [BUG] The DeploymentProperties model in the resource Azure module is not available. HOT 1
- [FEATURE REQUEST] support keyvault operations
- [TECH DEBT] ADAL to MSAL change
- [DOCS] User documentation link results in a page not found
- [BUG] NameError: name '__salt__' is not defined
- [FEATURE REQUEST] Add support of exposing meta_server_grains for Azure VMs HOT 1
- [FEATURE REQUEST] Set Virtual Machine Tags via Salt Cloud
- [BUG] got multiple values for keyword argument 'client_id' HOT 1
- [BUG] saltext-azurerm Installation Error on 4.1.0 HOT 2
- [BUG] Cannot Create Instances with Cloud
- [FEATURE REQUEST] salt-cloud azure add availability zone as configuration setting HOT 1
- [BUG] AzureFS doesn't work with latest versions of the Azure.Storage wheel
- [FEATURE REQUEST] Auto generate password for windows in azurerm
- [BUG] azurefs filling master log with errors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from saltext-azurerm.