File 0001-Remove-explicit-dependency-on-amqplib.patch of Package openstack-nova
From 48591e83894354b57f0528ea98e6efe026acac28 Mon Sep 17 00:00:00 2001
From: Dirk Mueller <dirk@dmllr.de>
Date: Mon, 5 May 2014 14:31:09 +0200
Subject: [PATCH] Remove explicit dependency on amqplib
kombu already depends on amqp or amqplib depending on its
version, and no explicit access to amqplib exists in nova code.
Update logging config to list both amqp and amqplib, as kombu
will setup one or the other.
Change-Id: I716050593cde15f2a614175d9849340e5858fc32
---
etc/nova/logging_sample.conf | 5 +++++
requirements.txt | 1 -
2 files changed, 5 insertions(+), 1 deletion(-)
Index: nova-2013.2.4.dev18.g0bf0bb4/etc/nova/logging_sample.conf
===================================================================
--- nova-2013.2.4.dev18.g0bf0bb4.orig/etc/nova/logging_sample.conf
+++ nova-2013.2.4.dev18.g0bf0bb4/etc/nova/logging_sample.conf
@@ -16,6 +16,11 @@ level = INFO
handlers = stderr
qualname = nova
+[logger_amqp]
+level = WARNING
+handlers = stderr
+qualname = amqp
+
[logger_amqplib]
level = WARNING
handlers = stderr
Index: nova-2013.2.4.dev18.g0bf0bb4/requirements.txt
===================================================================
--- nova-2013.2.4.dev18.g0bf0bb4.orig/requirements.txt
+++ nova-2013.2.4.dev18.g0bf0bb4/requirements.txt
@@ -1,6 +1,5 @@
pbr>=0.5.21,<1.0
SQLAlchemy>=0.7.8,<=0.7.99
-amqplib>=0.6.1
anyjson>=0.3.3
argparse
boto>=2.4.0,!=2.13.0