Tuesday, 2016-08-16

*** yangyapeng has quit IRC00:04
*** Suyi has quit IRC00:35
openstackgerritMerged openstack/python-manilaclient: Add snapshot instances admin CLIs  https://review.openstack.org/30444900:44
*** yangyapeng has joined #openstack-manila01:26
*** wangqun has joined #openstack-manila01:37
*** yangyape_ has joined #openstack-manila01:59
*** yangyapeng has quit IRC02:03
*** vbellur has joined #openstack-manila02:17
*** houming has joined #openstack-manila02:36
*** liyifeng has joined #openstack-manila02:43
openstackgerritzhongjun proposed openstack/manila: Add IPv6 ACL support in Manila  https://review.openstack.org/31232102:54
openstackgerritzhongjun proposed openstack/python-manilaclient: Add IPv6 ACL support in Manila Client  https://review.openstack.org/32893203:02
openstackgerritzhongjun proposed openstack/python-manilaclient: Implement share backup  https://review.openstack.org/34467103:05
*** liyifeng has quit IRC03:19
*** daidv has joined #openstack-manila03:20
*** liyifeng has joined #openstack-manila03:21
*** daidv has quit IRC03:45
*** yangyape_ has quit IRC03:56
*** yangyapeng has joined #openstack-manila03:58
*** daidv has joined #openstack-manila04:14
openstackgerritAlexey Ovchinnikov proposed openstack/manila: [DNM] Tests for scenario tests  https://review.openstack.org/34023604:41
*** senk_ has joined #openstack-manila05:16
*** houming has quit IRC05:24
*** lpetrut has joined #openstack-manila05:26
*** senk_ has quit IRC05:45
*** yangyape_ has joined #openstack-manila05:55
*** yangyapeng has quit IRC05:58
*** sandanar has joined #openstack-manila06:02
*** dsariel has joined #openstack-manila06:06
*** dsariel has quit IRC06:15
*** wangqun_ has joined #openstack-manila06:18
*** wangqun has quit IRC06:21
*** zengyingzhe_ has quit IRC06:21
*** lpetrut has quit IRC06:29
*** liyifeng has quit IRC06:35
*** yangyape_ has quit IRC06:38
openstackgerritMarc Koderer proposed openstack/manila: Add neutron driver for binding  https://review.openstack.org/28349406:39
*** yangyapeng has joined #openstack-manila06:40
*** yangyape_ has joined #openstack-manila06:42
*** yangyapeng has quit IRC06:46
*** aovchinnikov has joined #openstack-manila06:48
*** dsariel has joined #openstack-manila06:56
*** lpetrut has joined #openstack-manila06:57
*** akapil has joined #openstack-manila07:05
*** lpetrut has quit IRC07:08
*** houming has joined #openstack-manila07:09
*** tovchinnikova has joined #openstack-manila07:11
openstackgerritAlexey Ovchinnikov proposed openstack/manila: [DNM] Tests for scenario tests  https://review.openstack.org/34023607:20
*** dsariel has quit IRC07:22
*** dsariel has joined #openstack-manila07:34
*** daidv has quit IRC07:38
*** daidv has joined #openstack-manila07:38
*** zengyingzhe has joined #openstack-manila07:39
*** chlong has quit IRC07:50
*** akapil has quit IRC07:58
openstackgerritMarc Koderer proposed openstack/manila: Add binding_profile option for backends  https://review.openstack.org/28403407:59
openstackgerritMarc Koderer proposed openstack/manila: Add multi-segment support  https://review.openstack.org/27773107:59
*** akapil has joined #openstack-manila08:02
*** akapil has quit IRC08:07
*** akapil has joined #openstack-manila08:08
*** dsariel has quit IRC08:12
*** wangqun_ has quit IRC08:27
openstackgerritMerged openstack/manila: In-tree Install Guide  https://review.openstack.org/31715208:32
*** sandanar_ has joined #openstack-manila08:34
openstackgerritRamana Raja proposed openstack/manila: add access_key to share_access_map  https://review.openstack.org/34330608:38
*** sandanar has quit IRC08:38
*** dsariel has joined #openstack-manila08:38
*** akapil has quit IRC08:49
*** aovchinnikov has quit IRC08:52
*** daidv has quit IRC08:55
*** tovchinnikova has quit IRC08:55
*** tovchinnikova has joined #openstack-manila08:58
openstackgerritOpenStack Proposal Bot proposed openstack/python-manilaclient: Updated from global requirements  https://review.openstack.org/35431109:00
*** akapil has joined #openstack-manila09:05
*** akapil has quit IRC09:21
openstackgerritErno Kuvaja proposed openstack/puppet-manila: Add CephFSNative driver logic  https://review.openstack.org/35392809:23
*** akapil has joined #openstack-manila09:24
openstackgerritMarc Koderer proposed openstack/manila: Add binding_profile option for backends  https://review.openstack.org/28403409:24
openstackgerritMarc Koderer proposed openstack/manila: Add multi-segment support  https://review.openstack.org/27773109:24
openstackgerritMarc Koderer proposed openstack/manila: Add neutron driver for binding  https://review.openstack.org/28349409:24
*** lpetrut has joined #openstack-manila09:37
*** ociuhandu has joined #openstack-manila09:40
*** akapil has quit IRC09:42
*** akapil has joined #openstack-manila09:42
*** dmellado has quit IRC09:46
*** liyifeng has joined #openstack-manila09:54
*** dmellado has joined #openstack-manila09:56
*** dsariel has quit IRC09:59
*** yangyape_ has quit IRC10:01
*** rraja has joined #openstack-manila10:01
*** sandanar__ has joined #openstack-manila10:03
*** sandanar_ has quit IRC10:07
openstackgerritTom Barron proposed openstack/manila: Fix sample config generation for cinder,nova and neutron opts  https://review.openstack.org/35551710:10
*** aovchinnikov has joined #openstack-manila10:11
openstackgerritAlexey Ovchinnikov proposed openstack/manila: [DNM] Tests for scenario tests  https://review.openstack.org/34023610:14
*** yangyapeng has joined #openstack-manila10:16
*** akapil has quit IRC10:17
*** lpetrut has quit IRC10:20
*** yangyapeng has quit IRC10:22
*** lpetrut has joined #openstack-manila10:22
*** akapil has joined #openstack-manila10:33
*** narayrak has joined #openstack-manila10:39
*** alyson_ has joined #openstack-manila11:09
*** ociuhandu has quit IRC11:20
*** merooney has joined #openstack-manila11:28
*** yangyapeng has joined #openstack-manila11:32
openstackgerritRamana Raja proposed openstack/manila: manila_tempest_tests: fix an exception message  https://review.openstack.org/35586011:32
*** yangyapeng has quit IRC11:36
openstackgerritRamana Raja proposed openstack/manila: manila_tempest_tests: fix exception messages  https://review.openstack.org/35586011:40
*** tpsilva has joined #openstack-manila11:41
*** dsariel has joined #openstack-manila11:44
openstackgerritTiago Pasqualini da Silva proposed openstack/manila: Add Hitachi HSP driver  https://review.openstack.org/32913411:44
openstackgerritMarc Koderer proposed openstack/manila: Add binding_profile option for backends  https://review.openstack.org/28403411:47
openstackgerritMarc Koderer proposed openstack/manila: Add multi-segment support  https://review.openstack.org/27773111:47
openstackgerritMarc Koderer proposed openstack/manila: Add neutron driver for binding  https://review.openstack.org/28349411:47
mkodereraovchinnikov: hi11:48
mkodereraovchinnikov: jfyi the binding patches passes the experimental docker job :)11:49
aovchinnikovmkoderer: hi. great! so we'll have proper binding soon11:50
mkodereraovchinnikov: you might do a review on https://review.openstack.org/283494 - I moved the config slightly11:53
aovchinnikovmkoderer: sure, I'll review it11:58
mkoderertbarron: mhh, you corrected the missing blank in https://review.openstack.org/#/c/355517/2 ?12:06
mkodererI can't see the change ;)12:07
mkodererbut let's merge it anyway :)12:07
tbarronmkoderer: ah, i fixed a difft one: no space between '[nova],' and '[cinder]' :)12:09
openstackgerritTom Barron proposed openstack/manila: Fix sample config generation for cinder, nova and neutron opts  https://review.openstack.org/35551712:10
*** dsariel has quit IRC12:13
*** narayrak has quit IRC12:15
openstackgerritzhongjun proposed openstack/manila: Add IPv6 ACL support in Manila  https://review.openstack.org/31232112:20
*** yangyapeng has joined #openstack-manila12:30
*** gouthamr has joined #openstack-manila12:31
*** sandanar__ has quit IRC12:39
*** lpetrut1 has joined #openstack-manila12:41
*** lpetrut has quit IRC12:41
*** lpetrut1 is now known as lpetrut12:41
openstackgerritGoutham Pacha Ravi proposed openstack/manila: Fix sample config generation for cinder, nova and neutron opts  https://review.openstack.org/35551712:45
*** dsariel has joined #openstack-manila12:46
openstackgerritErno Kuvaja proposed openstack/puppet-manila: Add CephFSNative driver logic  https://review.openstack.org/35392812:49
*** bswartz has joined #openstack-manila12:50
*** ociuhandu has joined #openstack-manila12:50
*** dsariel has quit IRC12:52
openstackgerritAlyson proposed openstack/manila: Fix Manila HNAS driver managing twice a share  https://review.openstack.org/35590612:54
*** ociuhandu has quit IRC12:57
openstackgerritAlexey Ovchinnikov proposed openstack/manila: [DNM] Tests for scenario tests  https://review.openstack.org/34023612:58
*** rraja has quit IRC12:58
*** rraja has joined #openstack-manila12:59
*** ganso has joined #openstack-manila12:59
*** xyang1 has joined #openstack-manila13:03
*** cknight has joined #openstack-manila13:04
*** ociuhandu has joined #openstack-manila13:08
*** houming has quit IRC13:09
*** porrua has joined #openstack-manila13:13
tpsilvacknight, gouthamr, ganso, xyang1: https://review.openstack.org/#/c/329134/ fixed comments and CI is working and reporting, would appreciate any reviews13:15
gouthamrtpsilva: sure thing..13:15
tpsilvajenkins is almost done, +1 should be there in a bit13:15
cknighttpsilva: Hi, Tiago.  Already on it.13:15
tpsilvacknight, gouthamr: thank you!13:15
*** vbellur has quit IRC13:16
openstackgerritGoutham Pacha Ravi proposed openstack/manila: [Do Not Merge] - Tempest cleanup issues with share networks  https://review.openstack.org/35591513:18
*** dustins has joined #openstack-manila13:22
*** rraja has quit IRC13:23
gansogouthamr: ping13:25
gouthamrganso: pong13:25
gansogouthamr: Hi Goutham13:25
gouthamrganso: Hi Rodrigo.. sorry about the 40something comments :)13:25
gansogouthamr: regarding your comment in https://review.openstack.org/#/c/332267/50/manila/data/utils.py13:25
gansogouthamr: lol no problem, very good feedback :)13:26
gouthamrganso: yessir.. what can i clarify?13:26
gansogouthamr: the ideal way to create a view for the migration progress, is when we have the jobs table13:26
gansogouthamr: the dict I create is so I can transfer that information back to the API13:26
gansogouthamr: right now, that information would be equivalent to the one the view would have13:27
gansogouthamr: unless you are suggesting I create a class to do so instead of dict13:27
gouthamrganso: yes.. i think the API response should be consistent13:27
gansogouthamr: so that would be, changing the dict to class, then in API changing back to a dict through view builder?13:28
gouthamrganso: always respond with the same keys, even if the keys have no values..13:28
gansogouthamr: oh I see13:28
gansogouthamr: no need to create the class then13:28
gouthamrganso: these sort of things can be better handled with a view builder13:28
gansogouthamr: just select the keys13:29
gouthamrganso: still use a view builder.. no API should build a response without one....13:29
gansogouthamr: right13:30
gansogouthamr: regarding the changes related to fallback in the same file13:30
gansogouthamr: I opened a bug for it13:30
gouthamrganso: yes, i'm okay with it being part of that patch.. the commit message doesn't specify it13:30
gansogouthamr: the justification for including with the same change are: 1) easier to backport, assuming we are backporting that migration patch as well. 2) avoid dependency hell, since the newton improvements patch depends on both fixes13:31
gansogouthamr: although, I am starting to think we are not going to backport that patch...13:31
gansogouthamr: but the other fix should be backported13:31
gouthamrganso: i don't see the value of backporting the driver optimized migration fixes.. unless someone is maintaining an out-of-tree driver and would like this fix?13:32
gansogouthamr: exactly13:33
gansogouthamr: since you also started working on it rebasing on top of the big fix patch, I thought about merging that one and the improvements13:34
gansogouthamr: since basically you are developing something that will have its interfaces changed in the following patch, and also you SHOULD take advantage of the new parameters in the improvements patch13:35
gouthamrganso: and propose a separate bugfix directly to mitaka?13:35
gansogouthamr: for the fallback migration one yes, for the big fix, no13:35
*** rraja has joined #openstack-manila13:36
*** catintheroof has joined #openstack-manila13:36
gouthamrganso: would it be hard to separate the generic portions from that patch? your backport can be a trivial cherry-pick if you do.. :)13:37
gansogouthamr: the reason I separated is also that I wanted to focus on their specific proposed changes13:37
gansogouthamr: yes, I am already on it13:37
gansogouthamr: I assume you haven't looked deep into the newton improvements patch, but when you do, I assume it is also easier if it the changes are clear instead of a huge amount of changes mixed together13:38
gouthamrganso: nope.. i was trying your bugfix first13:38
gansogouthamr: so that's the main reason I haven't merged both patches13:38
gouthamrganso: yep, i agree.. your newton improvements is a fairly large patch by itself13:39
gouthamrganso: will take a look..13:39
gansogouthamr: I will address your view builder concern in the newton improvements patch13:40
gansogouthamr: since I am entirely removing those changes from the driver-assisted big fix13:40
gouthamrganso: sure..13:40
gansogouthamr: and it will also not make sense to include in the fix, since it is not related to the bug13:41
gouthamrganso: yes.. np.13:41
*** xyang_ has joined #openstack-manila13:43
*** catintheroof has quit IRC13:43
openstackgerritRodrigo Barbieri proposed openstack/manila: Fix fallback share migration with empty files  https://review.openstack.org/35594613:53
*** permalac has joined #openstack-manila13:53
*** vbellur has joined #openstack-manila13:58
openstackgerritMerged openstack/python-manilaclient: Updated from global requirements  https://review.openstack.org/35431114:01
*** aovchinnikov has quit IRC14:01
openstackgerritErno Kuvaja proposed openstack/puppet-manila: Add CephFSNative driver logic  https://review.openstack.org/35392814:05
*** lpetrut1 has joined #openstack-manila14:10
*** lpetrut has quit IRC14:11
*** lpetrut1 is now known as lpetrut14:11
*** tovchinnikova has quit IRC14:20
alyson_ganso: https://review.openstack.org/#/c/355906/14:22
*** xyang_ has quit IRC14:39
*** akerr has joined #openstack-manila14:41
*** akapil has quit IRC14:44
*** xyang_ has joined #openstack-manila14:49
*** dsariel has joined #openstack-manila14:55
*** permalac has quit IRC14:58
*** lpetrut1 has joined #openstack-manila14:58
*** lpetrut has quit IRC15:00
*** lpetrut1 is now known as lpetrut15:00
*** vbellur has quit IRC15:02
*** vbellur has joined #openstack-manila15:17
*** mtanino has joined #openstack-manila15:20
*** akerr has quit IRC15:35
*** akerr has joined #openstack-manila15:35
*** porrua has quit IRC15:44
*** liyifeng has quit IRC16:04
*** liyifeng has joined #openstack-manila16:04
*** aovchinnikov has joined #openstack-manila16:06
*** xyang1 has quit IRC16:09
*** dsariel has quit IRC16:10
*** xyang1 has joined #openstack-manila16:18
mkoderer__gouthamr: hi, just to clarify - do you want the neutron driver opts in [neutron] or what it a question?16:21
mkoderer__gouthamr: since moving them to [neutron] doesn't really work since the network settings differ per backend16:22
gouthamrmkoderer__: yes, thanks for responding.. no, i don't suggest adding them in [neutron16:22
mkoderer__gouthamr: ok cool16:22
mkoderer__gouthamr: I will address you finding tomorrow16:22
mkoderer__s/finding/findings/16:22
gouthamrmkoderer__: my question was wrt 'deprecated' group..16:22
*** dsariel has joined #openstack-manila16:23
gouthamrmkoderer__: sure thing.. i guess the SingleNetworkPlugin *may* not work; i'm not thoroughly sure.. but since we're not testing it, i would like your opinion on what i posted.16:23
mkoderer__gouthamr: I just marked it as deprecated because Alexey had it in. I would say new opts shouldn't have any deprecations16:24
gouthamrmkoderer__: exactly.. it's a new opt :D16:24
*** porrua has joined #openstack-manila16:24
mkoderer__gouthamr: I remember I tested the singleNetworkPlugin but I can redo16:24
openstackgerritTiago Pasqualini da Silva proposed openstack/manila: Rename and move HNAS driver  https://review.openstack.org/35604916:25
mkoderer__gouthamr: I will check tomorrow16:25
gouthamrmkoderer__: sure.. np.. no rush16:25
mkoderer__gouthamr: tomorrow is my last day before vacation :P16:25
mkoderer__time to hurry haha16:25
gouthamrmkoderer__: :) we can merge this and fix bugs as we find them; specially this has been tested against a gate driver16:26
* gouthamr especially. darn.16:26
*** Suyi has joined #openstack-manila16:28
rrajagouthamr: hi, regarding db migration unit test failure for https://review.openstack.org/#/c/343306/16:31
rrajahttp://logs.openstack.org/06/343306/10/check/gate-manila-python27-db-ubuntu-xenial/2a5f33d/console.html16:32
rrajahttps://review.openstack.org/#/c/343306/10/manila/tests/db/migrations/alembic/migrations_data_checks.py16:33
rrajahttps://github.com/openstack/manila/blob/master/manila/db/migrations/alembic/versions/579c267fbb4d_add_share_instances_access_map.py#L10216:33
rrajagouthamr: i'm kind of stuck here. would you've any clue how I can overcome this failure? am I missing something while setting up data for the unit tests?16:34
mkoderer__rraja: can you reproduce it locally?16:48
rrajamkoderer__: yes.16:48
* mkoderer__ has a look16:49
rrajamkoderer__: thanks a lot!16:50
mkoderer__rraja: can you set a breakpoint and check the database16:53
mkoderer__rraja: that's at least what I am doing16:54
rrajamkoderer__: yeah. i can do that. wondering, if I'm missing something obvious.16:55
rrajathanks!16:55
mkoderer__I don't understand why these two migration script interfere each other16:55
rrajamkoderer__: yeah. i'm confused about that too.16:55
mkoderer__rraja: yeah, at least I don't see it just by looking16:56
mkoderer__rraja: but gouthamr is much smarter - maybe he will find it16:56
mkoderer__:)16:56
rrajamkoderer__: oh no! i pinged him, as he's been reviewing my patch.16:57
rrajaand he's quick to respond16:57
mkoderer__rraja: ok, if you find it let me know - seems to be an intressting problem ;)16:58
rrajamy intention was not to pick the smartest person. i'm not smart enough to figure who that is.16:58
rrajamkoderer__: cool! thanks!16:59
mkoderer__rraja: you prefer low response times rather than smartness - I see :)17:01
rrajamkoderer__: :)17:01
openstackgerritRamana Raja proposed openstack/manila: add access_key to share_access_map  https://review.openstack.org/34330617:05
*** rraja has quit IRC17:09
*** david-lyle_ has joined #openstack-manila17:09
*** Suyi has quit IRC17:10
*** david-lyle has quit IRC17:13
*** david-lyle_ is now known as david-lyle17:13
*** Suyi has joined #openstack-manila17:14
openstackgerritMerged openstack/manila: Add Hitachi HSP driver  https://review.openstack.org/32913417:15
openstackgerritLucian Petrut proposed openstack/manila: Windows SMB: avoid default read share access  https://review.openstack.org/35485317:17
openstackgerritLucian Petrut proposed openstack/manila: Windows SMB: implement 'update_access' method  https://review.openstack.org/35485517:17
openstackgerritLucian Petrut proposed openstack/manila: Windows SMB: remove redundant operations  https://review.openstack.org/35485417:17
*** xyang_ has quit IRC17:20
*** lpetrut has quit IRC17:21
*** akapil has joined #openstack-manila17:23
*** dsariel has quit IRC17:46
*** akapil_ has joined #openstack-manila18:02
*** vbellur has quit IRC18:02
*** akapil has quit IRC18:04
*** ociuhandu has quit IRC18:07
*** lpetrut has joined #openstack-manila18:16
*** vbellur has joined #openstack-manila18:18
openstackgerritAlyson proposed openstack/manila: Add cleanup to create from snap in Manila HNAS driver  https://review.openstack.org/35608718:21
*** ociuhandu has joined #openstack-manila18:32
gansogouthamr: ping18:32
*** xyang_ has joined #openstack-manila18:34
*** akapil_ has quit IRC18:36
*** aovchinnikov has quit IRC18:37
gouthamrganso: pong18:37
*** akerr is now known as akerr_away18:38
*** akerr_away is now known as akerr18:38
gansogouthamr: My coworkers and I are discussing whether Alyson's patch above deserves a reno or not. My vote is that it deserves a reno, others are argumenting that it does not. Its scenario is not explicitely described in reno docs, so I thought I would ask the reno guy for a proper answer :)18:39
gouthamr:P18:39
gouthamrhttps://review.openstack.org/#/c/356087/18:39
gouthamr?18:39
gansogouthamr: ya18:39
alyson_yes18:39
gouthamrlooking18:39
gansogouthamr: my argument is: suppose an admin knows about the bug, he tries to create a share from snapshot, but it failed, and he notices it leaves garbage in the storage18:40
gansogouthamr: so, by including the bugfix in the reno, the admin can be aware this specific bug he knows about is fixed18:40
gouthamrganso: i agree, whether or they knew of the bug, if its a bug, we can call it out and say its fixed..18:42
gansogouthamr: yes. The confusion regarding the reno docs, is about the user impact18:42
gansogouthamr: the reno docs says "security bugs"18:43
gouthamrganso: this isn't a security bug..18:43
gouthamrganso: "fixes" is appropriate..18:43
gansogouthamr: yes18:43
gansogouthamr: thanks goutham!18:44
gouthamrganso: np!18:44
alyson_thanks reno guy :P18:44
gansolol18:45
gouthamr:)18:47
openstackgerritTiago Pasqualini da Silva proposed openstack/manila: Rename and move HNAS driver  https://review.openstack.org/35604918:52
*** xyang_ has quit IRC18:58
*** xyang_ has joined #openstack-manila19:00
*** merooney has quit IRC19:20
*** merooney has joined #openstack-manila19:23
*** akapil has joined #openstack-manila19:23
*** xyang1 has quit IRC19:29
openstackgerritTiago Pasqualini da Silva proposed openstack/manila: Rename and move HNAS driver  https://review.openstack.org/35604919:33
*** xyang_ has quit IRC19:37
*** Rantraven has joined #openstack-manila19:37
*** lpetrut has quit IRC19:39
*** akapil has quit IRC19:39
*** xyang_ has joined #openstack-manila19:41
*** xyang_ has quit IRC19:42
*** xyang_ has joined #openstack-manila19:42
*** xyang_ has quit IRC19:45
Rantravenhi19:48
gansogouthamr: ping19:49
*** akapil has joined #openstack-manila19:49
openstackgerritAlyson proposed openstack/manila: Fix Manila HNAS driver managing twice a share  https://review.openstack.org/35590619:50
openstackgerritMerged openstack/manila: manila_tempest_tests: fix exception messages  https://review.openstack.org/35586019:50
openstackgerritAlyson proposed openstack/manila: Fix Manila HNAS driver managing twice a share  https://review.openstack.org/35590619:53
gouthamrganso: pong19:55
*** Rantraven has quit IRC19:56
gansogouthamr: https://review.openstack.org/#/c/332267/50/manila/share/manager.py LN 77219:59
gansogouthamr: what are you suggesting by polling? I believe polling is what I am doing o_O19:59
openstackgerritAlex Meade proposed openstack/manila: Manila Share Groups  https://review.openstack.org/33509320:07
*** porrua has quit IRC20:10
gouthamrganso: sorry for the latency.. have you looked at the other methods that do polling?20:10
*** vbellur has quit IRC20:11
gansogouthamr: such as?20:11
gouthamrganso: like delete_free_share_servers, periodic_share_replica_update20:12
gouthamrperiodic_share_replica_snapshot_update20:12
gouthamrganso: the gist is to use periodic_task from oslo_service instead of sleeping and waiting..20:13
*** merooney has quit IRC20:13
gansogouthamr: oh I see, that polling mechanism20:13
*** akerr has quit IRC20:13
gouthamrganso: yes20:14
gansogouthamr: I am trying to understand how period tasks work, I grepped that method name and can't see what triggers it20:17
gouthamrganso: it's up here: https://github.com/openstack/oslo.service/blob/master/oslo_service/periodic_task.py20:19
gansogouthamr: yes but I am looking for what registers "periodic_share_replica_update" to be a task20:19
gansogouthamr: or when it should be triggered20:19
gouthamrganso: "spacing" is the interval and that's a config opt..20:20
gouthamrganso: it's absolute20:20
gansogouthamr: it seems to me it will always run20:20
gouthamrganso: runs every five mins by default, from when the share manager starts..20:20
gansogouthamr: the driver_migration_continue should run only in specific situations, not always20:21
gansogouthamr: if this task is triggered every 5 seconds (which is the current polling rate for my implementation), just to check if there is any driver doing migration and invoking a self-RPC like I am doing in init_host, it seems to me it will add an awful amount of overhead20:22
gouthamrganso: no, you'll just see if there's an existing migration and call driver_migration_continue if it's there20:22
gansogouthamr: AFAIK, that's exactly what I described above ^20:23
gouthamrganso: hmmm, why do you have to prod the driver every 5 sec?20:24
gansogouthamr: to not make migration take too long because of it20:25
gansogouthamr: 1 minute pollin wouldn't be bad20:25
gansogouthamr: but thinking about the CI, which only tests with empty shares20:25
gouthamrganso: so i think it's okay to do this as a poll.... we had a similar scenario with replication20:25
gansogouthamr: waiting 1 minute just to perform next step is too much20:25
gouthamrganso: yes, you can make the polling interval configurable?20:26
gansogouthamr: yes20:26
gansogouthamr: that would compromise the 1-phase implementation for that patch20:26
gansogouthamr: even though it is going away20:26
*** dsariel has joined #openstack-manila20:26
gansogouthamr: but then I would have to remove it right now, and would make more sense to merge the patches20:27
gansogouthamr: or, I can change this in the newton improvements patch20:27
gouthamrganso: https://github.com/openstack/manila/blob/master/contrib/ci/pre_test_hook.sh#L83 " :P <-- my "CI fix"20:27
gansogouthamr: yes it makes sense20:27
gansogouthamr: is it clear for you why it removes 1-phase capability?20:28
gouthamrganso: yes, i'm okay with that.. :)20:28
gansogouthamr: ok, I am going to change it in the newton-improvements patch20:28
gouthamrganso: sure thing20:30
*** gouthamr has quit IRC20:33
*** xyang1 has joined #openstack-manila20:36
openstackgerritMerged openstack/python-manilaclient: Add columns support for share-replica-list  https://review.openstack.org/35307320:40
*** akerr has joined #openstack-manila20:45
*** dsariel has quit IRC20:54
*** akapil has quit IRC21:07
*** akerr has quit IRC21:07
*** akapil has joined #openstack-manila21:08
*** akapil has quit IRC21:19
*** lpetrut has joined #openstack-manila21:19
*** akapil has joined #openstack-manila21:26
*** dustins has quit IRC21:27
*** xyang_ has joined #openstack-manila21:46
*** xyang_ has quit IRC21:55
*** xyang_ has joined #openstack-manila21:59
*** xyang_ has quit IRC22:21
*** lpetrut has quit IRC22:31
*** xyang_ has joined #openstack-manila22:35
*** xyang_ has quit IRC22:37
*** gouthamr has joined #openstack-manila22:39
*** gouthamr_ has joined #openstack-manila22:40
*** gouthamr has quit IRC22:44
*** gouthamr_ is now known as gouthamr22:44
*** merooney has joined #openstack-manila23:02
*** alyson_ has quit IRC23:03
*** tpsilva has quit IRC23:08
*** xyang1 has quit IRC23:14
*** cknight has quit IRC23:33
*** bswartz has quit IRC23:49

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