CCI-MOC / ORE

MOC OpenStack Research Environment
Apache License 2.0
2 stars 3 forks source link

No "neutron" shows up in network-related traces #14

Closed lkatalin closed 6 years ago

lkatalin commented 6 years ago

But is neutron even instrumented?

HuzefaMandvi commented 6 years ago

I just got neutron to show up in a trace with openstack server create. Basically, there were some important bugfixes in the stable/queens version of osprofiler. These steps appear to resolve #6 and hopefully can resolve this.

Steps to reproduce:

  1. Install the two patches[1][2]
  2. After installing each patch, run sudo pip install --no-deps --force-reinstall -U . in /opt/stack/nova and /opt/stack/neutron
  3. In /opt/stack/osprofiler, run git checkout stable/queens
  4. Reinstall osprofiler by running sudo pip install --no-deps --force-reinstall -U . in /opt/stack/osprofiler
  5. Restart openstack services: sudo systemctl restart devstack@*
  6. Try osprofiler commands

LMK if that works (or, more likely, gives us some new error message)

[1] https://review.openstack.org/#/c/273951/16/etc/api-paste.ini [2] https://review.openstack.org/#/c/519664/3/nova/api/openstack/wsgi_app.py

lkatalin commented 6 years ago

Great! I just followed your steps and got a trace for server create that includes neutron, nova, glance, and keystone. No cinder, but I think that may be normal. Will continue experimenting.