2014-09-13 07:22:22 +00:00
|
|
|
# The order of packages is significant, because pip processes them in the order
|
|
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
|
|
# process, which may cause wedges in the gate later.
|
2017-04-12 04:12:29 +00:00
|
|
|
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
2017-04-06 12:17:50 +00:00
|
|
|
SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT
|
2017-01-21 15:48:42 +00:00
|
|
|
alembic>=0.8.10 # MIT
|
2017-09-12 04:15:47 +00:00
|
|
|
automaton>=1.9.0 # Apache-2.0
|
2017-06-12 19:39:15 +00:00
|
|
|
eventlet!=0.18.3,!=0.20.1,<0.21.0,>=0.18.2 # MIT
|
2017-04-03 21:51:38 +00:00
|
|
|
WebOb>=1.7.1 # MIT
|
2017-12-22 02:54:09 +00:00
|
|
|
python-cinderclient>=3.3.0 # Apache-2.0
|
2017-06-05 21:49:05 +00:00
|
|
|
python-neutronclient>=6.3.0 # Apache-2.0
|
2017-08-22 11:46:38 +00:00
|
|
|
python-glanceclient>=2.8.0 # Apache-2.0
|
2017-12-05 16:26:22 +00:00
|
|
|
keystoneauth1>=3.3.0 # Apache-2.0
|
2017-01-15 09:21:12 +00:00
|
|
|
ironic-lib>=2.5.0 # Apache-2.0
|
2016-12-05 09:39:00 +00:00
|
|
|
python-swiftclient>=3.2.0 # Apache-2.0
|
2016-01-22 04:04:10 +00:00
|
|
|
pytz>=2013.6 # MIT
|
2017-03-02 11:45:27 +00:00
|
|
|
stevedore>=1.20.0 # Apache-2.0
|
2016-01-22 04:04:10 +00:00
|
|
|
pysendfile>=2.0.0 # MIT
|
2018-01-17 20:35:20 +00:00
|
|
|
oslo.concurrency>=3.25.0 # Apache-2.0
|
2017-11-29 08:57:05 +00:00
|
|
|
oslo.config>=5.1.0 # Apache-2.0
|
2017-11-03 13:41:25 +00:00
|
|
|
oslo.context>=2.19.2 # Apache-2.0
|
2017-09-22 12:51:44 +00:00
|
|
|
oslo.db>=4.27.0 # Apache-2.0
|
2017-09-12 04:15:47 +00:00
|
|
|
oslo.rootwrap>=5.8.0 # Apache-2.0
|
|
|
|
oslo.i18n>=3.15.3 # Apache-2.0
|
2018-01-17 20:35:20 +00:00
|
|
|
oslo.log>=3.36.0 # Apache-2.0
|
2017-09-13 23:57:46 +00:00
|
|
|
oslo.middleware>=3.31.0 # Apache-2.0
|
2017-12-07 13:24:25 +00:00
|
|
|
oslo.policy>=1.30.0 # Apache-2.0
|
2017-09-12 04:15:47 +00:00
|
|
|
oslo.reports>=1.18.0 # Apache-2.0
|
|
|
|
oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0
|
2017-12-19 01:18:17 +00:00
|
|
|
oslo.service!=1.28.1,>=1.24.0 # Apache-2.0
|
|
|
|
oslo.utils>=3.33.0 # Apache-2.0
|
Enable OSProfiler support in Ironic
This patch does the following:
* Adds osprofiler wsgi middleware
This middleware is used for 2 things:
- It checks that person who wants to trace is trusted and knows
secret HMAC key.
- It starts tracing in case of proper trace headers
and adds first wsgi trace point, with info about HTTP request.
* Adds initialization of osprofiler at start of service
- Initialize and set an oslo.messaging based notifier instance
to osprofiler, which will be used to send notifications to Ceilometer.
* Traces HTTP/RPC/DB API calls and SQL requests
NOTE to test this patch:
1) Make the following changes in localrc to configure DevStack to enable
OSProfiler:
enable_plugin panko https://git.openstack.org/openstack/panko
enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer
enable_plugin osprofiler https://git.openstack.org/openstack/osprofiler
# Enable the following services
CEILOMETER_NOTIFICATION_TOPICS=notifications,profiler
ENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral
ENABLED_SERVICES+=,ceilometer-anotification,ceilometer-collector
ENABLED_SERVICES+=,ceilometer-alarm-evaluator,ceilometer-alarm-notifier
ENABLED_SERVICES+=,ceilometer-api
NOTE: the order of enabling plugins matters.
2) Run stack.sh. Once DevStack environment is setup, enable profiler options
in ironic.conf and restart ironic services:
[profiler]
enabled = true
hmac_keys = SECRET_KEY
trace_sqlalchemy = true
3) Use openstackclient and run baremetal command with
--os-profile SECRET_KEY
[--profile can be used, but it is deprecated.]
For example, the following will cause the <trace-id> to be printed
after node list:
$ openstack --os-profile SECRET_KEY baremetal node list
.....
.....
Trace ID: <trace-id>
Display trace with command:
osprofiler trace show --html <trace-id>
4) The trace results can be saved using this command:
$ osprofiler trace show --html <trace-id> --out trace.html
OSprofiler spec: https://review.openstack.org/#/c/103825/
Co-Authored-By: Tovin Seven <vinhnt@vn.fujitsu.com>
Co-Authored-By: Hieu LE <hieulq@vn.fujitsu.com>
Partial-Bug: #1560704
Change-Id: Icd3d7c62cf7442de8a77fc67f119ae9b03725f02
2016-08-18 16:55:56 -07:00
|
|
|
osprofiler>=1.4.0 # Apache-2.0
|
2018-02-01 07:10:31 +00:00
|
|
|
os-traits>=0.4.0 # Apache-2.0
|
2016-09-30 23:21:04 +00:00
|
|
|
pecan!=1.0.2,!=1.0.3,!=1.0.4,!=1.2,>=1.0.0 # BSD
|
2017-06-12 19:39:15 +00:00
|
|
|
requests>=2.14.2 # Apache-2.0
|
2017-02-27 17:03:28 +00:00
|
|
|
rfc3986>=0.3.1 # Apache-2.0
|
2017-11-16 11:05:33 +00:00
|
|
|
six>=1.10.0 # MIT
|
2017-12-05 16:26:22 +00:00
|
|
|
jsonpatch!=1.20,>=1.16 # BSD
|
2017-09-12 04:15:47 +00:00
|
|
|
WSME>=0.8.0 # MIT
|
2017-01-13 09:33:24 +00:00
|
|
|
Jinja2!=2.9.0,!=2.9.1,!=2.9.2,!=2.9.3,!=2.9.4,>=2.8 # BSD License (3 clause)
|
2017-09-12 04:15:47 +00:00
|
|
|
keystonemiddleware>=4.17.0 # Apache-2.0
|
|
|
|
oslo.messaging>=5.29.0 # Apache-2.0
|
2015-06-22 08:21:26 +00:00
|
|
|
retrying!=1.3.0,>=1.2.3 # Apache-2.0
|
2018-02-01 07:10:31 +00:00
|
|
|
oslo.versionedobjects>=1.31.2 # Apache-2.0
|
2017-09-12 04:15:47 +00:00
|
|
|
jsonschema<3.0.0,>=2.6.0 # MIT
|
2017-02-14 05:51:48 +00:00
|
|
|
psutil>=3.2.2 # BSD
|
2017-09-12 04:15:47 +00:00
|
|
|
futurist>=1.2.0 # Apache-2.0
|
|
|
|
tooz>=1.58.0 # Apache-2.0
|