Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

unable to use the psa

Hi,

I am experience an error when I try to create cludsql instance with private ip, I have this error:

Invalid Service Networking config for the selected network: com.google.api.tenant.error.TenantManagerException: Reserved range: 'google-managed-services-default' not found for consumer project: '237506785122' network: 'default'.

I have other sql instance in the project with the private ip, also I tried using other gcp projects but I have the same problem try to add a classnwtwork to the "PRIVATE CONNECTIONS TO SERVICES"

Solved Solved
0 2 335
1 ACCEPTED SOLUTION

many thanks,

I solved the issue with the "gcloud services vpc-peerings update" command.

_________________________________________
[image: Noovle S.p.A.] <>

* Giordano Rinaldi * CPS.GS
GOOGLE SERVICES


(PII Removed by Staff)

View solution in original post

2 REPLIES 2

Hi @giordanorinald,

Welcome to Google Cloud Community!

The error you're encountering likely indicates that your VPC network doesn't have properly configured reserved internal IP ranges. Here's how you can check and resolve the issue:

  1. Go to the VPC page
  2. Select the VPC Network being used for instance creation.
  3. Select the "Private Service Connection" tab and check the IP range allocations being referred by the private connection setup.
  4. Select the "Allocated IP range for Services" subtab and cross-verify that all references made in step 3 above are existing in this tab. If an Allocated Ip Address range is deleted/modified, the corresponding Private Service Access configuration should also be updated. 

You may fix this error by either re-creating the missing IP Range, or updating the Private Service Access configuration using --force flag as specified here.

gcloud services vpc-peerings update \
--network=VPC_NETWORK_NAME \
--ranges=ALLOCATED_RANGES \
--service=servicenetworking.googleapis.com \
--force

 For future reference, you may follow the steps here to enable PSA. 

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

many thanks,

I solved the issue with the "gcloud services vpc-peerings update" command.

_________________________________________
[image: Noovle S.p.A.] <>

* Giordano Rinaldi * CPS.GS
GOOGLE SERVICES


(PII Removed by Staff)