Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update IPv4Range to autoCreateSubnetworks #22

Open
akmurad opened this issue Nov 5, 2021 · 1 comment
Open

Update IPv4Range to autoCreateSubnetworks #22

akmurad opened this issue Nov 5, 2021 · 1 comment

Comments

@akmurad
Copy link

akmurad commented Nov 5, 2021

Hi, I'm deploying TeamCity using instructions and getting an error described below:

ERROR: (gcloud.deployment-manager.deployments.create) Error in Operation [operation-1636108182089-5d0081f01ef4f-1fcdd8dd-f0fd0b03]: errors:
- code: RESOURCE_ERROR
  location: /deployments/teamcitydev/resources/teamcitydev-network
  message: '{"ResourceType":"compute.v1.network","ResourceErrorCode":"400","ResourceErrorMessage":{"code":400,"errors":[{"domain":"global","message":"Creation
    of legacy mode networks is deprecated. Please create a subnet mode network instead
    by removing the IPv4Range field and adding the autoCreateSubnetworks field to
    your network insert request.","reason":"badRequest"}],"message":"Creation of legacy
    mode networks is deprecated. Please create a subnet mode network instead by removing
    the IPv4Range field and adding the autoCreateSubnetworks field to your network
    insert request.","statusMessage":"Bad Request","requestPath":"https://compute.googleapis.com/compute/v1/projects/PROJECTNAME/global/networks","httpMethod":"POST"}}'

Looks like it's complaining about this line

IPv4Range: 10.240.0.0/16

Please update as GCP no longer supports Legacy, thanks

@akmurad akmurad changed the title Update IPv4Range: 10.240.0.0/16 to autoCreateSubnetworks Update IPv4Range to autoCreateSubnetworks Nov 5, 2021
@darkn3rd
Copy link

This hasn't even been looked at in over a year. :'(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants