Friday, 2015-05-15

*** chen12 has joined #openstack-manila00:25
*** mtanino has quit IRC00:49
*** chen12 has quit IRC01:03
*** cknight has joined #openstack-manila01:21
*** haomaiwa_ has quit IRC01:26
*** haomaiwa_ has joined #openstack-manila01:28
*** cknight has quit IRC02:02
*** cknight has joined #openstack-manila02:06
*** mtanino has joined #openstack-manila02:09
*** chen12 has joined #openstack-manila02:10
*** mtanino has quit IRC03:00
*** cknight1 has joined #openstack-manila03:23
*** cknight has quit IRC03:23
*** tobe4333 has joined #openstack-manila03:48
openstackgerritMerged openstack/manila: ganesha: Add doc  https://review.openstack.org/16548204:01
*** tobe4333 has quit IRC04:20
*** sgotliv has joined #openstack-manila04:23
*** sgotliv has quit IRC04:30
*** cknight1 has quit IRC04:35
*** deepakcs has joined #openstack-manila04:58
*** sgotliv has joined #openstack-manila05:00
*** sks has joined #openstack-manila05:04
openstackgerritMerged openstack/manila: Fix share-server resources cleanup in generic driver  https://review.openstack.org/18138005:25
openstackgerritMerged openstack/manila: Make generic driver use only ipv4 addresses from service instances  https://review.openstack.org/18315805:33
*** sgotliv has quit IRC05:48
*** rraja has joined #openstack-manila05:49
*** zaitcev has quit IRC05:57
*** ajo has joined #openstack-manila06:21
*** lpetrut has joined #openstack-manila06:21
*** chlong has quit IRC07:32
*** tobe4333 has joined #openstack-manila07:44
*** tobe4333 has quit IRC08:07
*** lpetrut has quit IRC08:07
openstackgerritIgor Malinovskiy proposed openstack/manila: Add share extend API  https://review.openstack.org/18237708:17
openstackgerritIgor Malinovskiy proposed openstack/python-manilaclient: Add share extend API  https://review.openstack.org/18260608:29
*** sgotliv has joined #openstack-manila09:09
openstackgerritValeriy Ponomaryov proposed openstack/manila: Release Neutron ports after share server deletion using generic driver  https://review.openstack.org/18147009:23
*** deepakcs has quit IRC09:30
openstackgerritValeriy Ponomaryov proposed openstack/manila: Release Neutron ports after share server deletion using generic driver  https://review.openstack.org/18147009:40
*** sgotliv has quit IRC09:40
*** vbellur has joined #openstack-manila09:41
*** lpetrut has joined #openstack-manila09:42
*** Zhongjun has joined #openstack-manila09:48
*** u_glide has quit IRC10:20
*** tobe4333 has joined #openstack-manila10:27
*** u_glide has joined #openstack-manila10:29
openstackgerritIgor Malinovskiy proposed openstack/manila: Implement extend_share() method in Generic driver  https://review.openstack.org/18238310:32
*** ajo has quit IRC10:33
*** rcallawa has quit IRC11:02
*** rcallawa has joined #openstack-manila11:02
*** tobe4333 has quit IRC11:07
*** rraja has quit IRC11:08
*** cknight has joined #openstack-manila11:10
*** sgotliv has joined #openstack-manila11:35
*** sgotliv has quit IRC11:36
*** sgotliv has joined #openstack-manila11:36
*** marcusvrn1 has joined #openstack-manila11:50
*** dencaval has joined #openstack-manila11:51
*** dencaval has left #openstack-manila11:52
*** marcusvrn has quit IRC11:52
*** marcusvrn1 has quit IRC11:57
*** marcusvrn has joined #openstack-manila11:59
*** rcallawa has quit IRC11:59
*** Zhongjun has quit IRC11:59
*** marcusvrn1 has joined #openstack-manila12:02
*** marcusvrn has quit IRC12:03
*** marcusvrn has joined #openstack-manila12:08
*** marcusvrn1 has quit IRC12:08
*** ajo has joined #openstack-manila12:09
*** ajo has quit IRC12:13
*** marcusvrn has quit IRC12:16
*** marcusvrn has joined #openstack-manila12:18
*** marcusvrn has quit IRC12:32
*** marcusvrn has joined #openstack-manila12:36
*** timcl has joined #openstack-manila12:36
*** cknight has quit IRC12:42
*** cknight has joined #openstack-manila12:42
*** rcallawa has joined #openstack-manila12:45
openstackgerritIgor Malinovskiy proposed openstack/manila: Add share extend API  https://review.openstack.org/18237712:50
openstackgerritIgor Malinovskiy proposed openstack/manila: Implement extend_share() method in Generic driver  https://review.openstack.org/18238312:50
openstackgerritIgor Malinovskiy proposed openstack/manila: Implement tempest tests for share extend API  https://review.openstack.org/18349712:50
*** bswartz has quit IRC12:52
openstackgerritIgor Malinovskiy proposed openstack/manila: Export custom Share model properties with _extra_keys  https://review.openstack.org/18097113:10
*** sks has quit IRC13:12
*** erlon has joined #openstack-manila13:22
*** timcl has quit IRC13:27
*** bswartz has joined #openstack-manila13:29
*** dustins has joined #openstack-manila13:33
*** sgotliv has quit IRC13:42
*** marcusvrn has quit IRC13:43
*** marcusvrn has joined #openstack-manila13:44
openstackgerritIgor Malinovskiy proposed openstack/manila: Implement tempest tests for share extend API  https://review.openstack.org/18349713:46
openstackgerritIgor Malinovskiy proposed openstack/manila: Add share extend API  https://review.openstack.org/18237713:50
*** fthiagogv has joined #openstack-manila13:54
openstackgerritMerged openstack/manila: Release Neutron ports after share server deletion using generic driver  https://review.openstack.org/18147013:58
*** timcl has joined #openstack-manila14:05
*** eharney has joined #openstack-manila14:18
*** rushil has joined #openstack-manila14:18
*** rushil has quit IRC14:31
*** lpetrut has quit IRC14:53
*** rushil has joined #openstack-manila14:55
*** rushil has quit IRC14:57
*** rushil has joined #openstack-manila15:03
openstackgerritIgor Malinovskiy proposed openstack/manila: Implement tempest tests for share extend API  https://review.openstack.org/18349715:08
*** sks has joined #openstack-manila15:15
*** mtanino has joined #openstack-manila15:29
*** lpetrut has joined #openstack-manila15:30
*** jasonsb has quit IRC15:30
*** jasonsb has joined #openstack-manila15:31
openstackgerritIgor Malinovskiy proposed openstack/manila: Add share extend API  https://review.openstack.org/18237715:31
openstackgerritIgor Malinovskiy proposed openstack/manila: Implement extend_share() method in Generic driver  https://review.openstack.org/18238315:32
openstackgerritIgor Malinovskiy proposed openstack/manila: Implement tempest tests for share extend API  https://review.openstack.org/18349715:32
*** jasonsb has quit IRC15:36
openstackgerritDeliang Fan proposed openstack/manila: Add SSL middleware to fix incorrect version host_url  https://review.openstack.org/18048315:38
*** timcl has quit IRC15:38
*** rushil has quit IRC15:52
*** marcusvrn has quit IRC15:52
*** rushil has joined #openstack-manila15:53
*** marcusvrn has joined #openstack-manila15:58
*** rushil has quit IRC15:59
*** ganso has joined #openstack-manila16:00
*** xyang1 has quit IRC16:08
*** xyang1 has joined #openstack-manila16:09
*** u_glide has quit IRC16:12
openstackgerritDeliang Fan proposed openstack/manila: Add SSL middleware to fix incorrect version host_url  https://review.openstack.org/18048316:24
*** timcl has joined #openstack-manila16:28
*** marcusvrn has quit IRC16:29
*** marcusvrn has joined #openstack-manila16:30
*** cknight has quit IRC16:32
*** jasonsb has joined #openstack-manila16:33
*** rushil has joined #openstack-manila16:50
*** cknight has joined #openstack-manila17:04
*** marcusvrn1 has joined #openstack-manila17:06
*** marcusvrn has quit IRC17:09
*** marcusvrn1 has quit IRC17:17
*** marcusvrn has joined #openstack-manila17:22
openstackgerritDeliang Fan proposed openstack/manila: Add SSL middleware to fix incorrect version host_url  https://review.openstack.org/18048317:40
*** marcusvrn has quit IRC17:48
*** marcusvrn has joined #openstack-manila17:50
*** sks has quit IRC17:54
gansovponomaryov: ping17:58
vponomaryovganso: pong17:59
gansovponomaryov: Hello! I have a question for u_glide but he is not here right now, I was wondering if you could help me18:00
vponomaryovlets try =)18:00
gansovponomaryov: please, take a look at this https://review.openstack.org/#/c/177679/9/manila/share/drivers/generic.py18:00
vponomaryovline?18:00
gansosorry, line 52818:01
vponomaryov528? it is unchanged18:01
gansoself.private_storage.delete(share['id'])18:02
vponomaryov55418:02
vponomaryovit deletes data from storage18:02
vponomaryovafter share deletion18:02
gansoweird, it shows 528 for me18:03
gansoanyway18:03
gansovponomaryov: I am concerned about the responsibility of deleting a share's private data being delegated to drivers18:03
vponomaryovit is soft deletion as in whole openstack18:04
vponomaryovall data will be set as 'deleted' as well as share in 'shares' table18:04
gansovponomaryov: since private share data is indexed by share_id, if the share is deleted, I think the Manager should remove the share's private data18:04
*** rcallawa_ has joined #openstack-manila18:04
*** vbellur has quit IRC18:04
vponomaryovit is private driver storage18:05
vponomaryovdriver updates it18:05
gansovponomaryov: I understand that, but if I comment that line, and delete the share, the private data remains without being set as deleted18:05
vponomaryovso, why not delete it within driver?18:05
gansovponomaryov: yes, that's what I would like your opinion about18:05
*** rcallawa has quit IRC18:05
gansovponomaryov: If it is private share data, should I handle it from the manager when doing migration?18:06
vponomaryovdoing it you force driver to use private storage18:06
gansovponomaryov: I am not sure if Manager should be able to touch that or not18:06
vponomaryoveach driver18:06
gansovponomaryov: I was thinking about migrating the share's private data when I migrate it18:07
gansovponomaryov: like, one of the fields is "host", I need to update that18:07
vponomaryovwhere? DB record should be the same18:07
vponomaryovright, manager will update host18:07
vponomaryovand driver will write all private data if any18:07
vponomaryovthe former is a must, but the latter is optional18:08
gansohummm18:08
gansoI have one other question18:09
vponomaryovyes?18:10
gansovponomaryov: I am thinking about creating the physical share on destination backend without creating a DB entry, like you suggested... I am a bit lost on how to track the reference to that physical share without creating its DB entry and without saving something on the original share_id private share data myself18:11
vponomaryovganso: this case is Ok to use from manager18:12
vponomaryovganso: originally you asked about deletion18:12
gansovponomaryov: I could delegate to driver to save the physical share ID or other info in private share data when doing migration, I don't know if it looks ugly or wrong implementing it in base driver class, since Manager should not touch it18:12
vponomaryovwhy should not?18:13
*** rushil has quit IRC18:13
gansobecause, it's the driver's private storage18:13
vponomaryovright, but is there a harm to use it by both?18:14
gansoyou just said it is ok, but looks conceptually wrong18:14
vponomaryovshare deletion is required feature18:15
vponomaryovmigration is not18:15
gansook, so when I am doing migration, the Manager may use the share's private storage to handle temporary data?18:16
vponomaryovyes, because there is real need18:17
vponomaryovrequired for migration, but not specific driver18:17
vponomaryovyou will use two drivers18:17
vponomaryoveach driver for itself can write any data18:18
vponomaryovand delete too18:18
vponomaryovthat is done on line 528/54418:18
gansoyes, that is another problem when creating a physical share not associated with an ID18:19
*** rushil has joined #openstack-manila18:19
vponomaryovwhy not associated?18:19
vponomaryovwith original one - you will be able to write to private storage only by ID18:19
*** timcl has left #openstack-manila18:20
gansook so if I use the original ID, the create_share method in the destination backend will save any private data it wants based on that share's ID key, it may even overwrite private share data that was already there, added by the source backend18:20
vponomaryovcould be18:21
vponomaryovif driver does not use prefixes18:21
gansothe "create_share" method in the destination backend does not know it is being called for a migration purpose18:22
*** openstackgerrit has quit IRC18:22
gansoif drivers are not aware of this situation, it could possibly lead to a mess18:22
*** openstackgerrit has joined #openstack-manila18:22
gansoI am trying to implement it in a way that requires less effort from drivers in the Generic Migration approach18:24
*** sgotliv has joined #openstack-manila18:24
vponomaryovganso: then use different driver method than "create"18:25
vponomaryovganso: it would be indeed more correct18:25
*** sgotliv has quit IRC18:26
gansovponomaryov: so far, I am analyzing advantages and disadvantages or using Temp DB entry vs not using18:26
*** sgotliv has joined #openstack-manila18:26
gansovponomaryov: Creating another method and forcing drivers to implement both "create_share" and "create_share_for_migration" looks like more complicated to driver vendors than using a temp DB entry that driver vendors do not need to worry about18:27
vponomaryovganso: we should allow drivers do something special18:28
vponomaryovganso: not expecting that it is totally the same as creation18:28
vponomaryovfrom scratch18:28
gansovponomaryov: they can, in Migration, the first thing we do is call driver.migrate_share so they can migrate themselves in an optimized way if possible18:28
gansovponomaryov: at this moment I do not see a situation where it would need to be different than a standard creation18:29
*** cknight has quit IRC18:32
*** cknight has joined #openstack-manila18:32
vponomaryovganso: by, default we can use "creation" in "migration" and allow any driver redefine it18:36
vponomaryovletting do it we do not lose nothing18:36
vponomaryovbut provide more possibilities18:36
vponomaryovnow I have to go18:37
gansovponomaryov: ok, thanks a lot for the help! :)18:37
vponomaryovbye =)18:38
gansovponomaryov: bye :)18:38
*** marcusvrn has quit IRC18:40
*** vponomaryov has quit IRC18:42
*** rushil has quit IRC18:43
*** marcusvrn has joined #openstack-manila18:44
*** marcusvrn has quit IRC18:48
*** rushil has joined #openstack-manila18:52
*** marcusvrn has joined #openstack-manila18:57
*** ajo has joined #openstack-manila19:15
*** ajo has quit IRC19:20
*** sgotliv has quit IRC19:35
*** dustins has quit IRC19:37
*** rushil has quit IRC19:42
*** rcallawa_ has quit IRC19:49
*** cknight has quit IRC19:50
*** lpabon has joined #openstack-manila20:01
lpabonbswartz: ping20:01
*** marcusvrn has quit IRC20:02
*** fthiagogv has quit IRC20:07
*** jasonsb_ has joined #openstack-manila20:13
*** jasonsb has quit IRC20:13
*** zaitcev has joined #openstack-manila20:18
*** rcallawa has joined #openstack-manila20:21
*** rcallawa has quit IRC20:26
*** ganso has quit IRC20:27
*** ajo has joined #openstack-manila20:34
*** bswartz has quit IRC20:42
*** rcallawa has joined #openstack-manila20:56
*** lpabon has quit IRC20:58
*** jasonsb_ has quit IRC20:59
*** jasonsb has joined #openstack-manila21:00
*** jasonsb has quit IRC21:05
*** rcallawa has quit IRC21:05
*** rcallawa has joined #openstack-manila21:06
*** lpetrut has quit IRC21:28
*** eharney has quit IRC21:36
*** erlon has quit IRC21:41
*** bswartz has joined #openstack-manila22:09
*** ajo has quit IRC23:19
*** rhagarty has quit IRC23:38
*** gary-smith has quit IRC23:48

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