Friday, 2019-06-28

*** mriedem_afk is now known as mriedem00:03
*** mriedem has quit IRC01:54
openstackgerritMerged openstack/watcher master: Add name for instance in Watcher datamodel  https://review.opendev.org/66029502:20
openstackgerritMerged openstack/watcher master: improve the process of instance_created.end  https://review.opendev.org/66679502:29
openstackgerritMerged openstack/watcher-dashboard master: Add py37 in tox.ini and setup.cfg file  https://review.opendev.org/66751502:29
openstackgerritMerged openstack/watcher master: Configure nova notification format in non-grenade CI jobs  https://review.opendev.org/66333202:29
openstackgerritMerged openstack/watcher master: Add uWSGI support  https://review.opendev.org/66677902:29
*** zhurong has joined #openstack-watcher03:22
openstackgerritchenker proposed openstack/watcher master: Reduce the query time of the instances when call get_instance_list()  https://review.opendev.org/66810006:59
*** licanwei has joined #openstack-watcher07:00
DantalionI will try the limited get_instance_list once I have confirmed in my environment what happens if I change back to find_instance07:04
DantalionI think in the long run find_instance can be way more efficient because we can use futures to do many find_instance calls in parallel Watcher side07:04
*** chenke has joined #openstack-watcher07:06
chenkeHi,~07:06
chenkehttps://review.opendev.org/#/c/668100/07:07
licanweiyes, If find_instance can run in parallel, maybe it's fater.07:08
openstackgerritpengyuesheng proposed openstack/watcher-dashboard master: Blacklist sphinx 2.1.0 (autodoc bug)  https://review.opendev.org/66810107:09
licanweibut it will have more api calls than one instance_list.07:10
DantalionMaybe it should be user configurable07:11
DantalionIf you have one nova_api doing 15 find_instance calls might make nova unhappy07:11
Dantalionbut for us parallesis find_instance will have very good performance since there are 15 nova-api instances07:11
licanweiyes, maybe  user config07:13
chenkeI think the reason why it takes a lot of time here is  because of the limitation of limit.07:14
chenkeYes, it is very fast in parallel.07:15
DantalionI will try the limit in get_instance_list today07:15
licanwei chenke just submit a commit to reduce the get_instance_list call07:16
licanweihttps://review.opendev.org/#/c/668100/07:16
DantalionExactly, that is what I meant with try the limit in get_instance_list07:16
licanweiyou can try it07:17
chenkeOkay. I think this patch will save about 300s.07:17
DantalionI just tried find_instance with the single compute call07:20
Dantalionit reduces total time for medium cells from 300 to 260 :)07:20
DantalionNo I will try get_instance_list limit07:20
chenkeOk. wait for your result Email.07:26
licanweiJun 27 09:57:57.130293 ubuntu-bionic-rax-dfw-0008422178 watcher-decision-engine[2170]: DEBUG keystoneauth.session [-] REQ: curl -g -i --cacert "/opt/stack/data/ca-bundle.pem" -X GET http://10.209.4.32/compute/v2.1/servers/detail?all_tenants=True&host=ubuntu-bionic-rax-dfw-0008422178&marker=dbb0828d-a42f-4582-b6c0-e7204106765207:27
licanweiJun 27 09:57:57.316596 ubuntu-bionic-rax-dfw-0008422178 watcher-decision-engine[2170]: DEBUG keystoneauth.session [-] RESP: [200]07:27
DantalionThe limit resolves all issues :)07:27
Dantalionall time low result 239 seconds07:27
licanweihttp://logs.openstack.org/22/667822/1/check/watcher-tempest-basic_optim/17c2a7e/controller/logs/screen-watcher-decision-engine.txt.gz07:28
chenkewhy we can't see picture.07:28
licanweiDantalion: I find it's faster than your cern. maybe the time depends on the backend database07:29
DantalionTime is all relative ofcourse it depends on many things, Matt indicated that performance problems with get_instance_list typically only occur in multi-cell clouds07:30
openstackgerritDantali0n proposed openstack/watcher master: Releasenote for grafana datasource  https://review.opendev.org/66811008:00
*** sum12 has joined #openstack-watcher08:17
*** sum12 has quit IRC09:00
*** sum12 has joined #openstack-watcher09:02
*** licanwei has quit IRC09:14
openstackgerritzhufl proposed openstack/watcher master: Fix invalid assert states  https://review.opendev.org/66812409:25
*** chenke has quit IRC09:54
*** mriedem has joined #openstack-watcher13:24
*** mriedem is now known as mriedem_away16:18
DantalionI/1816:57
*** mriedem_away is now known as mriedem17:27
mriedemDantalion: what version of python-novaclient are you using in your stein testing?17:38
mriedemactually it probably doesn't matter17:42
mriedemi think i know how we can speed up add_instance_node17:42
mriedemah nvm i see there is already a patch https://review.opendev.org/#/c/668100/17:49
Dantalionmriedem: Yes chenker figured out that setting limit returns performance to normal18:55
Dantalionmriedem: new tests are already partialy done it looks really good :)18:56
mriedemawesome18:58
mriedemi'd be interested to know overall what the before / after comparisons are for stein/master with the 3 different optimization patches (add_instance_node and the other ones for the hypervisor APIs)18:58
mriedembut as long as you get back to or better than stein that's great18:59
Dantalionmriedem: it is better than stein now for sure :) so in the end the single API is faster but this issue with get_instance_list obscured the measurements19:01
mriedemthat's great to hear19:01

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!