Skip to content

Can't find a VNET that is definitely there #19761

@fitzgeraldsteele

Description

@fitzgeraldsteele

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az vmss create

Errors:

{"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"NotFound","message":"{\r\n  \"error\": {\r\n    \"details\": [],\r\n    \"code\": \"NotFound\",\r\n    \"message\": \"Resource /subscriptions/576f5e67-b043-4ec9-81e9-47c7e8692cc4/resourceGroups/NTIERDEMO/providers/Microsoft.Network/virtualNetworks/WESTCENTRALVNET not found.\"\r\n  }\r\n}"}]}}

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az vmss create -n {} -g {} --orchestration-mode {} --single-placement-group {} --platform-fault-domain-count {} --image {} --vnet-name {} --subnet {} --instance-count {} --network-api-version {} --computer-name-prefix {} --vm-sku {}

Expected Behavior

Environment Summary

Linux-5.4.0-1059-azure-x86_64-with-debian-10.2 (Cloud Shell), Common Base Linux Delridge (quinault)
Python 3.6.10
Installer: DEB

azure-cli 2.28.0

Extensions:
ai-examples 0.2.5
ssh 0.1.6

Additional Context

jerry@Azure:~$ az vmss create -n webflex -g ntierdemo --orchestration-mode flexible --single-placement-group false --platform-fault-domain-count 1 --image ubuntults --vnet-name westcentralvnet --subnet web --instance-count 3 --network-api-version 2020-11-01 --computer-name-prefix webvm --vm-sku Standard_D2s_v3Argument '--orchestration-mode' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Argument '--network-api-version' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
{"status":"Failed","error":{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"NotFound","message":"{\r\n  \"error\": {\r\n    \"details\": [],\r\n    \"code\": \"NotFound\",\r\n    \"message\": \"Resource /subscriptions/576f5e67-b043-4ec9-81e9-47c7e8692cc4/resourceGroups/NTIERDEMO/providers/Microsoft.Network/virtualNetworks/WESTCENTRALVNET not found.\"\r\n  }\r\n}"}]}}
jerry@Azure:~$ az network vnet show -n westcentralvnet -g ntierdemo
{
  "addressSpace": {
    "addressPrefixes": [
      "10.10.0.0/16"
    ]
  },
  "bgpCommunities": null,
  "ddosProtectionPlan": null,
  "dhcpOptions": null,
  "enableDdosProtection": false,
  "enableVmProtection": null,
  "etag": "W/\"61b8a149-1477-4792-b2ff-fc1ca8c87797\"",
  "extendedLocation": null,
  "flowTimeoutInMinutes": null,
  "id": "/subscriptions/576f5e67-b043-4ec9-81e9-47c7e8692cc4/resourceGroups/ntierdemo/providers/Microsoft.Network/virtualNetworks/westcentralvnet",
  "ipAllocations": null,
  "location": "westcentralus",
  "name": "westcentralvnet",
  "provisioningState": "Succeeded",
  "resourceGroup": "ntierdemo",
  "resourceGuid": "d6d0ef77-e6d0-4db6-8b2d-9b7b5f5563f6",

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions