*** pcaruana has joined #openstack-monasca | 04:14 | |
*** pcaruana has quit IRC | 04:38 | |
*** pcaruana has joined #openstack-monasca | 05:43 | |
*** dpawlik has joined #openstack-monasca | 06:23 | |
*** dougsz has joined #openstack-monasca | 08:07 | |
openstackgerrit | Dobroslaw Zybort proposed openstack/monasca-log-api master: Add tooling for building Docker image https://review.openstack.org/579092 | 08:38 |
---|---|---|
*** witek_ has joined #openstack-monasca | 09:26 | |
*** witek has quit IRC | 09:26 | |
*** pcaruana has quit IRC | 11:15 | |
*** pandy has joined #openstack-monasca | 11:31 | |
*** dpawlik has quit IRC | 11:58 | |
*** witek_ is now known as witek | 12:06 | |
*** guimaluf has quit IRC | 12:21 | |
*** guimaluf has joined #openstack-monasca | 12:26 | |
*** witek has quit IRC | 13:52 | |
*** bobh has joined #openstack-monasca | 14:08 | |
*** bobh has quit IRC | 14:13 | |
*** chaconpiza has quit IRC | 14:23 | |
*** pandy has quit IRC | 14:28 | |
*** bobh has joined #openstack-monasca | 14:35 | |
openstackgerrit | Doug Szumski proposed openstack/monasca-specs master: Add Stein Monasca spec template https://review.openstack.org/605445 | 14:43 |
*** witek has joined #openstack-monasca | 14:47 | |
witek | Courtesy Monasca meeting reminder in #openstack-meeting-3: witek, jayahn,iurygregory,ezpz,igorn,haad,sc,joadavis, akiraY,tobiajo,dougsz_,fouadben, amofakhar, aagate, haruki,kaiokmo,pandiyan,charana,guilhermesp,chaconpiza | 14:59 |
*** pandy has joined #openstack-monasca | 14:59 | |
*** pcaruana has joined #openstack-monasca | 15:01 | |
*** bobh has quit IRC | 15:03 | |
*** bobh has joined #openstack-monasca | 15:17 | |
*** dpawlik has joined #openstack-monasca | 15:32 | |
*** dpawlik has quit IRC | 15:36 | |
witek | pandy: can you check if disabling `ping_checks` resolves the problme? | 16:01 |
*** koji_n has joined #openstack-monasca | 16:01 | |
pandy | witek, Yes, i did it and it slowed hit to Neutron API, would like to know do i need to turn off "vm_network_check_enable" "vm_ping_check_enable" also ? | 16:03 |
koji_n | https://github.com/openstack/monasca-agent/blob/819822529422e68614dd4c3b95a9b530795e4bcf/monasca_agent/collector/checks_d/libvirt.py#L940-L941 | 16:05 |
koji_n | vm_ping_check_enable appears only here, so it seems no need to turn off vm_ping_check_enable if you turn off ping_check | 16:06 |
pandy | Also would like to know frequency interval of cache update of "libvirt-instances.json" & "libvirt-metrics.json" is it 4 hours interval or if i create new VM will it get updated immediately | 16:06 |
pandy | koji_n, thanks :) understood. Even i dont have namespace method in my control plane https://github.com/openstack/monasca-agent/blob/819822529422e68614dd4c3b95a9b530795e4bcf/monasca_agent/collector/checks_d/libvirt.py#L185 | 16:07 |
pandy | koji_n, may i know whats the frequency interval of libvirt-instances.json" & "libvirt-metrics.json" is it 4 hours interval or if i create new VM will it get updated immediately under /dev/shm | 16:10 |
koji_n | let me see... | 16:10 |
pandy | okay | 16:13 |
koji_n | at a glance, you don't need turn off vm_network_check_enable to avoid to hit neutron API, but probably you cannot get the network information when you turn off ping_check | 16:13 |
pandy | may i know what are metrics ping_check will collect ? | 16:14 |
koji_n | sorry, i cannot tell it now | 16:15 |
pandy | after disabling "ping_checks" whether "vm_network_check_enable" will collect something ? | 16:15 |
koji_n | but probably the items related to 'instance_ports' cannot be collected | 16:15 |
koji_n | https://github.com/openstack/monasca-agent/blob/819822529422e68614dd4c3b95a9b530795e4bcf/monasca_agent/collector/checks_d/libvirt.py#L374 | 16:15 |
koji_n | instance_ports should be empty when turning off ping_checks | 16:16 |
pandy | How about "vm_network_check_enable" "m_ping_check_enable" values after turning off ping_checks | 16:17 |
pandy | whether it will gives any values or set it to NULL or False, if True will it collect any metrics ? | 16:18 |
koji_n | vm_ping_check_enable seems NOT to collect any metric when ping_check is turned off | 16:19 |
pandy | How about ""vm_network_check_enable"" ? | 16:20 |
koji_n | vm_network_check_enable seems to collect some metrics, but i need to check it | 16:20 |
pandy | okay, shall i conclude like if "ping_check" is turned off, will disable "vm_ping_check_enable" | 16:22 |
koji_n | yes | 16:22 |
pandy | koji_n, But would like to know how i can understand what are metrics will not collected when i turn off ping_check ? | 16:23 |
pandy | https://github.com/openstack/monasca-agent/blob/master/docs/Libvirt.md#per-instance-metrics | 16:25 |
koji_n | i need to check source code more... | 16:26 |
koji_n | can i answer it next weekly? | 16:27 |
pandy | sure thanks koji_n:) | 16:29 |
koji_n | and another question, it seems that the new instance will be added soon | 16:29 |
koji_n | https://github.com/openstack/monasca-agent/blob/819822529422e68614dd4c3b95a9b530795e4bcf/monasca_agent/collector/checks_d/libvirt.py#L779-L789 | 16:29 |
pandy | oh okay :) | 16:30 |
koji_n | check method is called every 30 seconds, so it can be added in 30 seconds | 16:30 |
pandy | this check method will hit Nova & Keystone every 30 seconds if new instances is created isn't ? | 16:31 |
koji_n | yes, i think so | 16:31 |
koji_n | sorry, it's wrong | 16:32 |
pandy | i think it getting updated how collect check_frequency value is set ? | 16:34 |
koji_n | libvirt plugin's check method always calls nova API (also keytone for authentication) even if there is no new instance | 16:34 |
koji_n | and sorry again, 30 seconds means the frequency of agent run | 16:35 |
koji_n | it's configurable in agent.yaml | 16:35 |
pandy | may i know code where mentioned it as 30 seconds ? | 16:35 |
koji_n | sorry, default value is 60 seconds | 16:36 |
pandy | in my agent.yaml file i made check_frequency value to 30 seconds ( default 60 seconds ) | 16:36 |
koji_n | yes, that's it | 16:37 |
pandy | yes, we are pointing same :) | 16:37 |
pandy | How frequently ping_checks does hit ? because by disabling it will loose network related metrics so | 16:37 |
pandy | if there is any supported configuration to tune this ping_checks will be great | 16:38 |
koji_n | so, as far as i checked, only here calls neutron API in libvirt plugin | 16:40 |
koji_n | https://github.com/openstack/monasca-agent/blob/819822529422e68614dd4c3b95a9b530795e4bcf/monasca_agent/collector/checks_d/libvirt.py#L187 | 16:40 |
koji_n | and it's called when updating the instance cache | 16:40 |
pandy | if i disable "ping_checks" this https://github.com/openstack/monasca-agent/blob/819822529422e68614dd4c3b95a9b530795e4bcf/monasca_agent/collector/checks_d/libvirt.py#L187 will update instance cache still ? | 16:41 |
koji_n | in my understanding, ping_check calls neutron API every 4 hours basically, but it can be called when a new instance appears | 16:42 |
koji_n | no, i don't thinks so | 16:43 |
pandy | oh okay, what are the details ping_checks collects ? | 16:43 |
koji_n | so, it's necessary for me to investigate more | 16:43 |
pandy | so you mean, turning off ping_checks will stop updating instance cache instantly and need to wait to 4 hours ? | 16:44 |
koji_n | no | 16:44 |
koji_n | the instance cache will be updated every 4 hours or when a new instance appears on that node | 16:45 |
koji_n | in this timing, this method is called | 16:45 |
koji_n | https://github.com/openstack/monasca-agent/blob/819822529422e68614dd4c3b95a9b530795e4bcf/monasca_agent/collector/checks_d/libvirt.py#L164 | 16:45 |
koji_n | and if you turn on ping_check, neutron API is also called in this method | 16:46 |
pandy | i would like to understand little in detail, if you dont mind. Disabling "ping_checks" will affect instance_cache update ? & what are the metrics or data will loose if i disable it | 16:46 |
koji_n | disabling "ping_check" will NOT affect the frequency/timing of updating instance cache, but it will affect the contents of instance cache, i think | 16:48 |
koji_n | the metrics you'll loose should be related to this two items | 16:49 |
koji_n | https://github.com/openstack/monasca-agent/blob/819822529422e68614dd4c3b95a9b530795e4bcf/monasca_agent/collector/checks_d/libvirt.py#L193 | 16:49 |
koji_n | https://github.com/openstack/monasca-agent/blob/819822529422e68614dd4c3b95a9b530795e4bcf/monasca_agent/collector/checks_d/libvirt.py#L196 | 16:49 |
koji_n | but i cannot tell the exact metric names at this moment | 16:49 |
koji_n | need to check source code more | 16:49 |
*** dougsz has quit IRC | 16:49 | |
pandy | port_cache & net_ns will fail to collect data | 16:50 |
koji_n | yes | 16:50 |
pandy | because of this my instance cache content will be affected in what manner ? | 16:51 |
pandy | I don't have network namespace in my compute node idealy. | 16:52 |
koji_n | what do you mean? | 16:53 |
pandy | what issue will happen to content of instance-cache if port_cache & net_ns fails to collect data ? | 16:54 |
koji_n | so, you cannot get some metrics | 16:55 |
koji_n | but as i said, i cannot answer what metrics you'll loos today | 16:55 |
pandy | as per code, port_cache will build list of Neutron Ports am i right ? what net_ns will do if i dont have network namespace | 16:56 |
pandy | wil it result me "Unable to ping VMs, no network namespaces found, Either no VMs are present, or routing is centralized' | 16:57 |
koji_n | sorry, i have no idea about it... | 16:57 |
pandy | okay, i am concluding it, disabling "ping_checks" will stop hit neutron and also affect contents of instance_cache in particular to port_cache & net_ns | 16:58 |
koji_n | yes, i think so | 16:58 |
pandy | okay, let me know what are metrics will be affected by this once you find time :) | 16:59 |
koji_n | but i just have a glance source code, so let me check it more | 16:59 |
pandy | or give me hint metrics dependency with code, so i do reverse engineering and try to find | 17:00 |
koji_n | i'll try to do it in next weekly | 17:00 |
pandy | :) | 17:00 |
pandy | okay thanks a lot :) :) :) | 17:00 |
koji_n | np:) | 17:00 |
pandy | thanks witek :) | 17:00 |
koji_n | it's 2:00 am on my time, i'm sleeping... | 17:01 |
pandy | Good night :) | 17:01 |
koji_n | if you have any additional questions, feel free to send a mail to me or witek | 17:02 |
koji_n | good night | 17:02 |
*** koji_n has quit IRC | 17:02 | |
*** pandy has quit IRC | 17:02 | |
*** dpawlik has joined #openstack-monasca | 17:16 | |
*** dpawlik has quit IRC | 17:16 | |
*** dpawlik has joined #openstack-monasca | 17:17 | |
*** dpawlik has quit IRC | 17:47 | |
*** dpawlik has joined #openstack-monasca | 18:21 | |
*** pcaruana has quit IRC | 18:24 | |
*** dpawlik has quit IRC | 18:25 | |
*** bobh has quit IRC | 20:59 | |
openstackgerrit | Joseph Davis proposed openstack/monasca-specs master: Metrics retention policy enhancement, python persister perf https://review.openstack.org/547233 | 21:23 |
*** bobh has joined #openstack-monasca | 21:35 | |
*** bobh has quit IRC | 21:40 | |
*** dpawlik has joined #openstack-monasca | 22:48 | |
*** dpawlik has quit IRC | 22:52 | |
*** openstackgerrit has quit IRC | 23:49 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!