Thursday, 2017-04-13

*** yangyapeng has quit IRC00:19
*** zhurong has joined #openstack-freezer00:43
*** zhurong has quit IRC03:57
*** zhurong has joined #openstack-freezer04:16
*** grumpycatt has quit IRC05:41
*** jiaopengju has joined #openstack-freezer05:50
*** jiaopeng_ has joined #openstack-freezer05:52
*** jiaopen__ has joined #openstack-freezer05:52
*** jiaopeng_ has quit IRC05:52
*** jiaopen__ has quit IRC05:52
*** yangyapeng has joined #openstack-freezer07:06
*** daemontool has joined #openstack-freezer07:49
*** yangyapeng has quit IRC08:10
*** yangyapeng has joined #openstack-freezer08:10
*** yangyapeng has quit IRC09:10
*** vnogin has joined #openstack-freezer09:17
*** vnogin has quit IRC09:27
openstackgerrityfzhao proposed openstack/freezer master: Add Apache License Content in index.rst  https://review.openstack.org/45652609:31
*** electrofelix has joined #openstack-freezer09:39
*** vnogin has joined #openstack-freezer09:45
*** vnogin has quit IRC09:50
openstackgerritDmitry Stepanenko proposed openstack/freezer-api master: Implement migrations and config opts for oslo.db  https://review.openstack.org/45211509:50
*** vnogin has joined #openstack-freezer09:50
*** zhurong has quit IRC10:17
*** daemontool_ has joined #openstack-freezer10:24
*** jiaopengju has quit IRC10:24
*** daemontool has quit IRC10:26
*** zhurong has joined #openstack-freezer10:45
openstackgerrithoward lee proposed openstack/freezer master: Fix job stop info log print duplicately  https://review.openstack.org/45656311:13
*** vnogin has quit IRC12:18
*** daemontool__ has joined #openstack-freezer12:43
*** vnogin has joined #openstack-freezer12:45
*** daemontool_ has quit IRC12:46
*** catintheroof has joined #openstack-freezer13:44
*** catintheroof has quit IRC13:45
*** catintheroof has joined #openstack-freezer13:45
*** catintheroof has quit IRC13:50
*** catintheroof has joined #openstack-freezer13:51
*** zhurong has quit IRC13:57
*** mnaser has joined #openstack-freezer13:59
mnaserhey folks!  we are in the process of deploying freezer and so far everything is great except for a tiny issue that im trying to troubleshoot13:59
szaherHello Guys14:00
mnaserbackups work ok (sent to swift)14:00
szaherFreezer Meeting ?14:00
mnaseri think thats in 2 hours szaher , its 2 pm gmt right now, it says it starts at 414:00
mnaseranyways, restores are having issues -- SSLError: [SSL: DECRYPTION_FAILED_OR_BAD_RECORD_MAC] decryption failed or bad record mac (_ssl.c:1750) -- i tried to do as much research as i can but i haven't gotten much14:01
szaherslashme m3m0 raliev daemontool__ vnogin  dstepanenko freezer meeting in #openstack-meeting-alt14:01
szahermnaser: Hi14:01
szaherNo it's 2 GMT14:01
szaherwhere did you find it 4 gmt ?14:01
mnaser"IRC weekly meeting on #openstack-freezer recurring every  Thursday start 4:00 PM - end 5:00 PM GMT "14:01
mnaserin the topic14:01
szahermnaser: oh sorry for that but you might need to check the official wiki page14:03
mnaserszaher no worries, be useful to have someone update the topic but all good :)14:04
szahermnaser: you can join the meeting in #openstack-meeting-alt14:04
*** yangyapeng has joined #openstack-freezer14:08
*** daemontool__ has quit IRC14:41
*** catintheroof has quit IRC14:52
*** catintheroof has joined #openstack-freezer14:52
mnaserok so two things15:01
mnaseri filed this a few days ago15:01
mnaserhttps://bugs.launchpad.net/freezer/+bug/168193115:01
openstackLaunchpad bug 1681931 in Freezer "Manage utility failing against cluster" [Undecided,New]15:01
mnaseri think https://github.com/openstack/freezer-api/blob/4.0.0/freezer_api/cmd/manage.py#L123 should be driver.get_options()15:02
mnaserbecause the get_options in here https://github.com/openstack/freezer-api/blob/4.0.0/freezer_api/storage/driver.py#L75-L89 does split the hosts15:02
mnaserso you either copy and paste things (or point towards it)15:03
mnaseri can send a quick patch for that if we're okay with pointing it to driver.get_options()15:03
szahermnaser: This is for master branch ?15:04
mnaseryeah problem exists in master too15:04
mnaseroh15:04
mnasersorry15:04
mnaserit doesnt15:04
mnaseractually, ugh, it does15:04
mnaserhttps://github.com/openstack/freezer-api/blob/master/freezer_api/cmd/manage.py#L130-L13115:04
*** yangyapeng has quit IRC15:05
mnaser(brb reboot)15:05
*** yangyapeng has joined #openstack-freezer15:06
*** vnogin has quit IRC15:11
mnaserok but the bigger problem right now is restores fail15:16
mnaserhttp://paste.openstack.org/show/606460/15:16
mnaserthis is against a swift cluster that runs ssl15:16
mnaserlayer 0 gets downloaded but layer 1 fails with this15:17
*** vnogin has joined #openstack-freezer15:18
szahermnaser: Can you get the full error message15:23
szaher?15:23
mnaserszaher let me scrub it out of any private things15:26
*** catintheroof has quit IRC15:27
*** yangyapeng has quit IRC15:27
*** catintheroof has joined #openstack-freezer15:27
*** catintheroof has quit IRC15:27
mnaserszaher http://paste.openstack.org/show/606469/15:28
szahermnaser: which branch is this one ? How did you pass the cert to freezer ?15:39
mnaserszaher never pass cert anywhere15:39
*** jiaopengju has joined #openstack-freezer15:42
mnaserszaher the cert is actually a signed valid cert - https://object-storage-ca-ymq-1.vexxhost.net/15:47
*** Ananya26 has joined #openstack-freezer15:50
*** Ananya26 has quit IRC16:01
szahermnaser: I can't get what this has to do with elasticsearch ?16:18
szahermnaser: for https://bugs.launchpad.net/freezer/+bug/1681931 it looks like it can be fixed with the split as you mentioned16:20
openstackLaunchpad bug 1681931 in Freezer "Manage utility failing against cluster" [Undecided,New]16:20
*** openstack has joined #openstack-freezer16:35
*** catintheroof has joined #openstack-freezer16:36
*** vnogin has quit IRC16:44
*** catintheroof has quit IRC16:44
*** vnogin has joined #openstack-freezer17:42
*** vnogin has quit IRC17:47
*** electrofelix has quit IRC18:05
*** vnogin has joined #openstack-freezer18:09
mnaserwoo18:19
mnaseri found the cryptic bug!18:19
mnaserswiftclient is not threadsafe18:19
mnaserdoing ssl in multiprocess can make weird things happen18:19
mnaserso it looks like the swift client is shared and when running a restore + ssl things break!18:19
vnoginwow18:21
vnogincreate bug please18:21
mnaseryeah i will do that18:22
mnaserthat was the cause of this proble,m18:22
mnaserhttp://paste.openstack.org/show/606469/18:22
mnaseros_clients.swift() would give you a single instance of swift18:22
mnaserso in multiprocess it crashes and burns18:22
mnaseri think i will move that part of the code into the storage driver so there is *per* storage instance swift instance18:22
mnaserthat way its not shared across processes18:22
mnaserholy hell that was a painful one18:23
szahermnaser: Great!19:08
szahermnaser: Did you file a bug for swift guys ? what version of swift client is it ?19:08
mnaserszaher im not sure if this is swift or freezer, based on my research, the 'bug' bubbles up from python requests19:09
mnaserand the folks there pretty much said: ssl in multithread/process is unsafe, dont do it19:09
mnaserhttps://github.com/kennethreitz/requests/issues/190619:10
mnaservery long discussion hter19:10
szaherhmmm, Ok let me take a look19:10
openstackgerritMohammed Naser proposed openstack/freezer-api master: Allow bootstrapping against clusters and unify host options  https://review.openstack.org/45673519:13
mnaserthat's for the freezer-api fix ^ and now ill file a bug for the ssl19:13
openstackgerritMohammed Naser proposed openstack/freezer-api master: Allow bootstrapping against clusters and unify host options  https://review.openstack.org/45673519:14
mnaserszaher https://bugs.launchpad.net/freezer/+bug/168260619:21
openstackLaunchpad bug 1682606 in OpenStack Backup/Restore and DR (Freezer) "Swift restores fail from SSL endpoints" [Undecided,New] - Assigned to Mohammed Naser (mnaser)19:21
mnasertracking issue here19:21
mnaseroh look at that19:32
mnaserhttps://bugs.launchpad.net/freezer/+bug/156339719:32
openstackLaunchpad bug 1563397 in Freezer "SSLError during swift incremental restore" [Undecided,Fix released]19:32
*** vnogin has quit IRC20:02
*** vnogin has joined #openstack-freezer20:03
openstackgerritMohammed Naser proposed openstack/freezer master: Force Swift storage driver to always get a new client  https://review.openstack.org/45675820:55
mnaserthere we go20:55
mnaserall done and fixed up20:55
*** vnogin has quit IRC21:00
*** vnogin has joined #openstack-freezer21:01
*** vnogin has quit IRC21:38

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