Wednesday, 2016-03-23

flwang1Eva-i: hmm.. any issue with current code for mogongb 3?00:06
Eva-iflwang1: I don't know, I'll try tonight00:08
Eva-iflwang1: which version do you use in development?00:08
flwang1ok00:08
flwang12.4.900:09
Eva-iflwang1: I'm still working on Zaqar production install guide. Seems like it's written to configure mongodb <=2.4 version. Should I update this guide to make it configure the latest mongodb 3.2, if I find no issues during Zaqar unit/functional testing with 3.2?00:13
flwang1Eva-i: i don't think our config is really depend on the mongodb version unless it's less 2.200:15
Eva-iflwang1: since 2.6 mongodb has changed it's config format to YAML (but it's still works with old format) and also has changed default "bindIp" value to 127.0.0.1.00:17
*** achanda has quit IRC00:18
Eva-iflwang1: oh, I'm a bit wrong: "Changed in version 2.6.0: The deb and rpm packages include a default configuration file (/etc/mongod.conf) that sets net.bindIp to 127.0.0.1"00:19
*** achanda has joined #openstack-zaqar00:21
*** achanda has quit IRC00:40
*** amitgandhinz has joined #openstack-zaqar00:46
*** amitgandhinz has quit IRC01:00
*** achanda has joined #openstack-zaqar01:11
*** csoukup has joined #openstack-zaqar01:42
*** csoukup has quit IRC01:46
openstackgerritwangxiyuan proposed openstack/python-zaqarclient: Add update queue function in v2  https://review.openstack.org/29436801:47
*** mpanetta has quit IRC01:51
*** amitgandhinz has joined #openstack-zaqar01:56
openstackgerritwangxiyuan proposed openstack/python-zaqarclient: Add update queue function in v2  https://review.openstack.org/29436801:59
*** amitgandhinz has quit IRC02:09
*** fribeiro has joined #openstack-zaqar02:13
*** fribeiro has quit IRC02:44
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Support /ping and /health for v2  https://review.openstack.org/29093002:45
Eva-iflwang1: while I'm checking your patch could you please check wxy's patch? see my last two comments02:47
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Support /ping and /health for v2  https://review.openstack.org/29093002:49
flwang1Eva-i: sure02:49
flwang1Eva-i: this one, https://review.openstack.org/#/c/294368/ ?02:50
Eva-iflwang1: yes02:51
flwang1personally, i woud like to see a set_metadata and get_metadata to avoid confusing02:56
Eva-iflwang1: do you mean CLI commands?02:56
flwang1the current metadata() method is supposed to be used as an property, but not the case in v202:57
flwang1Eva-i: for CLI, it works as well. if user use set metadata and with a key but no value, that means the key will be deleted02:57
flwang1just like the other project doing02:57
Eva-iflwang1: it still can be used as property in case of v2, internal implementation doesn't force us to make external change.02:57
flwang1for example, the aggregate-set-meta of nova02:57
flwang1Eva-i: i know02:58
flwang1current way works for me, but it's a little bit complex for me02:58
flwang1i'm thinking if we can use set_metadata to get lib and cli consistent02:59
Eva-iflwang1: I want to keep the current behavior, just to fix setting metadata.02:59
Eva-i*setting metadata in v203:00
flwang1but we're changing something03:00
flwang1and i can't get your point 'just to fixing setting metadata'03:00
Eva-iflwang1: I want to keep metadata() method and it's signature in V2 client lib. I want to add "set metadata" and "get metadata" methods in v2 client CLI03:01
Eva-iflwang1: so for the user point our python-zaqarclient will not differ on metadata operations on api v1 and api v2.03:02
Eva-i*from the user point03:02
flwang1but just like you said, the new_meta param has changed its meaning03:03
flwang1so i don't think you can keep the method and don't breaking user's code03:03
Eva-iflwang1: the thing is I don't want to change it's meaning. I'm against changing metadata() method signature.03:03
Eva-iflwang1: of course we can03:03
Eva-inew_meta param has changed it's meaning only because wxy decided03:04
Eva-iit's still not merged03:04
flwang1unless you get current metadata and play it to get a new metadata03:04
flwang1can you explain a bit how can we do that? i was working on internal stuff, need a bit time to switch context03:05
*** amitgandhinz has joined #openstack-zaqar03:06
flwang1Eva-i: do you mean rewrite the queue_update method?03:08
Eva-iMy point is we don't have to change client API each time our server changes API. The thing is we don't even need queue_update method.03:09
Eva-iIf we add queue_update method it will be a feature, not a bug fix.03:09
flwang1i'm a little bit confused03:11
Eva-iflwang1: I can upload a patch that will just make metadata() method in API v2 act exactly like metadata() method in API v1. All I have to do is fix setting metadata in this method.03:12
*** GB21 has joined #openstack-zaqar03:12
flwang1Eva-i: can you paste the your metadata()method to me?03:13
flwang1pseudocode works for me03:14
Eva-iflwang1: ah, you mean core.queue_update method. Yes, we will need it. I mistook it with update_metadata method in v2 Queue.03:14
flwang1:P03:14
wxyEva-i: Do you mean that we should rewrite the  metadata() method in v2,  but do not change it's signature?03:14
Eva-iwxy: yes03:15
flwang1wxy: now does those new cli commands support add/remove multi keys?03:16
wxygot this point . And about the command. Should we add these three commands or  still use "set/get metadata"?03:17
flwang1if no, can we use set_metadata instead of adding 3 new cmds?03:17
wxyflwang1: It supports03:17
Eva-iflwang1: 1. do you want to change metadata() signature in Queue v2 when it's possible to keep it? 2. Do you also want to add new update_metadata() method in Queue v2 when the task is still accomplishable with metadata() method?03:17
flwang1depends03:18
*** amitgandhinz has quit IRC03:19
Eva-iflwang1: okay, I'm making pseudocode03:19
wxyEva-i: If we reach an agreement, feel free to update the patch. I don't mind who's the owner or Committer. Cooperation could let our code better. :)03:22
wxyflwang1:  I'm worry about the user experience if we do all things in one command "set_metadata". I got the idea from Glance "location-add/update/delete", you know. :)03:25
flwang1wxy:yep, i see. but given we have set metadata already. so maybe we should refer nova's aggregate-set-meta03:31
wxyflwang1: I'll take a look now.03:34
Eva-iflwang1: http://paste.openstack.org/show/K3KB7gIrmwJPRer0yVUC/ something like this.03:39
wxyflwang1: If we do like "aggregate-set-meta", the metadata will not be json like.  If we can accept this change, I'll agree with you.03:40
flwang1ok, i see. that's why i said you have to change queue_date03:40
Eva-iOkay. So we have to decide if we want to change our client interface or add special new interface for "updating" metadata. I think we should not.03:40
flwang1i need to think a bit more03:41
flwang1now my brain is burn03:41
Eva-iflwang1: imagine what's happening with my brain. It's 6.41 AM here =)03:41
Eva-iGood night.03:42
Eva-iMaybe we should wait for other developers opinions.03:42
flwang1let's hold it abit03:43
wxySure.03:43
*** GB21 has quit IRC03:44
flwang1Eva-i: wxy: thanks for your effort03:44
*** flwang has quit IRC04:01
*** achanda has quit IRC04:06
*** amitgandhinz has joined #openstack-zaqar04:16
*** amitgandhinz has quit IRC04:29
*** achanda has joined #openstack-zaqar04:53
*** GB21 has joined #openstack-zaqar04:58
*** GB21 has quit IRC05:07
*** GB21 has joined #openstack-zaqar05:07
*** amitgandhinz has joined #openstack-zaqar05:26
*** amitgandhinz has quit IRC05:39
*** wanghao has quit IRC06:01
*** wanghao has joined #openstack-zaqar06:02
*** achanda_ has joined #openstack-zaqar06:13
*** achanda has quit IRC06:14
*** amitgandhinz has joined #openstack-zaqar06:35
*** amitgandhinz has quit IRC06:49
*** mdnadeem_ has joined #openstack-zaqar07:03
*** mdnadeem_ has quit IRC07:03
*** mdnadeem_ has joined #openstack-zaqar07:05
*** GB21 has quit IRC07:23
*** GB21 has joined #openstack-zaqar07:25
*** achanda_ has quit IRC07:26
*** achanda has joined #openstack-zaqar07:35
*** tesseract has joined #openstack-zaqar07:41
*** tesseract is now known as Guest6084207:41
*** amitgandhinz has joined #openstack-zaqar07:45
*** GB21 has quit IRC07:49
*** pt_15 has quit IRC07:55
*** amitgandhinz has quit IRC07:58
*** achanda has quit IRC08:06
*** achanda has joined #openstack-zaqar08:08
*** achanda has quit IRC08:11
*** achanda has joined #openstack-zaqar08:12
*** achanda has quit IRC08:12
*** achanda has joined #openstack-zaqar08:13
*** achanda has quit IRC08:13
*** shu-mutou has joined #openstack-zaqar08:47
*** GB21 has joined #openstack-zaqar08:54
*** amitgandhinz has joined #openstack-zaqar08:55
*** itisha has quit IRC08:59
*** openstackgerrit has quit IRC09:03
*** openstackgerrit has joined #openstack-zaqar09:03
*** amitgandhinz has quit IRC09:09
*** achanda has joined #openstack-zaqar09:14
*** achanda has quit IRC09:20
*** flwang has joined #openstack-zaqar09:21
*** shu-mutou is now known as shu-mutou-AFK09:44
*** GB21 has quit IRC10:05
*** amitgandhinz has joined #openstack-zaqar10:05
*** amitgandhinz has quit IRC10:19
*** GB21 has joined #openstack-zaqar10:22
openstackgerritFei Long Wang proposed openstack/python-zaqarclient: Support /ping and /health for v2  https://review.openstack.org/29093010:58
*** GB21 has quit IRC11:15
*** amitgandhinz has joined #openstack-zaqar11:15
*** achanda has joined #openstack-zaqar11:19
*** achanda has quit IRC11:24
*** amitgandhinz has quit IRC11:29
openstackgerritNeerja Narayan proposed openstack/zaqar: Adding Negative tests cases to Zaqar v1.0  https://review.openstack.org/29638111:29
*** david-lyle_ has joined #openstack-zaqar11:58
*** david-lyle has quit IRC12:00
*** GB21 has joined #openstack-zaqar12:21
*** amitgandhinz has joined #openstack-zaqar12:25
*** amitgandhinz has quit IRC12:38
*** david-lyle_ is now known as david-lyle13:06
*** amitgandhinz has joined #openstack-zaqar13:14
*** amitgandhinz has quit IRC13:15
*** amitgandhinz has joined #openstack-zaqar13:15
*** achanda has joined #openstack-zaqar13:22
*** GB21 has quit IRC13:27
*** achanda has quit IRC13:27
*** GB21 has joined #openstack-zaqar13:33
*** kgriffs is now known as kgriffs|afk13:47
*** GB21 has quit IRC13:49
*** fribeiro has joined #openstack-zaqar13:54
*** csoukup has joined #openstack-zaqar13:57
*** kgriffs|afk is now known as kgriffs13:58
*** achanda has joined #openstack-zaqar14:05
*** achanda has quit IRC14:07
*** openstack has joined #openstack-zaqar14:22
*** ametts has joined #openstack-zaqar14:24
*** Kevin_Zheng has joined #openstack-zaqar14:45
*** david-lyle_ is now known as david-lyle14:47
*** fribeiro has quit IRC14:48
*** openstackstatus has joined #openstack-zaqar15:13
*** ChanServ sets mode: +v openstackstatus15:13
*** david_cu has joined #openstack-zaqar15:19
*** fribeiro has joined #openstack-zaqar16:04
*** wanghao has quit IRC16:07
*** wanghao has joined #openstack-zaqar16:08
*** fribeiro has quit IRC16:13
*** Guest60842 has quit IRC16:21
*** tqtran has joined #openstack-zaqar16:30
*** david-lyle has quit IRC16:33
*** david-lyle has joined #openstack-zaqar16:33
*** achanda has joined #openstack-zaqar16:58
*** venkat_ has joined #openstack-zaqar17:00
*** achanda has quit IRC17:03
*** achanda has joined #openstack-zaqar17:14
*** rcernin has quit IRC17:29
*** achanda has quit IRC17:29
*** Kevin_Zheng has quit IRC17:32
*** achanda has joined #openstack-zaqar17:33
*** achanda has quit IRC17:41
*** achanda has joined #openstack-zaqar17:51
*** venkat_ has quit IRC18:05
*** fribeiro has joined #openstack-zaqar18:06
*** achanda has quit IRC18:09
fribeiroLet me break the ice: hi!. Shouldn't really only talk to the team on Gerrit and Twitter :)18:36
vkmcfribeiro, o/ hey!18:36
fribeiroHi, Victoria18:37
ryansbfribeiro: o/18:37
fribeiroFinally showing up on IRC18:37
fribeiro:)18:37
vkmcgood to see you around here :)18:41
*** fribeiro has quit IRC18:48
*** fribeiro has joined #openstack-zaqar18:48
*** fribeiro_ has joined #openstack-zaqar18:48
*** fribeiro__ has joined #openstack-zaqar18:49
*** fribeiro__ has quit IRC18:49
*** openstack has joined #openstack-zaqar19:08
*** openstack has joined #openstack-zaqar19:21
*** zhiyan_ is now known as zhiyan19:23
*** openstackstatus has joined #openstack-zaqar19:24
*** ChanServ sets mode: +v openstackstatus19:24
*** therve has joined #openstack-zaqar19:24
*** achanda has joined #openstack-zaqar19:35
*** kgriffs is now known as kgriffs|afk19:54
*** kgriffs|afk is now known as kgriffs20:07
*** ryansb has quit IRC20:17
*** achanda has quit IRC20:18
*** openstack has joined #openstack-zaqar20:31
*** flwang has joined #openstack-zaqar20:41
flwang2vkmc: ryansb: can you leave your comments on this one https://review.openstack.org/#/c/292702/ ?20:44
flwang2it's one of the RC2 candidate, but seems we haven't got an aggrement20:44
Eva-ivkmc: ryansb: flaper87: We recently added PATCH method for queue in zaqar server API v2, so the user is able now to set queue metadata. Now we have to decide how our python-zaqarclient should change. I think it should be just fixed (without changing current method signatures or adding new methods exposed to the user). See my last comment in this change: https://review.openstack.org/#/c/294368/20:44
ryansbsure sure20:45
Eva-ivkmc: ryansb: flaper87: your opinions are important.20:45
*** david-lyle has quit IRC20:59
*** achanda has joined #openstack-zaqar21:01
flwang2ryansb: vkmc: need your comments on https://review.openstack.org/#/c/294545/ as well21:05
*** david-lyle has joined #openstack-zaqar21:05
flwang2as we discussed, those are the two candidates for rc221:05
*** david-lyle has quit IRC21:21
*** david-lyle has joined #openstack-zaqar21:23
*** david_cu has quit IRC21:25
*** amitgandhinz has quit IRC21:42
*** achanda has quit IRC21:46
flwang2Eva-i: see the discussion about docs in ML?21:53
flwang2we also need to push the install guide happen, so let's move the install guide from our tree to docs.openstack.org21:53
Eva-iflwang2: oki. I'm writing now installation guide. I run into problems.21:54
flwang2?21:54
Eva-iflwang2: http://paste.openstack.org/show/VxBBNrCm7J3sAtUEfNjC/21:56
flwang2ok, so it's not a zaqar issue, but your mongo issue?21:57
Eva-iflwang2: seems like it's my issue. But I fixed it. The problem was I started mongod via root first time. So database files were created by root, not by mongod user. And when I started mongod as service (by mongod user internally), it didn't have rights to write to files created by root.22:06
*** ametts has quit IRC22:14
flwang2ok22:14
flwang2so can we move our current prod install guide to manual repo?22:15
*** achanda has joined #openstack-zaqar22:16
Eva-iflwang2: I'll read ML now22:23
Eva-iflwang2: and answer your question22:23
*** fribeiro_ has joined #openstack-zaqar22:26
Eva-iflwang2: manila succeded. So we probably can. =) Once I complete rewriting installation guide, we can try to propose it to the manual repo.22:39
Eva-iflwang2: I'll postpone installation guide work now and modify my patch as Flavio suggested https://review.openstack.org/#/c/292702/22:41
*** amitgandhinz has joined #openstack-zaqar22:43
openstackgerritMerged openstack/zaqar: Warn on upcoming deprecations for v1.0 and v1.1  https://review.openstack.org/29454522:43
flwang2Eva-i: yep, sure22:44
flwang2Eva-i: in Newton, let's get the api-ref and the install guide in22:44
Eva-iflwang2: yes22:46
flwang2Eva-i: i will start to draft the spec, did you ever propose a spec for api ref?22:46
Eva-iflwang2: so... I'm resticting setting metadata keys with '_' prefix in v1. What about v1.1?22:47
*** csoukup has quit IRC22:47
Eva-iflwang2: I don't remember. But there must be a blueprint zaqar-api-ref22:47
Eva-iflwang2: https://blueprints.launchpad.net/openstack-manuals/+spec/zaqar-api-ref here it is22:49
Eva-iflwang2: I think I should investigate tomorrow how api-refs are managed now. Maybe there still the same blocker.22:50
flwang2Eva-i: yep, and after we figure out the solution, then a lite spec22:54
*** amitgandhinz has quit IRC22:57
*** flwang has quit IRC23:05
*** flwang has joined #openstack-zaqar23:05
*** flwang2 has quit IRC23:06
Eva-iduring my internship the api-ref work was least pleasant experience23:08
fribeiro_hahah, it should really have been so23:08
fribeiro_valuable, but boring23:08
fribeiro_i know23:08
fribeiro_:)23:08
Eva-ifribeiro_: =)23:09
Eva-ifribeiro_: I'm not sure it was valuable I spent much time only to figure out it was not accomplishable.23:11
fribeiro_but it should be there, really23:11
fribeiro_whatever we do here should show up there23:11
*** fribeiro_ has quit IRC23:21
*** openstack has joined #openstack-zaqar23:22
*** flwang1 has joined #openstack-zaqar23:22
*** openstackstatus has joined #openstack-zaqar23:24
*** ChanServ sets mode: +v openstackstatus23:24
*** amitgandhinz has joined #openstack-zaqar23:53

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