Hello,
These deployment processes are executed using GitLab's CI/CD and have been untouched for around a year.
Yesterday these deployments started failing with the following error (Both as part of the GitLab pipeline and on my local machine):
Please bear in mind I've removed all of the account specific data.
gcloud beta app deploy app.yaml
Services to deploy:
descriptor: [pathtoyaml\app.yaml]
source: [
pathtoyaml ]
target project: []
target service: []
target version: []
target service account: [App Engine default service account]
Do you want to continue (Y/n)? y
Beginning deployment of service [
appengineservice ]...
#============================================================#
#= Uploading 0 files to Google Cloud Storage =#
#============================================================#
File upload done.
Updating service [
appengineservice ] (this may take several minutes)...done.
ERROR: (gcloud.beta.app.deploy) NOT_FOUND: Requested entity was not found.
If I run the command with --log-http I can see the following request at the bottom which returns the error in question
=======================
==== request start ====
method: GET
== headers start ==
b'accept': b'application/json'
b'accept-encoding': b'gzip, deflate'
b'authorization': --- Token Redacted ---
b'content-length': b'0'
b'user-agent': b'google-cloud-sdk gcloud/364.0.0 command/gcloud.beta.app.deploy invocation-id/d1f77d7d4a28468d91c14ca149993995 environment/None environment-version/None interactive/True from-script/False python/3.8.10 term/ (Windows NT 10.0.19042)'
== headers end ==
== body start ==
== body end ==
==== request end ====
---- response start ----
status: 404
-- headers start --
-content-encoding: gzip
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
cache-control: private
content-length: 114
content-type: application/json; charset=UTF-8
date: Wed, 10 Nov 2021 11:32:52 GMT
server: ESF
transfer-encoding: chunked
vary: Origin, X-Origin, Referer
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 0
-- headers end --
-- body start --
{
"error": {
"code": 404,
"message": "Requested entity was not found.",
"status": "NOT_FOUND"
}
}
-- body end --
total round trip time (request+response): 0.294 secs
---- response end ----
----------------------
Apologies if this is something that I'm doing from my end as I haven't seen any other reports of this issue aside from a single thread on Stack Overflow that was started yesterday.
Thank you in advance & if you have any question please don't hesitate to ask.
Thanks,
Matt.