UpdateComputerEntity failing on first checkin

22 views
Skip to first unread message

missinformed

unread,
May 2, 2017, 3:34:05 PM5/2/17
to Simian Discuss
I'm getting a 500 Internal Server Error when I try to connect a client for the first time to my simian instance. Here's the stacktrace from the GAE side:

  Traceback (most recent call last):
    File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1535, in __call__
      rv = self.handle_exception(request, response, e)
    File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1529, in __call__
      rv = self.router.dispatch(request, response)
    File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1278, in default_dispatcher
      return route.handler_adapter(request, response)
    File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 1102, in __call__
      return handler.dispatch()
    File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 572, in dispatch
      return self.handle_exception(e, self.app.debug)
    File "/base/data/home/apps/s~simian-XXXXXX/20170430t110355.400928620142761556/simian/mac/munki/handlers/__init__.py", line 134, in handle_exception
      super(AuthenticationHandler, self).handle_exception(exception, debug_mode)
    File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.5.2/webapp2.py", line 570, in dispatch
      return method(*args, **kwargs)
    File "/base/data/home/apps/s~simian-XXXXXX/20170430t110355.400928620142761556/simian/mac/munki/handlers/reports.py", line 290, in post
      report_feedback=report_feedback, cert_fingerprint=cert_fingerprint)
    File "/base/data/home/apps/s~simian-XXXXXX/20170430t110355.400928620142761556/simian/mac/munki/common.py", line 253, in LogClientConnection
      cert_fingerprint=cert_fingerprint)
    File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/datastore.py", line 2511, in RunInTransaction
      return RunInTransactionOptions(None, function, *args, **kwargs)
    File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/datastore.py", line 2647, in RunInTransactionOptions
      ok, result = _DoOneTry(function, args, kwargs)
    File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/datastore.py", line 2667, in _DoOneTry
      result = function(*args, **kwargs)
    File "/base/data/home/apps/s~simian-XXXXXX/20170430t110355.400928620142761556/simian/mac/munki/common.py", line 246, in __UpdateComputerEntity
      _countdown=300, _queue='first')
    File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/deferred/deferred.py", line 277, in defer
      return task.add(queue, transactional=transactional)
    File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/taskqueue/taskqueue.py", line 1213, in add
      return self.add_async(queue_name, transactional).get_result()
    File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 613, in get_result
      return self.__get_result_hook(self)
    File "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/taskqueue/taskqueue.py", line 2162, in ResultHook
      raise exception
  UnknownQueueError

Any ideas on what to try next?

missinformed

unread,
May 2, 2017, 6:30:31 PM5/2/17
to Simian Discuss
For posterity, this fixed it:

gcloud app deploy app.yaml queue.yaml

The 'first' queue didn't exist, so it was failing.
Reply all
Reply to author
Forward
0 new messages