The following message will be used for the patch API method.
{“name”: “mysql-A”, “project”: “gcp-project”, “settings”: {}, “sqlNetworkArchitecture”: “NEW_NETWORK_ARCHITECTURE”}
ERROR: (gcloud.sql.instances.patch) FAILED_PRECONDITION: Precondition check failed.
For the same project and the same VPC, I can do this for mysql-B but fail for mysql-A
mysql-A details:
mysql 5.7.44, same vpc with private service access “google-managed-services-default, 10.50.208.0/20” (same error with non-legacy HA enabled)[created very long time ago with HA disabled]
mysql-B-details:
mysql 8.0.18, same vpc with private service access " private-ip-range-for-cloudsql, 10.25.148.0/24, servicenetworking-googleapis-com, cloudsql-mysql-googleapis-com " (HA disabled)
For IP range not enough issue, can you explain more? Mysql-A & Mysql-B are use the same VPC but in different “private service access” IP Range.( as screen captured) Mysql-B can upgraded successfully but Mysql-A not.
For HA, I guess I’m using “current HA” as I just enable it to for this upgrade error but still fail.