You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "Mark Chu-Carroll (JIRA)" <ji...@apache.org> on 2014/03/12 20:58:42 UTC

[jira] [Created] (AURORA-259) Authentication errors cause stack dump in client

Mark Chu-Carroll created AURORA-259:
---------------------------------------

             Summary: Authentication errors cause stack dump in client
                 Key: AURORA-259
                 URL: https://issues.apache.org/jira/browse/AURORA-259
             Project: Aurora
          Issue Type: Bug
          Components: Client
            Reporter: Mark Chu-Carroll
            Assignee: Mark Chu-Carroll


Partial stack trace example:


{code}
$ aurora update smfd/jcohen/devel/echo echo.aurora
 INFO] Fetching metadata for package jcohen/echo version 6 in {'slave_run_directory': 'latest', 'name': 'smfd', 'zk': 'zookeeper.smfd.twitter.com', 'packer_zk_path': '/twitter/service/mesos/devel/packer', 'dc': 'smfd', 'scheduler_zk_path': '/twitter/service/mesos/nonprod/scheduler', 'packer_zk': 'sdzookeeper.smfd.twitter.com', 'auth_mechanism': 'twitter-ods', 'packer_copy_command': '/usr/local/bin/package_cache {{package_md5}} {{package_uri}} {{package}}', 'scheduler_role': 'mesos.nonprod.master', 'master_role': 'mesos.nonprod.master', 'slave_root': '/var/lib/mesos', 'slave_role': 'mesos.nonprod.slave'}.
 INFO] Updating job: echo
Traceback (most recent call last):
  File "twitter/common/app/application.py", line 738, in _wrap_method
    return_code = method()
  File "twitter/common/app/application.py", line 760, in <lambda>
    main = lambda: main_method(*args, **kwargs)
  File "twitter/aurora/client/base.py", line 43, in wrapped_function
    return fn(*args)
  File "twitter/aurora/client/commands/core.py", line 529, in update
    resp = api.update_job(config, options.health_check_interval_seconds, options.shards)
  File "twitter/aurora/client/hooks/hooked_api.py", line 167, in update_job
    config, health_check_interval_seconds=health_check_interval_seconds, instances=instances))
  File "twitter/aurora/client/hooks/hooked_api.py", line 128, in _hooked_call
    resp = api_call()
  File "twitter/aurora/client/api/__init__.py", line 103, in update_job
    return updater.update(instances)
  File "twitter/aurora/client/api/updater.py", line 191, in update
    resp = self._start()
  File "twitter/aurora/client/api/updater.py", line 55, in _start
    resp = self._scheduler.startUpdate(self._config.job())
  File "twitter/aurora/client/api/scheduler_client.py", line 244, in method_wrapper
    auth_args = () if method_name in self.UNAUTHENTICATED_RPCS else (self.session_key(),)
  File "twitter/aurora/client/api/scheduler_client.py", line 207, in session_key
    return self._session_key_factory(self.cluster.auth_mechanism)
  File "twitter/aurora/common/auth/auth_module_manager.py", line 43, in make_session_key
    session_key = auth_module()




--
This message was sent by Atlassian JIRA
(v6.2#6252)