liberty super fix

this patch munges three items into one to fix liberty:
- set gitreview branch
- oslo.messaging fix: Iec2f394818441cec88e7b201c12e3684442672c8
- devstack fix: I830018cb3008f1036880c29c9a851b109a9be65e

Change-Id: Iec19a5406e406f6946fc8ba71d9d5e8d41575e29
This commit is contained in:
gordon chung 2015-11-11 08:31:14 -05:00
parent 1d38d75c79
commit 251b5663a5
3 changed files with 8 additions and 2 deletions

View File

@ -2,3 +2,4 @@
host=review.openstack.org
port=29418
project=openstack/aodh.git
defaultbranch=stable/liberty

View File

@ -42,7 +42,7 @@ class BaseTestCase(base.BaseTestCase):
# NOTE(sileht): oslo.messaging fake driver uses time.sleep
# for task switch, so we need to monkey_patch it
# and also ensure the correct exchange have been set
eventlet.monkey_patch(time=True)
eventlet.monkey_patch(time=True, thread=True)
# NOTE(sileht): Ensure a new oslo.messaging driver is loaded
# between each tests

View File

@ -131,7 +131,12 @@ function _aodh_create_accounts {
# Activities to do before aodh has been installed.
function preinstall_aodh {
echo_summary "Preinstall not in virtualenv context. Skipping."
# Needed to build psycopg2
if is_ubuntu; then
install_package libpq-dev
else
install_package postgresql-devel
fi
}
# Remove WSGI files, disable and remove Apache vhost file