Wednesday, 2017-06-14

*** xyang_ has joined #openstack-manila00:05
openstackgerritVu Cong Tuan proposed openstack/manila master: Replace assertEqual([], items) with assertEmpty(items)  https://review.openstack.org/47331400:26
*** hongbin has quit IRC00:54
*** markstur has quit IRC01:09
*** markstur has joined #openstack-manila01:10
*** ianychoi has joined #openstack-manila01:14
*** markstur has quit IRC01:14
*** markstur has joined #openstack-manila01:31
*** markstur has quit IRC01:35
openstackgerritzhongjun proposed openstack/manila master: Add like filter  https://review.openstack.org/46246801:59
*** dsariel has quit IRC02:05
*** sapcc-bot1 has joined #openstack-manila02:10
*** toabctl has quit IRC02:11
*** toabctl has joined #openstack-manila02:12
*** markstur has joined #openstack-manila02:12
*** sapcc-bot has quit IRC02:14
*** markstur has quit IRC02:17
*** dsariel has joined #openstack-manila02:28
*** xyang_ has quit IRC02:33
*** markstur has joined #openstack-manila02:54
*** tuanluong has joined #openstack-manila02:56
*** markstur has quit IRC02:58
*** markstur has joined #openstack-manila03:35
*** markstur has quit IRC03:37
*** markstur has joined #openstack-manila03:37
*** arnewiebalck_ has joined #openstack-manila04:07
*** gouthamr_ has joined #openstack-manila04:07
*** netapp has quit IRC04:07
*** netapp has joined #openstack-manila04:08
*** gouthamr has quit IRC04:09
*** hoonetorg has quit IRC04:11
*** hoonetorg has joined #openstack-manila04:21
*** gcb has quit IRC04:24
*** gcb has joined #openstack-manila04:24
*** EmilienM has quit IRC04:30
openstackgerritMerged openstack/python-manilaclient master: Updated from global requirements  https://review.openstack.org/47303404:32
*** EmilienM has joined #openstack-manila04:38
*** arnewiebalck_ has quit IRC05:13
*** rraja has joined #openstack-manila05:15
*** gouthamr_ has quit IRC05:29
*** markstur has quit IRC05:37
*** markstur has joined #openstack-manila05:58
*** markstur has quit IRC06:02
*** jprovazn has joined #openstack-manila06:22
*** rraja has quit IRC06:51
*** rraja has joined #openstack-manila06:52
openstackgerritzhongjun proposed openstack/manila master: Enable IPv6 in manila(network plugins and drivers)  https://review.openstack.org/40677607:00
*** a-pugachev has joined #openstack-manila07:03
*** a-pugachev has quit IRC07:23
*** gcb has quit IRC07:34
*** gcb has joined #openstack-manila07:37
openstackgerritzhongjun proposed openstack/manila master: Add export-location filter in share and share instance list API  https://review.openstack.org/46171207:43
*** ianychoi has quit IRC08:43
*** lpetrut has joined #openstack-manila08:50
*** a-pugachev has joined #openstack-manila09:09
*** jprovazn has quit IRC09:23
openstackgerritzhongjun proposed openstack/manila master: Enable IPv6 in manila(network plugins and drivers)  https://review.openstack.org/40677609:25
*** markstur has joined #openstack-manila09:36
*** markstur has quit IRC09:41
*** jprovazn has joined #openstack-manila09:44
*** ianychoi has joined #openstack-manila09:49
*** markstur has joined #openstack-manila10:13
*** markstur has quit IRC10:17
openstackgerritValeriy Ponomaryov proposed openstack/manila master: Add share groups quotas  https://review.openstack.org/47346410:19
*** markstur has joined #openstack-manila10:50
*** ganso has joined #openstack-manila10:50
*** markstur has quit IRC10:54
*** tuanluong has quit IRC11:16
*** markstur has joined #openstack-manila11:27
*** makowals_ has joined #openstack-manila11:27
*** makowals has quit IRC11:28
*** markstur has quit IRC11:31
*** a-pugachev has quit IRC11:45
*** a-pugachev has joined #openstack-manila11:53
*** markstur has joined #openstack-manila12:04
*** markstur has quit IRC12:09
*** chlong has quit IRC12:20
*** markstur has joined #openstack-manila12:25
*** markstur has quit IRC12:29
openstackgerritMerged openstack/manila master: [Docs] Correct glusterfs references  https://review.openstack.org/47378712:32
*** gouthamr has joined #openstack-manila12:44
*** catintheroof has joined #openstack-manila12:52
*** markstur has joined #openstack-manila13:02
*** markstur has quit IRC13:06
openstackgerritValeriy Ponomaryov proposed openstack/python-manilaclient master: Add share group quotas  https://review.openstack.org/47348213:09
*** gcb has quit IRC13:14
*** xyang1 has joined #openstack-manila13:14
*** dsariel has quit IRC13:16
*** openstackgerrit has quit IRC13:18
*** eharney has joined #openstack-manila13:24
*** sapcc-bot1 has quit IRC13:36
*** carthaca_ has quit IRC13:36
*** carthaca_ has joined #openstack-manila13:36
*** sapcc-bot has joined #openstack-manila13:36
*** markstur has joined #openstack-manila13:38
*** markstur has quit IRC13:43
*** a-pugachev has quit IRC13:49
*** a-pugachev has joined #openstack-manila14:00
*** chlong has joined #openstack-manila14:02
*** cknight has joined #openstack-manila14:02
*** chlong has quit IRC14:06
*** xyang_ has joined #openstack-manila14:08
*** dsariel has joined #openstack-manila14:10
*** dustins has joined #openstack-manila14:10
*** eharney has quit IRC14:13
*** markstur has joined #openstack-manila14:15
*** eharney has joined #openstack-manila14:16
*** markstur has quit IRC14:20
*** openstackgerrit has joined #openstack-manila14:28
openstackgerritMerged openstack/manila master: Replace assertEqual([], items) with assertEmpty(items)  https://review.openstack.org/47331414:28
*** chlong has joined #openstack-manila14:34
*** chlong has quit IRC14:35
*** cfey has quit IRC14:36
*** hongbin has joined #openstack-manila14:37
*** chlong has joined #openstack-manila14:38
*** markstur has joined #openstack-manila14:52
*** markstur has quit IRC14:56
*** markstur has joined #openstack-manila14:57
*** markstur has quit IRC14:57
*** markstur has joined #openstack-manila14:58
*** rraja has quit IRC15:06
xyang1bswartz: ping15:11
bswartzpong15:12
xyang1bswartz: can you please take a look of the comments on https://review.openstack.org/#/c/473864/15:12
bswartzyes I saw that this morning15:12
bswartzwe need to discuss among the various affected driver authors how we want to address the problem15:12
bswartzI'm uncertain which approach I prefer15:13
xyang_bswartz: every driver that I see so far needs the id of ShareSnapshotInstance.  It's just the way how they referenced it is different15:14
xyang_bswartz: some use share_id, some use share_name, some directly use share_instance_id in ShareSnapshotInstance, but they are all looking for id of ShareInstance15:15
openstackgerritJan Provaznik proposed openstack/manila master: User Messages  https://review.openstack.org/31354915:15
bswartzyes that's what they should do, unless it's migration/replication code15:15
xyang_bswartz: I don't know which driver really needs the id of the Share15:16
gouthamreven when a driver is performing migration or replication, what's the need to reference the instance id?15:16
bswartzsome things are tied to the share ID rather than the instance15:16
bswartzlike access rules15:16
gouthamrwe designed the driver interfaces such that they look like different resources altogether15:16
xyang_I am not that familiar with what is needed in migration and replication, I'm focusing on create_snapshot here15:17
xyang_In create_share, drivers use share['id'] or share['name'] passed in which is based on the id of ShareInstance, not Share15:17
gouthamryep, sorry i didn't dig into this review earlier.. -> snapshot['share_id'] was always the id of the share instance.. and that changed breaking drivers15:18
xyang_In create_snapshot, they need to find the id of the ShareSnapshotInstance so they can create snapshot15:19
xyang_gouthamr: yes15:19
openstackgerritValeriy Ponomaryov proposed openstack/python-manilaclient master: Add share group quotas  https://review.openstack.org/47348215:20
xyang_so I don't know how this current fix in https://review.openstack.org/#/c/473864/ is helpful if no driver is really looking for the id of Share.  Drivers need id of ShareInstance, not id of Share15:20
xyang_we could either get rid of the share_id from ShareSnapshotInstance completely and have every driver references share_instance_id instead, or have share_id in ShareSnapshotInstance still refer to id of ShareInstance to maintain the backward compatibility that was there before15:22
xyang_share_name in ShareSnapshotInstance still works as it is still based on id of ShareInstance15:23
xyang_so if we decide to get rid of share_id because the name is confusing, we should get rid of share_name too15:24
vponomaryovxyang_: moving of "share_id" is a result of squashing of DB tables15:27
vponomaryovxyang_: removed table did have it15:27
vponomaryovxyang_: so, it is dictated by incompatibility caused by existing workaround for "nothing"15:27
vponomaryovxyang_: each share driver receives "instances" in its interfaces15:28
vponomaryovxyang_: what problem do you see in updating existing affected drivers to use correct attr?15:29
vponomaryovxyang_: like ZFSonLinux driver has been doing all the time15:29
xyang_vponomaryov: have drivers use share_instance_id directly?15:29
vponomaryovxyang_: moreover, it uses both values for storing appropriate info for replication needs15:30
vponomaryovxyang_: yes15:30
xyang_vponomaryov: that was the proposal I gave during our discussion with Ben on IRC.  He rejected it15:30
xyang_vponomaryov: He said driver should not have knowledge of share_instance_id15:31
vponomaryovxyang_: Ben can be wrong as any other person in the World15:31
vponomaryovxyang_: then, he is not sure anymore )15:31
xyang_vponomaryov: your current fix has not fixed the problem that the bug was opened for15:31
vponomaryovxyang_: and third, I want see clear arguments for not doing it in the proper way15:31
vponomaryovxyang_: false, bug as about "not populated", it is POPULATED now15:32
vponomaryovxyang_:so, the BUG is fixed, it is drivers that were dependent on bug are not fixed15:32
vponomaryovs/bug as/bug is/15:33
xyang_vponomaryov: populated with undesired value is not a fix15:33
vponomaryovxyang_: "undesired by you", "desired by me"15:33
vponomaryov^_^15:33
vponomaryovxyang_: I 2 arguments for it15:33
vponomaryovthat I have mentioned several times15:33
vponomaryovs/I 2/I have 2/15:34
xyang_vponomaryov: undesired by drivers affected by the bug.  that's not just Dell EMC drivers15:34
vponomaryovxyang_: again, "what problem do you see in updating existing affected drivers to use correct attr?"15:34
xyang_vponomaryov: I have already answered that earlier15:35
vponomaryovbecause Ben restricted it?15:35
vponomaryovxyang_: in case you want to keep old "incorrect" behavior in drivers, that does not really have any value, we should revert back "DB tables squash" back and do not squash them tables15:37
vponomaryovs/them/these/15:38
vponomaryovxyang_: if you want, I can fix EMC drivers in addition to common logic fix15:39
vponomaryovxyang_: and it will work just fine15:39
xyang_vponomaryov: that's a small fix to use share_instance_id.  we have the code, but didn't submit because I thought your fix in common code will fix the bug15:41
xyang_vponomaryov: I want to see what Ben decide on this15:41
*** dsariel has quit IRC15:42
vponomaryovxyang_: what do you think personally?15:42
bswartzsorry guys I haven't read all of the scrollback15:42
bswartzI think we have deeper issues with our driver interface, and this problem is an example of why we should fix them15:42
bswartzthe problem is that a proper cleanup of the interface might take a lot of effort15:43
vponomaryovbswartz: rename arguments in driver interfaces15:43
bswartzvponomaryov: according to gouthamr, nothing in the driver currently needs any real share ID or snapshot ID15:43
xyang_vponomaryov: use share_instance_id is a straight forward fix.  I don't have problem with that.  but if share_id in ShareSnapshotInstance does not point to share_instance_id any more, I don't see it is even needed there15:43
bswartzthey're all using the instance IDs -- even replication and migraiton15:43
bswartzif you can find examples of places in a driver somewhere that needs a real snapshot ID or share ID, that would be a help support a need to rename these fields15:44
vponomaryovxyang_, bswartz: share_groups logic uses this attr15:44
gouthamryes, as far as i can tell.. snapshot['share_instance_id'] makes no sense15:44
bswartzotherwise I think it's simpler to continue to hide the real share and snapshot IDs15:45
gouthamrwhen the driver doesn't do anything with 'share_instance_id' yet15:45
bswartzvponomaryov: that's new code though -- we could change it to match the current style15:45
bswartzI would strongly prefer to have a driver interface that never exposed share IDs and snapshot IDs to drivers15:45
vponomaryovgouthamr: not "snapshot['share_instance_id']", it is "snapshot_instance['share_instance_id']"15:45
gouthamrouch.. why should teh drivers worry about snapshot instances now?15:46
bswartzthe rationale for hiding the real IDs from the drivers back when we did that work (in liberty?) was that we wanted to reserve the right to change them without affecting driver operation15:46
vponomaryovsure, we can also remove all references to "share_id" from share groups logic and return back "proxy" attr15:47
gouthamrvponomaryov: snapshot_replicas were used to hide that fact..15:47
gouthamra snapshot_replica is a snapshot_instance..15:47
gouthamrit's easier to consume when you just assume that they are all the same as snapshots15:47
bswartzI'm in favor of continuing to use the proxy attr in the short term15:47
bswartzlonger term we should not be passing sqlalchemy objects down to the drivers at all15:48
vponomaryovbswartz: but it will not block availability of share and snapshot IDs to driver15:48
bswartzwe should be passing down some kind of synthetic objects -- at one time we had planned to use OVO -- but I would be okay with something else like simple dictionaries15:48
bswartzvponomaryov: if we wanted to block the availability of those fields to the drivers, how would you do it?15:49
vponomaryovbswartz: remove it from objects before providing it to drivers15:49
gouthamrthe rationale behind passing primitive dicts in the share manager was something else too... sqlalchemy lazy loading15:50
vponomaryovbswartz: each share instance already has "share_id"15:50
bswartzwouldn't converting the sqlalchemy model objects to plain dictionaries achieve that?15:50
vponomaryovbswartz: BUT15:50
vponomaryovbswartz: it is really useful for replication needs, for example, in ZFSonLinux driver15:50
gouthamrvponomaryov: and other drivers too15:50
vponomaryovbswartz: share facade data and share instance data are different data and both existing. So, share ID and snapshot ID should be available for drivers15:51
bswartzI would hope that we could implement replication as a list of replicas with no knowledge of the actual Share ID those replicas belong to15:51
vponomaryovsorry, got to go15:51
bswartzare there places in the ZFS driver today that depend on share ID?15:51
bswartzI have to go to15:51
vponomaryovbswartz: yes15:51
gouthamrwe can table this to tomorrow's meeting15:52
bswartzokay I'd like to find all of those places15:52
bswartzbecause those are at the core of this issue15:52
bswartzbbiab15:52
bswartzwhew, made it back before cinder meeting15:59
*** gouthamr_ has joined #openstack-manila16:00
*** gouthamr2 has joined #openstack-manila16:04
*** gouthamr_ has quit IRC16:08
*** a-pugachev has quit IRC16:11
*** cfey_ has joined #openstack-manila16:18
*** dustins has quit IRC16:19
*** dustins_ has joined #openstack-manila16:19
*** jmlowe has quit IRC16:23
*** arnewiebalck_ has joined #openstack-manila16:24
*** makowals has joined #openstack-manila16:35
*** makowals_ has quit IRC16:36
*** makowals_ has joined #openstack-manila16:41
*** makowals has quit IRC16:43
*** jmlowe has joined #openstack-manila16:46
*** makowals_ has quit IRC16:53
*** gouthamr_ has joined #openstack-manila16:55
*** makowals has joined #openstack-manila16:55
*** gouthamr_mbl has joined #openstack-manila16:58
*** gouthamr2 has quit IRC16:58
*** makowals has quit IRC17:00
*** gouthamr_ has quit IRC17:01
*** catintheroof has quit IRC17:02
*** catintheroof has joined #openstack-manila17:03
*** lpetrut has quit IRC17:10
*** pcaruana has quit IRC17:29
*** gouthamr_mbl has quit IRC17:30
*** gouthamr_ has joined #openstack-manila17:30
*** gouthamr_ has quit IRC17:34
*** makowals has joined #openstack-manila17:34
*** makowals has quit IRC17:40
*** makowals has joined #openstack-manila17:41
*** makowals has quit IRC17:41
*** makowals has joined #openstack-manila17:42
*** arnewiebalck_ has quit IRC17:46
*** makowals has quit IRC17:59
*** arnewiebalck_ has joined #openstack-manila18:30
*** arnewiebalck_ has quit IRC18:58
*** dsariel has joined #openstack-manila19:10
*** a-pugachev has joined #openstack-manila19:12
*** a-pugachev has quit IRC19:35
*** dustins_ is now known as dustins19:52
*** jprovazn has quit IRC19:58
*** xyang_ has quit IRC20:03
*** xyang_ has joined #openstack-manila20:04
*** xyang_ has quit IRC20:06
*** xyang1 has quit IRC20:18
*** gouthamr has quit IRC20:45
*** cknight has quit IRC20:48
*** jmlowe has quit IRC21:05
*** gouthamr has joined #openstack-manila21:11
*** eharney has quit IRC21:16
*** a-pugachev has joined #openstack-manila21:24
*** dustins has quit IRC21:31
*** hoonetorg has quit IRC21:34
*** jmlowe has joined #openstack-manila21:40
*** ganso has quit IRC22:15
*** chlong has quit IRC22:37
*** a-pugachev has quit IRC23:03
*** catintheroof has quit IRC23:09
*** dsariel has quit IRC23:12
*** ghs39ghsggf has joined #openstack-manila23:20
*** ghs39ghsggf has left #openstack-manila23:20
*** hongbin has quit IRC23:46

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