Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for support Containerized OVN Services #10

Open
miladjahandideh opened this issue Nov 8, 2021 · 2 comments
Open

Request for support Containerized OVN Services #10

miladjahandideh opened this issue Nov 8, 2021 · 2 comments

Comments

@miladjahandideh
Copy link

Request for support Containerized OVN Services

When Openstack is deployed with Kolla-Ansible it uses Containers to deploy OVN and OVS binaries in different containers:

The problem with this ovn_exporter is ".pid" and ".sock" files when they are inside of the container. For ".sock" it is easy to bind them to host I think but about ".pid" I don't have a solution because PID of inside Container is different from the host.

@osfrickler
Copy link

AFAICT the pid files are only used to track the pid of the running processes, which IMO doesn't need to happen within this exporter and so possibly could be dropped. If you want to bindmount those instead, that should also work, the only information you could gather from this anyway is when a process was restarted. Oras a workaround, you could simply create a dummy file containing "0" and point to that as PID file.

@greenpau
Copy link
Owner

@miladjahandideh , @osfrickler , it needs an update. Please feel free to submit PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants