gcloud utility on custom Python Flexible VM

213 views
Skip to first unread message

Jonh Kelvin

unread,
Aug 5, 2016, 5:35:06 PM8/5/16
to Google App Engine
I'm trying to use gcloud utility within custom Python Flexible VM.

Unfortunately, valuable gcloud commands fail. It seems like some requests get no response.
For instance,
gcloud app versions list --log-http --verbosity debug

 freezes/fails on services API:
--request-start--
uri: https://appengine.googleapis.com/v1beta5/apps/<project_id>/services?alt=json
method: GET
-headers-start-
Authorization: Bearer <token>
accept: application/json
accept-encoding: gzip, deflate
content-length: 0
user-agent: blablabla gcloud/120.0.0 command/gcloud.app.versions.list invocation-id/blablabla environment/GCE environment-version/None interactive/True python/2.7.9 (Linux 3.16.0-4-amd64)
-headers-end-
-body-start-
-body-end-
--request-end--
DEBUG: Caught HTTP error ResponseNotReady, retrying: 
DEBUG: Retrying request to url https://appengine.googleapis.com/v1beta5/apps/<project_id>/services?alt=json
 after exception 
--request-start--


The following command fails with similar symptoms
gcloud app services list


Any idea how to fix it?


Nick (Cloud Platform Support)

unread,
Aug 9, 2016, 4:57:14 PM8/9/16
to Google App Engine
Hey John,

Thanks for reporting your issue. Normally an issue like this would be posted to the Public Issue Tracker, but we can handle it here and create a Public Issue Tracker thread when appropriate. For now, I'm unsure and would like to ask for clarification: are you running these commands from inside of a Flexible Environment app VM?

Cheers,

Nick
Cloud Platform Community Support

Jonh Kelvin

unread,
Aug 9, 2016, 5:10:25 PM8/9/16
to Google App Engine
Hi Nick,
Thank you for your assistance.
Yep, it's Flexible Environment.

PS. Please let me know Public Issue Tracker URL.

Nick (Cloud Platform Support)

unread,
Aug 10, 2016, 12:48:48 PM8/10/16
to Google App Engine
Hey John,

Ah, here are two: App Engine, Cloud Platform, sorry to have left it out!

Does this issue occur every time the command is run, or only occasionally?


Cheers,

Nick
Cloud Platform Community Support

Jonh Kelvin

unread,
Aug 10, 2016, 12:53:53 PM8/10/16
to Google App Engine
Thanks.

Yup, it happens 100%.
I haven't managed to get versions/services/instances list at all.

Nick (Cloud Platform Support)

unread,
Aug 10, 2016, 12:55:54 PM8/10/16
to Google App Engine
Hey John,

I'll be attempting to replicate this now, and I'll report back very shortly with my findings and next steps.


Cheers,

Nick
Cloud Platform Community Support

Nick (Cloud Platform Support)

unread,
Aug 11, 2016, 6:18:38 PM8/11/16
to Google App Engine
Hey John,

I've replicated your observations and I've made a Public Issue Tracker thread to allow you to follow the progress of the issue. Feel free to star that thread to receive updates.

Regards,


Nick
Cloud Platform Community Support

Jonh Kelvin

unread,
Aug 11, 2016, 6:28:06 PM8/11/16
to Google App Engine
Thanks, Nick. Can't wait to see the fix or workaround there :)
Reply all
Reply to author
Forward
0 new messages