Hi there,
Have been using CloudSQL restore backup into different project for a while with great success.
For reference docs can be found here
What brings me here is that suddenly since tonight started to see a different behaviour on the results returned by the REST http call via curl what results in a 503 error message instead of SQL Operation json message
e.g:
Excepted:
{
"kind": "sql#operation",
"status": "PENDING",
"user": "some-allowed-iam-service-account",
"insertTime": "2020-12-08T23:02:07.502Z",
"operationType": "RESTORE_VOLUME",
"name": "some-identifier",
"targetId": "targetInstanceId",
"targetProject": "targetProjectId"
}
NOT Expected (Two different types of 503 results)
{
"error": {
"code": 503,
"message": "The service is currently unavailable.",
"errors": [
{
"message": "The service is currently unavailable.",
"domain": "global",
"reason": "backendError"
}
],
"status": "UNAVAILABLE"
}
}
or
{
"error": {
"code": 503,
"message": "Service temporarily unavailable.",
"errors": [
{
"message": "Service temporarily unavailable.",
"domain": "global",
"reason": "serverException"
}
]
}
}
This seems to be happening randomly and independent of SQL Instance.
Please help on debug this issue.
Thanks in advance and regards.
Hugo