Wednesday, 2015-11-11

*** kgriffs|afk is now known as kgriffs00:01
*** achanda has joined #openstack-zaqar00:36
*** flwang1 has quit IRC00:58
Eva-iOkay, I figured out.01:14
openstackgerritMD NADEEM proposed openstack/python-zaqarclient: Added cli implementation for v2  https://review.openstack.org/24152301:15
openstackgerritMD NADEEM proposed openstack/python-zaqarclient: Added cli implementation for v2  https://review.openstack.org/24152301:44
*** kgriffs is now known as kgriffs|afk01:53
*** wanghao has joined #openstack-zaqar04:05
*** khushbu_ has joined #openstack-zaqar04:16
*** dmowrer has joined #openstack-zaqar04:18
*** dmowrer has quit IRC04:23
*** kgriffs|afk is now known as kgriffs04:37
*** khushbu_ has quit IRC04:58
*** achanda has quit IRC05:54
*** kgriffs is now known as kgriffs|afk06:04
openstackgerritMD NADEEM proposed openstack/python-zaqarclient: Attaching a default project_id in request header for noauth authentication backend.  https://review.openstack.org/24396906:20
*** kgriffs|afk is now known as kgriffs06:23
*** achanda has joined #openstack-zaqar06:34
*** dmowrer has joined #openstack-zaqar06:45
*** dmowrer has quit IRC06:49
*** kgriffs is now known as kgriffs|afk07:24
openstackgerritMD NADEEM proposed openstack/python-zaqarclient: Added API_VERSION for v2  https://review.openstack.org/24398507:26
*** whydidyoustealmy has joined #openstack-zaqar07:42
*** barra204 has quit IRC07:43
*** AAzza has quit IRC07:48
openstackgerritMD NADEEM proposed openstack/python-zaqarclient: Added cli implementation for v2  https://review.openstack.org/24399507:50
*** AAzza has joined #openstack-zaqar07:50
*** achanda has quit IRC07:51
*** achanda has joined #openstack-zaqar07:57
openstackgerritMD NADEEM proposed openstack/python-zaqarclient: pool & flavor cli implementation for v2  https://review.openstack.org/24399508:02
openstackgerritMD NADEEM proposed openstack/python-zaqarclient: Attaching a default project_id in request header  https://review.openstack.org/24396908:21
openstackgerritMD NADEEM proposed openstack/python-zaqarclient: Attaching a default project_id in request header  https://review.openstack.org/24396908:22
*** achanda has quit IRC08:36
*** achanda has joined #openstack-zaqar08:39
*** achanda has quit IRC08:57
*** dmowrer has joined #openstack-zaqar09:13
*** dmowrer has quit IRC09:17
*** khushbu_ has joined #openstack-zaqar10:53
*** khushbu_ has quit IRC11:11
*** szaher has joined #openstack-zaqar11:19
*** dmowrer has joined #openstack-zaqar12:08
*** khushbu_ has joined #openstack-zaqar12:15
*** khushbu_ has quit IRC12:30
*** openstackgerrit has quit IRC12:31
*** openstackgerrit has joined #openstack-zaqar12:31
*** achanda has joined #openstack-zaqar13:15
*** achanda has quit IRC13:19
*** angvp has joined #openstack-zaqar13:21
*** mpanetta has joined #openstack-zaqar13:39
*** dynarro has joined #openstack-zaqar14:04
*** khushbu_ has joined #openstack-zaqar14:11
*** sriram has joined #openstack-zaqar14:15
*** dmowrer has quit IRC14:19
*** csoukup has quit IRC14:19
*** itisha has joined #openstack-zaqar14:29
*** bradjones|away is now known as bradjones14:40
*** david-ly_ has joined #openstack-zaqar14:41
*** david-lyle has quit IRC14:42
*** dmowrer has joined #openstack-zaqar14:44
*** amitgandhinz has joined #openstack-zaqar14:47
*** szaher has quit IRC14:52
*** ametts has joined #openstack-zaqar14:54
*** szaher has joined #openstack-zaqar14:56
*** pt_15 has joined #openstack-zaqar14:57
*** khushbu_ has quit IRC14:58
*** kgriffs|afk is now known as kgriffs15:02
*** csoukup has joined #openstack-zaqar15:07
*** khushbu_ has joined #openstack-zaqar15:09
elmikohey 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
ryansbelmiko: I haven't, can you paste your local.conf ?15:42
Eva-ielmiko: you see something like that? http://paste.openstack.org/show/mp8mnYyBo8InnI8XFGJi/ =)15:42
elmikoryansb: sure thing, 1sec15:42
*** khushbu_ has quit IRC15:42
ryansbelmiko: here's mine (it works as of yesterday afternoon master)15:42
elmikoEva-i: i'm not getting the call trace, but basically yes15:42
ryansbhttp://fpaste.org/289227/25650514/15:43
elmikoryansb: mine, http://paste.openstack.org/show/478573/15:43
elmikohmm, do you need to actually enable_service on the zaqar stuff?15:44
elmiko(i thought enable_plugin did that for you)15:44
ryansbUm, I actually am not sure. This local.conf is from before zaqar was a plugin, so I just added the plugin line15:47
elmikocool15:47
Eva-ielmiko: can you please also paste your etc/mongodb.conf contents?15:47
elmikosure, 1sec15:47
elmikoEva-i: http://paste.openstack.org/show/478575/15:49
*** ametts has quit IRC15:58
*** openstackgerrit has quit IRC16:02
*** openstackgerrit has joined #openstack-zaqar16:02
*** dynarro has quit IRC16:04
*** david-ly_ is now known as david-lyle16:07
Eva-ielmiko: that's strange. Are you sure you have provided full contents of /etc/mongodb.conf without editing?16:07
elmikoyup16:09
elmikoalthough, i may have screwed up the copy-paste ;P16:09
elmikojust double checked, that it16:10
elmikoer, that's it16:10
elmikoEva-i: does it look like something is missing?16:11
*** mpanetta_ has joined #openstack-zaqar16:12
*** pt_15_ has joined #openstack-zaqar16:13
*** boris-42_ has joined #openstack-zaqar16:13
Eva-ielmiko: yes, during "post-config" phase in stack.sh execution zaqar plugin must add "smallfiles = true" line to /etc/mongodb.conf16:13
elmikohmm, interesting16:14
Eva-ielmiko: only after this phase zaqar starts16:14
elmikoEva-i: ahh, except... i am running fedora ;)16:15
Eva-ielmiko: okay16:15
Eva-ielmiko: does it mean your mongodb configuration is located in different place I suggested?16:16
*** ametts has joined #openstack-zaqar16:16
ryansbon fedora it's /etc/mongod.conf16:16
elmikoEva-i: no, it looks like plugin.sh just changes the command line option to mongod to add --smallfiles instead of changing the conf file16:16
ryansbfor "reasons"16:17
*** EmilienM has quit IRC16:17
*** pt_15 has quit IRC16:17
*** mpanetta has quit IRC16:17
*** boris-42 has quit IRC16:17
*** pt_15_ is now known as pt_1516:17
elmikowell, that, and it's modifying /etc/sysconfig/mongod instead for fedora16:17
Eva-iyes16:18
Eva-ihttps://github.com/openstack/zaqar/blob/master/devstack/plugin.sh#L21316:18
ryansboh, that also works on fedora16:18
*** EmilienM_ has joined #openstack-zaqar16:18
*** EmilienM_ is now known as EmilienM16:18
elmikoi'm trying a restack now with more debugging, we'll see what happens16:18
Eva-ielmiko: so no mongodb config is located in your system at t his path /etc/sysconfig/mongod ?16:18
elmikoEva-i: no, it's still at /etc/mongodb.conf, it just looks like zaqar uses a different methodology for adding smallfiles support on fedora16:19
*** boris-42_ is now known as boris-4216:19
elmikoinstead of changing the configuration file, it changes the way that mongod is started to use a command line option for smallfiles16:20
* Eva-i starts fedora16:22
elmikohmm, looks like i have some sort of error with my system16:25
elmikothis is in my zaqar-websocket.log http://paste.openstack.org/show/478583/16:27
elmikoi think i need to steal a line from ryansb's local.conf, PIP_UPGRADE=true16:31
ryansbyeah, that seems likely16:31
ryansbthe addition of the PortOpt is fairly recent in Zaqar16:31
ryansbnot sure how long it's been in oslocfg16:31
elmikoi didn't even know about PIP_UPGRADE16:31
ryansbyeah, it's quite well hidden in the docs16:32
elmikolol16:32
ryansblocal.conf: known also as "bash script hide and seek"16:32
elmikoyea, i really need to update it from time to time, rather than attempting to use a 1yr+ old conf file :/16:33
ryansbheh, yeah really16:39
Eva-ielmiko: 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 have16:44
elmikoEva-i: thanks for looking into it, i think i found the issue16:46
elmikoand yea, /etc/sysconfig/mongod is actually changing the way that the mongod process is started16:47
ryansbhrm. Does that mean we need to patch the devstack plugin?16:51
ryansbfwiw, works on my f22 vm16:51
elmikocool, thanks for checking ryansb16:51
elmikoi think i'm still hitting some issue...16:52
elmikodang, still getting the PortOpt not found16:52
elmikofor some reason, PIP_UPGRADE did not actually upgrade...16:54
elmikohopefully this will work, manually upgrade oslo.config16:58
elmikoryansb, Eva-i, thanks for the help, think i got this fixed.. /me crosses-fingers17:02
ryansbelmiko: no problem - let us know if it works out17:02
*** dmowrer has quit IRC17:10
Eva-iryansb: "Does that mean we need to patch the devstack plugin?". No urgent need, but we can beautify code.17:10
Eva-iryansb: we can keep debian way as it's universal.17:11
elmikohmm, so something is actively downgrading oslo.config17:15
elmikocausing zaqar to fail on the stable/liberty branch17:16
elmikoi think i need to tailor the enable_plugin line a little better17:16
elmikoso frustrating....17:16
*** dmowrer has joined #openstack-zaqar17:28
*** flwang1 has joined #openstack-zaqar17:35
*** mpanetta_ is now known as mpanetta17:43
*** achanda has joined #openstack-zaqar17:54
*** achanda has quit IRC17:58
*** flwang1 has quit IRC18:00
*** achanda has joined #openstack-zaqar18:00
*** boris-42 has quit IRC18:28
*** dmowrer has quit IRC18:49
*** dmowrer has joined #openstack-zaqar18:50
*** dmowrer has quit IRC18:54
*** achanda has quit IRC19:16
*** mpanetta has quit IRC19:21
*** flwang1 has joined #openstack-zaqar19:23
*** davideagnello has quit IRC19:29
*** davideagnello has joined #openstack-zaqar19:29
*** achanda has joined #openstack-zaqar19:34
*** davideag_ has joined #openstack-zaqar19:37
*** kgriffs is now known as kgriffs|afk19:38
*** davideagnello has quit IRC19:40
*** dmowrer has joined #openstack-zaqar19:41
*** achanda has quit IRC19:42
*** davideagnello has joined #openstack-zaqar19:42
*** davideag_ has quit IRC19:45
*** pt_15 has quit IRC19:58
*** itisha has quit IRC20:01
*** dmowrer has quit IRC20:42
*** dmowrer has joined #openstack-zaqar20:42
*** dmowrer has quit IRC20:47
*** csoukup has quit IRC20:47
*** kgriffs|afk is now known as kgriffs20:51
*** dmowrer has joined #openstack-zaqar21:00
*** dmowrer has quit IRC21:02
*** dmowrer has joined #openstack-zaqar21:03
*** achanda has joined #openstack-zaqar21:53
flwang1Eva-i: o/21:59
*** csoukup has joined #openstack-zaqar22:00
Eva-iflwang1: hey, I have an advice for your change https://review.openstack.org/#/c/242287/122:00
flwang1Eva-i: cool, what's that?22:00
Eva-iflwang1: 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-iflwang1: but here https://github.com/openstack/zaqar/blob/master/zaqar/storage/mongodb/driver.py#L174 the other database is created without arguments22:03
flwang1yes, i know22:04
*** achanda has quit IRC22:05
Eva-iflwang1: in second case connection's (MongoClient's) write concern will be used, but we don't define connection's write concern when instantiating it22:05
Eva-iflwang1: 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 connection22:07
flwang1Eva-i: yep, that's what i'm going to do22:08
Eva-iflwang1: do you agree that we don't need code that is checking connection's write concern?22:09
Eva-i*the code22:09
flwang1based on the if the other way or not :)22:10
flwang1i haven't test, TBH22:10
flwang1now i'm working on a zaqar client patch, will test it later today22:10
Eva-iflwang1: okay22:11
Eva-iflwang1: 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 example22:15
flwang1i see and agree22:16
Eva-iflwang1: okay, that's all I wanted to say, thanks22:17
flwang1excellent, thanks for your input22:19
*** achanda has joined #openstack-zaqar22:33
*** dmowrer has quit IRC22:36
*** dmowrer has joined #openstack-zaqar22:37
*** dmowrer has quit IRC22:41
*** achanda has quit IRC22:42
*** njohnston is now known as nate_gone22:48
*** amitgandhinz has quit IRC22:50
*** sriram has quit IRC23:02
*** csoukup has quit IRC23:15
*** boris-42 has joined #openstack-zaqar23:32

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