Tuesday, 2016-01-12

*** pradk has quit IRC00:06
openstackgerritEva Balycheva proposed openstack/zaqar: Support binary messages over websocket  https://review.openstack.org/25697800:32
*** shakamunyi has quit IRC00:35
*** shakamunyi has joined #openstack-zaqar00:35
*** stanchan has quit IRC00:45
*** stanchan has joined #openstack-zaqar00:46
*** stanchan has quit IRC00:51
*** stanchan has joined #openstack-zaqar00:51
*** stanchan has quit IRC00:51
*** barra204 has joined #openstack-zaqar00:56
*** shakamunyi has quit IRC00:57
*** barra204 has quit IRC01:14
*** shakamunyi has joined #openstack-zaqar01:15
*** barra204 has joined #openstack-zaqar01:31
*** shakamunyi has quit IRC01:32
*** shakamunyi has joined #openstack-zaqar01:36
*** barra204 has quit IRC01:38
*** barra204 has joined #openstack-zaqar01:38
*** shakamunyi has quit IRC01:39
*** shakamunyi has joined #openstack-zaqar01:44
*** barra204 has quit IRC01:45
*** shakamunyi has quit IRC01:48
*** shakamunyi has joined #openstack-zaqar01:48
*** csoukup has joined #openstack-zaqar01:52
*** shakamunyi has quit IRC01:54
*** csoukup has quit IRC01:58
*** kgriffs is now known as kgriffs|afk01:59
*** shakamunyi has joined #openstack-zaqar02:08
*** shakamunyi has quit IRC02:10
*** shakamunyi has joined #openstack-zaqar02:12
*** AAzza has quit IRC02:22
*** shakamunyi has quit IRC02:22
*** AAzza has joined #openstack-zaqar02:23
*** AAzza_ has joined #openstack-zaqar02:23
*** shakamunyi has joined #openstack-zaqar02:23
*** AAzza has quit IRC02:27
*** AAzza has joined #openstack-zaqar02:28
*** AAzza_ has quit IRC02:28
*** shakamunyi has quit IRC02:32
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Add support for subscription delete v2  https://review.openstack.org/26128002:35
*** AAzza_ has joined #openstack-zaqar02:41
*** AAzza has quit IRC02:41
*** AAzza_ is now known as AAzza02:41
*** AAzza has quit IRC02:47
*** AAzza has joined #openstack-zaqar02:51
*** AAzza has quit IRC03:02
*** AAzza has joined #openstack-zaqar03:05
*** AAzza has quit IRC03:16
*** AAzza has joined #openstack-zaqar03:17
openstackgerritFei Long Wang proposed openstack/zaqar-specs: Spec for more reserved queue attributes  https://review.openstack.org/25762203:19
*** AAzza has quit IRC03:21
openstackgerritMerged openstack/python-zaqarclient: Add support for subscription delete v2  https://review.openstack.org/26128003:22
*** AAzza has joined #openstack-zaqar03:24
*** kgriffs|afk is now known as kgriffs03:26
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Add support for subscription show v2  https://review.openstack.org/26128203:29
*** flwang has quit IRC04:06
*** kgriffs is now known as kgriffs|afk04:45
openstackgerritMD NADEEM proposed openstack/zaqar: Create api should throw PoolNameConflict exception for duplicate pool name  https://review.openstack.org/23800605:26
openstackgerritMD NADEEM proposed openstack/python-zaqarclient: Fixing the deprecated library function  https://review.openstack.org/26619806:04
*** ryansb has quit IRC06:31
openstackgerritMD NADEEM proposed openstack/zaqar: Create api should throw PoolNameConflict exception for duplicate pool name  https://review.openstack.org/23800606:57
openstackgerritMD NADEEM proposed openstack/zaqar: Flavor create api should throw FlavorNameConflict exception for duplicate Flavor name  https://review.openstack.org/23839606:59
*** venkat__ has joined #openstack-zaqar07:00
openstackgerritMD NADEEM proposed openstack/zaqar: Create api should throw PoolNameConflict exception for duplicate pool name  https://review.openstack.org/23800607:22
*** ryansb has joined #openstack-zaqar07:24
*** ryansb has quit IRC07:24
*** ryansb has joined #openstack-zaqar07:24
openstackgerritMD NADEEM proposed openstack/zaqar: Flavor create api should throw FlavorNameConflict exception for duplicate Flavor name  https://review.openstack.org/23839607:24
openstackgerritMD NADEEM proposed openstack/zaqar: Flavor create api should throw FlavorNameConflict exception for duplicate Flavor name  https://review.openstack.org/23839607:28
*** GB21 has joined #openstack-zaqar08:15
*** eliqiao has quit IRC08:18
openstackgerritMD NADEEM proposed openstack/zaqar: Create api should throw PoolNameConflict exception for duplicate pool name  https://review.openstack.org/23800608:46
openstackgerritMD NADEEM proposed openstack/zaqar: Flavor create api should throw FlavorNameConflict exception for duplicate Flavor name  https://review.openstack.org/23839608:48
openstackgerritMD NADEEM proposed openstack/zaqar: Flavor create api should throw FlavorNameConflict exception for duplicate Flavor name  https://review.openstack.org/23839608:52
openstackgerritMD NADEEM proposed openstack/zaqar: PUT improvement for pool create  https://review.openstack.org/23800608:56
openstackgerritMD NADEEM proposed openstack/zaqar: PUT improvement for flavor create  https://review.openstack.org/23839608:58
*** openstackgerrit has quit IRC09:17
*** openstackgerrit has joined #openstack-zaqar09:17
*** davideag_ has joined #openstack-zaqar09:53
*** davideagnello has quit IRC09:56
*** eliqiao has joined #openstack-zaqar10:08
*** eliqiao has left #openstack-zaqar10:08
*** eliqiao has joined #openstack-zaqar10:10
openstackgerritMD NADEEM proposed openstack/zaqar: PUT improvement for pool create  https://review.openstack.org/23800610:11
*** mdnadeem has quit IRC10:13
*** mdnadeem has joined #openstack-zaqar10:14
openstackgerritMD NADEEM proposed openstack/zaqar: PUT improvement for flavor create  https://review.openstack.org/23839610:20
Eva-iHello10:21
Eva-iSeems like we broke something in python-zaqarclient. Dsvm gates fail on "test_subscription_create" and "test_subscription_delete" tests. I'll try to find the problem.10:23
mdnadeemEva-i, yes me too face same issue10:30
mdnadeemEva-i, ping10:50
Eva-imdnadeem: pong10:50
mdnadeemregarding https://bugs.launchpad.net/python-zaqarclient/+bug/153277610:50
openstackLaunchpad bug 1532776 in Python client library for Zaqar "Invisible conflict during creation of some resources " [Undecided,New] - Assigned to MD NADEEM (mail2nadeem92)10:50
mdnadeemAs of now, zaqar server update resource if a resource already exist10:51
mdnadeemfor the time being , i think zaqar client should also do the same10:51
Eva-imdnadeem: aha, I see now10:52
mdnadeemEva-i, for time being , i think i would update it according to zaqar server behaviour10:53
mdnadeemand later on when i implement spec, when zaqar server nature will change at that time we will change client side too10:53
mdnadeemwhats say??10:53
Eva-imdnadeem: yes, that's very nice =)10:54
mdnadeemEva-i, cool10:54
mdnadeemEva-i, Thanks for your comment on spec https://review.openstack.org/#/c/246147/10:55
Eva-iseems like my bug report then unneeded10:56
mdnadeemEva-i, Your point make sense, however initially i and flwang discussed about it and agrees to add head, now i need to discuss flwang once again10:56
mdnadeemthen i will update spec accordingly10:56
Eva-imdnadeem: yes, let's see what flwang thinks10:56
mdnadeemEva-i, your bug is needed, for time being its a bug untill we implement the spec.10:57
Eva-imdnadeem: oki10:57
mdnadeemI will upload a patch soon for the same10:57
mdnadeem:)10:57
*** venkat__ has quit IRC10:59
Eva-imdnadeem: btw strange, but python-zaqarclient subscription tests work good on my machine. I wonder why they fail on dsvm gate.11:04
mdnadeemEva-i, I see subscription test fail on zaqar server code  ,11:06
mdnadeemlet me check on python-zaqarclient side11:07
Eva-imdnadeem: where do you see failing on zaqar server code?11:07
Eva-imdnadeem: there's jenkins log?11:07
mdnadeemyes11:08
mdnadeemhttp://logs.openstack.org/06/238006/11/check/gate-dsvm-mongodb-zaqar/fa93e08/console.html11:08
mdnadeemserach ERROR11:08
mdnadeemit is on zaqar server code11:09
mdnadeemtests.functional.queues.v2.test_subscription.QueuesV2SubscriptionHttpFunctionalTest.test_subscription_create ... ERROR11:09
mdnadeem2016-01-12 10:34:18.183 | tests.functional.queues.v2.test_subscription.QueuesV2SubscriptionHttpFunctionalTest.test_subscription_delete ... FAIL11:09
mdnadeem2016-01-12 10:34:18.949 | tests.functional.queues.v2.test_subscription.QueuesV2SubscriptionHttpFunctionalTest.test_subscription_update ... ERROR11:09
Eva-imdnadeem: no, I think these tests belong to python-zaqarclient. We should find out if the tests are bad or zaqar server responds badly.11:12
mdnadeemEva-i, hmm11:12
therveEva-i, I believe those tests are not super robust11:13
therveIf the server gets into a specific state, they will fail11:13
therveI noticed that for example ""DELETE /v2/queues/beijing/subscriptions/None"11:14
Eva-itherve: hello11:14
Eva-itherve: oh, I see11:15
*** openstackgerrit has quit IRC11:17
*** openstackgerrit has joined #openstack-zaqar11:17
Eva-ialso I see this in Zaqar jenkins screen log: 2016-01-12 09:19:18.021 4733 ERROR zaqar.notification.notifier [(None,) 10190888b4934b2ab640ec14b9217b53 a22b66c9e7bc404591a31102d9b2450d - - -] Failed to get subscription controller.11:20
Eva-iAnd when functional test request comes, Zaqar says: 'ascii' codec can't decode byte 0x80 in position 1: ordinal not in range(128)11:23
*** akanksha_ has joined #openstack-zaqar11:51
*** mdnadeem has quit IRC12:12
*** GB21 has quit IRC12:21
*** GB21 has joined #openstack-zaqar12:22
*** eliqiao has quit IRC12:24
*** eliqiao has joined #openstack-zaqar12:25
openstackgerritLiuNanke proposed openstack/zaqar: make enforce_type=True in CONF.set_override  https://review.openstack.org/26633312:30
*** GB21 has quit IRC12:37
*** shakamunyi has joined #openstack-zaqar13:04
openstackgerritLiuNanke proposed openstack/zaqar: make enforce_type=True in CONF.set_override  https://review.openstack.org/26633313:06
*** eliqiao_ has joined #openstack-zaqar13:39
*** eliqiao has quit IRC13:41
*** eliqiao_ is now known as eliqiao13:42
*** malini has joined #openstack-zaqar14:12
*** malini1 has joined #openstack-zaqar14:14
*** malini has quit IRC14:17
*** njohnston has joined #openstack-zaqar14:27
*** sriram has joined #openstack-zaqar14:32
*** mpanetta has joined #openstack-zaqar14:59
*** GB21 has joined #openstack-zaqar15:09
*** kgriffs|afk is now known as kgriffs15:20
*** GB21 has quit IRC16:24
*** pradk has joined #openstack-zaqar16:42
*** amitgandhinz has joined #openstack-zaqar16:55
*** bradjones has quit IRC16:55
*** akanksha_ has quit IRC16:57
*** bradjones has joined #openstack-zaqar16:58
*** bradjones has joined #openstack-zaqar16:58
*** malini1 has quit IRC17:51
*** malini has joined #openstack-zaqar18:27
*** malini1 has joined #openstack-zaqar18:28
*** malini has quit IRC18:31
*** flwang has joined #openstack-zaqar18:51
Eva-iflwang: flwang1: ping19:05
*** amitgandhinz has quit IRC19:05
*** amitgandhinz has joined #openstack-zaqar19:06
*** flwang has quit IRC19:08
*** flwang has joined #openstack-zaqar19:15
Eva-iI collected some thoughts about dsvm gates tests fails, including "how to reproduce": http://paste.openstack.org/show/m7wFYz7lSPpquOl2VTsy/19:17
Eva-iUnfortunately I haven't found exact cause.19:17
flwangEva-i: pong19:17
Eva-iflwang: hello19:17
flwangEva-i: hi, 's up?19:17
Eva-iflwang: I spend almost whole day trying to figure out spontaneous dsvm gates failing for Zaqar.19:18
Eva-iflwang: this is my report: http://paste.openstack.org/show/m7wFYz7lSPpquOl2VTsy/. Maybe you know what the problem might be.19:19
flwangthank you so much, clicking...19:20
flwangsorry, i can't open the link, maybe something wrong with my home's network19:24
flwangim still at home19:24
flwangnow19:24
*** flwang has quit IRC19:25
*** mpanetta has quit IRC19:46
flwang1Eva-i: thanks for the investigation20:57
flwang1i'm in office now, and i will debug the issue today20:58
*** njohnsto_ has joined #openstack-zaqar21:03
flwang1Eva-i: still around?21:03
*** flwang has joined #openstack-zaqar21:03
*** njohnston has quit IRC21:04
Eva-iflwang: yes. O21:07
Eva-iflwang: I'm here21:07
flwang1Eva-i: i just reviewed your paste about the gate issue21:09
flwang1i noticed that as well21:09
Eva-iflwang1: so what do you think?21:09
flwang1that will be my 1st priority today21:09
flwang1there are some possibilities21:09
flwang11. functional test can't drop database after running21:10
flwang1which is causing some potential issue21:10
flwang12. a bug in subscription get code which is causing the uwsgi confused :)21:12
therveWe have this issue with uwsgi since beginning, it's annoying21:13
flwang1that's what i can tell now21:13
flwang1need to investigate21:13
*** njohnsto_ has quit IRC21:14
Eva-i1. I think this is not the first cause. Problem can occur even on the first run of test case. And if it occurs, subscription stays undeleted, causing subsequent runs of tests to fail.21:14
Eva-ioki21:14
flwang1therve: oh, really? i even don't know that, any more details?21:18
*** kgriffs is now known as kgriffs|afk21:18
therveflwang, Not really. But the bad status line error is masking the real error, whatever that is21:18
*** kgriffs|afk is now known as kgriffs21:20
flwang1therve: so does that mean there must be a bug in our code, uwsgi just masks the real issue, right?21:22
therveflwang, That's what I'd say yeah21:22
therveI can try something21:23
*** njohnston has joined #openstack-zaqar21:23
flwang1therve: cool, good to know21:23
openstackgerritThomas Herve proposed openstack/zaqar: DNM: don't use uwsgi on the default port  https://review.openstack.org/26657721:25
flwang1therve: hmm... so we're using websocket as the default transport?21:28
therveflwang, Not sure what you mean. No, probably?21:29
flwang1https://review.openstack.org/#/c/266577/1/devstack/plugin.sh21:29
*** mdnadeem has joined #openstack-zaqar21:29
flwang1i'm seeing the change you posted21:29
therveAh, yeah. We set the transport to websocket in the conf so that the zaqar-server process runs websocket21:30
therveAnd uswgi runs the wsgi transport21:30
therveMy change is a trick so that uswgi runs on a random port, and zaqar-server runs wsgi instead of websocket21:30
*** amitgandhinz has quit IRC21:31
flwang1therve: personally, i would prefer to run zaqar server with wsgi instead of websocket21:32
Eva-iDevstack starts two zaqars: websocket one(on port 9000 with unmodified zaqar.conf) and wsgi one (on port 8888 with transport driver overrided to wsgi)21:33
therveflwang, Well that's not the point. You can only run websocket with zaqar-server21:33
therveSo instead of having 2 zaqar-server, we have one and uwsgi21:33
flwang1therve: yep, i see21:34
*** amitgandhinz has joined #openstack-zaqar21:34
*** mdnadeem has quit IRC21:46
*** sriram has quit IRC21:47
ryansbtherve: or flwang1 : if you were using the zaqar CLI, and asked for a curl command format of a signed URL21:51
ryansbhow would you want the client-id field to work?21:51
ryansbjust generate a random one in the CLI?21:52
flwang1ryansb: i think end user should provide it, and maintain it21:52
therveryansb, Any reason not to display the one used?21:53
therveI mean the curl command appears when you actually make the call, right?21:53
ryansbwell one wasn't used to create the signed URL21:53
therveHum I don't get it21:53
ryansbtherve: so I'm adding a "--as-curl" option, that will output a formatted curl command21:54
therveOh21:54
ryansbso I was thinking folks would want to be able to just copy & paste the command21:54
therveThat's a bit weird21:54
ryansbI was thinking it'd be useful for folks using scripts to interact w/ zaqar21:54
therveI like the curl output when you're in debug mode, but I think that comes by default21:55
ryansbyeah, this is facing users (only when they ask for it)21:55
therveNot sure why signed urls would be a special citizen though21:55
ryansbbecause to make them work with curl you have to do: curl http://192.168.122.59:8888/v2/queues/fooq/messages --header 'URL-Signature: bb73361a3bfbc223c09b9e24b96f8bc49fc8eb167a25424bb6fb83ba7662c012' --header 'URL-Expires: 2016-01-13T21:50:13' --header 'URL-Methods: GET' --header 'URL-Paths: /v2/queues/fooq/messages' --header 'X-Project-ID: 419f66c62c2644aa82565f16adff2efe' --header "Client-ID:21:56
ryansb$(uuidgen)"21:56
ryansband I figured if you use the CLI to create a URL, you're unlikely to be interested in copy-pasting the 6 values (and knowing all the header names) to use the URL21:57
flwang1Eva-i: i run all the functional test locally many times, and all of them succeed21:57
openstackgerritRyan Brown proposed openstack/python-zaqarclient: First pass at CLI for signed URLs  https://review.openstack.org/25373121:58
openstackgerritRyan Brown proposed openstack/python-zaqarclient: Add CLI support for signed URLs  https://review.openstack.org/25373121:59
ryansbtherve: flwang1 https://review.openstack.org/#/c/253731/ is ready for review, should be able to have it in before M2 since it's a pretty small review22:00
*** njohnston has quit IRC22:01
*** njohnston has joined #openstack-zaqar22:02
flwang1ryansb: cool, thanks22:03
flwang1ryansb: vkmc: flaper87: therve: i'm going to set the gate job    zaqarclient-dvsm-functional as voting, since the zaqar server is take it as a voting gate job22:04
flwang1which can avoid the issue like we're seeing for the subscription patches22:04
ryansbsounds good to me22:04
flwang1that can ensure the functional test merged in zaqar client won't break zaqar server jobs22:05
*** njohnston has quit IRC22:06
ryansbsensible22:09
vkmcflwang1, sounds good to me too22:11
Eva-iflwang1: you run zaqar manually or under uwsgi? Tests always pass when zaqar started normally.22:12
flwang1run zaqar manually22:12
flwang1vkmc: ryansb: thanks for the feedback22:12
flwang1Eva-i: yep, so i'm thinking if it's related to the code22:13
Eva-iflwang1: I think it's related to zaqar-server code.22:14
flwang1Eva-i: oh, really?22:14
flwang1but you sad when there is the connection issue, zaqar sever didn't get the request22:15
Eva-iflwang1: I inspected python-zaqar code thoroughly. Found nothing.22:15
flwang1haha :)22:16
Eva-iflwang1: between the client and zaqar there's uwsgi. Uwsgi for some reason drops connections.22:17
flwang1ok, at least it's a good news for me, the author of those subscriptions patches :D22:17
Eva-iI think the reason is somewhere in Zaqar code.22:19
Eva-iSomething conflicts with uwsgi22:19
Eva-iflwang1: you are also the author of Zaqar server's subscription section of transport. So still bad news for you =)22:21
flwang1Eva-i: :(....22:21
flwang1sad panda22:21
*** amitgandhinz has quit IRC22:25
*** amitgandhinz has joined #openstack-zaqar22:26
openstackgerritRyan Brown proposed openstack/python-zaqarclient: WIP: support building curl command for signed url  https://review.openstack.org/26659822:29
*** davideag_ has quit IRC22:31
*** davideagnello has joined #openstack-zaqar22:32
*** davideagnello has quit IRC22:35
*** amitgandhinz has quit IRC22:35
*** davideagnello has joined #openstack-zaqar22:36
*** eliqiao has quit IRC22:54
*** davideagnello has quit IRC22:54
*** eliqiao has joined #openstack-zaqar22:55
*** davideagnello has joined #openstack-zaqar22:56
*** malini1 has quit IRC23:07
*** pradk has quit IRC23:08
*** davideagnello has quit IRC23:14
*** davideagnello has joined #openstack-zaqar23:16
*** eliqiao has quit IRC23:31
*** eliqiao has joined #openstack-zaqar23:32

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