Tuesday, 2022-06-14

manuvakery1Hi .. 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
mrungemanuvakery1, 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 output10:14
manuvakery1for now i just want to poll network.services.lb.loadbalancer(Existence of a LB loadbalancer) and publish to gnocchi10:16
mrungeI don't see any octavia dependencies at a quick glance, but I may be wrong10:17
mrungeon the same note, I honestly have not seen how octavia would provide metrics10:18
manuvakery1https://bugs.launchpad.net/ceilometer/+bug/184828610:18
manuvakery1i had gone through this bug but i did not understand quite well10:19
manuvakery1🥲10:19
mrungewhich version are you running?10:20
mrungeon this note: https://review.opendev.org/c/openstack/ceilometer/+/837441 (to remove neutron loadbalancers from  ceilometer)10:21
manuvakery1train .. version 13.1.210:24
mrungequickly reading through the bug, it should be possible then10:25
manuvakery1I thought so but i had no luck. I see the following in the ceilometer logs after adding the meter to my pollster10:28
manuvakery12022-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
manuvakery12022-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:17210:28
tkajinammanuvakery1, 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 neutron11:51
tkajinamneutron-lbaas was retired during train cycle so it's not available if you are using train :-(11:56
manuvakery1tkajinam: thanks for your response. Just found this in Octavia https://review.opendev.org/c/openstack/octavia/+/83105111:58

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!