Wednesday, 2016-01-13

Eva-iflwang1: now I checked Zaqar and can't find problem... I don't know on which side the problem is...00:01
*** eliqiao has quit IRC00:22
*** eliqiao has joined #openstack-zaqar00:23
openstackgerritThai Tran proposed openstack/zaqar-ui: Zaqar-ui base project with empty queues panel  https://review.openstack.org/25521300:34
flwang1Eva-i: i'm thinking if there is a problem with the zaqar client code00:58
openstackgerritThai Tran proposed openstack/zaqar-ui: Zaqar-ui base project with empty queues panel  https://review.openstack.org/25521301:00
*** kgriffs is now known as kgriffs|afk01:17
*** eliqiao has quit IRC01:24
*** eliqiao has joined #openstack-zaqar01:42
flwang1eliqiao: hah, welcome to visit zaqar channel ;)01:54
eliqiaohi flwang1, thx :) actually I lived here for sometime already(dive into water)01:55
Eva-ieliqiao: hello02:01
eliqiaohi Eva-i, yes?02:01
Eva-ieliqiao: just hello =)02:01
eliqiaoEva-i: :) thx02:02
flwang1Eva-i: not sure if you notice this line http://logs.openstack.org/82/261282/5/check/gate-zaqarclient-dsvm-functional/17d875e/console.html#_2016-01-12_03_58_01_36302:06
Eva-iflwang1: this happens because of another bug02:07
Eva-iflwang1: see http://logs.openstack.org/96/238396/12/check/gate-dsvm-redis-zaqar/9616539/logs/screen-zaqar-wsgi.txt.gz#_2016-01-12_09_19_58_79902:07
flwang1Eva-i: i'm thinking how the resp_dict could be empty02:12
flwang1if zaqar can't find the subscription_id, it should reutrn 40402:12
flwang1http://logs.openstack.org/96/238396/12/check/gate-dsvm-redis-zaqar/9616539/logs/screen-zaqar-wsgi.txt.gz#_2016-01-12_09_19_58_79502:14
Eva-iflwang1: you think it's because no pool is found?02:15
Eva-iflwang1: BTW I checked requests which python-zaqarclient sends to zaqar during 'subscription_get' operation using wireshark. Everything is alright. The server just acknowledges this request and sends reset connection packet: http://imgur.com/mbT0T4902:16
*** Qiming has joined #openstack-zaqar02:16
Eva-iDuring this python-zaqarclient shows: requests.exceptions.ConnectionError: ('Connection aborted.', error(104, 'Connection reset by peer'))02:17
flwang1it's really weird02:17
Eva-iflwang1: vmkc made an assumption, that this is a RACE CONDITION happening02:17
Eva-iflwang1: I think the race condition happens on zaqar-server side02:18
flwang1Eva-i: but you said zaqar server even didn't get the request of subscription get, right?02:18
flwang1then how the race condition happened?02:18
Eva-iflwang1: hm wait. maybe race condition in uwsgi02:19
Eva-iflwang1: the problem completely eliminates if I put time.sleep(0.1) before this line: https://github.com/openstack/python-zaqarclient/blob/master/zaqarclient/queues/v2/subscription.py#L6002:20
Eva-iflwang1: I think it's a sign of race condition02:20
flwang1haha, that's what i saw at somwhere, let me show you02:21
flwang1https://github.com/Huangtuzhi/top-topic-Zhihu/issues/102:22
flwang1Eva-i:  when you say "the problem completely eliminates if I put time.sleep(0.1)  " how could you know it's really ok, just ok for this time you just tried?02:24
Eva-iflwang1: I tried more than once, at least 10 times02:24
flwang1so you mean without the sleep, you can easily reproduce it on your local, right?02:25
Eva-iflwang1: that's right02:25
flwang1after added that line, you can't reproduce it anymore, right?02:25
Eva-iflwang1: right02:25
flwang1hmm... interesting....02:25
flwang1but, i don't think it's a race condition issue of zaqar server02:26
Eva-iflwang1: you are not able to reproduce connectivity errors on your local?02:28
flwang1i never use uwsgi for testing :(02:29
flwang1Eva-i: i'm thinking if it can be fixed by change the uwsgi config02:30
Eva-iflwang1: me too, but for this case it was easy for me to start devstack, which configures uwsgi and starts zaqar02:31
flwang1Eva-i: yep, i see02:32
Eva-iflwang1: what is relevant on this page: https://github.com/Huangtuzhi/top-topic-Zhihu/issues/1 ?02:34
Eva-iThe author uses sleep to prevent error?02:35
flwang1Eva-i:  yes02:35
flwang1but obviously, we can't do that :( in our code02:35
Eva-iflwang1: of course02:36
flwang1but good to know the hacking works02:37
*** mdnadeem has joined #openstack-zaqar02:51
Eva-iflwang1: I tried so many things today/tonight to make tests work. I don't think I can make them work in a reasonable amount of time. Maybe I should go back to my other tasks. To sleeping, for example.03:24
Eva-iflwang: good bye03:24
flwang1hah, good night03:25
flwang1i will continually work on that03:25
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Add support for subscription show v2  https://review.openstack.org/26128203:26
*** flwang has quit IRC04:09
*** GB21 has joined #openstack-zaqar05:01
*** boris-42 has quit IRC05:03
*** GB21 has quit IRC05:08
*** Qiming_ has joined #openstack-zaqar05:30
*** Qiming has quit IRC05:33
*** GB21 has joined #openstack-zaqar05:37
*** GB21 has quit IRC06:05
*** GB21 has joined #openstack-zaqar06:24
*** mdnadeem has quit IRC07:57
*** mdnadeem has joined #openstack-zaqar07:57
*** GB21 has quit IRC08:30
openstackgerritThomas Herve proposed openstack/zaqar: DNM: don't use uwsgi on the default port  https://review.openstack.org/26657708:39
*** venkat has joined #openstack-zaqar09:00
*** GB21 has joined #openstack-zaqar09:25
openstackgerritMD NADEEM proposed openstack/python-zaqarclient: Resolve asymmetric behaviour of zaqar client  https://review.openstack.org/26680809:33
openstackgerritThomas Herve proposed openstack/zaqar: DNM: don't use uwsgi on the default port  https://review.openstack.org/26657709:38
openstackgerritMD NADEEM proposed openstack/python-zaqarclient: Resolve asymmetric behaviour of zaqar client  https://review.openstack.org/26682210:07
*** Qiming_ has quit IRC10:19
openstackgerritMD NADEEM proposed openstack/zaqar: PUT improvement for pool create  https://review.openstack.org/23800610:26
openstackgerritMD NADEEM proposed openstack/zaqar: PUT improvement for flavor create  https://review.openstack.org/23839610:28
openstackgerritMD NADEEM proposed openstack/zaqar: PUT improvement for flavor create  https://review.openstack.org/23839610:33
openstackgerritThomas Herve proposed openstack/zaqar: Fix redis subscription loading  https://review.openstack.org/26683110:40
therveflwang1, So I've found one bug at least ^^^10:40
therveI still don't know why uswgi swallows some errors in the gate10:43
*** venkat has quit IRC11:11
*** venkat has joined #openstack-zaqar11:11
*** venkat has quit IRC11:13
*** venkat has joined #openstack-zaqar11:13
*** Qiming has joined #openstack-zaqar11:16
*** dmowrer has quit IRC11:35
*** dmowrer has joined #openstack-zaqar11:35
*** flwang has joined #openstack-zaqar11:38
*** flwang1 has quit IRC11:48
*** flwang1 has joined #openstack-zaqar11:49
*** mdnadeem has quit IRC12:18
*** GB21 has quit IRC12:27
openstackgerritThomas Herve proposed openstack/zaqar: Fix redis subscription loading  https://review.openstack.org/26683113:07
*** rcernin has joined #openstack-zaqar13:09
*** pradk has joined #openstack-zaqar13:19
*** pradk has quit IRC13:23
*** amitgandhinz has joined #openstack-zaqar13:44
*** sriram has joined #openstack-zaqar13:59
*** GB21 has joined #openstack-zaqar14:12
*** GB21 has quit IRC14:12
*** venkat has quit IRC14:16
*** njohnston has joined #openstack-zaqar14:19
*** malini has joined #openstack-zaqar14:29
*** mdnadeem has joined #openstack-zaqar14:31
*** malini1 has joined #openstack-zaqar14:32
*** malini has quit IRC14:35
*** pradk has joined #openstack-zaqar14:49
*** Qiming has quit IRC14:51
*** dynarro has joined #openstack-zaqar14:52
*** mdnadeem has quit IRC15:06
*** Qiming has joined #openstack-zaqar15:06
*** kgriffs|afk is now known as kgriffs15:18
*** Qiming has quit IRC15:20
*** malini1 has quit IRC15:20
*** boris-42 has joined #openstack-zaqar15:20
therveGood lord, I think I've found the uwsgi issue15:34
therveUrrrggggggg15:34
ryansband the winner is?15:34
*** amitgandhinz has quit IRC15:35
*** amitgandhinz has joined #openstack-zaqar15:36
openstackgerritThomas Herve proposed openstack/zaqar: Fix redis subscription loading  https://review.openstack.org/26683115:36
therveryansb, HTTP pipelining!15:36
therveuwsgi simply closes the connection when it gets that15:38
therveWIthout logging presumably because security15:38
therveIt's always a good reason to do something horrible to your users15:38
*** amitgandhinz has quit IRC16:20
*** sriram has quit IRC16:49
*** bradjones has quit IRC16:49
*** bradjones has joined #openstack-zaqar16:50
*** bradjones has joined #openstack-zaqar16:50
*** rcernin has quit IRC16:51
*** dynarro has quit IRC17:14
*** fesp has joined #openstack-zaqar17:33
*** fesp has quit IRC17:34
*** amitgandhinz has joined #openstack-zaqar17:57
*** boris-42 has quit IRC18:08
*** wanghao has quit IRC18:08
*** ameade has quit IRC18:08
*** zhiyan has quit IRC18:08
*** lane_kong has quit IRC18:08
*** ameade has joined #openstack-zaqar18:21
*** wanghao has joined #openstack-zaqar18:23
*** flwang has quit IRC18:23
*** zhiyan has joined #openstack-zaqar18:24
*** lane_kong has joined #openstack-zaqar18:26
*** rcernin has joined #openstack-zaqar18:30
*** ig0r_ has joined #openstack-zaqar18:43
*** kgriffs is now known as kgriffs|afk19:20
*** boris-42 has joined #openstack-zaqar19:40
*** stanchan has joined #openstack-zaqar20:05
*** eliqiao has quit IRC20:17
*** eliqiao has joined #openstack-zaqar20:20
*** rcernin has quit IRC20:20
*** kgriffs|afk is now known as kgriffs20:39
*** rcernin has joined #openstack-zaqar20:49
*** rcernin has quit IRC21:04
flwang1therve: ping21:11
*** ig0r_ has quit IRC21:14
*** flwang has joined #openstack-zaqar21:20
*** ig0r_ has joined #openstack-zaqar21:22
*** flwang has quit IRC21:25
*** flwang has joined #openstack-zaqar21:29
*** stanchan has quit IRC21:29
*** mdnadeem has joined #openstack-zaqar21:30
*** stanchan has joined #openstack-zaqar21:30
*** ig0r_ has quit IRC21:31
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Add support for subscription show v2  https://review.openstack.org/26128221:37
*** mdnadeem has quit IRC21:39
*** ig0r_ has joined #openstack-zaqar21:44
*** ig0r_ has quit IRC21:45
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Support claims for v2  https://review.openstack.org/26566321:47
*** rcernin has joined #openstack-zaqar21:54
*** njohnston has quit IRC22:01
*** rcernin has quit IRC22:10
*** malini has joined #openstack-zaqar22:13
*** malini1 has joined #openstack-zaqar22:15
*** malini has quit IRC22:17
*** boris-42 has quit IRC22:23
therveflwang1, Yeah22:51
therveflwang, flwang1 about to go though23:01
*** amitgandhinz has quit IRC23:11
*** malini1 has quit IRC23:22
*** malini has joined #openstack-zaqar23:23
*** Qiming has joined #openstack-zaqar23:31
*** malini1 has joined #openstack-zaqar23:32
*** malini has quit IRC23:33
*** Qiming has quit IRC23:43
*** pradk has quit IRC23:53
*** malini1 has quit IRC23:58

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