Monday, 2016-04-04

*** daemontool has joined #openstack-freezer06:24
daemontoolmorning06:28
*** kelepirci has joined #openstack-freezer07:06
*** reldan has joined #openstack-freezer07:28
*** reldan has quit IRC07:36
*** reldan has joined #openstack-freezer08:09
daemontoolreldan, ping08:12
daemontoolsorry brb08:12
reldandaemontool: Hi dude. How are you?08:13
*** daemontool_ has joined #openstack-freezer08:13
daemontool_all, so we need to set also --incremental-engine for the restore08:14
reldandaemontool_:  Hi dude. How are you?08:14
daemontool_all good :)08:14
daemontool_otherwise there's not way to know it08:15
reldanYes, now we need to have such parameter08:15
daemontool_and also08:15
reldanYou are right08:15
daemontool_prepend rsync or tar08:15
daemontool_at the beginning08:15
daemontool_cause otherwise the agent doesn't know08:15
daemontool_which one to take08:15
reldanYes, you are right08:15
reldanAnd the same for restore08:15
daemontool_reldan,  basically what you were saying Fri08:16
daemontool_:)08:16
daemontool_yes08:16
daemontool_I didn't got that when you saw it08:16
daemontool_but when I was doing the implementation I realized08:16
daemontool_slashme, ^^08:16
reldanYou know. For restore we can actually add additional feature08:16
reldanLike let’s call il file-based restore08:16
reldanIn this case we can scan all rsync and tar backups08:17
daemontool_yes08:17
reldanThen select needed one08:17
reldanAnd after that initialize incremental-engine08:17
*** daemontool has quit IRC08:17
reldanBut let’s say for incremental backup - we should search only the same engne backups08:17
daemontool_yes08:18
daemontool_also in that way we can have reusable08:18
daemontool_code08:18
daemontool_for incrementals read from streams08:18
daemontool_or from file system08:18
reldanYes, yes should be that way08:19
daemontool_but let'd to things in steps08:19
daemontool_as the rsync for local fs is already quite complex08:20
reldanYou are right. How is your rsync engine? Still have a lot of stuff to complete?08:21
daemontool_https://review.openstack.org/#/c/290461/08:21
daemontool_the backup is probaly 90% completed, it works08:21
daemontool_the restore doesn't work08:22
daemontool_I'm working on it08:22
daemontool_test it if you want08:22
daemontool_but I have 1 problem with the backup08:22
daemontool_I have to solve08:22
daemontool_the incremental is taken from level 0 and not from previous level08:22
reldanOh, interesting08:23
daemontool_as soon the restore is fixed08:24
daemontool_I'll focus on that issue08:25
daemontool_but if you want to review/test in the meantime08:25
daemontool_yw :)08:25
reldanThank you :)08:25
reldandaemontool_: I had really bad weekend :) I sent my passport for re-entry visa and they lost my passport, registration card and money for issuing visa08:25
reldandaemontool_: And russians were able to restore my passport in 3 months, I have to pay fine and fee. And then I need to get my registration card for 300 euro, then send again for re-entry visa08:27
reldandaemontool_: But I just have received message that they found it. And now I’m very glad :)08:27
daemontool_ah... frack08:33
daemontool_ah fantastic08:33
daemontool_:)08:34
daemontool_those things are pain in the butt08:34
daemontool_please approve this Katarzyna Senczyna08:37
daemontool_ooops08:37
daemontool_sorry08:37
daemontool_https://review.openstack.org/#/c/296034/08:37
*** ccesario has quit IRC08:57
*** ccesario has joined #openstack-freezer08:57
*** EinstCrazy has joined #openstack-freezer09:01
*** reldan has quit IRC09:09
*** reldan has joined #openstack-freezer09:18
openstackgerritSaad Zaher proposed openstack/freezer-api: Switch Freezer-api to oslo.config and oslo.log  https://review.openstack.org/29522009:43
*** vannif has quit IRC09:47
slashmereldan: very good news :) :)09:48
reldanslashme: Yes, but last Friday they just said me, we cannot find your envelope, so we can give you a letter that we lost it. And it is all.09:48
reldanI regret to inform you that I have had an intensive search carried out for09:49
reldanyour passport and unfortunately we were unable to locate it.  Could you09:49
reldanring me at the telephone number below to make arrangements for the issue of09:49
reldana new passport.  We can provide a letter stating it was lost in the09:49
reldanDepartment and refund the fee for the passport.09:49
daemontool_bad week end :)09:50
slashmehttps://review.openstack.org/#/c/299567/ This is waiting for a +A ;010:00
*** vannif has joined #openstack-freezer10:00
slashme;)10:00
slashmedaemontool_: If you have any insight on why this one fails: https://review.openstack.org/#/c/298895/ I think it would be good to fix Kilo even if it'll be deprecated soon. This was a pretty bas bug.10:01
daemontool_slashme,  yes, give me 30 mins10:02
reldanslashme: please check https://review.openstack.org/#/c/300075/ The stupid glance client has no public methods to create a client from username and password. So I have to use private methods, and these methods tend to change with minor version change10:04
slashmei'm testing this atm10:04
slashmewell as soon as my envmt is up10:05
reldanslashme Thank you!10:06
szaherall: let's merge this please https://review.openstack.org/#/c/295220/10:13
daemontool_szaher,  are the comments from vannif  addressed for https://review.openstack.org/#/c/295220/ ?10:14
szaherdaemontool_: Yes10:22
jokke_reldan: so is there _any_ excuse to not get that token from keystone before using the glanceclient?10:25
reldanjokke_: Example on their site dosn’t work. All clients except glance allows to create client without token. Glance allows to but in private methods.10:28
jokke_reldan: you're hacking to use gc internal functions from the shell, to get it do that token fetch for you which is otterly stupid approach for the same resons you mentioned yourself (they tend to change)10:29
reldanjokke_: Yes, I just don’t understand why I should write already written code10:29
jokke_reldan: again, is there any excuse not to do it right?10:29
reldanYes, don’t write already written code10:30
jokke_reldan: so why do you then get the new token for every client you create on that block of code instead of pulling the token once and creating all clients with that?10:32
jokke_when the clients needs that token anyways10:32
reldanProbably, you are right. What I need, I need a function that gets my credentials and able to produce as many clients as I want10:34
reldanDo you know, do OpenStack clients have such factory?10:35
jokke_reldan: the clients have been moving towards keystone sessions to make that management reasonable10:36
jokke_so if you create session in that client manager (and refresh it if needed) you can pass that keystone session to the clients and avoid every client calling to keystone and creating new one for the same user10:37
slashmeThat'd be nice10:38
jokke_http://docs.openstack.org/developer/python-keystoneclient/using-sessions.html10:38
reldanProbably you are right, but cinderclient offers me create client by password http://docs.openstack.org/developer/python-cinderclient/10:40
reldanin client they have proxy_token=None,10:40
reldanwhat the hell is proxy_token10:40
reldanFor glance I need OS_IMAGE_ENDPOINT. http://docs.openstack.org/developer/python-glanceclient/10:43
reldanAnd probably yes, it is better to have one token and login everywhere. But clients written in a very poor style, each client requires different arguments, they don’t share a common architecture10:43
jokke_reldan: in cinderclient _construct_http_client takes session parameter, but so far I have not found how to pass session to it when crating the client, which is shait10:46
jokke_reldan: moving ot the keystone session object is exactly for that (see my link above)10:47
jokke_reldan: sad but not surprised that it doesn't seem to be merged in cinderclient yet10:47
*** openstackgerrit has quit IRC10:48
*** openstackgerrit has joined #openstack-freezer10:48
reldanjokke_: So yes, you are 100% right. Probably I should rewrite everything to session. But I suppose it is common problem, everyont who uses more than one client need this part of code10:49
jokke_reldan: yes, that's why it's supposed to be done wiith keystoneclient rather than individual clients :P10:49
openstackgerritMerged openstack/freezer-api: Switch Freezer-api to oslo.config and oslo.log  https://review.openstack.org/29522010:50
jokke_uuuh already ^^ :P10:51
openstackgerritEldar Nugaev proposed openstack/freezer: Fix bug with incremental cinderbackup  https://review.openstack.org/30103110:53
reldanjokke_: Ok, let’s me try to use sessions instead10:54
reldanjokke_: session.Session(auth=auth) is deprecated now10:55
jokke_humm-m what did I miss10:56
reldan'keystoneclient.session.Session is deprecated as of the 2.1.0 '10:57
reldan            'release in favor of keystoneauth1.session.Session. It will be '10:57
reldan            'removed in future releases.',10:57
*** reldan has quit IRC11:02
jokke_http://docs.openstack.org/developer/keystoneauth/using-sessions.html11:03
jokke_seems that they are splitting the lib11:03
openstackgerritMerged openstack/freezer: Adding the freezer logo to the README  https://review.openstack.org/29956711:09
jokke_there is some refactoring done, but the session looks pretty much the same11:09
*** kelepirci_ has joined #openstack-freezer11:10
*** kelepirci has quit IRC11:13
*** reldan has joined #openstack-freezer11:14
openstackgerritSaad Zaher proposed openstack/freezer-api: Adding storage, keystone_authtoken sections to sample config  https://review.openstack.org/30105311:20
*** frescof has joined #openstack-freezer11:29
reldanjokke_: Just too much to copy-paste from cinderclient11:41
reldanit is easier to specify exact version in settings11:41
openstackgerritSaad Zaher proposed openstack/freezer-api: Adding storage, keystone_authtoken sections to sample config  https://review.openstack.org/30105311:44
*** EinstCrazy has quit IRC11:50
openstackgerritSaad Zaher proposed openstack/freezer-api: Adding storage, keystone_authtoken sections to sample config  https://review.openstack.org/30105312:41
*** kelepirci_ has quit IRC13:05
*** kelepirci has joined #openstack-freezer13:06
kelepircihi all13:07
kelepirciI am getting following error from jenkins:13:07
kelepirciPatch in Merge Conflict13:07
slashmeHi kelepirci13:07
slashmeWitch change ?13:07
kelepircithis one: https://review.openstack.org/#/c/296448/13:08
* slashme is taking a look13:10
openstackgerritPierre Mathieu proposed openstack/freezer: New Better & Well Formatted Docs with Sphinx  https://review.openstack.org/29644813:15
slashmeIt was conflicting with last patch we did on the README (adding the logo). I uploaded a new patchset. It should be okay now.13:16
slashmeThere is two ways of dealing with merge conflict:13:16
slashme1: - from your change : git fetch --all and git rebase master13:20
slashme2: git checkout master and git cherry-pick <your change>13:20
slashmeIn both case, you need to fix the merge-failure manualy (you can use git status to know where it is) and the finish with git add <file you fixed> and either git rebase --continue (if 1) or git cherry-pick --continue (if 2) and finaly git review13:20
slashme13:20
slashmeHope that helps13:20
kelepircithx slashme it was very helpfull13:28
kelepirciso we have a freezer logo13:29
kelepirciI was planning to make one13:29
kelepircithe logo is nive13:30
kelepircinice13:30
slashmeGlad you like it13:32
szaherhttps://review.openstack.org/#/c/301053/ plz merge this one to finalize the oslo stuff13:40
*** ddieterly has joined #openstack-freezer13:41
*** ddieterly has quit IRC13:42
*** ddieterly has joined #openstack-freezer13:45
*** ddieterly has quit IRC13:46
*** ddieterly has joined #openstack-freezer13:46
*** ddieterly is now known as ddieterly[away]13:54
*** ddieterly[away] is now known as ddieterly13:57
*** ddieterly is now known as ddieterly[away]14:03
*** ddieterly[away] is now known as ddieterly14:11
openstackgerritDeklan Dieterly proposed openstack/freezer-api: Add Freezer API Tempest Tests  https://review.openstack.org/29736014:24
*** EinstCrazy has joined #openstack-freezer14:28
*** ddieterly is now known as ddieterly[away]15:10
*** EinstCrazy has quit IRC15:10
*** dschroeder has joined #openstack-freezer15:13
*** ddieterly[away] is now known as ddieterly15:13
*** ddieterly is now known as ddieterly[away]15:26
*** ddieterly[away] is now known as ddieterly15:28
*** ddieterly is now known as ddieterly[away]15:31
*** ddieterly[away] is now known as ddieterly15:51
*** ddieterly is now known as ddieterly[away]16:05
*** ddieterly[away] is now known as ddieterly16:07
*** ddieterly is now known as ddieterly[away]16:08
*** ddieterly[away] is now known as ddieterly16:08
*** reldan has quit IRC16:10
openstackgerritSaad Zaher proposed openstack/freezer-api: Adding storage, keystone_authtoken sections to sample config  https://review.openstack.org/30105316:18
openstackgerritDeklan Dieterly proposed openstack/freezer-api: Add Freezer API Tempest Tests  https://review.openstack.org/29736016:43
*** reldan has joined #openstack-freezer16:43
openstackgerritDeklan Dieterly proposed openstack/freezer-api: Add Freezer API Tempest Tests  https://review.openstack.org/29736016:46
*** ddieterly is now known as ddieterly[away]16:47
*** ddieterly[away] is now known as ddieterly16:52
openstackgerritDeklan Dieterly proposed openstack/freezer-api: Add Freezer API Tempest Tests  https://review.openstack.org/29736016:58
ddieterlyszaher here are the instructions for developing tempest tests17:00
ddieterlyhttps://review.openstack.org/#/c/297360/20/freezer_api/tests/freezer_api_tempest_plugin/README.rst17:00
ddieterlyyou can use those same instructions for running the tests with freezer17:01
openstackgerritDeklan Dieterly proposed openstack/freezer: Add Tempest Tests  https://review.openstack.org/30125017:10
*** ddieterly is now known as ddieterly[away]17:17
*** reldan has quit IRC17:23
*** dschroeder has left #openstack-freezer17:33
*** reldan has joined #openstack-freezer17:40
openstackgerritPierre Mathieu proposed openstack/freezer: Fixing Freezer-Agent help  https://review.openstack.org/30125917:42
*** dschroeder has joined #openstack-freezer18:03
*** ddieterly[away] is now known as ddieterly18:08
*** daemontool_ has quit IRC18:20
*** ddieterly is now known as ddieterly[away]18:35
*** ddieterly[away] is now known as ddieterly18:56
*** ddieterly is now known as ddieterly[away]20:30
*** ddieterly[away] is now known as ddieterly20:35
*** daemontool has joined #openstack-freezer21:13
ddieterlyszaher this commit broke the README file21:16
ddieterly5fa735409f8c37e80dd546542546ba4fb90de70c21:16
ddieterly--file-to-backup is no longer an accepted argument, but the documentation says it is21:16
*** ddieterly is now known as ddieterly[away]21:28
*** ddieterly[away] is now known as ddieterly21:30
*** daemontool has quit IRC21:45
openstackgerritDeklan Dieterly proposed openstack/freezer: Add Tempest Tests  https://review.openstack.org/30125022:34
*** ddieterly is now known as ddieterly[away]22:35
*** ddieterly[away] is now known as ddieterly22:59
*** ddieterly has quit IRC23:00
openstackgerritOpenStack Proposal Bot proposed openstack/freezer-api: Updated from global requirements  https://review.openstack.org/28869923:16
*** dschroeder has quit IRC23:18
*** ddieterly has joined #openstack-freezer23:33
*** ddieterly is now known as ddieterly[away]23:49

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