*** kgriffs|afk is now known as kgriffs | 00:01 | |
*** achanda has joined #openstack-zaqar | 00:36 | |
*** flwang1 has quit IRC | 00:58 | |
Eva-i | Okay, I figured out. | 01:14 |
---|---|---|
openstackgerrit | MD NADEEM proposed openstack/python-zaqarclient: Added cli implementation for v2 https://review.openstack.org/241523 | 01:15 |
openstackgerrit | MD NADEEM proposed openstack/python-zaqarclient: Added cli implementation for v2 https://review.openstack.org/241523 | 01:44 |
*** kgriffs is now known as kgriffs|afk | 01:53 | |
*** wanghao has joined #openstack-zaqar | 04:05 | |
*** khushbu_ has joined #openstack-zaqar | 04:16 | |
*** dmowrer has joined #openstack-zaqar | 04:18 | |
*** dmowrer has quit IRC | 04:23 | |
*** kgriffs|afk is now known as kgriffs | 04:37 | |
*** khushbu_ has quit IRC | 04:58 | |
*** achanda has quit IRC | 05:54 | |
*** kgriffs is now known as kgriffs|afk | 06:04 | |
openstackgerrit | MD NADEEM proposed openstack/python-zaqarclient: Attaching a default project_id in request header for noauth authentication backend. https://review.openstack.org/243969 | 06:20 |
*** kgriffs|afk is now known as kgriffs | 06:23 | |
*** achanda has joined #openstack-zaqar | 06:34 | |
*** dmowrer has joined #openstack-zaqar | 06:45 | |
*** dmowrer has quit IRC | 06:49 | |
*** kgriffs is now known as kgriffs|afk | 07:24 | |
openstackgerrit | MD NADEEM proposed openstack/python-zaqarclient: Added API_VERSION for v2 https://review.openstack.org/243985 | 07:26 |
*** whydidyoustealmy has joined #openstack-zaqar | 07:42 | |
*** barra204 has quit IRC | 07:43 | |
*** AAzza has quit IRC | 07:48 | |
openstackgerrit | MD NADEEM proposed openstack/python-zaqarclient: Added cli implementation for v2 https://review.openstack.org/243995 | 07:50 |
*** AAzza has joined #openstack-zaqar | 07:50 | |
*** achanda has quit IRC | 07:51 | |
*** achanda has joined #openstack-zaqar | 07:57 | |
openstackgerrit | MD NADEEM proposed openstack/python-zaqarclient: pool & flavor cli implementation for v2 https://review.openstack.org/243995 | 08:02 |
openstackgerrit | MD NADEEM proposed openstack/python-zaqarclient: Attaching a default project_id in request header https://review.openstack.org/243969 | 08:21 |
openstackgerrit | MD NADEEM proposed openstack/python-zaqarclient: Attaching a default project_id in request header https://review.openstack.org/243969 | 08:22 |
*** achanda has quit IRC | 08:36 | |
*** achanda has joined #openstack-zaqar | 08:39 | |
*** achanda has quit IRC | 08:57 | |
*** dmowrer has joined #openstack-zaqar | 09:13 | |
*** dmowrer has quit IRC | 09:17 | |
*** khushbu_ has joined #openstack-zaqar | 10:53 | |
*** khushbu_ has quit IRC | 11:11 | |
*** szaher has joined #openstack-zaqar | 11:19 | |
*** dmowrer has joined #openstack-zaqar | 12:08 | |
*** khushbu_ has joined #openstack-zaqar | 12:15 | |
*** khushbu_ has quit IRC | 12:30 | |
*** openstackgerrit has quit IRC | 12:31 | |
*** openstackgerrit has joined #openstack-zaqar | 12:31 | |
*** achanda has joined #openstack-zaqar | 13:15 | |
*** achanda has quit IRC | 13:19 | |
*** angvp has joined #openstack-zaqar | 13:21 | |
*** mpanetta has joined #openstack-zaqar | 13:39 | |
*** dynarro has joined #openstack-zaqar | 14:04 | |
*** khushbu_ has joined #openstack-zaqar | 14:11 | |
*** sriram has joined #openstack-zaqar | 14:15 | |
*** dmowrer has quit IRC | 14:19 | |
*** csoukup has quit IRC | 14:19 | |
*** itisha has joined #openstack-zaqar | 14:29 | |
*** bradjones|away is now known as bradjones | 14:40 | |
*** david-ly_ has joined #openstack-zaqar | 14:41 | |
*** david-lyle has quit IRC | 14:42 | |
*** dmowrer has joined #openstack-zaqar | 14:44 | |
*** amitgandhinz has joined #openstack-zaqar | 14:47 | |
*** szaher has quit IRC | 14:52 | |
*** ametts has joined #openstack-zaqar | 14:54 | |
*** szaher has joined #openstack-zaqar | 14:56 | |
*** pt_15 has joined #openstack-zaqar | 14:57 | |
*** khushbu_ has quit IRC | 14:58 | |
*** kgriffs|afk is now known as kgriffs | 15:02 | |
*** csoukup has joined #openstack-zaqar | 15:07 | |
*** khushbu_ has joined #openstack-zaqar | 15:09 | |
elmiko | hey all, i've run into an issue with devstack+zaqar recently. basically i keep getting a failure during the "Waiting for Zaqar to start" phase, anyone else run into this? | 15:36 |
ryansb | elmiko: I haven't, can you paste your local.conf ? | 15:42 |
Eva-i | elmiko: you see something like that? http://paste.openstack.org/show/mp8mnYyBo8InnI8XFGJi/ =) | 15:42 |
elmiko | ryansb: sure thing, 1sec | 15:42 |
*** khushbu_ has quit IRC | 15:42 | |
ryansb | elmiko: here's mine (it works as of yesterday afternoon master) | 15:42 |
elmiko | Eva-i: i'm not getting the call trace, but basically yes | 15:42 |
ryansb | http://fpaste.org/289227/25650514/ | 15:43 |
elmiko | ryansb: mine, http://paste.openstack.org/show/478573/ | 15:43 |
elmiko | hmm, do you need to actually enable_service on the zaqar stuff? | 15:44 |
elmiko | (i thought enable_plugin did that for you) | 15:44 |
ryansb | Um, I actually am not sure. This local.conf is from before zaqar was a plugin, so I just added the plugin line | 15:47 |
elmiko | cool | 15:47 |
Eva-i | elmiko: can you please also paste your etc/mongodb.conf contents? | 15:47 |
elmiko | sure, 1sec | 15:47 |
elmiko | Eva-i: http://paste.openstack.org/show/478575/ | 15:49 |
*** ametts has quit IRC | 15:58 | |
*** openstackgerrit has quit IRC | 16:02 | |
*** openstackgerrit has joined #openstack-zaqar | 16:02 | |
*** dynarro has quit IRC | 16:04 | |
*** david-ly_ is now known as david-lyle | 16:07 | |
Eva-i | elmiko: that's strange. Are you sure you have provided full contents of /etc/mongodb.conf without editing? | 16:07 |
elmiko | yup | 16:09 |
elmiko | although, i may have screwed up the copy-paste ;P | 16:09 |
elmiko | just double checked, that it | 16:10 |
elmiko | er, that's it | 16:10 |
elmiko | Eva-i: does it look like something is missing? | 16:11 |
*** mpanetta_ has joined #openstack-zaqar | 16:12 | |
*** pt_15_ has joined #openstack-zaqar | 16:13 | |
*** boris-42_ has joined #openstack-zaqar | 16:13 | |
Eva-i | elmiko: yes, during "post-config" phase in stack.sh execution zaqar plugin must add "smallfiles = true" line to /etc/mongodb.conf | 16:13 |
elmiko | hmm, interesting | 16:14 |
Eva-i | elmiko: only after this phase zaqar starts | 16:14 |
elmiko | Eva-i: ahh, except... i am running fedora ;) | 16:15 |
Eva-i | elmiko: okay | 16:15 |
Eva-i | elmiko: does it mean your mongodb configuration is located in different place I suggested? | 16:16 |
*** ametts has joined #openstack-zaqar | 16:16 | |
ryansb | on fedora it's /etc/mongod.conf | 16:16 |
elmiko | Eva-i: no, it looks like plugin.sh just changes the command line option to mongod to add --smallfiles instead of changing the conf file | 16:16 |
ryansb | for "reasons" | 16:17 |
*** EmilienM has quit IRC | 16:17 | |
*** pt_15 has quit IRC | 16:17 | |
*** mpanetta has quit IRC | 16:17 | |
*** boris-42 has quit IRC | 16:17 | |
*** pt_15_ is now known as pt_15 | 16:17 | |
elmiko | well, that, and it's modifying /etc/sysconfig/mongod instead for fedora | 16:17 |
Eva-i | yes | 16:18 |
Eva-i | https://github.com/openstack/zaqar/blob/master/devstack/plugin.sh#L213 | 16:18 |
ryansb | oh, that also works on fedora | 16:18 |
*** EmilienM_ has joined #openstack-zaqar | 16:18 | |
*** EmilienM_ is now known as EmilienM | 16:18 | |
elmiko | i'm trying a restack now with more debugging, we'll see what happens | 16:18 |
Eva-i | elmiko: so no mongodb config is located in your system at t his path /etc/sysconfig/mongod ? | 16:18 |
elmiko | Eva-i: no, it's still at /etc/mongodb.conf, it just looks like zaqar uses a different methodology for adding smallfiles support on fedora | 16:19 |
*** boris-42_ is now known as boris-42 | 16:19 | |
elmiko | instead of changing the configuration file, it changes the way that mongod is started to use a command line option for smallfiles | 16:20 |
* Eva-i starts fedora | 16:22 | |
elmiko | hmm, looks like i have some sort of error with my system | 16:25 |
elmiko | this is in my zaqar-websocket.log http://paste.openstack.org/show/478583/ | 16:27 |
elmiko | i think i need to steal a line from ryansb's local.conf, PIP_UPGRADE=true | 16:31 |
ryansb | yeah, that seems likely | 16:31 |
ryansb | the addition of the PortOpt is fairly recent in Zaqar | 16:31 |
ryansb | not sure how long it's been in oslocfg | 16:31 |
elmiko | i didn't even know about PIP_UPGRADE | 16:31 |
ryansb | yeah, it's quite well hidden in the docs | 16:32 |
elmiko | lol | 16:32 |
ryansb | local.conf: known also as "bash script hide and seek" | 16:32 |
elmiko | yea, i really need to update it from time to time, rather than attempting to use a 1yr+ old conf file :/ | 16:33 |
ryansb | heh, yeah really | 16:39 |
Eva-i | elmiko: from reading internets, mongodb is using two configuration files: /etc/sysconfig/mongod and /etc/mongodb.conf. The second one overrides options defined in the first one. I'm not sure why zaqar's plugin.sh is written to behave differently on debian-like systems and fedora-like systems. Some time ago there was a bug preventing zaqar to start during stack.sh because of corruption of mongodb.conf and I just wanted to be sure you don't have | 16:44 |
elmiko | Eva-i: thanks for looking into it, i think i found the issue | 16:46 |
elmiko | and yea, /etc/sysconfig/mongod is actually changing the way that the mongod process is started | 16:47 |
ryansb | hrm. Does that mean we need to patch the devstack plugin? | 16:51 |
ryansb | fwiw, works on my f22 vm | 16:51 |
elmiko | cool, thanks for checking ryansb | 16:51 |
elmiko | i think i'm still hitting some issue... | 16:52 |
elmiko | dang, still getting the PortOpt not found | 16:52 |
elmiko | for some reason, PIP_UPGRADE did not actually upgrade... | 16:54 |
elmiko | hopefully this will work, manually upgrade oslo.config | 16:58 |
elmiko | ryansb, Eva-i, thanks for the help, think i got this fixed.. /me crosses-fingers | 17:02 |
ryansb | elmiko: no problem - let us know if it works out | 17:02 |
*** dmowrer has quit IRC | 17:10 | |
Eva-i | ryansb: "Does that mean we need to patch the devstack plugin?". No urgent need, but we can beautify code. | 17:10 |
Eva-i | ryansb: we can keep debian way as it's universal. | 17:11 |
elmiko | hmm, so something is actively downgrading oslo.config | 17:15 |
elmiko | causing zaqar to fail on the stable/liberty branch | 17:16 |
elmiko | i think i need to tailor the enable_plugin line a little better | 17:16 |
elmiko | so frustrating.... | 17:16 |
*** dmowrer has joined #openstack-zaqar | 17:28 | |
*** flwang1 has joined #openstack-zaqar | 17:35 | |
*** mpanetta_ is now known as mpanetta | 17:43 | |
*** achanda has joined #openstack-zaqar | 17:54 | |
*** achanda has quit IRC | 17:58 | |
*** flwang1 has quit IRC | 18:00 | |
*** achanda has joined #openstack-zaqar | 18:00 | |
*** boris-42 has quit IRC | 18:28 | |
*** dmowrer has quit IRC | 18:49 | |
*** dmowrer has joined #openstack-zaqar | 18:50 | |
*** dmowrer has quit IRC | 18:54 | |
*** achanda has quit IRC | 19:16 | |
*** mpanetta has quit IRC | 19:21 | |
*** flwang1 has joined #openstack-zaqar | 19:23 | |
*** davideagnello has quit IRC | 19:29 | |
*** davideagnello has joined #openstack-zaqar | 19:29 | |
*** achanda has joined #openstack-zaqar | 19:34 | |
*** davideag_ has joined #openstack-zaqar | 19:37 | |
*** kgriffs is now known as kgriffs|afk | 19:38 | |
*** davideagnello has quit IRC | 19:40 | |
*** dmowrer has joined #openstack-zaqar | 19:41 | |
*** achanda has quit IRC | 19:42 | |
*** davideagnello has joined #openstack-zaqar | 19:42 | |
*** davideag_ has quit IRC | 19:45 | |
*** pt_15 has quit IRC | 19:58 | |
*** itisha has quit IRC | 20:01 | |
*** dmowrer has quit IRC | 20:42 | |
*** dmowrer has joined #openstack-zaqar | 20:42 | |
*** dmowrer has quit IRC | 20:47 | |
*** csoukup has quit IRC | 20:47 | |
*** kgriffs|afk is now known as kgriffs | 20:51 | |
*** dmowrer has joined #openstack-zaqar | 21:00 | |
*** dmowrer has quit IRC | 21:02 | |
*** dmowrer has joined #openstack-zaqar | 21:03 | |
*** achanda has joined #openstack-zaqar | 21:53 | |
flwang1 | Eva-i: o/ | 21:59 |
*** csoukup has joined #openstack-zaqar | 22:00 | |
Eva-i | flwang1: hey, I have an advice for your change https://review.openstack.org/#/c/242287/1 | 22:00 |
flwang1 | Eva-i: cool, what's that? | 22:00 |
Eva-i | flwang1: as you can see here https://github.com/openstack/zaqar/blob/master/zaqar/storage/mongodb/driver.py#L167 databases are created with explicit write concern set. And it's good. | 22:02 |
Eva-i | flwang1: but here https://github.com/openstack/zaqar/blob/master/zaqar/storage/mongodb/driver.py#L174 the other database is created without arguments | 22:03 |
flwang1 | yes, i know | 22:04 |
*** achanda has quit IRC | 22:05 | |
Eva-i | flwang1: in second case connection's (MongoClient's) write concern will be used, but we don't define connection's write concern when instantiating it | 22:05 |
Eva-i | flwang1: so I think we need either to create all databases by using connection.get_database() with passing write concern, or to define write concern just for connection | 22:07 |
flwang1 | Eva-i: yep, that's what i'm going to do | 22:08 |
Eva-i | flwang1: do you agree that we don't need code that is checking connection's write concern? | 22:09 |
Eva-i | *the code | 22:09 |
flwang1 | based on the if the other way or not :) | 22:10 |
flwang1 | i haven't test, TBH | 22:10 |
flwang1 | now i'm working on a zaqar client patch, will test it later today | 22:10 |
Eva-i | flwang1: okay | 22:11 |
Eva-i | flwang1: I still think we don't need the code for checking connection's write concern in any way. Because it looks like we define variable a = 3 and then few lines later we check if a = 3. If we know that nothing is changing the variable we defined, why to check it? | 22:15 |
Eva-i | "a = 3" just simplified example | 22:15 |
flwang1 | i see and agree | 22:16 |
Eva-i | flwang1: okay, that's all I wanted to say, thanks | 22:17 |
flwang1 | excellent, thanks for your input | 22:19 |
*** achanda has joined #openstack-zaqar | 22:33 | |
*** dmowrer has quit IRC | 22:36 | |
*** dmowrer has joined #openstack-zaqar | 22:37 | |
*** dmowrer has quit IRC | 22:41 | |
*** achanda has quit IRC | 22:42 | |
*** njohnston is now known as nate_gone | 22:48 | |
*** amitgandhinz has quit IRC | 22:50 | |
*** sriram has quit IRC | 23:02 | |
*** csoukup has quit IRC | 23:15 | |
*** boris-42 has joined #openstack-zaqar | 23:32 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!