manuvakery1 | Hi .. I was wondering if there is a way to meter loadbalancers from octavia. I mostly want for start to just meter if a loadbalancer was deployed and has status active. | 10:10 |
---|---|---|
mrunge | manuvakery1, hey, there is a difference between making sure that a service is active or if you'd also want to collect data on in and output | 10:14 |
manuvakery1 | for now i just want to poll network.services.lb.loadbalancer(Existence of a LB loadbalancer) and publish to gnocchi | 10:16 |
mrunge | I don't see any octavia dependencies at a quick glance, but I may be wrong | 10:17 |
mrunge | on the same note, I honestly have not seen how octavia would provide metrics | 10:18 |
manuvakery1 | https://bugs.launchpad.net/ceilometer/+bug/1848286 | 10:18 |
manuvakery1 | i had gone through this bug but i did not understand quite well | 10:19 |
manuvakery1 | 🥲 | 10:19 |
mrunge | which version are you running? | 10:20 |
mrunge | on this note: https://review.opendev.org/c/openstack/ceilometer/+/837441 (to remove neutron loadbalancers from ceilometer) | 10:21 |
manuvakery1 | train .. version 13.1.2 | 10:24 |
mrunge | quickly reading through the bug, it should be possible then | 10:25 |
manuvakery1 | I thought so but i had no luck. I see the following in the ceilometer logs after adding the meter to my pollster | 10:28 |
manuvakery1 | 2022-06-14 10:26:50.583 144938 WARNING ceilometer.neutron_client [-] The resource could not be found.: NotFound: The resource could not be found. | 10:28 |
manuvakery1 | 2022-06-14 10:26:50.584 144938 DEBUG ceilometer.polling.manager [-] Skip pollster network.services.lb.loadbalancer, no resources found this cycle poll_and_notify /usr/lib/python2.7/site-packages/ceilometer/polling/manager.py:172 | 10:28 |
tkajinam | manuvakery1, the current implementation requires neutron lbaas api. that bug covers the old usecase where neutron lbaas v2 relays api requests to octavia but that implementation has been removed completely from neutron | 11:51 |
tkajinam | neutron-lbaas was retired during train cycle so it's not available if you are using train :-( | 11:56 |
manuvakery1 | tkajinam: thanks for your response. Just found this in Octavia https://review.opendev.org/c/openstack/octavia/+/831051 | 11:58 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!