Showing that Google App Engine is green when the following code fails in both
assertions is very misleading. If any of datastore, memcache and task queues
are down you need to take app engine status to yellow if not red.
from google.appengine.api.capabilities import CapabilitySet
assert CapabilitySet('memcache', methods=['set']).is_enabled()
from google.appengine.api import memcache
memcache.set('foo123', 'bar', time=60)
assert(memcache.get('foo123') == 'bar’)
> On Nov 6, 2017, at 1:10 PM, PK <[email protected]> wrote:
>
> Yes it is here: https://issuetracker.google.com/issues/68946028
> <https://issuetracker.google.com/issues/68946028>
>
> I also see now a message in the Google Cloud Status Console about this.
>
>> On Nov 6, 2017, at 1:07 PM, Wade Piotrowski <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> Yes, Posting shortly. Please file a support case for the most up-to-date
>> information if you haven't already.
>>
>>
>> On Mon, Nov 6, 2017 at 12:56 PM PK <[email protected]
>> <mailto:[email protected]>> wrote:
>> This started returning False 15 minutes ago. My app is down because of it.
>>
>> from google.appengine.api.capabilities import CapabilitySet
>> print CapabilitySet('memcache', methods=['set']).is_enabled()
>>
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Cloud Insiders" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected]
>> <mailto:google-cloud-insiders%[email protected]>.
>> To post to this group, send email to [email protected]
>> <mailto:[email protected]>.
>> Visit this group at https://groups.google.com/group/google-cloud-insiders
>> <https://groups.google.com/group/google-cloud-insiders>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-cloud-insiders/C170C4A6-5355-428B-B010-4507B5148F3C%40gae123.com
>>
>> <https://groups.google.com/d/msgid/google-cloud-insiders/C170C4A6-5355-428B-B010-4507B5148F3C%40gae123.com>.
>> For more options, visit https://groups.google.com/d/optout
>> <https://groups.google.com/d/optout>.
>
--
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/931B599F-E58D-4894-B6F8-3937FF5C3F1B%40gae123.com.
For more options, visit https://groups.google.com/d/optout.