Avoid eventlet-unsafe exception handling

Eventlet can context-switch during a log call (at least in principle).
Therefore it is unsafe to use "raise" after this call, because the exception
raised may not be the same one caught by the "except" block, but rather
could be any random exception from some other greenlet.

This is a canonical example of why eventlet is pure evil.

Fixes bug: #1255506

Change-Id: Ieb0eb763c0fd696b82212653ac4909d2bddf6b88
Merge "Avoid eventlet-unsafe exception handling"
Restrict sort_keys for stack lists

We are only allowing users to sort stacks on a subset of columns that
are known to be indexed.  Currently allowed sort columns are:

created_at
updated_at
name
status

Change-Id: Ib4f955336edd7d86a1b6bf98e38378b0d495d0dd
Closes-Bug: 1252116