Tuesday, 2015-10-20

*** achanda has quit IRC00:05
*** kgriffs is now known as kgriffs|afk00:05
mdnadeemvkmc:exploreshaifali:  sorry i missed the  meeting, huge difference in time zone, I am working on pool and pool group writing, hope fully soon it will be completed.00:21
vkmcmdnadeem, no probs!00:21
vkmc:)00:21
vkmcwhere are you based?00:21
mdnadeemvkmc: japan00:21
vkmcmdnadeem, awesome!00:22
mdnadeemvkmc: hahaha :)00:22
vkmcwe have a few contributors from your area/timezone00:23
vkmcthat's why we have alternate times for the meeting00:23
vkmc15UTC was today, 21UTC (your timezone friendly)00:24
vkmcnext week00:24
Eva-imdnadeem: hello, is Japan your home country?00:24
vkmcalthough next week we don't have meetings00:24
Eva-imdnadeem: I have a question regarding your comment in my commit, should I ask it here or in commit?00:25
mdnadeemvkmc: Thanx, sure i will join next week :)00:29
mdnadeemEva-i: No, i am from india , working in Japan :)00:29
mdnadeemvkmc: ohh, then see you guys in summit :)00:30
vkmcyeah!00:30
mdnadeemEva-i: Feel free to ask00:31
*** khushbu has joined #openstack-zaqar01:09
*** kgriffs|afk is now known as kgriffs01:22
Eva-imdnadeem: my reply to your comment is long and bad for chat format, so I decided to reply inside my commit.01:31
Eva-imdnadeem: I wonder if you can see my reply, because it shows to me as a "draft". https://review.openstack.org/#/c/236751/1/devstack/plugin.sh01:32
Eva-imdnadeem: btw, are you experiencing jet lag syndrome after arriving to Japan?01:34
*** khushbu has quit IRC01:37
*** kgriffs is now known as kgriffs|afk01:40
mdnadeemEva-i: good you have drafted reply , now you have publish the comments by click on review link01:40
Eva-imdnadeem: yes, it worked, thanks =)01:41
mdnadeemEva-i: checking you reply01:42
Eva-imdnadeem: cool, thanks01:56
mdnadeemEva-i:  jet lag syndrome,  may be as i feel sleep disorder here , I sleep too much here :)01:56
*** khushbu_ has joined #openstack-zaqar02:14
*** flwang has joined #openstack-zaqar02:16
*** inteq has joined #openstack-zaqar02:21
*** achanda has joined #openstack-zaqar02:24
*** khushbu_ has quit IRC02:52
*** achanda has quit IRC02:54
*** yfujioka has quit IRC03:18
*** flwang has quit IRC03:26
*** flwang has joined #openstack-zaqar03:39
*** khushbu_ has joined #openstack-zaqar03:43
*** itisha has quit IRC04:01
*** pt_15 has quit IRC04:08
*** achanda has joined #openstack-zaqar05:04
*** boris-42 has joined #openstack-zaqar05:09
*** Qiming has joined #openstack-zaqar06:06
*** exploreshaifali has joined #openstack-zaqar06:06
*** achanda has quit IRC06:12
openstackgerritYang Shengming proposed openstack/zaqar: Some prerequisites for Fedora OS is missing in zaqar README.rst  https://review.openstack.org/23741906:22
*** fifieldt has joined #openstack-zaqar06:43
mdnadeemexploreshaifali, ping06:44
*** khushbu_ has quit IRC06:44
exploreshaifalimdnadeem, pooooong :)06:44
exploreshaifalimdnadeem, what's up?06:44
mdnadeemexploreshaifali, good here, i miss the meeting :(06:45
exploreshaifalimdnadeem, you can read logs06:45
exploreshaifalimdnadeem, you need to confirm that you will lead pools session of zaqar and you are okay with time of that session06:46
mdnadeemexploreshaifali, yes, i do,06:46
*** kragniz has quit IRC06:46
exploreshaifalimdnadeem, you can confirm it on openstack-dev mailing list06:46
exploreshaifalimdnadeem, are you subscribed to that ML?06:47
mdnadeemexploreshaifali, yes , i have subscribe to all zaqar event,06:48
mdnadeemexploreshaifali, for acknowledgment , i have to draft a mail and send back to openstack-dev right?06:49
exploreshaifaliyes http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev06:50
exploreshaifalithere is already am e-mail from flwag06:50
mdnadeem*checking mail06:50
exploreshaifalijust reply on it, that you are comfortable with time of session and you will lead it06:50
exploreshaifalimdnadeem, search it with zaqar tag06:51
mdnadeem*searching06:51
*** akanksha_ has joined #openstack-zaqar06:51
mdnadeemexploreshaifali,  i got one sample of yours : http://lists.openstack.org/pipermail/openstack-dev/2015-October/076269.html06:57
exploreshaifalimdnadeem, http://lists.openstack.org/pipermail/openstack-dev/2015-October/077344.html06:58
exploreshaifalithat you want06:58
exploreshaifali:P06:58
mdnadeemThanks :)06:59
exploreshaifali:)06:59
mdnadeemexploreshaifali, regarding pool and flavor concept writing, i have some doubt in flavor concept06:59
exploreshaifalimdnadeem, sure I will love to discuss about them07:00
exploreshaifalithough I doubt I can satisfy you ;)07:00
mdnadeemexploreshaifali, you words really inspire me :)07:01
exploreshaifali:D07:01
mdnadeemexploreshaifali, flaper87 : Now user can not set their own capability using flavor, These capabilities are lodaded from the storage pool configeration, that is hard coded07:14
mdnadeemhttps://github.com/openstack/zaqar/blob/master/zaqar/storage/base.py#L45-L5107:14
mdnadeem^^ is set to all pool having mongo db storage at backend , and for redis storage https://github.com/openstack/zaqar/blob/master/zaqar/storage/redis/driver.py#L146-L14907:17
mdnadeemexploreshaifali, flaper87 : So i have a query , is it possible if a user want to create a pool having specific capability like only durable?07:18
mdnadeemAs per code, my understanding is that, if pool use mongo db then by default  [FIFO, CLAIMS, DURABILITY, AOD, HIGH_THROUGHPUT] capability will set to it.07:22
mdnadeemand if pool use redis then [FIFO, CLAIMS, AOD, HIGH_THROUGHPUT] capability will set.07:23
mdnadeemAny Idea how to create a pool with specific set of capability ?07:25
exploreshaifalimdnadeem, as of what I know, one can specify capabilites while creating a flavor07:29
exploreshaifalihttps://github.com/openstack/python-zaqarclient/blob/master/zaqarclient/queues/v1/flavor.py#L2907:29
exploreshaifaliand we cannot specify capabilites with pool directly07:29
mdnadeemexploreshaifali, I am working on v207:44
exploreshaifaliumm... it looks like we don't have cli for v207:45
*** itisha has joined #openstack-zaqar07:45
mdnadeemexploreshaifali, Can you confirm which is latest stable release version for zaqar APIs07:45
mdnadeem?07:45
mdnadeemexploreshaifali, yes, i execute using curl command07:46
*** openstackgerrit has quit IRC07:46
*** openstackgerrit has joined #openstack-zaqar07:46
mdnadeemexploreshaifali, around?07:50
exploreshaifalimdnadeem, yes07:50
mdnadeemCan you confirm which is latest stable release version for zaqar APIs?07:51
exploreshaifaliI was looking at wiki or any other doc where soething is mentioned about stable version of zaqar API07:51
*** yfujioka has joined #openstack-zaqar07:52
mdnadeemexploreshaifali, I too not find any info at wiki07:52
exploreshaifalimdnadeem, on wiki page it mention that v1 is stable API https://wiki.openstack.org/wiki/Zaqar#The_API07:52
exploreshaifali:P07:53
mdnadeemI think that is very old, and not updated07:53
mdnadeembefore kilo, nothing is updated for liberty07:54
exploreshaifalimdnadeem, yes, that can be a case07:57
mdnadeemexploreshaifali, hmm07:59
mdnadeemexploreshaifali, Hope to see you at summit, hope fully there we have lots of fruitful discussion  :)08:00
exploreshaifalimdnadeem, oh yes yes! we will surely meet there and have lots of fun :D08:00
*** boris-42 has quit IRC08:18
*** yfujioka has quit IRC08:31
*** kragniz_ has joined #openstack-zaqar08:41
*** kragniz_ is now known as kragniz08:41
openstackgerritThomas Herve proposed openstack/zaqar: Add an websocket integration test for queue_get  https://review.openstack.org/23747109:04
*** angvp has quit IRC09:04
*** khushbu_ has joined #openstack-zaqar09:54
openstackgerritThomas Herve proposed openstack/zaqar: Add a websocket integration test for queue_get  https://review.openstack.org/23747109:55
*** khushbu_ has quit IRC10:07
*** exploreshaifali has quit IRC10:18
*** pt_15 has joined #openstack-zaqar10:24
*** Qiming has quit IRC10:53
*** angvp has joined #openstack-zaqar11:30
*** Qiming has joined #openstack-zaqar11:40
*** venkat_ has joined #openstack-zaqar12:55
venkat_ryansb/therve... u there ?12:56
therveYeah12:56
ryansb\o12:57
venkat_therve, there is a typo error in zaqar api v1.1 wiki page for create flavor w.r.to durable parameter12:57
therveThat's unfortunate12:58
venkat_this parameter is a boolean variable and it should be in double quotes otherwise users will get error - Invalid request body. JSON could not be parsed.12:58
therveI'm pretty sure  you can edit it though12:59
ryansbvenkat_: can you link me to it? (also therve is right, you should have perms to fix it)12:59
venkat_I raised a bug to track the changes.. can I move ahead and do the changes ?12:59
therveRaise a bug?12:59
therveIf it's in the wiki just fix it12:59
therve(Also the wiki is kind of useless and unmaintained)12:59
therveThat's what wiki means in whatever language13:00
venkat_yes. but it is good to track changes by blueprints or typo error with bugs13:00
therveNot if it's in the wiki13:00
venkat_otherwise it will be in wrong state13:00
venkat_https://wiki.openstack.org/wiki/Zaqar/specs/api/v1.1#Create_a_Flavor13:01
therveWhat13:01
therveDon't open bugs for wiki changes. Please.13:01
venkat_oh. already I raised and assigned to me.13:01
venkat_for now. I will fix it.13:02
venkat_what do u say ?13:03
*** sriram has joined #openstack-zaqar13:04
therveFix the wiki, and close the bug as invalid :)13:04
venkat_ok :)13:05
venkat_therve/ryansb, while creating flavor with existing pool.. I am getting error - pool doesn't exist13:07
venkat_edited and done with wiki page13:08
venkat_zaqar throws error - Pool {pool} does not exist.13:13
venkat_it seems a bug with zaqar and find more details - https://bugs.launchpad.net/zaqar/+bug/150801513:14
openstackLaunchpad bug 1508015 in zaqar "zaqar unable to create flavor for existing pool and throws error "pool doesn't exist"" [Undecided,New]13:14
venkat_any clue here ?13:18
thervevenkat_, Which version of zaqar are you using? Because at least the error message has been fixed13:18
therveBut the issue is documentation13:18
thervevenkat_, https://bugs.launchpad.net/zaqar/+bug/149218313:19
openstackLaunchpad bug 1492183 in zaqar "Rename pool to pool_group for flavor" [Low,In progress] - Assigned to Fei Long Wang (flwang)13:19
therveIt says pool but it's not a pool that it needs, it needs a pool group13:19
venkat_how to create a pool group ?13:20
therveYou need to pass a "name" when you create the pool13:21
therveI think13:21
therveActually a "group"13:21
therveFor some reasons it's optional13:21
venkat_therve, I didn't see this information in wiki page13:22
venkat_how users will come to know about this ?13:22
*** ametts has joined #openstack-zaqar13:23
therveGood question13:24
venkat_I feel this type of documentation error need to be fixed and tracked by raising bugs13:25
therveMaybe. But not by changing the wiki.13:25
venkat_so that it can be reviewed etc13:25
venkat_endusers won't look at code instead they totally depend on API wiki page and develop their own plugin's etc13:27
therveNo they should depend on the API documentation13:28
therveThe documentation shouldn't be in the wiki, IMO13:28
therveWe have doc in your source tree, let's maintain that instead13:29
venkat_provide me link please13:29
*** mdnadeem_ has joined #openstack-zaqar13:30
thervehttps://github.com/openstack/zaqar/tree/master/doc13:30
venkat_where I can find API syntax for pool or flavor in this link ?13:33
therveProbably nowhere13:33
therveWhich ought to be fixed13:34
therveAnd that doc presumably needs to be published somewhere maybe13:34
*** mdnadeem_ has quit IRC13:36
venkat_therve, when I passed group.. it worked.13:38
venkat_therve, this need to be fixed in zaqar with proper error saying "Pool Group doesn't exist" and it is good to pass "pool_group" instead of "pool" for flavor api13:39
therveYeah that's what the bug I linked attempts to do I believe13:40
venkat_yes. error message should be proper. I will update these comments to bug.13:41
*** nate_gone is now known as njohnston13:42
*** malini has joined #openstack-zaqar14:01
*** mpanetta has joined #openstack-zaqar14:10
*** venkat_ has quit IRC14:11
*** mpanetta_ has joined #openstack-zaqar14:16
*** mpanetta has quit IRC14:16
*** bradjones has joined #openstack-zaqar14:42
*** bradjones has joined #openstack-zaqar14:42
*** kgriffs|afk is now known as kgriffs14:43
*** kgriffs is now known as kgriffs|afk14:49
*** kgriffs|afk is now known as kgriffs14:52
*** boris-42 has joined #openstack-zaqar14:56
*** mpanetta has joined #openstack-zaqar15:33
*** mpanetta_ has quit IRC15:33
*** Qiming has quit IRC15:41
*** kgriffs is now known as kgriffs|afk15:53
*** elmiko has joined #openstack-zaqar15:54
elmikohi folks15:54
elmikois there a pattern for doing a listener callback on a queue?15:54
vkmcelmiko, like... you want to get notifications when a message arrive to the queue?15:55
elmikovkmc: yea, instead of just looping and sleeping15:55
vkmcelmiko, we have a subscription endpoint... you can create a subscription for queue 'x' and get notified everytime a new message is in the queue15:55
elmikovkmc: excellent, i'll look into that. thanks =)15:56
vkmcif you are using WSGI as the transport you can create a subscription by issuing...15:56
vkmccurl -i -X PUT http://<host>:<port>/v2/queues/x/subscriptions -H "Content-type: application/son" -H "Client-ID: UUID" -H "X-Auth-Token: $TOKEN"15:57
vkmcI'm missing the metadata, it requires a few more params15:57
elmikook, cool15:59
elmikodo you register an http method with the subscription for a callback?15:59
* elmiko is looking for api docs now ;)15:59
vkmcI don't think there are many docs for that endpoint16:02
vkmcwe have a working session in the summit to fix our lack of docs16:03
elmikoyea, i'm not seeing any on the wiki16:03
elmikohaha16:03
Eva-ivkmc: subcriptions are feature of API v2?16:05
vkmcEva-i, yes!16:05
elmikooh.. is v2 actually live?16:05
*** khushbu has joined #openstack-zaqar16:11
*** khushbu has quit IRC16:18
*** david-lyle has quit IRC16:18
*** david-lyle has joined #openstack-zaqar16:18
ryansbindeed16:19
ryansbthe client support isn't 100% there yet16:19
elmikook, yea. that makes sense, i'm not seeing subscription stuff in the client16:20
elmikoso.... are there any examples of how to use subscriptions?16:22
elmikoi'm looking at the json schema for those endpoints, but it's not jumping out at me :/16:22
*** exploreshaifali has joined #openstack-zaqar16:25
*** khushbu_ has joined #openstack-zaqar16:26
*** khushbu_ has quit IRC16:26
*** khushbu_ has joined #openstack-zaqar16:29
*** khushbu_ has quit IRC16:29
*** khushbu has joined #openstack-zaqar16:33
*** khushbu has quit IRC16:33
*** khushbu_ has joined #openstack-zaqar16:36
*** achanda has joined #openstack-zaqar16:41
*** khushbu_ has quit IRC16:54
*** khushbu has joined #openstack-zaqar16:57
*** khushbu has quit IRC16:57
*** achanda has quit IRC17:00
*** diga has joined #openstack-zaqar17:03
*** mpanetta has quit IRC17:12
*** malini has quit IRC17:13
*** achanda has joined #openstack-zaqar17:13
*** diga has quit IRC17:16
*** pt_15 has quit IRC17:18
*** boris-42 has quit IRC17:18
*** pt_15 has joined #openstack-zaqar17:36
*** kragniz has quit IRC17:39
*** achanda has quit IRC17:39
*** kragniz has joined #openstack-zaqar17:39
*** malini has joined #openstack-zaqar17:41
Eva-ielmiko: are you still there?17:43
*** malini1 has joined #openstack-zaqar17:44
exploreshaifalivkmc, flaper87 I have talked to horizon devs and they want a zaqar ui to be like a plugin17:44
exploreshaifalilike here https://github.com/openstack/horizon/blob/master/doc/source/plugins.rst17:45
*** malini has quit IRC17:46
Eva-iexploreshaifali: maybe it's good, because we don't have to deal with horizon repo17:46
*** achanda has joined #openstack-zaqar17:47
exploreshaifaliEva-i, yeah may be17:49
*** mpanetta has joined #openstack-zaqar17:56
Eva-ihttp://paste.openstack.org/show/Z7Plynhye5c3waKG14iv/17:57
Eva-iI get good responses by these curls. But for some reason nothing came to my email, when I subscribed my email and posted message to the queue.17:57
Eva-ithere is a typo in my paste "email server", I meant just email18:04
*** achanda has quit IRC18:11
*** malini1 has quit IRC18:19
elmikoEva-i: i am now =)18:27
Eva-ihttp://paste.openstack.org/show/Z7Plynhye5c3waKG14iv/ this is how to use subscriptions api via wsgi transport18:30
Eva-ielmiko:18:30
elmikoEva-i: interesting.. thank you!18:31
Eva-ielmiko: please note: I get good responses by these curls. But for some reason nothing came to my email, when I subscribed my email and posted message to the queue.18:31
elmikoEva-i: in the webhook example, what happens when a new message arrives in the queue?18:32
Eva-ielmiko: zaqar must send something via http to webhook server. I don't know what exactly it will send.18:33
*** achanda has joined #openstack-zaqar18:33
elmikohehe18:33
elmikoEva-i: thanks for the info, not sure i can use this just yet, but i needed to investigate more.18:34
elmikoi suppose for now i will just need to loop on a queue, with a timer for when it is empty18:34
Eva-ielmiko: from reading sources I can assume it will just send a message in json format to webhook server with header "'Content-Type': 'application/json'"18:37
elmikoEva-i: interesting... i appreciate the extra effort =)18:37
elmikoi guess i could setup a small test here, just to see what happens. maybe it's easier than i expect18:38
*** achanda has quit IRC18:39
Eva-ielmiko: also it will send a message via POST18:41
Eva-ielmiko: forgot to say that18:42
elmikoEva-i: ok, i'm setting up a small server to test this. we'll see how it goes ;)18:42
*** exploreshaifali has quit IRC18:44
Eva-ielmiko: please tell me after if your test was successfull18:46
elmikoEva-i: will do18:48
*** achanda has joined #openstack-zaqar18:48
Eva-ielmiko: also in my curl examples I used https for webhook server. Of cource zaqar can also send via http.18:50
elmikoEva-i: good to hear, i kinda thought it would just "do the right thing" =)18:53
*** malini has joined #openstack-zaqar18:57
*** achanda has quit IRC19:23
elmikoEva-i: ok, finally got it working. just as you described, i get a POST with the message from zaqar19:39
Eva-ielmiko: hehe, glad to hear19:40
*** akanksha_ has quit IRC19:48
*** malini has quit IRC19:48
*** boris-42 has joined #openstack-zaqar20:02
*** achanda has joined #openstack-zaqar20:24
*** achanda has quit IRC20:25
Eva-ivkmc: Victoria, I need your help20:31
vkmcEva-i, tell me20:31
Eva-ivkmc: how can be zaqar.tests.unit.storage.test_impl_mongodb.MongodbFlavorsTest be executed?20:35
Eva-iI tried:20:35
Eva-itox -e py34 --  '(MongodbFlavorsTest)'20:35
Eva-itox -e py34 -- zaqar.tests.unit.storage.test_impl_mongodb:MongodbFlavorsTest20:35
Eva-ivkmc: and when I try these, I get "congratulation" message, even if I inserted "self.assertTrue(False)" in setUp()20:36
ryansbI believe 'tox -epy34 zaqar.tests.unit.storage.test_impl_mongodb' would work20:36
vkmcEva-i, ^20:37
ryansbyou were exceptionally close though20:37
vkmcyou probably check the docs from here https://wiki.openstack.org/wiki/Testr20:38
*** ametts has quit IRC20:41
Eva-imy syntax is correct20:44
Eva-ihttp://paste.openstack.org/show/e9rKupnagG5F5Rgxx1Pa/20:45
Eva-ifor some reason only MongodbUtilsTest test class is performed20:45
Eva-ibut what about other classes in "zaqar.tests.unit.storage.test_impl_mongodb" package?20:46
Eva-iwhy can't MongodbFlavorsTest be performed?20:46
*** achanda has joined #openstack-zaqar20:47
*** achanda has quit IRC20:53
*** ametts has joined #openstack-zaqar20:54
*** achanda has joined #openstack-zaqar21:07
Eva-ivkmc: are you able to perform this particular test?21:14
vkmcEva-i, is only that test failing?21:14
vkmctestr has given me some headaches in the past21:14
Eva-ivkmc: the test is not failing, but I want it to fail. The thing is this test is not even performed.21:15
*** mpanetta has quit IRC21:15
Eva-ivkmc: and many other tests in "zaqar.tests.unit.storage.test_impl_mongodb"21:15
*** achanda has quit IRC21:15
vkmcit fails when you run tests separately21:16
vkmclike... you run tox -e py34 -- zaqar.tests.unit.storage.test_impl_mongodb:MongodbFlavorsTest and it doesn't run the test21:16
vkmcbut when you run tox -e py34 it runs21:16
*** mpanetta has joined #openstack-zaqar21:19
Eva-ivkmc: you are right21:20
vkmcEva-i, k, let me check that21:21
vkmcI think that it works as expected when you run the tests using nose21:21
*** sriram has quit IRC21:32
*** achanda has joined #openstack-zaqar21:35
*** achanda has quit IRC21:47
*** achanda has joined #openstack-zaqar21:57
*** achanda has quit IRC22:02
Eva-ivkmc: okay, thank you22:11
Eva-iI'm too tired now, going to sleep22:11
*** achanda has joined #openstack-zaqar22:12
vkmcEva-i, sure, sorry for my delay to reply22:12
vkmcEva-i, get some rest :)22:12
*** mpanetta has quit IRC22:37
*** ametts has quit IRC22:43
*** yfujioka has joined #openstack-zaqar23:20
*** Qiming has joined #openstack-zaqar23:47
*** Qiming has quit IRC23:48

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