flwang1 | Eva-i: hmm.. any issue with current code for mogongb 3? | 00:06 |
---|---|---|
Eva-i | flwang1: I don't know, I'll try tonight | 00:08 |
Eva-i | flwang1: which version do you use in development? | 00:08 |
flwang1 | ok | 00:08 |
flwang1 | 2.4.9 | 00:09 |
Eva-i | flwang1: 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 |
flwang1 | Eva-i: i don't think our config is really depend on the mongodb version unless it's less 2.2 | 00:15 |
Eva-i | flwang1: 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 IRC | 00:18 | |
Eva-i | flwang1: 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-zaqar | 00:21 | |
*** achanda has quit IRC | 00:40 | |
*** amitgandhinz has joined #openstack-zaqar | 00:46 | |
*** amitgandhinz has quit IRC | 01:00 | |
*** achanda has joined #openstack-zaqar | 01:11 | |
*** csoukup has joined #openstack-zaqar | 01:42 | |
*** csoukup has quit IRC | 01:46 | |
openstackgerrit | wangxiyuan proposed openstack/python-zaqarclient: Add update queue function in v2 https://review.openstack.org/294368 | 01:47 |
*** mpanetta has quit IRC | 01:51 | |
*** amitgandhinz has joined #openstack-zaqar | 01:56 | |
openstackgerrit | wangxiyuan proposed openstack/python-zaqarclient: Add update queue function in v2 https://review.openstack.org/294368 | 01:59 |
*** amitgandhinz has quit IRC | 02:09 | |
*** fribeiro has joined #openstack-zaqar | 02:13 | |
*** fribeiro has quit IRC | 02:44 | |
openstackgerrit | Fei Long Wang proposed openstack/python-zaqarclient: Support /ping and /health for v2 https://review.openstack.org/290930 | 02:45 |
Eva-i | flwang1: while I'm checking your patch could you please check wxy's patch? see my last two comments | 02:47 |
openstackgerrit | Fei Long Wang proposed openstack/python-zaqarclient: Support /ping and /health for v2 https://review.openstack.org/290930 | 02:49 |
flwang1 | Eva-i: sure | 02:49 |
flwang1 | Eva-i: this one, https://review.openstack.org/#/c/294368/ ? | 02:50 |
Eva-i | flwang1: yes | 02:51 |
flwang1 | personally, i woud like to see a set_metadata and get_metadata to avoid confusing | 02:56 |
Eva-i | flwang1: do you mean CLI commands? | 02:56 |
flwang1 | the current metadata() method is supposed to be used as an property, but not the case in v2 | 02:57 |
flwang1 | Eva-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 deleted | 02:57 |
flwang1 | just like the other project doing | 02:57 |
Eva-i | flwang1: it still can be used as property in case of v2, internal implementation doesn't force us to make external change. | 02:57 |
flwang1 | for example, the aggregate-set-meta of nova | 02:57 |
flwang1 | Eva-i: i know | 02:58 |
flwang1 | current way works for me, but it's a little bit complex for me | 02:58 |
flwang1 | i'm thinking if we can use set_metadata to get lib and cli consistent | 02:59 |
Eva-i | flwang1: I want to keep the current behavior, just to fix setting metadata. | 02:59 |
Eva-i | *setting metadata in v2 | 03:00 |
flwang1 | but we're changing something | 03:00 |
flwang1 | and i can't get your point 'just to fixing setting metadata' | 03:00 |
Eva-i | flwang1: 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 CLI | 03:01 |
Eva-i | flwang1: 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 point | 03:02 |
flwang1 | but just like you said, the new_meta param has changed its meaning | 03:03 |
flwang1 | so i don't think you can keep the method and don't breaking user's code | 03:03 |
Eva-i | flwang1: the thing is I don't want to change it's meaning. I'm against changing metadata() method signature. | 03:03 |
Eva-i | flwang1: of course we can | 03:03 |
Eva-i | new_meta param has changed it's meaning only because wxy decided | 03:04 |
Eva-i | it's still not merged | 03:04 |
flwang1 | unless you get current metadata and play it to get a new metadata | 03:04 |
flwang1 | can you explain a bit how can we do that? i was working on internal stuff, need a bit time to switch context | 03:05 |
*** amitgandhinz has joined #openstack-zaqar | 03:06 | |
flwang1 | Eva-i: do you mean rewrite the queue_update method? | 03:08 |
Eva-i | My 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-i | If we add queue_update method it will be a feature, not a bug fix. | 03:09 |
flwang1 | i'm a little bit confused | 03:11 |
Eva-i | flwang1: 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-zaqar | 03:12 | |
flwang1 | Eva-i: can you paste the your metadata()method to me? | 03:13 |
flwang1 | pseudocode works for me | 03:14 |
Eva-i | flwang1: 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 | :P | 03:14 |
wxy | Eva-i: Do you mean that we should rewrite the metadata() method in v2, but do not change it's signature? | 03:14 |
Eva-i | wxy: yes | 03:15 |
flwang1 | wxy: now does those new cli commands support add/remove multi keys? | 03:16 |
wxy | got this point . And about the command. Should we add these three commands or still use "set/get metadata"? | 03:17 |
flwang1 | if no, can we use set_metadata instead of adding 3 new cmds? | 03:17 |
wxy | flwang1: It supports | 03:17 |
Eva-i | flwang1: 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 |
flwang1 | depends | 03:18 |
*** amitgandhinz has quit IRC | 03:19 | |
Eva-i | flwang1: okay, I'm making pseudocode | 03:19 |
wxy | Eva-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 |
wxy | flwang1: 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 |
flwang1 | wxy:yep, i see. but given we have set metadata already. so maybe we should refer nova's aggregate-set-meta | 03:31 |
wxy | flwang1: I'll take a look now. | 03:34 |
Eva-i | flwang1: http://paste.openstack.org/show/K3KB7gIrmwJPRer0yVUC/ something like this. | 03:39 |
wxy | flwang1: 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 |
flwang1 | ok, i see. that's why i said you have to change queue_date | 03:40 |
Eva-i | Okay. 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 |
flwang1 | i need to think a bit more | 03:41 |
flwang1 | now my brain is burn | 03:41 |
Eva-i | flwang1: imagine what's happening with my brain. It's 6.41 AM here =) | 03:41 |
Eva-i | Good night. | 03:42 |
Eva-i | Maybe we should wait for other developers opinions. | 03:42 |
flwang1 | let's hold it abit | 03:43 |
wxy | Sure. | 03:43 |
*** GB21 has quit IRC | 03:44 | |
flwang1 | Eva-i: wxy: thanks for your effort | 03:44 |
*** flwang has quit IRC | 04:01 | |
*** achanda has quit IRC | 04:06 | |
*** amitgandhinz has joined #openstack-zaqar | 04:16 | |
*** amitgandhinz has quit IRC | 04:29 | |
*** achanda has joined #openstack-zaqar | 04:53 | |
*** GB21 has joined #openstack-zaqar | 04:58 | |
*** GB21 has quit IRC | 05:07 | |
*** GB21 has joined #openstack-zaqar | 05:07 | |
*** amitgandhinz has joined #openstack-zaqar | 05:26 | |
*** amitgandhinz has quit IRC | 05:39 | |
*** wanghao has quit IRC | 06:01 | |
*** wanghao has joined #openstack-zaqar | 06:02 | |
*** achanda_ has joined #openstack-zaqar | 06:13 | |
*** achanda has quit IRC | 06:14 | |
*** amitgandhinz has joined #openstack-zaqar | 06:35 | |
*** amitgandhinz has quit IRC | 06:49 | |
*** mdnadeem_ has joined #openstack-zaqar | 07:03 | |
*** mdnadeem_ has quit IRC | 07:03 | |
*** mdnadeem_ has joined #openstack-zaqar | 07:05 | |
*** GB21 has quit IRC | 07:23 | |
*** GB21 has joined #openstack-zaqar | 07:25 | |
*** achanda_ has quit IRC | 07:26 | |
*** achanda has joined #openstack-zaqar | 07:35 | |
*** tesseract has joined #openstack-zaqar | 07:41 | |
*** tesseract is now known as Guest60842 | 07:41 | |
*** amitgandhinz has joined #openstack-zaqar | 07:45 | |
*** GB21 has quit IRC | 07:49 | |
*** pt_15 has quit IRC | 07:55 | |
*** amitgandhinz has quit IRC | 07:58 | |
*** achanda has quit IRC | 08:06 | |
*** achanda has joined #openstack-zaqar | 08:08 | |
*** achanda has quit IRC | 08:11 | |
*** achanda has joined #openstack-zaqar | 08:12 | |
*** achanda has quit IRC | 08:12 | |
*** achanda has joined #openstack-zaqar | 08:13 | |
*** achanda has quit IRC | 08:13 | |
*** shu-mutou has joined #openstack-zaqar | 08:47 | |
*** GB21 has joined #openstack-zaqar | 08:54 | |
*** amitgandhinz has joined #openstack-zaqar | 08:55 | |
*** itisha has quit IRC | 08:59 | |
*** openstackgerrit has quit IRC | 09:03 | |
*** openstackgerrit has joined #openstack-zaqar | 09:03 | |
*** amitgandhinz has quit IRC | 09:09 | |
*** achanda has joined #openstack-zaqar | 09:14 | |
*** achanda has quit IRC | 09:20 | |
*** flwang has joined #openstack-zaqar | 09:21 | |
*** shu-mutou is now known as shu-mutou-AFK | 09:44 | |
*** GB21 has quit IRC | 10:05 | |
*** amitgandhinz has joined #openstack-zaqar | 10:05 | |
*** amitgandhinz has quit IRC | 10:19 | |
*** GB21 has joined #openstack-zaqar | 10:22 | |
openstackgerrit | Fei Long Wang proposed openstack/python-zaqarclient: Support /ping and /health for v2 https://review.openstack.org/290930 | 10:58 |
*** GB21 has quit IRC | 11:15 | |
*** amitgandhinz has joined #openstack-zaqar | 11:15 | |
*** achanda has joined #openstack-zaqar | 11:19 | |
*** achanda has quit IRC | 11:24 | |
*** amitgandhinz has quit IRC | 11:29 | |
openstackgerrit | Neerja Narayan proposed openstack/zaqar: Adding Negative tests cases to Zaqar v1.0 https://review.openstack.org/296381 | 11:29 |
*** david-lyle_ has joined #openstack-zaqar | 11:58 | |
*** david-lyle has quit IRC | 12:00 | |
*** GB21 has joined #openstack-zaqar | 12:21 | |
*** amitgandhinz has joined #openstack-zaqar | 12:25 | |
*** amitgandhinz has quit IRC | 12:38 | |
*** david-lyle_ is now known as david-lyle | 13:06 | |
*** amitgandhinz has joined #openstack-zaqar | 13:14 | |
*** amitgandhinz has quit IRC | 13:15 | |
*** amitgandhinz has joined #openstack-zaqar | 13:15 | |
*** achanda has joined #openstack-zaqar | 13:22 | |
*** GB21 has quit IRC | 13:27 | |
*** achanda has quit IRC | 13:27 | |
*** GB21 has joined #openstack-zaqar | 13:33 | |
*** kgriffs is now known as kgriffs|afk | 13:47 | |
*** GB21 has quit IRC | 13:49 | |
*** fribeiro has joined #openstack-zaqar | 13:54 | |
*** csoukup has joined #openstack-zaqar | 13:57 | |
*** kgriffs|afk is now known as kgriffs | 13:58 | |
*** achanda has joined #openstack-zaqar | 14:05 | |
*** achanda has quit IRC | 14:07 | |
*** openstack has joined #openstack-zaqar | 14:22 | |
*** ametts has joined #openstack-zaqar | 14:24 | |
*** Kevin_Zheng has joined #openstack-zaqar | 14:45 | |
*** david-lyle_ is now known as david-lyle | 14:47 | |
*** fribeiro has quit IRC | 14:48 | |
*** openstackstatus has joined #openstack-zaqar | 15:13 | |
*** ChanServ sets mode: +v openstackstatus | 15:13 | |
*** david_cu has joined #openstack-zaqar | 15:19 | |
*** fribeiro has joined #openstack-zaqar | 16:04 | |
*** wanghao has quit IRC | 16:07 | |
*** wanghao has joined #openstack-zaqar | 16:08 | |
*** fribeiro has quit IRC | 16:13 | |
*** Guest60842 has quit IRC | 16:21 | |
*** tqtran has joined #openstack-zaqar | 16:30 | |
*** david-lyle has quit IRC | 16:33 | |
*** david-lyle has joined #openstack-zaqar | 16:33 | |
*** achanda has joined #openstack-zaqar | 16:58 | |
*** venkat_ has joined #openstack-zaqar | 17:00 | |
*** achanda has quit IRC | 17:03 | |
*** achanda has joined #openstack-zaqar | 17:14 | |
*** rcernin has quit IRC | 17:29 | |
*** achanda has quit IRC | 17:29 | |
*** Kevin_Zheng has quit IRC | 17:32 | |
*** achanda has joined #openstack-zaqar | 17:33 | |
*** achanda has quit IRC | 17:41 | |
*** achanda has joined #openstack-zaqar | 17:51 | |
*** venkat_ has quit IRC | 18:05 | |
*** fribeiro has joined #openstack-zaqar | 18:06 | |
*** achanda has quit IRC | 18:09 | |
fribeiro | Let me break the ice: hi!. Shouldn't really only talk to the team on Gerrit and Twitter :) | 18:36 |
vkmc | fribeiro, o/ hey! | 18:36 |
fribeiro | Hi, Victoria | 18:37 |
ryansb | fribeiro: o/ | 18:37 |
fribeiro | Finally showing up on IRC | 18:37 |
fribeiro | :) | 18:37 |
vkmc | good to see you around here :) | 18:41 |
*** fribeiro has quit IRC | 18:48 | |
*** fribeiro has joined #openstack-zaqar | 18:48 | |
*** fribeiro_ has joined #openstack-zaqar | 18:48 | |
*** fribeiro__ has joined #openstack-zaqar | 18:49 | |
*** fribeiro__ has quit IRC | 18:49 | |
*** openstack has joined #openstack-zaqar | 19:08 | |
*** openstack has joined #openstack-zaqar | 19:21 | |
*** zhiyan_ is now known as zhiyan | 19:23 | |
*** openstackstatus has joined #openstack-zaqar | 19:24 | |
*** ChanServ sets mode: +v openstackstatus | 19:24 | |
*** therve has joined #openstack-zaqar | 19:24 | |
*** achanda has joined #openstack-zaqar | 19:35 | |
*** kgriffs is now known as kgriffs|afk | 19:54 | |
*** kgriffs|afk is now known as kgriffs | 20:07 | |
*** ryansb has quit IRC | 20:17 | |
*** achanda has quit IRC | 20:18 | |
*** openstack has joined #openstack-zaqar | 20:31 | |
*** flwang has joined #openstack-zaqar | 20:41 | |
flwang2 | vkmc: ryansb: can you leave your comments on this one https://review.openstack.org/#/c/292702/ ? | 20:44 |
flwang2 | it's one of the RC2 candidate, but seems we haven't got an aggrement | 20:44 |
Eva-i | vkmc: 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 |
ryansb | sure sure | 20:45 |
Eva-i | vkmc: ryansb: flaper87: your opinions are important. | 20:45 |
*** david-lyle has quit IRC | 20:59 | |
*** achanda has joined #openstack-zaqar | 21:01 | |
flwang2 | ryansb: vkmc: need your comments on https://review.openstack.org/#/c/294545/ as well | 21:05 |
*** david-lyle has joined #openstack-zaqar | 21:05 | |
flwang2 | as we discussed, those are the two candidates for rc2 | 21:05 |
*** david-lyle has quit IRC | 21:21 | |
*** david-lyle has joined #openstack-zaqar | 21:23 | |
*** david_cu has quit IRC | 21:25 | |
*** amitgandhinz has quit IRC | 21:42 | |
*** achanda has quit IRC | 21:46 | |
flwang2 | Eva-i: see the discussion about docs in ML? | 21:53 |
flwang2 | we also need to push the install guide happen, so let's move the install guide from our tree to docs.openstack.org | 21:53 |
Eva-i | flwang2: oki. I'm writing now installation guide. I run into problems. | 21:54 |
flwang2 | ? | 21:54 |
Eva-i | flwang2: http://paste.openstack.org/show/VxBBNrCm7J3sAtUEfNjC/ | 21:56 |
flwang2 | ok, so it's not a zaqar issue, but your mongo issue? | 21:57 |
Eva-i | flwang2: 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 IRC | 22:14 | |
flwang2 | ok | 22:14 |
flwang2 | so can we move our current prod install guide to manual repo? | 22:15 |
*** achanda has joined #openstack-zaqar | 22:16 | |
Eva-i | flwang2: I'll read ML now | 22:23 |
Eva-i | flwang2: and answer your question | 22:23 |
*** fribeiro_ has joined #openstack-zaqar | 22:26 | |
Eva-i | flwang2: 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-i | flwang2: 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-zaqar | 22:43 | |
openstackgerrit | Merged openstack/zaqar: Warn on upcoming deprecations for v1.0 and v1.1 https://review.openstack.org/294545 | 22:43 |
flwang2 | Eva-i: yep, sure | 22:44 |
flwang2 | Eva-i: in Newton, let's get the api-ref and the install guide in | 22:44 |
Eva-i | flwang2: yes | 22:46 |
flwang2 | Eva-i: i will start to draft the spec, did you ever propose a spec for api ref? | 22:46 |
Eva-i | flwang2: so... I'm resticting setting metadata keys with '_' prefix in v1. What about v1.1? | 22:47 |
*** csoukup has quit IRC | 22:47 | |
Eva-i | flwang2: I don't remember. But there must be a blueprint zaqar-api-ref | 22:47 |
Eva-i | flwang2: https://blueprints.launchpad.net/openstack-manuals/+spec/zaqar-api-ref here it is | 22:49 |
Eva-i | flwang2: I think I should investigate tomorrow how api-refs are managed now. Maybe there still the same blocker. | 22:50 |
flwang2 | Eva-i: yep, and after we figure out the solution, then a lite spec | 22:54 |
*** amitgandhinz has quit IRC | 22:57 | |
*** flwang has quit IRC | 23:05 | |
*** flwang has joined #openstack-zaqar | 23:05 | |
*** flwang2 has quit IRC | 23:06 | |
Eva-i | during my internship the api-ref work was least pleasant experience | 23:08 |
fribeiro_ | hahah, it should really have been so | 23:08 |
fribeiro_ | valuable, but boring | 23:08 |
fribeiro_ | i know | 23:08 |
fribeiro_ | :) | 23:08 |
Eva-i | fribeiro_: =) | 23:09 |
Eva-i | fribeiro_: 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, really | 23:11 |
fribeiro_ | whatever we do here should show up there | 23:11 |
*** fribeiro_ has quit IRC | 23:21 | |
*** openstack has joined #openstack-zaqar | 23:22 | |
*** flwang1 has joined #openstack-zaqar | 23:22 | |
*** openstackstatus has joined #openstack-zaqar | 23:24 | |
*** ChanServ sets mode: +v openstackstatus | 23:24 | |
*** amitgandhinz has joined #openstack-zaqar | 23:53 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!