greenpau / ovn_exporter

Prometheus Exporter for Open Virtual Network (OVN)
Apache License 2.0
21 stars 18 forks source link

ovn-exporter run inside container #11

Open matfechner opened 2 years ago

matfechner commented 2 years ago

OVN exporter has no access to the local databases OVSDB, OVN-NB-NB, OVN-SB-DB only over the socket remote and with the ovn parameters:

 -database.northbound.socket.remote 192.168.0.x:6641  
 -database.southbound.socket.remote 192.168.0.x:6642
 -database.vswitch.socket.remote 127.0.0.1:6640

there some parameters/files missing aspecial chassis-id PID Switchname, system-id or logs

how is the correct way to connect remote the Databases ?

the initial reason for this is that i try to integrate it in kolla-ansible, reference is the is the #10 the Docker Container is prepared here https://review.opendev.org/c/openstack/kolla/+/762986/ and the kolla-ansible integration is here https://review.opendev.org/c/openstack/kolla-ansible/+/855498

thanks a lot to take a look to this issue

greenpau commented 2 years ago

@berendt , @pawelmarkowski , @rnurgaliyev , would you be able to help with this issue?