Open EmreAtes opened 6 years ago
Devstack doesn't pull from the URL specified for a plugin in local.conf for some reason. What you can do as an interim measure is set your osprofiler fork with jaeger tracing in as a remove in /opt/stack/osprofiler
git remote add upstream
That's how I normally swap osprofiler with mine, but to store in jaeger I had to change connection string to jaeger://...
, so I wanted to use local.conf
, but overall messed up my devstack as a result. I'll try starting from scratch and changing the files in /etc
When you changed the connection string in local.conf, did the conf files in /etc/service show the new connection string?
after I changed the connection string, I got an error saying jaeger
is not supported as a backend, because in the version collected from stable/pike
it's not supported, so I couldn't successfully run stack.sh
after I changed the connection string.
It might work if you ignore CONNECTION_STRING parameter and just set the connection_strings in post config. The whole point of CONNECTION_STRING is that you could set it in one place and Devstack would set it as the connection_string in the openstack services, but Devstack doesn't do that/you still have the set the connection string in post config regardless of what it is.
Also, is there an openstack release where jaeger backend is supported, for example stable/queens?
The support came with this commit https://github.com/openstack/osprofiler/commit/eb6376c052a71e709039c260ffc1856b56e49902
stable/rocky
supports it, as well as master.
would it be useful to upgrade Devstack?
I'm not sure. I was trying to install the new version of osprofiler while keeping everything else the same version, which is becoming more challenging than I expected (now getting a ContextualVersionConflict
exception from keystone).
I think we can talk about this in the next project meeting (tomorrow), and if the jaeger backend is something we really want, we can talk about possible solutions (e.g., porting that jaeger patch to our queens version osprofiler or upgrading devstack).
osprofiler can support jaeger in the master branch, so I'm trying to create an ORE with the master version of osprofiler.
So far, I tried to change
local.conf
to includeOSPROFILER_BRANCH
andOSPROFILER_REPO
, with no luck (the old version of osprofiler is fetched). I'll try it more systematically tomorrow and update any progress over here.