OsProfiler does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
New
|
Low
|
Unassigned |
Bug Description
Steps of reproduction
1. Add below lines in local.conf and install devstack
enable_plugin panko $GIT_BASE/
enable_plugin ceilometer $GIT_BASE/
enable_plugin osprofiler $GIT_BASE/
# Enable the following services
CEILOMETER_
ENABLED_
ENABLED_
ENABLED_
ENABLED_
2. Make sure below section exist in /etc/cinder/
[profiler]
connection_string = messaging://
hmac_keys = SECRET_KEY
trace_sqlalchemy = True
enabled = True
[oslo_messaging
driver = messagingv2
topics = notifications, profiler
3. restart cinder services.
4. cinder --profile SECRET_KEY create 1
Display command output and then below lines
Trace ID: 7570a96d-
To display trace use next command:
osprofiler trace show --html 7570a96d-
5. osprofiler trace show --html 7570a96d-
--connection-string messaging:// --transport-url rabbit:
No events are collected for Trace UUID 7570a96d-
Trace with UUID 7570a96d-
tags: | added: ceilometer |
tags: | added: osprofiler trace |
Changed in cinder: | |
importance: | Undecided → Low |
osprofiler trace show --html 5bccf782- f0b6-4425- 818a-c66782ccd6 aa --connection-string redis:/ /localhost: 6379 works. So issue might be specific to messaging.