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
# mention cluster only when there are multiple subnets with same name accross clusters
The code block below states you need to specify the cluster name when the subnet name exists across multiple clusters. However, this puts the onus of detecting multiple subnet names on the user and creates non-DRY ansible playbooks.
Expected:
Stating a cluster name for a subnet should always be successful, regardless if the subnet is a single instance or has multiple instances across clusters.
Actual:
Stating a cluster name on a subnet with no duplicates results in subnet not found
Additional:
Note the misspelling on line 35 of accross ( -> across )
Thanks!
networks:
- is_connected: True
subnet:
name: "{{ subnet_name }}"
# mention cluster only when there are multiple subnets with same name accross clusters
# and subnet name is set above
cluster:
name: "{{cluster_name}}"
The text was updated successfully, but these errors were encountered:
jhowe-uw
changed the title
Fragile Code: Specifying Cluster on Non-Multiple Subnet Name Results in Subnet Not Found
Fragile Code: New VM: Specifying Cluster on Non-Multiple Subnet Name Results in Subnet Not Found
Aug 2, 2023
jhowe-uw
changed the title
Fragile Code: New VM: Specifying Cluster on Non-Multiple Subnet Name Results in Subnet Not Found
[Bug] Fragile Code: New VM: Specifying Cluster on Non-Multiple Subnet Name Results in Subnet Not Found
Aug 2, 2023
jhowe-uw
changed the title
[Bug] Fragile Code: New VM: Specifying Cluster on Non-Multiple Subnet Name Results in Subnet Not Found
[Bug] ntnx_vms: New VM: Fragile Code: Specifying Cluster on Non-Multiple Subnet Name Results in Subnet Not Found
Aug 2, 2023
I have tried creating a VM with a unique subnet name and cluster name, it works as expected.
Can you check once if the subnet info has status.cluster_reference.uuid ?
We can surely update the comment that cluster name can be passed in any case of VLAN.
nutanix.ansible/examples/vm.yml
Line 35 in 923e9c7
The code block below states you need to specify the cluster name when the subnet name exists across multiple clusters. However, this puts the onus of detecting multiple subnet names on the user and creates non-DRY ansible playbooks.
Expected:
Stating a cluster name for a subnet should always be successful, regardless if the subnet is a single instance or has multiple instances across clusters.
Actual:
Stating a cluster name on a subnet with no duplicates results in subnet not found
Additional:
Note the misspelling on line 35 of accross ( -> across )
Thanks!
The text was updated successfully, but these errors were encountered: