app-engine-flexible

App Engine Flexible: Timed out waiting for the app infrastructure to become healthy

强颜欢笑 提交于 2019-12-30 07:00:42
问题 I'm trying several times to deploy a new version of a service on my app engine flexible instance using the sdk and the command gcloud app deploy , but all i get is this error "ERROR: (gcloud.app.deploy) Error Response: [4] Timed out waiting for the app infrastructure to become healthy." . I Couldn't found any answer about it on the issue tracker of gcp. On this question, he got the same problem, but no one could answered it. Any guidance will be very helpfull. 回答1: According to the gcp team,

Unable to deploy my code to google cloud app engine via gitlab

╄→гoц情女王★ 提交于 2019-12-24 11:18:23
问题 I am trying to create a gitlab pipeline for deploying my spring boot app to google app engine and i am able to authenticate app engine to gitlab but at deployment step of ci file i am getting Java 7+ JRE must be installed and on your system PATH though i have installed it with gcloud install components app-engine-java command in gitlab ci file. Please suggest what needs to be done to resolve this error. .gitlab-ci.yml file: image: google/cloud-sdk:alpine deploy_production: stage: deploy

Not able to set environment variable in Dockerfile for Custom runtime environment in google app engine

巧了我就是萌 提交于 2019-12-24 10:06:53
问题 I'm using below Dockerfile for setting up a custom runtime environment for app engine. FROM ubuntu:latest RUN apt-get update -y RUN apt-get install -y python-pip build-essential libssl-dev libffi-dev python-dev libxml2-dev libxslt1-dev xmlsec1 RUN apt-get install -y curl unzip RUN curl https://dl.google.com/dl/cloudsdk/release/google-cloud-sdk.tar.gz > /tmp/google-cloud-sdk.tar.gz RUN mkdir -p /usr/local/gcloud RUN tar -C /usr/local/gcloud -xvf /tmp/google-cloud-sdk.tar.gz RUN /usr/local

Jetty fails to start spring boot application in appengine flexible

筅森魡賤 提交于 2019-12-24 04:18:35
问题 Note: This is a cross post because I wasn't sure if this was a technical issue or a bug so the bug can be found here A couple weeks ago I wrote up a prototype for adding a flexible environment service to our appengine project that is primarily standard environment services. The prototype was based on the java quickstart sample "HelloworldSpringBoot" with some minor modifications. After my success with the prototype I moved over to a more production set of code for this service, developed it

Cron urls get a 403 status on Flexible Environment

旧街凉风 提交于 2019-12-23 08:47:55
问题 We are experimenting with Flexible Environment and we want to migrate an existing application. Everything seems to go well except from cron entries. We have a bunch of cron and every url is secured as admin" (as stated in the documentation), but every time the url is hit by the cron service we get a 403 status, if the url is hit by the user via browser everything works well. On standard environment everything is good. Is there anything we can check about? 回答1: I assume you add login: admin in

How to restrict access to GAE Flexible site only for GSuite account?

☆樱花仙子☆ 提交于 2019-12-23 02:01:28
问题 How to restrict access to GAE Flexible site only for all account from my domain in GSuite and eventually other Google accounts that I provide explicitely. AFAIR there where something simillar in Standard GAE version in app.yaml handlers section. So my scenario: prodution versions restricted until go-live dev and stage version restricted permanently I would like to do this on the IAM level, to reject traffic to the site. But I didn't found anything in docs. 回答1: Ok, after rethink the problem

How to install new software onto a GCP flexible environment VM

青春壹個敷衍的年華 提交于 2019-12-22 09:55:17
问题 I have a ruby on rails app running on a Google Cloud Platform VM running on the app engine flexible environment. It looks like it installs most of the software on the VM when I deploy the app with gcloud --project project-name preview app deploy I think it installs rails and other software from reading the temporary dockerfile it creates. It grabs the info for the dockerfile from the app.yaml file (I got this setup from following their tutorials). This was working fine for me but now I need

Error Deploying GAE Flex Service

馋奶兔 提交于 2019-12-22 09:55:08
问题 Using gcloud app deploy to deploy a flex service (SDK version 127.0.0), I get the following error: ERROR: (gcloud.app.deploy) Error Response: [3] Docker image us.gcr.io/my-project-name/appengine/my-service.20161012t140507:latest was either not found, or is not in Docker V2 format. Please visit https://cloud.google.com/container-registry/docs/ui I've checked my container registry, and I can see the image has uploaded and is indeed a v2 image: The logo indicates it's a) the image is there and b

Error deploying GAE Flex with gcloud app deploy

…衆ロ難τιáo~ 提交于 2019-12-20 10:05:53
问题 All of a sudden having issues with deploying to GCP using gcloud app deploy . Created a brand new project and tried to upload a sample hello-world app from GCP, but still get the following error: ERROR: (gcloud.app.deploy) Error Response: [3] Docker image us.gcr.io/gcp-test-8710371/appengine/default.20181106t173450:latest was either not found, or is not in Docker V2 format. Please visit https://cloud.google.com/container-registry/docs/ui app.yaml: runtime: nodejs env: flex manual_scaling:

Sharing code between flexible environment modules in a GAE project

天大地大妈咪最大 提交于 2019-12-20 07:13:23
问题 I'm structuring my GAE (flex) project as a number of services: - my-project/ - services/ - service_1/ - service_1.yaml - service_2/ - service_2.yaml I would now like to share some code between the services. Ideally, I'd like to have a my-project/lib/ and symlink this to the services: my-project/services/service_1/lib -> ../../lib my-project/services/service_2/lib -> ../../lib But gcloud app deploy (which I'm running from a service directory, where the yaml file is) ignores the symlink (I