-
Notifications
You must be signed in to change notification settings - Fork 683
Open
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Please check the open issues for this repository to verify that the same issue/bug
has not been already reported.
If you see the bug being already reported, please upvote and comment on the existing issue instead of opening a new one. If you notice a bug/issue
which is not the same as yours but is related, create a new one and link to the existing bug/issue
.
Describe the bug
During the step of make monolith-deploy this message is present if you choose a region where n1 gce instance instance is not present
ERROR: (gcloud.compute.instances.create) Could not fetch resource:
- Invalid value for field 'resource.machineType': 'https://compute.googleapis.com/compute/v1/projects/bank-of-anthos-xxxx/zones/europe-west8-a/machineTypes/n1-standard-1'. Machine type with name 'n1-standard-1' does not exist in zone 'europe-west8-a'."
Use `gcloud compute machine-types list --zones` to see the available machine types.
make: *** [Makefile:61: monolith-deploy] Error
To Reproduce
Follow the steps in the guide of migration monolith here
https://cloud.google.com/migrate/containers/docs/migrating-monolith-vm-overview-setup
- choose in the step 1 a zone like europe-west8 to export
export ZONE=europe-west8-a
- Follow the step to step 3 of the guide
- Recive the errore during the make monolith-deploy
ERROR: (gcloud.compute.instances.create) Could not fetch resource:
- Invalid value for field 'resource.machineType': 'https://compute.googleapis.com/compute/v1/projects/bank-of-anthos-xxxx/zones/europe-west8-a/machineTypes/n1-standard-1'. Machine type with name 'n1-standard-1' does not exist in zone 'europe-west8-a'."
Use `gcloud compute machine-types list --zones` to see the available machine types.
make: *** [Makefile:61: monolith-deploy] Error
Logs
ERROR: (gcloud.compute.instances.create) Could not fetch resource:
- Invalid value for field 'resource.machineType': 'https://compute.googleapis.com/compute/v1/projects/bank-of-anthos-xxxx/zones/europe-west8-a/machineTypes/n1-standard-1'. Machine type with name 'n1-standard-1' does not exist in zone 'europe-west8-a'."
Use `gcloud compute machine-types list --zones` to see the available machine types.
make: *** [Makefile:61: monolith-deploy] Error
Screenshots
Not applicable
Environment
region europe-west8 and other region where n1 is not present
Metadata
Metadata
Assignees
Labels
priority: p3Desirable enhancement or fix. May not be included in next release.Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.