Tuesday, 2016-01-19

flwang1Eva-i: haha, ok, then I will give you some bugs as lunch or dinner00:10
*** pradk has quit IRC00:14
flwang1kgriffs: any lucky you around?00:35
kgriffswhats up?00:36
*** achanda has joined #openstack-zaqar00:41
flwang1kgriffs: oh, you're around. i'm trying to figure out if there is a good way to get the api request stats of zaqar00:42
flwang1i know Rackspace is using EOM00:42
flwang1but EOM doesn't work with keystone00:42
flwang1so i'm wondering if if there is a way to do that easily00:42
kgriffscan you explain a little more about what you mean by "api request stats"?00:43
*** achanda has quit IRC00:43
*** achanda has joined #openstack-zaqar00:43
*** achanda has quit IRC00:44
flwang1kgriffs: you know, SQS and Rackspace are charging the msg service by request number over 1 million00:44
flwang1so we(catalyst Cloud) also need to figure out how to achieve that00:44
*** davideagnello has quit IRC00:44
kgriffsah00:45
*** achanda has joined #openstack-zaqar00:45
kgriffslet's see, you need to know the user info, so you could add some WSGI middleware like: keystone ==> metering-thing ===> zaqar00:47
kgriffsis that what you were thinking?00:47
*** achanda has quit IRC00:47
*** achanda has joined #openstack-zaqar00:50
flwang1kgriffs: yep, basically00:53
kgriffsusing the middleware approach, you would probably want to update a counter on localhost, then have a daemon that periodically pushes the current counter value to a centralized service/DB00:53
flwang1kgriffs: so basically we need to do the similar thing like keystonemiddleware, right?00:54
kgriffsif you go over a domain socket, it can be very fast so it doesn't slow down each request by much in order to increment the per-tenant counter00:54
kgriffsyeah, so just create a WSGI middleware app that checks the headers keystone injects, so that you can know which tenant's counter to increment00:54
kgriffsthe keystone middleware will wrap your metering middleware which will then wrap the zaqar app00:55
*** achanda has quit IRC00:55
flwang1kgriffs: which is the good sample to follow?   keystonemiddleware https://github.com/openstack/keystonemiddleware   or EOM?00:57
*** achanda has joined #openstack-zaqar01:00
*** achanda has quit IRC01:01
kgriffshmm, to be honest I would just write a low-level WSGI middleware component and not try to use webob or anything. It will be faster, and for a simple thing like this, webob doesn't buy you much.01:02
kgriffsso you have a metering WSGI app01:03
kgriffsthat would wrap the Zaqar app01:03
kgriffsfinally, you could use AuthProtocol from keystone like:01:03
kgriffsapp = AuthProtocol(metering_app, conf)01:03
kgriffsbtw, for counter on localhost, it depends on how resilient you want to be to losing the counter; if your collector daemon runs fairly often, it may be OK to just keep all in RAM using memcached, redis, or tarantool01:04
kgriffsI believe tarantool is actually faster than redis01:04
kgriffsbut anyway, the idea is to have the metering just update a counter as fast as possible then pass control to zaqar01:04
*** achanda has joined #openstack-zaqar01:05
flwang1kgriffs: got, very helpful01:05
kgriffsand saving it locally then doing batched collections to a central location avoids having to play games with something like UDP01:05
kgriffs(ala statsd)01:05
kgriffskk, gotta run. cheers!01:05
flwang1kgriffs: cool, ttyl01:05
*** achanda has quit IRC01:17
*** kgriffs is now known as kgriffs|afk01:19
*** achanda has joined #openstack-zaqar01:21
*** pradk has joined #openstack-zaqar01:23
*** achanda has quit IRC01:26
*** david-lyle has joined #openstack-zaqar02:22
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Add subscriptions for queue object  https://review.openstack.org/26939802:33
*** malini has joined #openstack-zaqar02:40
*** davideagnello has joined #openstack-zaqar02:45
*** mdnadeem has joined #openstack-zaqar02:48
*** davideagnello has quit IRC02:51
*** malini has quit IRC03:05
*** achanda has joined #openstack-zaqar03:21
*** davideagnello has joined #openstack-zaqar03:48
*** davideagnello has quit IRC03:52
*** flwang has quit IRC03:57
*** achanda has quit IRC04:00
*** achanda has joined #openstack-zaqar04:30
*** achanda has quit IRC04:38
*** achanda has joined #openstack-zaqar04:39
*** pradk has quit IRC04:58
*** achanda_ has joined #openstack-zaqar06:25
*** achanda has quit IRC06:28
*** davideagnello has joined #openstack-zaqar06:37
*** davideagnello has quit IRC06:38
*** flwang_home has joined #openstack-zaqar06:43
*** achanda_ has quit IRC06:43
*** flwang_home has quit IRC06:47
*** GB21 has joined #openstack-zaqar06:55
*** GB21 has quit IRC07:09
*** GB21 has joined #openstack-zaqar07:26
*** GB21 has quit IRC07:37
*** GB21 has joined #openstack-zaqar07:40
*** eliqiao_ is now known as eliqiao07:52
*** GB21 has quit IRC07:56
*** rcernin has joined #openstack-zaqar08:01
*** mdnadeem has quit IRC08:08
*** dynarro has joined #openstack-zaqar08:28
*** mdnadeem has joined #openstack-zaqar08:36
*** davideagnello has joined #openstack-zaqar08:38
*** davideagnello has quit IRC08:44
openstackgerritNanke_Liu (lnk) proposed openstack/zaqar: replace deprecated iso8601_from_timestamp  https://review.openstack.org/26540609:35
*** boris-42 has quit IRC09:43
*** davideagnello has joined #openstack-zaqar10:40
*** davideagnello has quit IRC10:46
openstackgerritThomas Herve proposed openstack/zaqar: Use default pool for queue listing  https://review.openstack.org/26916510:51
*** penchal has joined #openstack-zaqar10:55
*** malini has joined #openstack-zaqar11:13
*** dynarro has quit IRC11:21
*** malini has quit IRC12:30
*** dynarro has joined #openstack-zaqar12:35
*** davideagnello has joined #openstack-zaqar12:42
*** davideagnello has quit IRC12:47
*** mdnadeem has quit IRC12:51
*** mdnadeem has joined #openstack-zaqar13:10
*** shakamunyi has joined #openstack-zaqar13:24
*** AAzza has quit IRC13:50
*** AAzza has joined #openstack-zaqar13:53
*** venkat_ has joined #openstack-zaqar14:06
*** venkat_ has quit IRC14:08
*** sriram has joined #openstack-zaqar14:13
*** sriram has quit IRC14:13
*** sriram has joined #openstack-zaqar14:14
*** amitgandhinz has joined #openstack-zaqar14:19
*** kgriffs|afk is now known as kgriffs14:21
*** penchal has quit IRC14:29
*** mpanetta has joined #openstack-zaqar14:37
*** davideagnello has joined #openstack-zaqar14:43
*** davideagnello has quit IRC14:48
*** njohnston has joined #openstack-zaqar14:50
*** ametts has joined #openstack-zaqar14:54
openstackgerritNanke_Liu (lnk) proposed openstack/zaqar: replace deprecated iso8601_from_timestamp  https://review.openstack.org/26540614:58
*** sriram has quit IRC15:02
*** sriram has joined #openstack-zaqar15:04
*** malini has joined #openstack-zaqar15:07
*** mdnadeem has quit IRC15:19
*** pradk has joined #openstack-zaqar15:27
*** achanda has joined #openstack-zaqar15:29
*** achanda has quit IRC15:40
*** bradjones has joined #openstack-zaqar15:58
*** bradjones has joined #openstack-zaqar15:58
*** achanda has joined #openstack-zaqar15:59
*** boris-42 has joined #openstack-zaqar16:03
*** achanda has quit IRC16:03
*** sriram1 has joined #openstack-zaqar16:44
*** sriram has quit IRC16:44
*** sriram1 is now known as sriram16:45
*** sriram has quit IRC16:45
*** sriram has joined #openstack-zaqar16:45
*** rcernin has quit IRC16:53
therveryansb, With all the talk about creating signed URLs, did we even mention *using* them? :)16:56
ryansbhm?16:57
ryansbas in using them from the CLI?16:57
therveryansb, More from the client library16:58
ryansbI haven't thought of a great way to surface that functionality personally, other than exposing flags to add them16:58
*** david-lyle has quit IRC16:58
therveWell presumably we should be able to create a client with the given data16:58
therveSo that the http headers at least are managed by zaqarclient16:59
ryansbare you talking about the python client, rather than CLI?17:01
therveYeah I'm talking from the python client17:02
*** david-lyle has joined #openstack-zaqar17:06
therveI think managing it with a new auth backend would be the best17:08
*** flwang has joined #openstack-zaqar17:08
*** rcernin has joined #openstack-zaqar17:08
ryansbso you'd instantiate a client with, say, signature, project ID, url, etc17:09
ryansband it would do the auth backend for you?17:09
*** dynarro has quit IRC17:10
therveBasically17:12
ryansbI can take a look at that tomorrow, unless you've got time for it17:13
*** ametts has quit IRC17:18
*** ametts has joined #openstack-zaqar17:31
*** davideagnello has joined #openstack-zaqar17:37
*** flwang has quit IRC17:53
*** pradk has quit IRC18:19
therveryansb, I'll take some time :)18:23
ryansbk18:24
*** pradk has joined #openstack-zaqar18:26
*** pradk has quit IRC18:26
*** malini has quit IRC18:30
*** zhiyan has quit IRC18:33
*** zhiyan has joined #openstack-zaqar18:36
*** boris-42 has quit IRC18:53
*** malini has joined #openstack-zaqar19:08
*** eliqiao has quit IRC19:11
*** eliqiao has joined #openstack-zaqar19:13
*** mpanetta is now known as yourself19:53
*** yourself is now known as mpanetta19:53
*** malini has quit IRC20:21
*** flwang has joined #openstack-zaqar20:24
*** malini has joined #openstack-zaqar20:24
flwang1jasondotstar: ping20:27
*** malini has quit IRC20:42
*** boris-42 has joined #openstack-zaqar20:42
jasondotstarpong20:44
flwang1jasondotstar: any progress about the puppet work?20:58
jasondotstarsome. :-(20:58
jasondotstargive me a couple mins here20:59
jasondotstarI'm going to abandon the commits I have20:59
jasondotstarand re-submit what I've got.20:59
flwang1jasondotstar: why you have to abandon?21:00
jasondotstarmerge conflits21:05
jasondotstar*conflicts21:06
jasondotstarit'd rather submit a new review21:06
jasondotstari'd rather submit a new review21:06
flwang1jasondotstar: ok, no problem21:07
flwang1jasondotstar: so how far away from the ready-status? :)21:07
Eva-iflwang1: hello, according to doc team's spec about api-ref migration to rst/swagger, the migration must be done by now. But seems like doc team can't keep up - in "api-site" repo still has wadl/docbook files and no swagger/rst files are being used at docs.openstack.org. Their fairy-slipper tool is working while throwing exceptions, but still able to generate working swagger/rst files from wadl/docbook files. Should I manually make rst/swagger21:09
Eva-iEven if I make these files, I don't know where to commit them.21:09
flwang1Eva-i: what's the comments from docs team?21:10
Eva-iflwang1: silence21:10
flwang1wow21:10
jasondotstar2 days.21:10
jasondotstarflwang1: ^21:10
flwang1jasondotstar: so after 2 days, we can get a workable puppet zaqar? :)21:10
flwang1i can't believe it :D21:11
Eva-i:o21:11
flwang1Eva-i: ok, i will ping lana to confirm21:11
Eva-iflwang1: thanks21:11
Eva-iflwang1: Lana is one of doc team members?21:12
flwang1Lana is the PTL21:12
Eva-iflwang1: oh21:12
Eva-iflwang1: remember you asked me add info about pipeline options to config-ref? I made a patch in openstack-manuals repo and checked you as reviewer. Have you received the email notification about it?21:14
flwang1Eva-i: oh, yep21:15
flwang1it's on my list, but recently i have some internal stuff, so bad review performance21:15
flwang1sorry about that21:15
Eva-iflwang1: it's okay, take your time21:15
flwang1Eva-i: thanks, now i'm working on the TTL issue of subscription21:17
jasondotstarflwang1: yep21:17
flwang1and the zaqar UI21:17
jasondotstarflwang1: im sure there be a host of -1s as I cleanup the debian install21:17
Eva-iflwang1: cool, it's very important21:17
jasondotstarbut the rpm based one should pass21:18
jasondotstar*there will be21:18
flwang1jasondotstar: ok, i see21:18
flwang1jasondotstar: does that mean we still can't make it work for ububtu/debian platform?21:18
jasondotstarflwang1: that's what I'm in the process of cleaning up21:19
jasondotstarin the end, we *should* be able to.21:19
flwang1jasondotstar: ok, got it, thanks21:19
jasondotstari've been testing against debian jessie.21:19
Eva-ijasondotstar: thank you, jasondotstar, for working on pupper zaqar21:19
Eva-i*puppet21:19
jasondotstardon't thank me just yet-21:19
jasondotstarlittle more work to do :-)21:20
Eva-iokay okay =)21:20
flwang1jasondotstar: do you need a hand? should we ask EmilienM to get some help?21:21
jasondotstarflwang1: I'll ping him21:21
flwang1jasondotstar: cool, again, many users are keen for it21:22
jasondotstarim sure.21:22
jasondotstarit's been busy, but I'm on it.21:22
EmilienMhello21:22
flwang1EmilienM: hi21:23
flwang1EmilienM: we're talking about the puppet zaqar work21:23
EmilienMno progress so far iirc21:23
flwang1EmilienM: yep, so that's why i ask jasondotstar  if he needs some help from you guys21:24
*** mdnadeem has joined #openstack-zaqar21:29
jasondotstarEmilienM: I will need help with the beaker testing stuff21:33
jasondotstarwriting up the tests21:33
EmilienMsure21:33
jasondotstarright now, I've been concentrating on the manifest work21:33
EmilienMare you familiar with puppet?21:33
jasondotstaryes :-)21:33
EmilienMbeaker is really nothing21:33
EmilienMjust write the manifest you want21:33
jasondotstarisn't there q requirement21:33
jasondotstars/q/a21:33
jasondotstarto have the beaker tests written?21:34
jasondotstarEmilienM: ^21:34
EmilienMjasondotstar: well, it's always better to test what you code, isn't?21:35
jasondotstar"beaker is really nothing"  <---21:35
EmilienMI personally put in low priority in my review list the patches that has no tests21:35
EmilienMjasondotstar: I mean, nothing hard to make21:35
EmilienMit's just a manifest21:35
jasondotstarjust trying to make sure everything is included in the patch21:35
jasondotstarright21:35
jasondotstarwhich is why i havent touched  the beaker stuff at all.21:36
EmilienMthere is ONE file to write: https://github.com/openstack/puppet-nova/blob/master/spec/acceptance/basic_nova_spec.rb21:36
jasondotstarso... if it's simple then, no worries.21:36
EmilienMand so easy to reproduce for zaqar21:36
EmilienMvery simple21:36
jasondotstarcool.21:36
EmilienMbut let me know if need help21:36
jasondotstarperhaps I don't, but I'll let you know. I just haven't look at it at all. as you said, low priority.21:37
flwang1EmilienM: jasondotstar: goods to see the work is simple from your PoV :D21:38
jasondotstar;-]21:39
EmilienMflwang1: the work is simple but I never found time to write puppet-zaqar itself21:40
EmilienMwritting manifests & unit tests take time21:40
EmilienMbut we have a lot of modules21:40
EmilienMso we can take examples from there21:41
flwang1EmilienM: i totally understand21:41
*** mdnadeem has quit IRC21:41
*** sriram has quit IRC21:42
*** eliqiao has quit IRC22:12
*** eliqiao has joined #openstack-zaqar22:13
*** rcernin has quit IRC22:21
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Fix wrong api version type  https://review.openstack.org/26790622:33
*** amitgandhinz has quit IRC22:45
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Use API version checking directly  https://review.openstack.org/26990422:56
*** mpanetta has quit IRC23:04

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