Saturday, 2017-02-04

openstackgerritYogesh proposed openstack/manila master: Improve test coverage for share migration  https://review.openstack.org/41855900:31
*** mtanino has quit IRC00:36
tommylikehuhey bswartz are you still around?00:55
tommylikehuJust saw the new items you added on topic IPv6 on the PTG's etherpad :)01:01
*** ganso has quit IRC01:04
*** gcb has joined #openstack-manila01:18
*** a-pugachev has quit IRC01:22
bswartztommylikehu: yeah I'm here01:30
bswartztommylikehu: I read the scrollback this morning and saw your conversation with vponomaryov01:30
bswartztommylikehu: we've discussed that topic several times and never really agreed on an answer01:31
bswartztommylikehu: personally I'm leaning towards the 3rd option01:32
bswartztbarron: ping01:32
tommylikehubswartz: third option?01:32
bswartztommylikehu: I think it makes sense for manila to always accept ip access rules in either format -- ipv4 or ipv601:33
tommylikehuAlways allow rules even when not supported?01:33
bswartzbackends can ignore unsupported ones but they should still get added to the manila DB01:33
bswartzthe reason is because support for ipv6 could get added later01:34
tommylikehuthat is reasonable, but even with that, we could only say that we support IPv6 in LVM and access with NAS, the rest part is never tested until the other drivers have supportted that.01:38
bswartztommylikehu: I think that "ipvX_support" should mean: the driver code supports it, the backend code/hardware supports it, AND it's been administratively enabled on the backend01:39
bswartzif any one of those things is not true, then support should be false01:40
tommylikehubswartz: then the 'ipv4_support' capabilities no longer belongs to the drivers only.01:41
tommylikehuipvx_support01:41
bswartzwell all drivers have code to support ipv4 today, and all backends support ipv4 today01:41
bswartzthe only way ipv4 could not be supported, is if the backend had not been assigned an ipv4 address, or ipv4 had been administratively disabled01:42
tommylikehuyes, so you are leaning towards to vponomaryov's opinion01:43
tommylikehubswartz I agree with you, the only thing that we should notice is that the we might update the manila's code when new driver which support new access type is going to support IPv6, cause that process has not been tested.01:49
bswartztommylikehu: I'm more interested in situation where the backend gets reconfigured while Manila is running01:50
bswartzconsider an existing share with 1 IPv4 export location, and then the administrator add and IPv6 address to the backend01:50
tommylikehubswartz: restart the service01:51
bswartzhow can manila discover the new IPv6 export location and ensure the access rules through that export location are correct?01:51
tommylikehucinder guys is working on the dynammic reconfiguration01:51
bswartzI agree a service restart probably makes sense in that case, but we still lack the code to go update the shares that need updating in that situation01:51
tommylikehubswartz: do we have the logic to update the share's export location when administrator add another IPv4 address?01:57
bswartztommylikehu: no -- we had an agenda item to discuss that in Barcelona but we ran out of time01:59
bswartzwe'll get to it in Atlanta for sure -- I need to spend some time thinking about it before then01:59
tommylikehubswartz: so that might be another issue, but could be handled together with IPv602:00
bswartzthere are lots of things that need to be checked and updated after a share is created02:00
bswartzthe challenge is finding a way to do it that scales02:01
bswartzsimply iterating over every share and updating it when the backend starts up will definitely not scale02:01
tommylikehubefore that I am not sure whether this situation you mentioned is common for administrator , any statistics on that?02:02
tommylikehuespecially when changing IPv4 to IPv6, that could make some access rule illegal for shares,02:03
tommylikehuadministrator should realise that02:03
bswartztechnically the rules aren't illegal -- they'll just never get used02:06
bswartzif I add an access rule to my share for ::/0 and the share only has IPv4 export locations, the access rule won't do anything02:06
bswartzIMO Manila should still accept and store that rule, because later the share may get an IPv6 export location and then the rule will make sense02:07
tommylikehubswartz: if the case above is about adding or changing address with different ip version for same backend. the share should work after new access rule is added, and we do not need to update the shares.02:18
tommylikehubswartz: and the only thing we need to do is dynamic build the export locations, correct?02:25
*** crushil has joined #openstack-manila02:29
bswartztommylikehu: it's a matter of noticing when the the list of export locations for an existing share might have changed and then updating them all in the database02:40
bswartzI'm not sure how we can do it in a scalable way but it's something to think about02:41
tommylikehusure, you are absolutely correct. maybe we can ask driver to update this when address is detected changing.02:43
openstackgerritgecong proposed openstack/manila master: Replaces yaml.load() with yaml.safe_load()  https://review.openstack.org/42915602:44
bswartzgouthamr: regarding https://review.openstack.org/#/c/428398/6/manila/share/manager.py I really dislike the method name "get_and_UPDATE_share_instance_access_rules" when I only want to get the rules02:55
gouthamrbswartz: i know.. what else can we call that method?02:55
gouthamrbswartz: there're not a lot of places where you only get the rules... but you still want to hold a lock when doing so.02:56
bswartzgouthamr: maybe we need another method that wraps that method, removing all the upgrade functionality02:59
bswartzs/upgrade/update/02:59
gouthamrbswartz: maybe.. but you could use that and set updates={}... wouldn't that solve the readability problem03:00
bswartzany time you want 2 different functionalities with 1 implementation you either wrap one method with the other or have both methods wrap a common private method03:01
gouthamrbswartz: that can work, but the common code is only two lines.. maybe it's worth just adding another method that takes the same named lock03:05
bswartzgouthamr: nobody ever needs to do both things at the same time?03:06
gouthamrbswartz: both things: get and update? most places need that..03:06
bswartzwell the splitting the method in 2 doesn't make sense03:07
gouthamryes, i considered that deeply, i promise :)03:07
gouthamri saw we only ever read the rules without updating once/twice03:08
openstackgerritMerged openstack/manila master: Fix nonsense variable name  https://review.openstack.org/42870703:40
*** ganso has joined #openstack-manila03:54
*** furlongm has quit IRC03:56
*** furlongm has joined #openstack-manila03:57
*** furlongm has quit IRC03:58
*** furlongm has joined #openstack-manila03:59
*** zhonghua has quit IRC04:11
*** zhonghua has joined #openstack-manila04:12
openstackgerritYogesh proposed openstack/manila master: Improve test coverage for share migration  https://review.openstack.org/41855904:28
*** crushil has quit IRC04:33
*** lpetrut has joined #openstack-manila04:49
*** harlowja has quit IRC05:08
*** gouthamr has quit IRC05:14
*** lpetrut has quit IRC05:16
*** lpetrut has joined #openstack-manila05:36
*** lpetrut has quit IRC05:40
*** ganso has quit IRC06:04
*** harlowja has joined #openstack-manila06:17
openstackgerritTommyLike proposed openstack/manila master: Enable IPv6 in manila(network plugins and drivers)  https://review.openstack.org/40677606:26
*** crushil has joined #openstack-manila06:43
*** harlowja has quit IRC06:50
*** shausy has joined #openstack-manila06:58
*** shausy has quit IRC07:03
openstackgerritOpenStack Proposal Bot proposed openstack/manila-ui master: Imported Translations from Zanata  https://review.openstack.org/42919407:19
*** harlowja has joined #openstack-manila07:50
*** crushil has quit IRC07:53
*** harlowja has quit IRC07:57
tommylikehuping vponomaryov08:58
tommylikehuhey vponomaryov, I still reckon we do not need to use 'dummy_driver_dhss_false_ip_version' for both dhss false and true, I pasted the configuration on the four cases at the latest comments here: https://review.openstack.org/#/c/406776, please take a look and correct me if something is missing.09:12
*** a-pugachev has joined #openstack-manila09:45
*** a-pugachev has quit IRC10:02
*** lpetrut has joined #openstack-manila10:06
tbarronrhagarty: you need 39d6b1e12410f1edc9e80b5b8006fa7539771c4b for manila ui so that it doesn't call share_network_create with nova net argument (microversion 2.26 bump)10:16
tbarronbswartz: pong - saw your note on ppa if that was the ping, very cool, will try it out when I circle back to v6 testing10:38
*** zhonghua has quit IRC10:46
*** zhonghua has joined #openstack-manila10:47
*** lpetrut has quit IRC10:51
openstackgerritMerged openstack/manila master: Prepare for using standard python tests  https://review.openstack.org/42903211:15
*** kberger has quit IRC12:16
*** gcb has quit IRC12:34
*** dgonzalez_ has joined #openstack-manila12:53
*** dgonzalez_ has quit IRC12:55
*** xinyanzhang has quit IRC14:10
*** xinyanzhang has joined #openstack-manila14:11
*** gouthamr has joined #openstack-manila14:46
*** crushil has joined #openstack-manila15:26
*** jcsp has quit IRC16:03
*** kberger has joined #openstack-manila16:16
*** chlong has quit IRC16:17
*** gouthamr has quit IRC16:45
*** crushil has quit IRC16:56
*** crushil has joined #openstack-manila17:07
*** crushil has quit IRC18:00
*** kberger has quit IRC18:32
*** kberger has joined #openstack-manila18:32
*** gouthamr has joined #openstack-manila19:47
*** david-lyle_ has joined #openstack-manila21:02
*** kberger has quit IRC21:04
*** david-lyle has quit IRC21:05
*** lpetrut has joined #openstack-manila21:07
*** eharney has quit IRC21:26
*** catintheroof has joined #openstack-manila22:05
*** breitz has quit IRC22:27
*** breitz has joined #openstack-manila22:28
*** akerr has joined #openstack-manila22:29
*** akerr has quit IRC22:29
*** gouthamr has quit IRC22:51
*** david-lyle_ has quit IRC23:05
*** lpetrut has quit IRC23:06
*** david-lyle has joined #openstack-manila23:07
*** david-lyle has quit IRC23:11
*** catintheroof has quit IRC23:42

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