Thursday, 2015-10-29

*** openstackgerrit has quit IRC00:01
*** openstackgerrit has joined #openstack-freezer00:02
*** reldan has quit IRC00:17
*** jonaspf has joined #openstack-freezer00:25
*** arunb has quit IRC00:32
*** jonaspf has quit IRC01:06
*** jonaspf has joined #openstack-freezer01:13
*** jonaspf has quit IRC01:27
*** jonaspf has joined #openstack-freezer02:03
*** jonaspf has quit IRC02:18
*** jonaspf has joined #openstack-freezer02:32
*** jonaspf has quit IRC02:46
*** jonaspf has joined #openstack-freezer02:57
*** jonaspf has quit IRC03:12
*** jonaspf has joined #openstack-freezer03:13
*** Yitao has joined #openstack-freezer03:17
YitaoHelop03:18
*** Yitao has quit IRC03:18
*** jonaspf has quit IRC03:27
*** jonaspf has joined #openstack-freezer03:31
*** jonaspf has quit IRC03:47
*** jonaspf has joined #openstack-freezer04:08
*** jonaspf has quit IRC04:23
*** jonaspf has joined #openstack-freezer04:48
*** jonaspf has quit IRC05:16
*** jonaspf has joined #openstack-freezer05:20
*** jonaspf has quit IRC06:48
*** jonaspf has joined #openstack-freezer06:49
*** jonaspf has quit IRC07:04
*** jonaspf has joined #openstack-freezer07:10
*** jonaspf has quit IRC08:08
*** jonaspf has joined #openstack-freezer08:22
*** jonaspf has quit IRC08:40
*** jonaspf has joined #openstack-freezer08:56
*** jonaspf has quit IRC09:12
*** jonaspf has joined #openstack-freezer09:25
*** marzif has joined #openstack-freezer10:29
*** jonaspf has quit IRC11:12
*** jonaspf has joined #openstack-freezer11:13
*** reldan has joined #openstack-freezer11:35
*** marzif has quit IRC11:40
*** reldan has quit IRC11:56
*** reldan has joined #openstack-freezer12:13
*** jonaspf has quit IRC12:27
*** marzif has joined #openstack-freezer12:51
*** marzif_ has joined #openstack-freezer13:03
*** marzif has quit IRC13:04
*** marzif_ has quit IRC13:08
*** marzif_ has joined #openstack-freezer13:09
*** jonaspf has joined #openstack-freezer13:13
*** reldan has quit IRC13:15
*** reldan has joined #openstack-freezer13:22
openstackgerritMerged openstack/freezer: Fix nova backup  https://review.openstack.org/23896914:05
openstackgerritFabrizio Vanni proposed openstack/freezer: Fixed bug on requierments and deps  https://review.openstack.org/23893314:27
openstackgerritFabrizio Vanni proposed openstack/freezer: Improved freezerc and freezer-agent script management  https://review.openstack.org/23894014:35
openstackgerritMemo Garcia proposed openstack/freezer: Fixed tar command for windows  https://review.openstack.org/23993214:41
*** jonaspf has quit IRC14:50
*** dschroeder has joined #openstack-freezer15:07
*** jonaspf has joined #openstack-freezer15:08
openstackgerritMemo Garcia proposed openstack/freezer: Fixed tar command for windows  https://review.openstack.org/23993215:33
*** jonaspf has quit IRC15:51
openstackgerritMemo Garcia proposed openstack/freezer: Fixed tar command for windows  https://review.openstack.org/23993215:52
marzif_here: in 5 min we'll start the weekly meeting. Chairman: vannif16:00
*** marzif_ has quit IRC16:00
*** marzif_ has joined #openstack-freezer16:00
*** jonaspf has joined #openstack-freezer16:03
vannif#startmeeting 2015-10-2916:05
freezerBot`Meeting started Thu Oct 29 16:05:19 2015 UTC and is due to finish in 60 minutes.  The chair is vannif. Information about MeetBot at http://wiki.debian.org/MeetBot.16:05
freezerBot`Useful Commands: #action #agreed #help #info #idea #link #topic #startvote.16:05
freezerBot`The meeting name has been set to '2015_10_29'16:05
openstackMeeting started Thu Oct 29 16:05:19 2015 UTC and is due to finish in 60 minutes.  The chair is vannif. Information about MeetBot at http://wiki.debian.org/MeetBot.16:05
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.16:05
openstackThe meeting name has been set to '2015_10_29'16:05
vannifhello everyone16:05
marzif_hello :)16:05
vannifshall we begin ?16:06
marzif_yep16:06
vannifmarzif, please start16:06
marzif_I've been working on https://review.openstack.org/#/c/238940/ and https://review.openstack.org/#/c/238933/16:06
marzif_mainly on improving pbr support and requirements and still have the agent work on windows too (also with m3m0  code)16:07
marzif_so now are installing before the setup() in setup.py the pre requirements16:08
marzif_as advised in the pbr doc16:08
marzif_well more then work on windows, that code allows the agent to be installed on windows16:08
marzif_what really make the agent work is m3m0  code16:08
marzif_also I've been doing few code reviews16:09
marzif_I hope we can finish by tomorrow the dvsm integration job and restart working the block based incremental backups16:09
vannifso, we're introducing the freezer-agent in place of the freezerc script16:09
marzif_one nice things also we submitted for the big tent here: https://review.openstack.org/#/c/239668/16:10
vannifthat is simply a kind of alias, right ?16:10
marzif_we are using both now16:10
marzif_they are alias16:10
marzif_yes16:10
*** marzif_ has quit IRC16:10
*** marzif_ has joined #openstack-freezer16:11
vannifbut in the future the plan is to have the freezer-agent to be incompatible from the point of view of the command line options16:11
marzif_I got disconnected sorry...16:11
marzif_the plan would be to remove the freezerc16:11
marzif_and use only the freezer-agent with config files16:11
marzif_we need to write a blueprint for that16:11
marzif_or add a specs16:12
marzif_I think we can have a point of discussion on the wiki16:12
marzif_https://wiki.openstack.org/wiki/Freezer16:12
marzif_all are encouraged to improve/modify that16:12
marzif_and also we have a manifesto available here https://etherpad.openstack.org/p/freezer-manifesto please improve as you think would be better16:13
vannifgood point16:14
marzif_this is quite all the tasks I've been working in the last week16:14
vannifwe definitely need to close the dvsm integration jobs, too16:15
marzif_yep16:15
vannifgood. thank you16:16
marzif_: )16:16
vannifreldan ?16:16
marzif_ah... one last thing...16:16
marzif_Saturday there's a new release planned of freezer16:17
marzif_on pypi16:17
marzif_and branch on git16:17
marzif_so we should try to send our changes in by EOD tomorrow16:17
m3m0is the code stable enough for pypi?16:18
vannifyes. that's why we are all involved in code reviews :)16:18
*** arunb has joined #openstack-freezer16:18
reldanOk, my turn )16:18
reldanChunk size for swift and fix for nova backups are merged now. I’m working on cinder backups. And going to send a pull request today or tomorrow.16:18
marzif_well, the only way to know... is by adding the integration test job16:18
marzif_:)16:18
reldanProblems: 1) We need to understand how to implement nova backups with bootable disk 2) We need to have discussion about new version of config (for parallel backups) in client16:20
vannifWe have some manual integration tests. They don't cover completely *all* the features, but the most important yes. automating the tests is the current effort on the testing side16:20
vannifsorry reldan, please go on16:20
reldanIt’s ok )16:20
marzif_reldan, feel free to create a subsection in the wiki to propose that if you want16:21
vannifyes relda. As marzif suggested, we can also start and share the discussion on the wiki, with an example config file for example16:22
reldanOk. I can create two blueprints and send it on your review.16:22
vannifwhen sections and options make sense, we can write some tests and then continue with the implementation ;)16:22
reldanAnd I know that we would like to migrate our config to oslo.config16:23
reldanSo our changes will be atop of oslo.config integration?16:23
reldanOk, I can describe everything in my blueprints16:24
vannifyes. the idea is that. and also split the freezer-scheduler from the freezerclient, which should use cliff and act only as an interface to the freezer-api16:24
reldanIn this case we should understand “depends on” relations between these improvements16:25
marzif_+116:25
reldanBut you are right, let me write everything in blueprint. I can also create issues or question list there16:26
reldanI also should write integration tests on nova and cinder backup16:26
vannifmaybe we can work on the freezer-agent to fully support any new feature, and leave the freezerc with support for a reduced set of features16:26
vannifI think that's the point of having both freezerc and freezer-agent around for some time16:27
reldanSo action plan for me: 1) Cinder backup fixes 2) Blueprints for nova bootable disk backup problem and parallel backup config 3) Integration tests for nova and cinder backup16:27
reldanLet’s discuss. I actually have no strong opinion how to do changes with configuration16:28
reldanit’s seems to be all from my side16:28
vannifthanks reldan. great job, btw16:29
reldanThank you vannif !16:29
vannifon my side.16:29
vannifnothing particularly relevant. code reviews, a (kind of) fix for the initialization of the elasticsearch index to support replicas16:30
vannifhttps://review.openstack.org/#/c/239880/16:30
marzif_vannif, <subliminal/*devstack integration gate job*/subliminal>16:32
marzif_:)16:32
vannifnew code to support editing of actions in the api is not complete. It adds knowledge of jobs to the api, which has been treating jobs as opaque document until now16:32
vannifahahhah16:32
vannifyes16:32
vannifI have to focus more on the dvsm integration tests.16:32
vannifsorry guys .. I have to switch to integ tests ... now16:32
vannifahah16:32
vannifI'm joking16:32
marzif_lol16:32
marzif_not a bad joke :)16:33
vannifwell. that's all for me.16:33
vannifm3m0 ?16:33
m3m0sup16:33
m3m0I've been working on the ui mostly16:33
m3m0on internal improvements to reduce the amount of code and have better resiliency16:34
m3m0I'm implementing react js in some of the modal windows to improve usability but this is a experiment (because I'm learning react)16:35
m3m0on the other side of business the freezer-agent on windows is working16:36
m3m0with all the new changes16:36
m3m0and I'm currently implementing the scheduler as well16:36
m3m0that's it for me16:36
vannifare the fs snapshots being managed correctly ?16:36
vannifin case of errors, in particular16:36
marzif_good question....16:36
m3m0I've been trying to recreate the error that I had where the snapshot wasn't remove while the agent fails16:38
m3m0but the latest experiments that I did the snapshot was removed correctly16:39
m3m0and I had to change the default value for snapshot in the arguments to be False16:40
reldanbut you are right m3m0, always can imagine a forced closing of freezer in the middle of doing backup16:40
reldanAnd it can cause for example blocking mysql16:40
m3m0the try: finally: should be enough for this cases16:41
reldanwe have made a flush and stop transactions and then by some reason our process is killed16:41
reldanYes, but not in case of process killing16:42
m3m0good point16:43
vannifthe unlock of the mysql is in a "finally" statement16:43
vannifyes16:43
reldanI know that the probability isn’t big enought16:43
vannifeven the finally statement needs to be carefully analyzed. pitfalls can show up unexpectedly16:43
reldanAnd can be solved only be having some sort of watch dog16:43
reldanThat can detect a failure of freezerc16:44
m3m0does anyone know any sql server "expert"16:44
reldanyou?16:44
marzif_yes, one guy called m3m016:44
*** mini has joined #openstack-freezer16:44
m3m0hahaha I'm just a very handsome guy16:45
reldan:)16:45
vannifwell ... process killing ... we can make the process "difficult" to be killed. but in the end, if the user intentionally disrupts the process ...16:45
reldanIt can take too much memory and be killed by os16:45
reldanlet’s say we have wrong chunk_size parameter16:45
m3m0or the process can be unresponsive16:46
m3m0that happens a lot on windows at least :P16:46
vannifso, the idea could be to have a watchdog process to andle the killing and unlocking the db ?16:47
reldanYes, but we should have different watchdogs for windows and linux ))16:47
m3m0I don't like the idea16:47
vannifI think we can delay that to a later stage, only if the problem arises16:47
vannifI'm used to watchdogs in electronics, but at the moment, I'd say not to mess with convoluted solutions16:48
m3m0we are adding more and more complexity in each iteration16:49
vannifyes16:49
reldanOk ) but we still can have garbage after the run16:49
vannifand then ... who watches the watchdog ? :)16:49
reldanlvm snapshot16:49
reldanwe can place it to initd16:49
m3m0a watchcat16:49
reldan))16:49
reldanOk, sorry16:49
vannifleaving a lvm snapshot around is not a tremendous problem.16:50
vannifforgetting to unlock the db is much worse :)16:50
reldanYou know16:51
reldanwe can have something like log16:51
reldanOr distributed log16:51
reldanSo we can see - ok we have server5 and it blocked the database16:51
reldanand don’t response already 10 minutes16:51
reldanso probably it should trigger alert16:52
m3m0can we do the blocking in a commit rollback scenario?16:52
marzif_in linux, with pymysql the db is unlocked automatically when the process exits, so if the python process crash the dh is unlocked16:52
marzif_but we need to test that more I think16:52
marzif_that should work the same also for windows as we are using the same module16:53
vannifyes. let's keep it simple for now, improving testing16:55
vanniflet's say the idea of "heartbeats" and watchdogs is on-hold.16:55
vannifis that all m3m0 ?16:55
m3m0yep, that's all from my side16:56
vannifthanks16:56
vanniffederico, are you there ? do you want to say something on your side ?16:57
marzif_federico3, ^^16:57
vanniflike lupinIII, sorry :)16:58
vannifwell. I think that's all17:03
vannifthank you everyone17:04
vannif#endmeeting17:04
freezerBot`Meeting ended Thu Oct 29 17:04:22 2015 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)17:04
freezerBot`Minutes:        http://meetbot.stefanocanepa.it/freezer/openstack-freezer/2015/openstack-freezer.2015-10-29-16.05.html17:04
freezerBot`Minutes (text): http://meetbot.stefanocanepa.it/freezer/openstack-freezer/2015/openstack-freezer.2015-10-29-16.05.txt17:04
freezerBot`Log:            http://meetbot.stefanocanepa.it/freezer/openstack-freezer/2015/openstack-freezer.2015-10-29-16.05.log.html17:04
openstackMeeting ended Thu Oct 29 17:04:22 2015 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)17:04
openstackMinutes:        http://eavesdrop.openstack.org/meetings/2015_10_29/2015/2015_10_29.2015-10-29-16.05.html17:04
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/2015_10_29/2015/2015_10_29.2015-10-29-16.05.txt17:04
openstackLog:            http://eavesdrop.openstack.org/meetings/2015_10_29/2015/2015_10_29.2015-10-29-16.05.log.html17:04
marzif_thanks vannif17:04
federico3vannif: regarding the watchdog and table unlocking?17:04
Slashme_One last thing.17:05
Slashme_We are choosing the name for freezer devs, here is a survey to help in the process. Feel free to vote :) (updated with suggestions for those who already voted)17:05
Slashme_https://www.surveymonkey.com/r/9VHG8ZK17:05
vannifsorry, federico3, we approached the 1 hour meeting :)17:05
vannifI thought you were afk17:06
federico3(if that was the question, I always upvote simple watchdog processes)17:06
marzif_federico3, ok17:08
vannifwatchdog, good. could be simpler than expected. and efficient17:08
marzif_vannif,  let's write a bp or wiki for it17:08
marzif_so we can discuss on it17:08
marzif_I remember about timeout for tables locks...17:10
marzif_we should find a way where even if the node where the agent is running crush (i.e. like everything but not the db) the table can be still unlocked17:11
marzif_I remember clearly that with mysqldb module that was the case..17:11
marzif_but then we switched to pymysql for portability17:11
marzif_and I'm not sure if that's still the case...17:11
marzif_we need to do some test....17:11
marzif_it's importnat...17:11
*** reldan has quit IRC17:12
vannifwhat should be the responsibilities of the watchdog/supervisor ? just close or do something more, like releasing snapshots ... in that case it should know more than the simple pid of the monitored process17:12
*** mini has quit IRC17:14
marzif_if we could find a way to do that within the same freezer-agent session I think it would be easier... like when the agent start, if there's already a snapshot name mounted that match with that backup settings, remove it if another agent process is not running...17:15
marzif_just a thought....17:15
marzif_not sure if it is easy with a watchdog or from the backup sessions process17:16
marzif_it's an interesting conversation17:16
*** reldan has joined #openstack-freezer17:17
szaherall: are we going to merge this patch soon https://review.openstack.org/#/c/238940/ ?17:20
szaherImproved freezerc and freezer-agent script management17:20
*** mini has joined #openstack-freezer17:22
*** marzif_ has quit IRC17:31
*** marzif_ has joined #openstack-freezer17:34
*** mini has quit IRC17:43
*** mini has joined #openstack-freezer17:44
*** reldan has quit IRC18:00
*** marzif_ has quit IRC18:02
*** marzif_ has joined #openstack-freezer18:03
*** reldan has joined #openstack-freezer18:12
daemontool_szaher,  yes18:15
*** marzif_ has quit IRC18:16
openstackgerritMerged openstack/freezer: Add some FAQ items  https://review.openstack.org/23965818:26
*** jonaspf has quit IRC18:50
*** jonaspf has joined #openstack-freezer19:06
szaherthanks daemontool_ I will be waiting for that19:12
*** marzif_ has joined #openstack-freezer19:14
*** jonaspf has quit IRC19:21
*** jonaspf has joined #openstack-freezer19:21
*** reldan has quit IRC19:29
*** marzif_ has quit IRC19:33
*** jonaspf has quit IRC19:36
*** reldan has joined #openstack-freezer19:58
*** jonaspf has joined #openstack-freezer20:07
*** marzif_ has joined #openstack-freezer20:22
*** jonaspf has quit IRC20:22
*** marzif__ has joined #openstack-freezer20:26
*** marzif_ has quit IRC20:26
*** jonaspf has joined #openstack-freezer20:52
*** marzif__ has quit IRC21:07
*** jonaspf has quit IRC21:12
*** marzif__ has joined #openstack-freezer22:06
*** reldan has quit IRC22:12
*** reldan has joined #openstack-freezer22:12
*** marzif__ has quit IRC22:20
*** reldan has quit IRC22:27
*** reldan has joined #openstack-freezer22:30
*** jonaspf has joined #openstack-freezer22:56
*** marzif__ has joined #openstack-freezer23:07
*** jonaspf has quit IRC23:22
*** marzif__ has quit IRC23:28
*** dschroeder has quit IRC23:31
*** reldan has quit IRC23:31
*** jonaspf has joined #openstack-freezer23:37
*** jonaspf has quit IRC23:52

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