Correct execute() to check 0 in check_exit_code

This patch fixes: if a process exits with returncode 0, the function
always returns without raising an exception, regardless of whether
its check_exit_code includes 0 or not.

Change-Id: Ibdf7599dd91949153629083e4c5a47d263d6d002
Add db2 communication error code when check the db connection

bug 1244092

Change-Id: I17882e407afa00167e550a565081219f9e432a31
Allow generate_sample MODULEPATH to be set in env

This commit allows the default modulepath to optionally be set with
an environmental variable. This is useful for tempest because config
isn't used in the same way because tempest is executed in a test
runner. So to enable using generator.py it has to be wrapped to
manually load the config before calling generate(). This will enable
specifying the local tempest generator wrapper module without modifying
the oslo synced script.

Change-Id: Iacef39d6ae7693ecd09b113401b7db52afc53d17
Don't shadow str

In the timeutils test cases we were shadowing the str keyword with
local variables.  Let's not do that.

Change-Id: I07571e652894b7d47962969be984c9e574a0fe59
Merge "Allow generate_sample MODULEPATH to be set in env"
Make update.py aware of upper-case names

In some cases it can be useful to have update.py able to replace
OSLO with the appropriate project name.  For example, in
environment variable names.  This change adds that ability.

Change-Id: Ide84206cf31ea062fdcf9d0f10adf3092165c7a8
Merge "Add db2 communication error code when check the db connection"
Add amqp=WARN,qpid=WARN to default_log_levels

The default value of default_log_levels includes amqplib=WARN.  However,
the kombu library uses an amqplib fork, amqp.  We were just recently
talking about how much of the debug log is full of amqp entries here:

http://lists.openstack.org/pipermail/openstack-dev/2013-October/017379.html

so just suppress them by default, because most of the time, they are not
needed.

In passing, add qpid=WARN for the same reason.  Alphabetize the list,
too, just because I felt like it.

Change-Id: Ie7590ac1033adaadade799da2588f566110efddc
Merge "Correct execute() to check 0 in check_exit_code"
Merge "Don't shadow str"
Update mailmap for Joe Gordon

Update mailmap to reflect that I am committing from a new email address.

Change-Id: I088f4fb6f3389e05f23ab350247dfcaf9b18bbe1
Merge "Make update.py aware of upper-case names"