Comments (3)
Please post the exact error received. Thank you!
from saltext-azurerm.
[ERROR ] There was a query error: No value for given attribute
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/salt/cloud/cli.py", line 319, in run
ret = mapper.run_map(dmap)
File "/usr/lib/python3/dist-packages/salt/cloud/init.py", line 2196, in run_map
output[name] = self.create(profile, local_master=local_master)
File "/usr/lib/python3/dist-packages/salt/cloud/init.py", line 1226, in create
output = self.cloudsfunc
File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 149, in call
return self.loader.run(run_func, *args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1201, in run
return self._last_context.run(self._run_as, func_or_method, *args, **kwargs)
File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1216, in run_as
return func_or_method(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/saltext/azurerm/clouds/azurerm.py", line 1271, in create
vm_request = request_instance(vm=vm)
File "/usr/local/lib/python3.8/dist-packages/saltext/azurerm/clouds/azurerm.py", line 895, in request_instance
iface_data, public_ips, private_ips = create_network_interface(call="action", kwargs=vm)
File "/usr/local/lib/python3.8/dist-packages/saltext/azurerm/clouds/azurerm.py", line 711, in create_network_interface
subnet_obj = netconn.subnets.get(
File "/usr/local/lib/python3.8/dist-packages/azure/core/tracing/decorator.py", line 78, in wrapper_use_tracer
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/azure/mgmt/network/v2021_08_01/operations/_operations.py", line 57344, in get
request = build_subnets_get_request(
File "/usr/local/lib/python3.8/dist-packages/azure/mgmt/network/v2021_08_01/operations/_operations.py", line 14408, in build_subnets_get_request
"resourceGroupName": _SERIALIZER.url("resource_group_name", resource_group_name, 'str'),
File "/usr/local/lib/python3.8/dist-packages/msrest/serialization.py", line 652, in url
output = self.serialize_data(data, data_type, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/msrest/serialization.py", line 760, in serialize_data
raise ValueError("No value for given attribute")
ValueError: No value for given attribute
from saltext-azurerm.
Yeah, it doesn't look like there's any parameter verification in that section. We'll leave this open so we can build in that error reporting.
In the meantime, the following parameters in your profile need to be changed:
virtual_network_name
> network
subnet_name
> subnet
resource_group_name
> resource_group
(or network_resource_group
if in a different rg than the rest of your resources)
They don't track the SDK names for the parameters... so that might be another thing we want to standardize.
from saltext-azurerm.
Related Issues (18)
- [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] 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
- [BUG] TypeError: azure.identity._credentials.managed_identity.ManagedIdentityCredential() got multiple values for keyword argument 'client_id' HOT 1
- [FEATURE REQUEST] Set Virtual Machine Tags via Salt Cloud
- [BUG] got multiple values for keyword argument 'client_id' HOT 1
- [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.