Details
Description
$ aurora beta-update status devcluster/www-data/prod/hello Command failure: Fatal error running command: Traceback (most recent call last): File "/usr/local/bin/aurora/apache/aurora/client/cli/__init__.py", line 312, in _execute result = noun.execute(context) File "/usr/local/bin/aurora/apache/aurora/client/cli/__init__.py", line 390, in execute return self.verbs[context.options.verb].execute(context) File "apache/aurora/client/cli/update.py", line 253, in execute context.log_response_and_raise(response) File "/usr/local/bin/aurora/apache/aurora/client/cli/context.py", line 135, in log_response_and_raise self.print_err("\t%s" % combine_messages(resp)) File "/usr/local/bin/aurora/apache/aurora/client/base.py", line 50, in combine_messages return ', '.join([d.message for d in (response.details or [])]) TypeError: sequence item 0: expected string, NoneType found
The above happens due to this line [1] that attempts to match AuroraJobKey against thrift JobKey and results in a subsequent RPC call [2] failing with NPE.
[1] - https://github.com/apache/incubator-aurora/blob/master/src/main/python/apache/aurora/client/cli/update.py#L243
[2] - https://github.com/apache/incubator-aurora/blob/master/src/main/python/apache/aurora/client/cli/update.py#L252