فهرست منبع

Add version requirement for oslo_messaging and kombu.

The latest versions oslo_messaging and kombu cause exterme RAM usage in
the API service. Coriolis can be ruled out as the cause as individual
testing showed kombu to the single biggest factor.
This PR mitigates this by pinning both to their prior major releases.
Nashwan Azhari 5 سال پیش
والد
کامیت
d8c84427e1
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 5 1
      requirements.txt

+ 5 - 1
requirements.txt

@@ -2,6 +2,10 @@ eventlet
 keystoneauth1
 keystoneauth1
 keystonemiddleware
 keystonemiddleware
 jsonschema
 jsonschema
+# NOTE (aznashwan, 21-03-31): kombu>=5 has some weird interactions with
+# oslo_messaging which causes extreme RAM usage in the API service,
+# so we limit its version here.
+kombu==4.6.10
 PyMySQL
 PyMySQL
 oslo.cache
 oslo.cache
 oslo.concurrency
 oslo.concurrency
@@ -10,7 +14,7 @@ oslo.context>=2.19.1
 oslo.db
 oslo.db
 oslo.i18n
 oslo.i18n
 oslo.log
 oslo.log
-oslo.messaging
+oslo.messaging==12.2.0
 oslo.middleware
 oslo.middleware
 oslo.policy
 oslo.policy
 oslo.serialization
 oslo.serialization