I just used the appengine-maven-plugin, which apparently is invoking gcloud
under the hood. I was able to deploy the simple hello world example
(https://github.com/GoogleCloudPlatform/getting-started-java/tree/master/helloworld-jsp)
and modified it to access the datastore with the Google Cloud Datastore
API. This is working, but performance is pretty poor (400-700ms per
request). Last time I deployed my whole app with jetty9-compat performance
was brilliant. I'm not sure what's going on there at App Engine flexible
environment, but I get the feeling it's way too early to switch over there.
In contrast to my earlier attempts, I could not find the machine type of
the VM in the Cloud Console anymore. A few weeks ago it was shown in the
Compute Engine view, but now that's all empty (even though the app is
running as a new version).
One more thing I also noticed: whenever I set one or more of these config
parameters of appengine-maven-plugin
<deploy.promote>false</deploy.promote>
<deploy.stopPreviousVersion>false</deploy.stopPreviousVersion>
<deploy.version>flextest</deploy.version>
I get the following error and deployment fails:
2016-11-30 22:22:39,253 ERROR root (gcloud.app.deploy) Error
Response: [13] Deployment Manager operation failed, name:
operation-1480540945143-5428b4d1c54d9-31101d50-e4631c66, error:
[{"code":"RESOURCE_ERROR","location":"/deployments/aef-default-20161130t222126/resources/aef-default-20161130t222126-00","message":"Unexpected
response from resource of type compute.alpha.regionInstanceGroupManager:
403 {\"code\":403,\"errors\":[{\"domain\":\"global\",\"message\":\"Required
'Alpha Access' permission for 'Compute
API'\",\"reason\":\"forbidden\"}],\"message\":\"Required 'Alpha Access'
permission for 'Compute
API'\",\"statusMessage\":\"Forbidden\",\"requestPath\":\"https://www.googleapis.com/compute/alpha/projects/typingscout-test2/regions/us-central1/instanceGroupManagers\"}"}]
Am Mittwoch, 30. November 2016 17:20:22 UTC+1 schrieb George (Cloud
Platform Support):
>
> Hallo Thomas,
>
> What were you attempting to do exactly, when these logs got recorded? What
> was the exact command for deployment? If you tried to deploy to the
> flexible environment, was the standard environment app modified
> appropriately prior to the deployment attempt? You need to adapt
> <https://cloud.google.com/appengine/docs/flexible/python/migrating> your
> app to the Flexible Environment using Google Cloud Client libraries
> <https://cloud.google.com/apis/docs/cloud-client-libraries>. In doing so,
> you might have overseen some networking aspects: error 1053 is returned in
> Windows for “Software caused connection abort.
> <https://msdn.microsoft.com/de-de/library/windows/desktop/ms740668(v=vs.85).aspx>
> ”
>
> To build your container images outside of Google Cloud Platform, you must
> first upload
> <https://cloud.google.com/appengine/docs/flexible/nodejs/testing-and-deploying-your-app>your
>
> images to a container image repository before you can deploy your images to
> App Engine with the gcloud app deploy command.
>
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/3375a932-c154-4637-9e0e-28861d9e214f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.