Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gcloud compute instances list
- NAME ZONE MACHINE_TYPE PREEMPTIBLE INTERNAL_IP EXTERNAL_IP STATUS
- instance-1 us-central1-f custom (1 vCPU, 8.00 GiB) 10.240.0.2 TERMINATED
- piperband-group-95p1 us-central1-f custom (1 vCPU, 8.00 GiB) 10.240.0.4 35.224.97.151 RUNNING
- piperband-group-cbsn us-central1-f custom (1 vCPU, 8.00 GiB) 10.240.0.3 35.188.194.119 RUNNING
- WORKS^
- BUT:
- ----
- gcloud compute instance-groups list-instances piperband-group
- ERROR: (gcloud.compute.instance-groups.list-instances) Some requests did not succeed:
- - The resource 'projects/stately-will-107018/zones/us-west1-a/instanceGroups/piperband-group' was not found
- DOESN'T WORK.
- ERROR DUMP:
- ----
- gcloud compute instance-groups list-instances piperband-group --verbosity=debug 1 ↵ ⚙ 10057 12:20:48
- DEBUG: Running [gcloud.compute.instance-groups.list-instances] with arguments: [--verbosity: "debug", NAME: "piperband-group"]
- DEBUG: (gcloud.compute.instance-groups.list-instances) Some requests did not succeed:
- - The resource 'projects/stately-will-107018/zones/us-west1-a/instanceGroups/piperband-group' was not found
- Traceback (most recent call last):
- File "/Users/dev/home/lib/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", line 791, in Execute
- resources = calliope_command.Run(cli=self, args=args)
- File "/Users/dev/home/lib/google-cloud-sdk/lib/googlecloudsdk/calliope/backend.py", line 756, in Run
- resources = command_instance.Run(args)
- File "/Users/dev/home/lib/google-cloud-sdk/lib/surface/compute/instance_groups/list_instances.py", line 80, in Run
- utils.RaiseToolException(errors)
- File "/Users/dev/home/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/compute/utils.py", line 106, in RaiseToolException
- RaiseException(problems, calliope_exceptions.ToolException, error_message)
- File "/Users/dev/home/lib/google-cloud-sdk/lib/googlecloudsdk/api_lib/compute/utils.py", line 118, in RaiseException
- errors))
- ToolException: Some requests did not succeed:
- - The resource 'projects/stately-will-107018/zones/us-west1-a/instanceGroups/piperband-group' was not found
- ERROR: (gcloud.compute.instance-groups.list-instances) Some requests did not succeed:
- - The resource 'projects/stately-will-107018/zones/us-west1-a/instanceGroups/piperband-group' was not found
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement