Wednesday, 2015-11-25

*** jwcroppe has quit IRC00:01
*** apoorvad has quit IRC00:02
*** EinstCrazy has quit IRC00:04
*** apoorvad has joined #openstack-cinder00:05
*** alexpilotti has joined #openstack-cinder00:06
*** rhagarty_ has quit IRC00:09
*** rhagarty has joined #openstack-cinder00:11
*** apoorvad has quit IRC00:11
*** frakt has quit IRC00:15
*** frakt has joined #openstack-cinder00:16
*** rhagarty has quit IRC00:17
*** rhagarty has joined #openstack-cinder00:17
*** markvoelker has quit IRC00:26
*** apoorvad has joined #openstack-cinder00:27
*** dims has joined #openstack-cinder00:30
*** dims_ has quit IRC00:31
*** akshai_ has quit IRC00:31
*** jwcroppe has joined #openstack-cinder00:39
*** rhagarty_ has joined #openstack-cinder00:45
*** jerrygb has quit IRC00:45
*** jerrygb has joined #openstack-cinder00:46
*** rhagarty has quit IRC00:47
*** jerrygb has quit IRC00:50
*** bardia has quit IRC00:56
*** alexpilotti has quit IRC00:59
*** apoorvad has quit IRC00:59
*** alexpilotti has joined #openstack-cinder00:59
*** salv-orl_ has quit IRC01:01
*** EinstCrazy has joined #openstack-cinder01:05
*** zhangjn has joined #openstack-cinder01:05
*** swebb has quit IRC01:14
*** Lee1092 has joined #openstack-cinder01:21
*** swebb has joined #openstack-cinder01:21
*** markvoelker has joined #openstack-cinder01:27
*** alexpilotti has quit IRC01:31
*** markvoelker has quit IRC01:31
*** pots2 has quit IRC01:34
*** leeantho has quit IRC01:34
*** zhenguo has joined #openstack-cinder01:37
*** mudassirlatif has joined #openstack-cinder01:47
*** zhangjn has quit IRC01:49
*** dustins has quit IRC01:50
*** mriedem has joined #openstack-cinder01:52
*** zhangjn has joined #openstack-cinder01:52
*** dustins has joined #openstack-cinder01:56
*** jerrygb has joined #openstack-cinder01:59
*** haomaiwa_ has joined #openstack-cinder02:01
*** dustins has quit IRC02:02
*** smoriya_ has joined #openstack-cinder02:05
openstackgerritwuyuting proposed openstack/cinder: Declare multiattach is True in Dell Eqlx driver  https://review.openstack.org/24951602:07
openstackgerritJohn Griffith proposed openstack/cinder: Add cluster Pairing setup to SolidFire driver  https://review.openstack.org/23823502:08
*** mtanino has quit IRC02:13
*** dustins has joined #openstack-cinder02:15
openstackgerritwuyuting proposed openstack/cinder: Declare multiattach is True in Dell Eqlx driver  https://review.openstack.org/24951602:17
openstackgerritJohn Griffith proposed openstack/cinder: Add replicate by volume-type to SolidFire driver  https://review.openstack.org/23827602:24
openstackgerritJohn Griffith proposed openstack/cinder: Add replicate by volume-type to SolidFire driver  https://review.openstack.org/23827602:25
*** markvoelker has joined #openstack-cinder02:28
*** mudassirlatif has quit IRC02:29
*** jerrygb has quit IRC02:32
*** markvoelker has quit IRC02:33
*** dustins has quit IRC02:33
*** jerrygb has joined #openstack-cinder02:33
openstackgerritThang Pham proposed openstack/cinder: Implement refresh() for cinder objects  https://review.openstack.org/24899802:34
*** dustins has joined #openstack-cinder02:35
*** dustins has quit IRC02:36
*** jerrygb has quit IRC02:37
*** arnewiebalck__ has joined #openstack-cinder02:38
*** dims has quit IRC02:39
*** jerrygb has joined #openstack-cinder02:40
*** arnewiebalck_ has quit IRC02:40
*** jwcroppe has quit IRC02:47
*** dustins has joined #openstack-cinder02:47
*** jwcroppe has joined #openstack-cinder02:48
*** dustins has quit IRC02:49
openstackgerritwanghao proposed openstack/python-cinderclient: support for snapshot management  https://review.openstack.org/24909002:49
*** jwcroppe has quit IRC02:52
*** dustins has joined #openstack-cinder02:55
*** haomaiwa_ has quit IRC03:01
*** 6JTACJ1YS has joined #openstack-cinder03:01
*** salv-orlando has joined #openstack-cinder03:05
*** sghanekar__ has quit IRC03:07
*** breitz has quit IRC03:09
*** breitz has joined #openstack-cinder03:09
openstackgerritThang Pham proposed openstack/cinder: Implement refresh() for cinder objects  https://review.openstack.org/24899803:13
*** mriedem has quit IRC03:13
*** RA has joined #openstack-cinder03:14
*** RA is now known as Guest3076203:14
*** Guest30762 is now known as RA_03:16
*** jerrygb has quit IRC03:16
*** jerrygb has joined #openstack-cinder03:16
*** terryyao has joined #openstack-cinder03:20
openstackgerritwuyuting proposed openstack/cinder: Declare multiattach is True in LVMVolume driver  https://review.openstack.org/24953203:20
*** mtanino has joined #openstack-cinder03:21
*** jerrygb has quit IRC03:21
*** markvoelker has joined #openstack-cinder03:29
openstackgerritwuyuting proposed openstack/cinder: Declare multiattach is True in LVMVolume driver  https://review.openstack.org/24953203:34
*** changbl has quit IRC03:34
*** markvoelker has quit IRC03:34
*** markvoelker has joined #openstack-cinder03:35
*** martyturner has joined #openstack-cinder03:37
*** salv-orlando has quit IRC03:38
*** boris-42 has quit IRC03:38
*** martyturner1 has joined #openstack-cinder03:39
*** martyturner has quit IRC03:41
*** john5223 is now known as zz_john522303:41
*** martyturner1 has left #openstack-cinder03:44
*** changbl has joined #openstack-cinder03:47
*** jwcroppe has joined #openstack-cinder03:49
openstackgerritEdwin Wang proposed openstack/cinder: FlashSystem reports error in _find_host_exhaustive()  https://review.openstack.org/24754603:49
*** zhangjn has quit IRC03:51
*** salv-orlando has joined #openstack-cinder03:51
*** dustins has quit IRC03:53
*** salv-orlando has quit IRC03:56
*** dustins has joined #openstack-cinder03:57
openstackgerritzhangsong proposed openstack/os-brick: Improve the remove_multipath_device() method for linuxscsi  https://review.openstack.org/24930803:57
*** 6JTACJ1YS has quit IRC04:01
*** haomaiwang has joined #openstack-cinder04:01
openstackgerritVincent Hou proposed openstack/cinder: Storwize: Implement v2 replication (global)  https://review.openstack.org/24904204:01
openstackgerritVincent Hou proposed openstack/cinder: Storwize: Implement v2 replication (split IO)  https://review.openstack.org/23738704:01
openstackgerritLisaLi proposed openstack/cinder-specs: Retype encrypted volumes  https://review.openstack.org/24859304:02
*** jwcroppe has quit IRC04:02
*** strictlyb is now known as sb04:05
*** Thelo has quit IRC04:07
*** sgundur has joined #openstack-cinder04:16
*** sgundur has left #openstack-cinder04:17
*** Thelo has joined #openstack-cinder04:17
*** zz_john5223 is now known as john522304:20
openstackgerritxing-yang proposed openstack/cinder: Backup snapshots  https://review.openstack.org/24340604:21
*** zao has joined #openstack-cinder04:44
*** zao has left #openstack-cinder04:46
*** houming has joined #openstack-cinder04:47
*** gcb has joined #openstack-cinder04:48
*** mtanino has quit IRC04:59
*** jwcroppe has joined #openstack-cinder05:00
*** haomaiwang has quit IRC05:01
*** haomaiwang has joined #openstack-cinder05:01
openstackgerritxing-yang proposed openstack/cinder: Fix ScaleIO driver provisioning key  https://review.openstack.org/24955205:09
openstackgerritLisaLi proposed openstack/cinder-specs: Retype encrypted volumes  https://review.openstack.org/24859305:10
openstackgerritxing-yang proposed openstack/cinder: Fix ScaleIO driver provisioning key  https://review.openstack.org/24955205:15
openstackgerritMerged openstack/cinder: Remove stubs and add resource cleanup  https://review.openstack.org/24921805:16
*** salv-orlando has joined #openstack-cinder05:18
*** shausy has joined #openstack-cinder05:21
openstackgerritLisaLi proposed openstack/cinder: Delete unused codes in rbd.retype  https://review.openstack.org/24446005:22
openstackgerritxing-yang proposed openstack/cinder: ScaleIO extend volume round up capacity  https://review.openstack.org/24955605:24
*** salv-orlando has quit IRC05:24
*** zhangjn has joined #openstack-cinder05:28
*** haomaiwang has quit IRC06:01
*** haomaiwang has joined #openstack-cinder06:01
*** asselin has quit IRC06:04
*** asselin has joined #openstack-cinder06:04
*** houming has quit IRC06:07
openstackgerritVincent Hou proposed openstack/cinder: Storwize: Implement v2 replication (global)  https://review.openstack.org/24904206:08
openstackgerritVincent Hou proposed openstack/cinder: Storwize: Implement v2 replication (split IO)  https://review.openstack.org/23738706:08
*** nikeshm has quit IRC06:10
*** jiangliucheng has joined #openstack-cinder06:16
openstackgerritzhangsong proposed openstack/os-brick: Improve the remove_multipath_device() method for linuxscsi  https://review.openstack.org/24930806:17
*** rcernin has joined #openstack-cinder06:20
*** nikeshm has joined #openstack-cinder06:23
openstackgerritVipin Balachandran proposed openstack/cinder: VMware: Unit test refactoring (image to vol - 1/2)  https://review.openstack.org/24917406:23
*** sgotliv has joined #openstack-cinder06:25
openstackgerritOpenStack Proposal Bot proposed openstack/cinder: Imported Translations from Zanata  https://review.openstack.org/24902906:26
*** nkrinner has joined #openstack-cinder06:26
*** houming has joined #openstack-cinder06:26
*** lpetrut has joined #openstack-cinder06:31
*** zhangjn has quit IRC06:42
*** jwcroppe has quit IRC06:47
*** ankit_ag has joined #openstack-cinder06:47
*** vgridnev has joined #openstack-cinder06:54
*** haomaiwang has quit IRC07:01
*** haomaiwang has joined #openstack-cinder07:01
*** jwcroppe has joined #openstack-cinder07:05
openstackgerritVipin Balachandran proposed openstack/cinder: VMware: Unit test refactoring (image to vol - 2/2)  https://review.openstack.org/24917507:12
*** lpetrut has quit IRC07:14
*** lpetrut has joined #openstack-cinder07:15
*** lpetrut has quit IRC07:24
*** sgotliv has quit IRC07:27
openstackgerritwanghao proposed openstack/python-cinderclient: support for snapshot management  https://review.openstack.org/24909007:28
*** mudassirlatif has joined #openstack-cinder07:30
*** dims has joined #openstack-cinder07:35
*** anshul has joined #openstack-cinder07:37
*** salv-orlando has joined #openstack-cinder07:38
*** asselin has quit IRC07:39
*** dims_ has joined #openstack-cinder07:39
*** asselin has joined #openstack-cinder07:40
*** alexschm has joined #openstack-cinder07:40
*** dims has quit IRC07:40
*** salv-orlando has quit IRC07:41
*** rcernin_ has joined #openstack-cinder07:47
openstackgerritwanghao proposed openstack/cinder-specs: Get the replicated volume ref for DR  https://review.openstack.org/18215007:49
*** zhangjn has joined #openstack-cinder07:59
*** zhangjn has quit IRC08:00
*** haomaiwang has quit IRC08:01
*** haomaiwang has joined #openstack-cinder08:01
*** zhangjn has joined #openstack-cinder08:01
*** RA_ has quit IRC08:06
*** e0ne has joined #openstack-cinder08:07
*** haomaiwang has quit IRC08:09
*** e0ne has quit IRC08:12
*** haomaiwang has joined #openstack-cinder08:14
*** markus_z has joined #openstack-cinder08:15
*** zhangjn has quit IRC08:16
*** e0ne has joined #openstack-cinder08:16
*** gouthamr has joined #openstack-cinder08:19
*** gouthamr_ has joined #openstack-cinder08:21
*** IlyaG has quit IRC08:21
*** IlyaG has joined #openstack-cinder08:22
*** gouthamr has quit IRC08:25
*** IlyaG has quit IRC08:26
*** vgridnev has quit IRC08:26
*** e0ne has quit IRC08:28
*** zhangjn has joined #openstack-cinder08:29
*** e0ne has joined #openstack-cinder08:33
*** mudassirlatif has quit IRC08:38
*** subscope has joined #openstack-cinder08:44
*** yhayashi has quit IRC08:44
*** e0ne has quit IRC08:44
*** anshul has quit IRC08:47
*** jordanP has joined #openstack-cinder08:51
*** anshul has joined #openstack-cinder08:51
*** haomaiwang has quit IRC08:53
*** liverpooler has joined #openstack-cinder08:54
*** haomaiwang has joined #openstack-cinder08:55
*** gouthamr_ has quit IRC09:00
*** haomaiwang has quit IRC09:01
*** haomaiwang has joined #openstack-cinder09:01
*** gouthamr has joined #openstack-cinder09:03
*** ndipanov has quit IRC09:03
*** mkoderer_ is now known as mkoderer09:11
openstackgerritZhang Ni proposed openstack/cinder-specs: Add local tgt to lvm  https://review.openstack.org/24788009:11
*** genunix has quit IRC09:16
*** bluex has joined #openstack-cinder09:19
*** lpetrut has joined #openstack-cinder09:22
*** skraynev has quit IRC09:23
*** isaacb has joined #openstack-cinder09:27
*** salv-orlando has joined #openstack-cinder09:27
*** gouthamr has quit IRC09:28
*** salv-orlando has quit IRC09:28
*** salv-orlando has joined #openstack-cinder09:29
*** vgridnev has joined #openstack-cinder09:31
*** dims_ has quit IRC09:34
*** jistr has joined #openstack-cinder09:35
*** terryyao has quit IRC09:37
swamireddyHI09:41
swamireddyUsing pacemaker, cinder-volume can be configured as active/passive using a shared storage backend (ie ceph cluster). Is this configuration works as expected?09:42
*** ndipanov has joined #openstack-cinder09:42
swamireddyor use only active-active mode with know issues/problem??09:42
*** kbyrne has joined #openstack-cinder09:42
*** dansmith has quit IRC09:42
*** dansmith has joined #openstack-cinder09:45
*** dansmith is now known as Guest1115309:45
*** subscope has quit IRC09:46
DuncanTswamireddy: It works well using active/passive09:47
*** alonma has joined #openstack-cinder09:49
*** salv-orlando has quit IRC09:50
*** kbyrne has quit IRC09:50
*** kbyrne has joined #openstack-cinder09:50
*** alonma is now known as alonmarx09:51
*** IlyaG has joined #openstack-cinder09:52
swamireddyDuncanT: So current cinder support A/P mode?09:53
DuncanTswamireddy: No cinder support is needed, it will just work09:53
*** bapalm has quit IRC09:53
swamireddyDuncanT: OK, do we have document ofr some steps for the active/passive mode setup (currently Iam using the A-A setup and need to go with A-P)?09:55
*** bapalm has joined #openstack-cinder09:55
*** martyturner has joined #openstack-cinder09:55
DuncanTswamireddy: Any attempts I've made to document pacemaker setup has led to me spending far too long supporting it. You just need to use pacemaker to ensure there is one and only one instance of cinder-volume running09:56
*** IlyaG has quit IRC09:57
*** salv-orlando has joined #openstack-cinder09:57
*** gouthamr has joined #openstack-cinder09:58
*** martyturner has quit IRC10:00
*** e0ne has joined #openstack-cinder10:00
*** haomaiwang has quit IRC10:01
*** haomaiwang has joined #openstack-cinder10:01
*** zhenguo has quit IRC10:01
*** gouthamr has quit IRC10:03
*** gouthamr has joined #openstack-cinder10:03
*** rcernin_ has quit IRC10:06
*** RA_ has joined #openstack-cinder10:07
*** sgotliv has joined #openstack-cinder10:09
*** zhangjn has quit IRC10:09
swamireddyDuncanT: sure, let me try it. Thanks10:13
*** EinstCrazy has quit IRC10:13
DuncanTswamireddy: If you do end up with a clean, documented process, I'm sure the setup guide would welcome the contribution10:14
swamireddyDuncanT: Sure. Let me first setup and make it work...then surely will add a doc on the same.10:16
openstackgerritVincent Hou proposed openstack/cinder: Storwize: Implement v2 replication (global)  https://review.openstack.org/24904210:16
openstackgerritVincent Hou proposed openstack/cinder: Storwize: Implement v2 replication (split IO)  https://review.openstack.org/23738710:16
*** subscope has joined #openstack-cinder10:16
*** gouthamr has quit IRC10:17
*** alonmarx has quit IRC10:17
*** alonmarx has joined #openstack-cinder10:18
*** alonmarx has quit IRC10:22
*** anshul has quit IRC10:22
*** alonmarx has joined #openstack-cinder10:24
openstackgerritVincent Hou proposed openstack/cinder: Storwize: Implement v2 replication (Mirror)  https://review.openstack.org/24904210:24
*** alonmarx has quit IRC10:29
*** houming has quit IRC10:29
*** anshul has joined #openstack-cinder10:30
*** alonmarx has joined #openstack-cinder10:30
*** RA_ has quit IRC10:34
*** alonmarx has quit IRC10:34
*** alonmarx has joined #openstack-cinder10:36
*** haomaiwang has quit IRC10:39
*** alonmarx has quit IRC10:41
*** alonmarx has joined #openstack-cinder10:43
*** haomaiwa_ has joined #openstack-cinder10:44
*** subscope has quit IRC10:47
*** alonmarx has quit IRC10:47
*** RA_ has joined #openstack-cinder10:47
openstackgerritSzymon Wróblewski proposed openstack/cinder: Update migrate_volume API to use versionedobjects  https://review.openstack.org/22891610:48
*** alonmarx has joined #openstack-cinder10:49
*** haomaiwa_ has quit IRC11:00
*** RA_ has quit IRC11:00
*** jwcroppe has quit IRC11:07
*** smoriya_ has quit IRC11:07
*** jwcroppe has joined #openstack-cinder11:07
*** alonmarx has quit IRC11:08
*** alonmarx has joined #openstack-cinder11:08
*** jwcroppe has quit IRC11:12
*** Guest11153 has quit IRC11:12
*** dansmith has joined #openstack-cinder11:15
*** dansmith is now known as Guest1050411:15
*** RA_ has joined #openstack-cinder11:15
*** Guest10504 has quit IRC11:29
*** dansmith_ has joined #openstack-cinder11:31
*** jamielennox is now known as jamielennox|away11:42
openstackgerritSzymon Wróblewski proposed openstack/cinder: Update replication to use versionedobjects  https://review.openstack.org/23890611:47
openstackgerritSzymon Wróblewski proposed openstack/cinder: Update initialize_connection to use versionedobjects  https://review.openstack.org/23889411:47
*** marcusvrn_ has joined #openstack-cinder11:47
*** EinstCrazy has joined #openstack-cinder11:47
*** zhangjn has joined #openstack-cinder11:48
*** zhangjn has quit IRC11:49
*** haomaiwang has joined #openstack-cinder11:49
*** zhangjn has joined #openstack-cinder11:49
*** EinstCrazy has quit IRC11:49
*** EinstCrazy has joined #openstack-cinder11:50
*** dansmith_ has quit IRC11:52
*** dansmith_ has joined #openstack-cinder11:52
openstackgerritSzymon Wróblewski proposed openstack/cinder: Tooz locks  https://review.openstack.org/18353711:54
*** haomaiwang has quit IRC12:01
*** jamielennox|away is now known as jamielennox12:01
*** bluex has quit IRC12:01
*** haomaiwang has joined #openstack-cinder12:01
*** IlyaG has joined #openstack-cinder12:02
*** bluex has joined #openstack-cinder12:02
*** subscope has joined #openstack-cinder12:02
*** dansmith_ is now known as dansmith12:04
*** dansmith is now known as Guest8784312:05
*** jaypipes has joined #openstack-cinder12:05
*** IlyaG has quit IRC12:07
*** jwcroppe has joined #openstack-cinder12:09
*** houming has joined #openstack-cinder12:10
*** alonmarx has quit IRC12:19
*** alonmarx has joined #openstack-cinder12:19
openstackgerritVipin Balachandran proposed openstack/cinder: VMware: Validate extra spec opt vmware:clone_type  https://review.openstack.org/24973512:20
*** raildo-afk is now known as raildo12:23
*** alonmarx has quit IRC12:24
*** alonmarx has joined #openstack-cinder12:25
*** alonmarx has quit IRC12:31
*** jwcroppe has quit IRC12:31
*** alonmarx has joined #openstack-cinder12:32
*** alonmarx has quit IRC12:36
*** RA_ has quit IRC12:36
openstackgerritShay Halsband proposed openstack/cinder: XtremIO: fix iscsi chap discovery bug  https://review.openstack.org/24905112:37
*** alonmarx has joined #openstack-cinder12:38
*** takedakn has joined #openstack-cinder12:39
*** dims has joined #openstack-cinder12:42
*** alonmarx has quit IRC12:42
*** ociuhandu has quit IRC12:43
openstackgerritMichal Dulko proposed openstack/cinder: Add metadata aliases to Volume object  https://review.openstack.org/24776312:43
openstackgerritMichal Dulko proposed openstack/cinder: Recognize extra fields in CinderObjectDictCompat  https://review.openstack.org/24776212:43
openstackgerritMichal Dulko proposed openstack/cinder: DO NOT MERGE: Revert "VNX: Fix metadata get overriden issue"  https://review.openstack.org/24974212:44
*** alonmarx has joined #openstack-cinder12:44
*** jerrygb has joined #openstack-cinder12:48
*** alonmarx has quit IRC12:48
*** e0ne_ has joined #openstack-cinder12:48
*** terryyao has joined #openstack-cinder12:49
*** boris-42 has joined #openstack-cinder12:49
*** alonmarx has joined #openstack-cinder12:50
*** jaypipes_ has joined #openstack-cinder12:51
*** e0ne has quit IRC12:51
*** jaypipes has quit IRC12:51
*** akerr has joined #openstack-cinder12:52
*** jaypipes_ is now known as jaypipes12:53
openstackgerritMerged openstack/cinder: Port key manager to Python 3  https://review.openstack.org/24939712:53
*** anshul has quit IRC12:54
*** akerr_ has joined #openstack-cinder12:54
*** alonmarx has quit IRC12:55
*** gcb has quit IRC12:56
dulekgeguileo: Hi. Is there a reason to implement get_by_id in CinderObject instead of CinderPersistentObject mixin?12:56
*** alonmarx has joined #openstack-cinder12:56
dulekgeguileo: I'm working on RequestSpec object and just noticed that I'm getting a method which won't actually work.12:57
*** akerr has quit IRC12:57
geguileodulek: By mix-in you mean the one that provides dictionary key access?12:58
geguileodulek: Oh, sorry, you said Persistent12:58
dulekgeguileo: Yup. :)12:58
*** takedakn has quit IRC12:59
geguileodulek: I thought that VOs where mostly for DB objects and since we always have an ID on those...12:59
geguileodulek: I didn't think of putting it in the persistent object to be frank13:00
dulekgeguileo: Mostly DB objects is totally true. RequestSpec and FilterProperties are only two exceptions in Cinder I think.13:00
geguileodulek: And why is FilterProperties a VO?13:00
*** haomaiwang has quit IRC13:01
dulekgeguileo: It isn't now, I'm working on it. So thing is - these are dicts passed over RPC>13:01
*** alonmarx has quit IRC13:01
geguileodulek: But do we need it to be VO?13:01
geguileoBecause I don't think everything needs to be a VO13:01
*** takedakn has joined #openstack-cinder13:02
*** zhipeng has joined #openstack-cinder13:02
dulekIf we want be able to change their structure (remove, rename things) and keep backward compatibility - we need to downgrade their version before sending over RPC to older services.13:02
*** alonmarx has joined #openstack-cinder13:02
dulekLive upgrades mean that we can have M's c-api and L's c-sch or c-vol.13:03
*** chlong has joined #openstack-cinder13:03
dulekOlder versions may not understand newer versions - that's why we need OVO as translation layer.13:04
*** asselin has quit IRC13:04
geguileoBut that would be solved with microversioning, right?13:04
*** asselin has joined #openstack-cinder13:04
dulek(or facade, like dansmith likes to say :>)13:04
*** jaypipes has quit IRC13:04
dulekWith some complexity added it probably could, but what about c-sch -> c-vol communication?13:04
dulekDuring upgrade we can have M's c-sch and L's c-vol.13:05
*** bluex has quit IRC13:05
dulekAnd besides even in the API - I think microversions compatibility layer is in cinder.api, and we may have logic in cinder.volume.api also.13:06
*** lixiaoy1 has quit IRC13:07
geguileocinder.volume.api should only be called from cinder.api, so that shouldn't be a problem, right?13:07
*** alonmarx has quit IRC13:07
geguileoAnd I don't like this idea of us moving everything to VOs so we can just remove, rename things13:07
geguileoBecause then it's going to be crazy to follow what we have13:07
geguileoBut I do see the benefit   XD13:08
dulekLike I've said "with some complexity added it probably could". ;) We would need to pass microversions to cinder.volume.api methods. It's doable…13:08
dulekBut not too pretty.13:09
*** alonmarx has joined #openstack-cinder13:09
dulekYeah, noone ever said that rolling upgrades are easy.13:09
*** david-lyle has quit IRC13:09
dulekEven this release I've noticed some patches proposing renaming members of request_spec dict passed around, so I think there is a need for that.13:10
*** alonmarx has quit IRC13:10
*** alonmarx has joined #openstack-cinder13:10
geguileoSo you want to move get_by_id from the base to persistent13:10
*** pots has joined #openstack-cinder13:11
geguileoBecause if you call it in your new VO it will raise a NotImplemented exception?13:11
dulekWell, now to be honest I don't care much… I wouldn't simply call get_by_id on RequestSpec - why would I?13:12
*** salv-orlando has quit IRC13:12
dulekI've just noticed an inconsistency, so raised a question.13:12
geguileoYeah, that's what I was thinking...13:12
*** haomaiwang has joined #openstack-cinder13:12
geguileoBut I do see your point in moving it13:12
*** houming has quit IRC13:12
dulekIt would probably fit better in Persistent mixin, so maybe in the future. :)13:13
*** jerrygb has quit IRC13:13
kaisersHi Cinder! I'm looking for a way to react on updated volume metadata in a backend driver. My first idea is to use the _ensure_shares_mounted method. Does this make sense or does anybody have better ideas?13:14
geguileodulek: I've added it to my list of "things to do in-between frustrating patches"  ;-)13:15
dulekgeguileo: I need my own one! ;)13:15
dulekkaisers: Why would you want to react?13:15
*** lixiaoy1 has joined #openstack-cinder13:16
kaisersdulek: In order to allow an admin to change volume specific settings in the backend at runtime13:16
dulekkaisers: Isn't it more like QoS specs and retype operation?13:16
kaisersdulek: e.g. if for whatever reason the backend replication factor of a specific volume should be increased or the like13:16
kaisersdulek: hmm, not sure. But i'll look into that right away, thanks for the hint13:17
*** skraynev has joined #openstack-cinder13:17
openstackgerritzhangsong proposed openstack/os-brick: Improve the remove_multipath_device() method for linuxscsi  https://review.openstack.org/24930813:18
dulekkaisers: Hey, I'm not sure either. ;) Most drivers maintainers that are more experienced on that will be there around 15:00-16:00 UTC.13:18
dulekgeguileo: So if you're here… Have you thought on autofencing case?13:19
kaisersdulek: Seems like an idea that should be checked out anyways an then i can coninue asking more profoundly later on... ;-)13:20
geguileodulek: I have mostly cried about it...13:20
dulekgeguileo: :D13:20
geguileodulek: I have to give it another go, but the only option I see is to shoot ourselves in the head  :-(13:21
dulekgeguileo: Do we have a defined case on which we can experience data loss without it?13:21
geguileodulek: Because of the problem with stoping the threads13:21
dulekgeguileo: I mean - in most cases the resource we're working on is protected by it's state…13:21
dulekThe only operation when it isn't would be clone, create from snapshot, et.c13:22
geguileodulek: A problem would be with attaching/detaching13:23
dulekOkay, so a result of a clone operation that was interrupted with source deletion would be undefined…13:23
geguileodulek: When we lose the DLM13:23
dulekAh, multiple attaches/detaches?13:23
*** salv-orlando has joined #openstack-cinder13:24
geguileodulek: Yep13:24
*** salv-orlando has quit IRC13:24
*** salv-orlando has joined #openstack-cinder13:25
geguileodulek: And we are also only allowing to create 1 volume from the same source13:25
*** zhipeng has quit IRC13:25
geguileodulek: But if the connection to the DLM was lost we would be allowing 2 (Although this doesn't look like a problem)13:25
dulekgeguileo: Riiiight…13:25
dulekSo that would need to be checked.13:25
geguileodulek: The most likely problem with locks from creation would be the one you described13:25
*** amrith is now known as _amrith_13:26
dulekAnd on multiple attach/detach - cannot we protect them by state even in internal calls?13:26
geguileodulek: Trying to delete a resource that is being used by a stray node13:26
dulekAh, right now internal calls are queuing, we won't have such possibility with state-based-locking.13:26
geguileodulek: That's why we are not removing the locks from the manager13:27
geguileoImplicit contract13:27
ankit_ageharney: hi, you around?13:28
dulekI mean - for attach/detach calls from inside Cinder we can change the contract.13:28
*** jordanP has quit IRC13:30
dulekSo basically I'm trying to determine what will be happening if we won't have autofencing. Maybe we can get over it somehow.13:30
*** ociuhandu has joined #openstack-cinder13:30
dulekThere are 2 dangerous situations - clone when source is getting deleted and multiple attach/detach13:31
dulekClone one seems like not a very big deal IMO.13:32
geguileodulek: Depends on how the back-end behaves13:32
dulek?13:32
*** takedakn has quit IRC13:33
*** ccesario has quit IRC13:33
*** bluex has joined #openstack-cinder13:34
*** jerrygb has joined #openstack-cinder13:34
geguileoWhen you try to delete a resource that is being used13:35
geguileoThough I guess it should be ok13:35
dulekThe resulting volume will be in undefined state. We can even check at the end of creation (and before releasing the lock) if source exists in the DB. If not - get the volume in ERROR state.13:36
dulekAnd if Galera will also get partitioned… We won't be able to update the volume - Galera will be read-only.13:37
geguileodulek: Most likely if another node deletes the resource while creating a volume13:37
geguileoIt will either fail or if it succeeds then the one creating will fail and set the volume to error13:38
*** ankit_ag has quit IRC13:38
*** jerrygb has quit IRC13:39
dulekI agree. So the point seems to be - easier data corruption case seems less problematic.13:39
geguileoThe DB side is another matter...13:39
geguileodulek: The problem is that we would actually need to test this before deciding we don't really need it13:39
dulekOh definitely!13:40
geguileodulek: And saying now we don't need and once in production see that it is needed would be bad13:40
dulekAnd we don't have a second data corruption case solved.13:40
*** dustins has joined #openstack-cinder13:40
openstackgerritMerged openstack/cinder: Port xio driver to Python 3  https://review.openstack.org/24213913:41
eikkeare Cinder patches supposed to carry (unrelated) changes to cinder/opts.py?13:41
openstackgerritMerged openstack/cinder: Remove kombu as a dependency for Cinder  https://review.openstack.org/24518813:41
dulekeikke: This file seems to be autogenerated by some test. I always remove it when committing.13:42
eikkebut then a (non-voting) Jenkins job fails ;-)13:42
*** bswartz has quit IRC13:42
eikkeso it's a bit unclear to me what the intent is13:43
*** skraynev has quit IRC13:44
dulekeikke: I'm not sure on the status of config generator (I believe it's that)… You would need to ask diablo_rojo once she'll be online.13:44
dulekgeguileo: I'll give attach/detach more thought and see. Maybe we can find a way to be fairly safe for Mitaka. Or even mark A/A as experimental.13:45
dulekgeguileo: I mean - I don't want to get stuck with the work.13:45
geguileodulek: Me neither!!!13:45
dulekgeguileo: And speaking of that… ;) I've seen you've mentioned that you've got 30% of API races patches ready. Need help?13:46
geguileodulek: I'm changing all the patches that I already had to the generic error13:46
dulekgeguileo: I'm a little swamped with upgrades stuff right now, but bluex resources seems to be more available.13:46
* dulek is going to show bluex the IRC log. ;)13:47
geguileodulek: Once I'm finished with that I'll see where I'm really at13:47
geguileodulek: And see what APIs are remaining and get back to you13:48
geguileodulek: Because we need to get this first step out of the way ASASP13:48
*** jgregor has joined #openstack-cinder13:48
*** houming has joined #openstack-cinder13:48
dulekgeguileo: Okay, then please ping me and bluex as soon you define where you need help.13:49
geguileodulek: I definitely will, thanks!!13:49
openstackgerritNicolas Trangez proposed openstack/cinder: Revert "Add Scality SRB driver"  https://review.openstack.org/24881013:52
*** merooney has joined #openstack-cinder13:55
*** jaypipes has joined #openstack-cinder13:57
*** xyang1 has joined #openstack-cinder13:57
*** merooeny_ has joined #openstack-cinder13:59
*** zhenguo has joined #openstack-cinder13:59
*** jwcroppe has joined #openstack-cinder14:00
openstackgerritVipin Balachandran proposed openstack/cinder: VMware: Replace mox with mock  https://review.openstack.org/24979714:00
*** skraynev has joined #openstack-cinder14:01
*** merooney has quit IRC14:02
*** shausy has quit IRC14:03
*** [1]Thelo has joined #openstack-cinder14:04
*** openstackgerrit has quit IRC14:06
*** Thelo has quit IRC14:07
*** [1]Thelo is now known as Thelo14:07
*** openstackgerrit has joined #openstack-cinder14:07
*** ccesario has joined #openstack-cinder14:11
*** jerrygb has joined #openstack-cinder14:13
*** thangp has joined #openstack-cinder14:14
*** kaisers1 has quit IRC14:18
*** rcernin has quit IRC14:19
openstackgerritzhangsong proposed openstack/cinder: Sheepdog: Improve copy_volume_to_image method  https://review.openstack.org/24980414:19
*** bluex has quit IRC14:21
*** bluex has joined #openstack-cinder14:22
*** bluex has quit IRC14:22
openstackgerritShay Halsband proposed openstack/cinder: XtremIO: fix generic glance cache with XtremIO  https://review.openstack.org/24981414:27
*** baumann has joined #openstack-cinder14:27
*** Guest87843 is now known as dansmith14:32
*** lprice has quit IRC14:33
*** lprice has joined #openstack-cinder14:34
*** bluex has joined #openstack-cinder14:38
openstackgerritxing-yang proposed openstack/cinder: Backup snapshots  https://review.openstack.org/24340614:38
*** terryyao has quit IRC14:39
*** bluex has quit IRC14:42
*** lprice has quit IRC14:43
*** bluex has joined #openstack-cinder14:43
*** diablo_rojo has joined #openstack-cinder14:44
*** lprice has joined #openstack-cinder14:44
*** akshai has joined #openstack-cinder14:47
*** jordanP has joined #openstack-cinder14:47
openstackgerritMasaki Kanno proposed openstack/cinder: Don't create snapshots from error volumes  https://review.openstack.org/24982614:48
*** lprice1 has joined #openstack-cinder14:49
*** lprice has quit IRC14:50
*** liverpooler has quit IRC14:51
*** bluex has quit IRC14:53
*** bluex has joined #openstack-cinder14:53
*** thangp_ has joined #openstack-cinder14:55
*** sgotliv has quit IRC14:56
dulekthangp: Hi. I'm looking for a way to easily implement loading a request_spec into object from dict (for compatibility in managers when receiving request_spec from older clients).14:57
dulekthangp: Any idea how to implement that easily? Adding from_dict to all the nested objects seems error-prone.14:58
*** sgundur has joined #openstack-cinder14:58
*** thangp has quit IRC14:58
thangp_dulek: do you mean before we serialize it in rpcapi.py?15:01
dulekthangp_: Not exactly.15:02
dulekthangp_: L's c-vol will send request_spec as dict when rescheduling. It may happen that M's c-sch will receive it. I need a way to convert it from dict to RequestSpec object.15:03
thangp_dulek: i thought that the order of upgrade is c-api, c-sch, then c-vol?15:03
openstackgerritEric Harney proposed openstack/cinder: NFS snapshots  https://review.openstack.org/14718615:04
dulekthangp_: Yeah, but rescheduling is triggered by c-vol.15:04
dulekSo older c-vol can call newer c-sch.15:04
thangp_dulek: ok15:04
thangp_dulek: you could check in the c-sch, if what you get is a dict and convert it to a vo15:05
thangp_dulek: that's the only way i know of right now15:06
thangp_dulek: if c-sch gets a vo, then just continue15:06
thangp_dulek: no conversion necessary15:07
dulekthangp_: Right, that's what I'm going to do. The problem is how to do the dict->vo conversion? RequestSpec has object nested (and this objects has anothers…).15:07
dulekthangp_: I can write several _from_dict methods to all this objects, but this seems like a lot of writing. I wonder if there isn't a better way.15:08
thangp_dulek: eh...that's messy.  maybe you should just forward the request_spec as-in back the c-vol and do the conversion in c-vol15:08
*** sgotliv has joined #openstack-cinder15:09
*** e0ne_ has quit IRC15:09
*** _amrith_ is now known as amrith15:10
dulekthangp_: That's even more messy - I would need to base some logic in the scheduler on the fact if I'm processing a dict or ovo.15:10
dulekthangp_: I see that Nova does the conversion manually, but all the operations inside request_spec object. I would need to write something similar probably.15:11
thangp_dulek: not really, if you continue to support the old kwargs, then it should send request_spec as it had before15:11
*** e0ne has joined #openstack-cinder15:11
thangp_dulek: then on the manager side, you can detect if you got and obj or dict15:12
thangp_dulek: right, have some method in the request_spec to do the conversion all at once15:12
thangp_dulek: then send it back to the c-vol15:13
dulekthangp_: Yup, that would be better than adding a method to almost every object we have there.15:14
dulekthangp_: I'll try and see. Thanks!15:14
thangp_np15:14
lixiaoy1dulek: may I talk with you about your commetns in Scaling backup service spec?15:16
duleklixiaoy1: Can you give me a minute to read your answers there?15:16
lixiaoy1dulek: ok15:16
*** aix has quit IRC15:16
*** ntpttr has joined #openstack-cinder15:17
duleklixiaoy1: Okay, I've answered your comments there. So what's up? :)15:22
lixiaoy1dulek: and then for upgrading, I think no problem15:24
openstackgerritNicolas Trangez proposed openstack/cinder: Revert "Add Scality SRB driver"  https://review.openstack.org/24881015:24
lixiaoy1dulek: "How do we upgrade from previous scheme?" I can't find out any special15:25
lixiaoy1dulek: from your original comments in patch 415:25
duleklixiaoy1: The main change is that now a c-bak service will clear host field in the DB.15:26
lixiaoy1dulek: as nothing will change except adding a volume id for the restoring backups15:26
duleklixiaoy1: That's a major logic change - I can start working on a backup only if host field is NULL.15:26
duleklixiaoy1: (with "I" I mean c-bak service)15:27
lixiaoy1dulek: I remember only when backup completes restore/backup, the host field is cleared. let me check15:27
duleklixiaoy1: This is my concern - we need a way to clean up host fields when upgrading. I think my proposition is safe.15:27
*** mtanino has joined #openstack-cinder15:28
duleklixiaoy1: That's true, so normally a backup will have host field set to NULL and this will change only when some instance of c-bak is doing restore/backup on that backup resource.15:29
lixiaoy1dulek: I am wondering why we need to clear the host when operation completes. it is too late, and I am sleepy :)15:30
*** vgridnev has quit IRC15:30
*** chlong has quit IRC15:31
lixiaoy1dulek: as when cleaning up backups, only the backing/restoring backups are cleaned15:31
duleklixiaoy1: It's to know who needs to clean up.15:31
*** dulek has left #openstack-cinder15:31
*** dulek has joined #openstack-cinder15:31
duleklixiaoy1: There's no way to tell if a backup is stalled and needs cleaning or some other service is working on it.15:32
duleklixiaoy1: And we don't want a c-bak to clean up a backup while some other c-bak is actually restoring it.15:32
duleklixiaoy1: Right now we have explicit matching - a backup for a volume sits on a node where the volume is located. So only one c-bak owns a backup.15:33
*** davechen has joined #openstack-cinder15:34
duleklixiaoy1: But with this spec we decouple that relationship. That's why we need to mark ownership when doing some work.15:34
lixiaoy1dulek: if backups are not in backing/restoring status, they don't need to clean. the host field is useless15:34
*** bswartz has joined #openstack-cinder15:34
duleklixiaoy1: I mean - when doing some work on a backup.15:34
lixiaoy1dulek: if backups are in backing/restoring status, the host is set as the operator host.15:34
*** xiaohui has joined #openstack-cinder15:34
duleklixiaoy1: Host field tells only who needs to clean up.15:35
duleklixiaoy1: Okay, imagine a situation:15:35
duleklixiaoy1: We're starting to backup a volume.15:35
duleklixiaoy1: c-bak A got a request.15:35
duleklixiaoy1: And it starts working15:35
*** chenying__ has joined #openstack-cinder15:36
duleklixiaoy1: Now c-bak B don't know if c-bak A died or is still creating a backup.15:36
lixiaoy1dulek: before that the host is set as the c-bak host15:36
duleklixiaoy1: Now if c-bak A dies - we know that it was working on that resource.15:36
duleklixiaoy1: And on the restart of c-bak A it can identify backups he was working on and clean them up.15:37
lixiaoy1dulek: yes15:37
openstackgerritzhangsong proposed openstack/os-brick: Improve connect_volume method of ISCSIConnector  https://review.openstack.org/24739015:38
lixiaoy1dulek: I mean we don't need to clear host field when an operation finishes. We can set it every time an operation starts15:38
duleklixiaoy1: So that's why we need host field - to mark that temporary ownership.15:38
lixiaoy1dulek: yeah. we need host15:38
*** alonmarx has quit IRC15:39
duleklixiaoy1: Oh…15:39
duleklixiaoy1: This makes sense, let me think for a moment…15:39
lixiaoy1dulek: as a result, when upgrading we don't need to clear host15:39
*** alonmarx has joined #openstack-cinder15:39
*** chenying_ has quit IRC15:39
lixiaoy1dulek: also let me have a think :)15:39
*** jgregor has quit IRC15:42
xiaohuigeguileo:Hi, I replied a few comments on the https://review.openstack.org/#/c/206923/. How do you think about them?15:43
lixiaoy1xiaohui: hi15:43
*** jgregor has joined #openstack-cinder15:43
*** alonmarx has quit IRC15:43
xiaohuilixiaoy1: you are still online? :-)15:44
lixiaoy1xiaohui: yes, I have something to discuss15:44
duleklixiaoy1: I only have doubts on reset_status operation. We're not protecting the resource here.15:44
duleklixiaoy1: I mean protecting using backup's state.15:45
lixiaoy1dulek: do you mean the api to reset status of bacup?15:45
*** alonmarx has joined #openstack-cinder15:45
duleklixiaoy1: Yup.15:45
duleklixiaoy1: I can imagine a situation - someone is using reset_status and meanwhile someone starts to restore a volume. We have a race condition here.15:45
duleklixiaoy1: Oh, but this race condition is present even in current state. So nevermind. ;)15:46
xiaohuigeguileo:Hi, are you available now?15:46
lixiaoy1dulek: yes.15:46
geguileoxiaohui: On a meeting, should be available in 10-15 minutes15:47
tbarrondulek: lixiaoy1: yeah, we should fix that api race using compare and swap I think.15:47
openstackgerritNate Potter proposed openstack/cinder: Show qos_specs_id based on policy  https://review.openstack.org/24165915:47
lixiaoy1dulek: Tom raised the request I think when reviewing A/A spec15:47
*** jseiler has joined #openstack-cinder15:47
tbarrondulek: lixiaoy1: I'm glad you two are moving ahead on this.  I'd like to get back to it, but am tangled up with other duties for a while.15:47
lixiaoy1dulek: It needs to do15:47
lixiaoy1tbarron: hi Tom, glad to see you:)15:48
tbarronlixiaoy1: Glad to see you as well, it must be almost midnight for you.15:48
dulektbarron: Right, compare and swap stuff would probably fit there, I wold need to dig more to decide. ;)15:48
xiaohuigeguileo: that's ok. sorry.15:48
lixiaoy1tbarron: yes, 11:48 pm :-(15:49
tbarrondulek: lixiaoy1: I agree we have that race already today.  So the spec doesn't need to address it, or perhaps15:49
tbarronit should mention it as an example15:49
duleklixiaoy1: I can imagine just one problem with not-cleaning host column.15:49
tbarronof races we have today that will be exacerbated if we are running with even more concurrency.15:49
*** aix has joined #openstack-cinder15:49
*** alonmarx has quit IRC15:49
duleklixiaoy1: Let's assume that during upgrade we have some c-bak's in L version and some in M.15:49
dulekThen L's will expect that they are the only one working on resources with their host field.15:50
dulekBut that's not true for M's - they will…15:50
dulekAwww, nevermind, that's also solved.15:51
duleklixiaoy1: Case closed for me, you're right. :)15:51
*** alonmarx has joined #openstack-cinder15:51
lixiaoy1dulek: thank you. :)15:52
*** houming has quit IRC15:52
dulekI would only insist on changing host field with compare-and-swap, but I guess that's addressed in the spec. :)15:52
tbarronlixiaoy1: dulek: we need to put that paragraph about compare and swap back in I think15:52
tbarronlixiaoy1: dulek: I dropped it by accident a couple patches back.15:53
*** eduardo__ has joined #openstack-cinder15:53
openstackgerritBertrand Lallau proposed openstack/cinder: Remove netaddr useless requirement  https://review.openstack.org/24986615:53
ntpttrdulek: would it be possible to get a link to the spec you've been talking about to look it over :)15:53
dulekntpttr: https://review.openstack.org/#/c/24097815:53
ntpttrdulek: thanks15:53
kaisersdulek: FYI: qos is tied to volume_type not volume, thus not exactly what i'm aiming at. But it was a good point mentioning it! :)15:54
tbarronntpttr: it would be good to get your eyes on it too!15:54
ntpttrtbarron: giving it a read through right now :)15:55
*** houming has joined #openstack-cinder15:55
lixiaoy1dulek: changing host field with compare-and-swap? I can image two places to update the host. One is to update the status of backup and host in a transaction, and then when finishing, also update the status of backup and host in a transation15:55
lixiaoy1tbarron: please see above setence15:55
duleklixiaoy1: I thought that we've decided not to clear host column after finishing?15:55
*** alonmarx has quit IRC15:56
lixiaoy1dulek: yes15:56
lixiaoy1dulek: sorry, ignore the finishing operation15:56
dulekntpttr: That's a fun one - much simpler than c-vol A/A, but dealing with similar issues - all related to distributed systems. :)15:56
tbarrondulek: +115:56
duleklixiaoy1: Yeah, so that's the place + changing status from ACTIVE to RESTORING, etc.15:57
*** alonmarx has joined #openstack-cinder15:57
tbarronlixiaoy1: dulek: I agree15:58
lixiaoy1dulek: tbarron: so done for backup. and wait for the meeting then15:58
*** boris-42 has quit IRC15:58
smcginnisT-1 minute to meeting15:59
lixiaoy1 smcginnis: Sorry for first time to join in cinder meeting. But it is too late for Chinese timezone16:00
smcginnislixiaoy1: Yeah, sorry the timing is so bad for you.16:00
*** zhangjn has quit IRC16:00
*** mudassirlatif has joined #openstack-cinder16:00
*** alonmarx has quit IRC16:02
*** alonmarx has joined #openstack-cinder16:04
*** dustins has quit IRC16:05
*** dustins has joined #openstack-cinder16:07
*** alonmarx has quit IRC16:08
*** daneyon_ has quit IRC16:08
*** dims has quit IRC16:09
*** daneyon has joined #openstack-cinder16:09
*** dims has joined #openstack-cinder16:11
*** alonmarx has joined #openstack-cinder16:11
*** jdurgin1 has joined #openstack-cinder16:12
*** crose has joined #openstack-cinder16:13
*** EinstCrazy has quit IRC16:14
*** haomaiwang has quit IRC16:15
*** alonmarx has quit IRC16:15
*** haomaiwa_ has joined #openstack-cinder16:15
*** pots has quit IRC16:17
*** amrith is now known as _amrith_16:17
*** IlyaG has joined #openstack-cinder16:18
*** alexschm has quit IRC16:22
*** IlyaG has quit IRC16:23
*** xiaohui has quit IRC16:23
*** xiaohui_ has joined #openstack-cinder16:23
*** zhenguo has quit IRC16:25
*** lixiaoy1 has left #openstack-cinder16:26
*** crose has quit IRC16:26
*** lixiaoy1_ has joined #openstack-cinder16:27
*** vgridnev has joined #openstack-cinder16:28
*** subscope has quit IRC16:29
openstackgerritMerged openstack/cinder: VMware: Validate extra spec opt vmware:clone_type  https://review.openstack.org/24973516:34
xiaohui_geguileo:I'm not very sure about a few of the comments on https://review.openstack.org/#/c/206923/. Would you like to reply the comments or to discuss it here?16:34
geguileoxiaohui_: I was reviewing it and called to another meeting/call16:35
xiaohui_geguileo:Ok. Sorry for that.16:36
*** houming has quit IRC16:37
*** jseiler has quit IRC16:45
openstackgerritMerged openstack/cinder: Fix ScaleIO driver provisioning key  https://review.openstack.org/24955216:45
kaiserssmcginnis: Quick Q: i've a minor vendor driver related bp/change already aimed at Mitaka. Should this go somewhere into the milestone lists or the etherpad for Mitaka or should i simply hold still & wait?16:46
smcginniskaisers: The BP is filed?16:46
kaiserssmcginnis: yep (https://blueprints.launchpad.net/cinder/+spec/allow-insecure-conf-in-quobyte)16:47
smcginniskaisers: Looks like I've already approved it.16:47
smcginniskaisers: Just go ahead with it then.16:47
thingeebummer doesn't look like I'll be able to attend the sprint in january16:47
smcginniskaisers: It's OK if it's not targeted to a specific milestone.16:47
smcginniskaisers: But sooner is better.16:47
smcginnisthingee: :(16:47
smcginnisthingee: Attending a different one?16:48
thingeesmcginnis: the foundation has an offsite then16:48
*** arnewiebalck__ has quit IRC16:48
smcginnisthingee: Seems to be a popular week.16:48
kaiserssmcginnis: it's implemented, it just does not turn up on the launchpad milestone lists or the etherpad and i'm unsure if it should be added somewhere there or not.16:49
smcginniskaisers: Did it merge? Or it's being reviewed?16:49
* smcginnis sees link16:49
kaiserssmcginnis: in review, couple of +116:49
smcginniskaisers: That's fine. When it merges it will get picked up as part of that milestone.16:50
kaiserssmcginnis: ok, thanks!16:50
smcginniskaisers: np16:50
smcginniskaisers: Thanks for checking and staying on top if it.16:50
*** arnewiebalck_ has joined #openstack-cinder16:50
kaiserssmcginnis: np :)16:51
*** IlyaG has joined #openstack-cinder16:52
*** jwcroppe has quit IRC16:56
*** jwcroppe has joined #openstack-cinder16:57
*** jordanP has quit IRC16:57
*** jordanP has joined #openstack-cinder16:57
*** asselin has quit IRC17:00
*** asselin has joined #openstack-cinder17:00
*** haomaiwa_ has quit IRC17:01
*** haomaiwang has joined #openstack-cinder17:01
*** jwcroppe has quit IRC17:01
*** jistr has quit IRC17:02
*** markvoelker has quit IRC17:03
*** mudassirlatif_ has joined #openstack-cinder17:03
*** mudassirlatif has quit IRC17:05
*** mudassirlatif_ is now known as mudassirlatif17:05
*** yuriy_n17 has quit IRC17:06
*** e0ne has quit IRC17:09
*** houming has joined #openstack-cinder17:10
*** cebruns has quit IRC17:11
*** davechen1 has joined #openstack-cinder17:12
*** alonmarx has joined #openstack-cinder17:12
*** cebruns has joined #openstack-cinder17:12
*** davechen has quit IRC17:12
*** EinstCrazy has joined #openstack-cinder17:14
eikkesmcginnis: thanks for +217:16
*** alonmarx has quit IRC17:16
*** alonmarx has joined #openstack-cinder17:18
*** dzamboni has joined #openstack-cinder17:18
*** leeantho has joined #openstack-cinder17:19
*** mudassirlatif has quit IRC17:21
*** alonmarx has quit IRC17:23
openstackgerritXinXiaohui proposed openstack/cinder-specs: Moving capacity-headroom spec to mitaka cycle  https://review.openstack.org/24993217:24
*** alonmarx has joined #openstack-cinder17:26
openstackgerritKendall Nelson proposed openstack/cinder: Hacking Checks for assertTrue/IsNone()  https://review.openstack.org/24655417:27
*** jerrygb has quit IRC17:27
openstackgerritJacob Gregor proposed openstack/cinder: Storwize: Split up __init__ into separate files  https://review.openstack.org/24032917:28
*** jerrygb has joined #openstack-cinder17:28
*** jerrygb has quit IRC17:28
*** jerrygb has joined #openstack-cinder17:28
*** EinstCrazy has quit IRC17:29
*** mudassirlatif has joined #openstack-cinder17:29
*** david-lyle has joined #openstack-cinder17:30
*** nkrinner has quit IRC17:30
*** alonmarx has quit IRC17:31
*** mudassirlatif has quit IRC17:37
*** raildo is now known as raildo-afk17:38
*** raildo-afk is now known as raildo17:39
*** jerrygb has quit IRC17:43
*** davechen1 has quit IRC17:44
*** xiaohui_ has quit IRC17:45
*** changbl has quit IRC17:46
*** lpetrut has quit IRC17:48
*** mudassirlatif has joined #openstack-cinder17:51
*** david-lyle has quit IRC18:00
*** haomaiwang has quit IRC18:01
*** haomaiwang has joined #openstack-cinder18:01
*** eduardo__ has quit IRC18:02
*** jordanP has quit IRC18:03
*** e0ne has joined #openstack-cinder18:07
*** _amrith_ is now known as amrith18:08
*** sghanekar__ has joined #openstack-cinder18:09
*** isaacb has quit IRC18:09
*** edtubill has joined #openstack-cinder18:10
openstackgerritxing-yang proposed openstack/cinder: ScaleIO extend volume round up capacity  https://review.openstack.org/24955618:15
*** ociuhandu has quit IRC18:15
*** markus_z has quit IRC18:19
patrickeastsmcginnis: hey for the ThirdPartySystems wiki pages should we modify the template so the recheck syntax goes in the table?18:19
*** diablo_rojo has quit IRC18:20
smcginnispatrickeast: Hah! Just took a beating in infra because someone who I won't name tried that.18:20
*** edtubill has quit IRC18:20
*** david-lyle has joined #openstack-cinder18:20
patrickeastoh? they didn't like it?18:20
smcginnispatrickeast: I think it should go there, but for now easier putting it outside the template.18:20
smcginnispatrickeast: Yeah, not too happy about it.18:20
smcginnispatrickeast: They did invite someone to put it on the infra agenda to be considered, but they didn't like not having notice of it.18:20
smcginnispatrickeast: So I don't think it was that they were entirely opposed to the idea.18:21
patrickeastnotice of it?... its a wiki...18:21
patrickeastoh well18:21
smcginnispatrickeast: Just that no one was consulted first.18:21
smcginnispatrickeast: That was kind of my thought, but I will say no more. :)18:21
patrickeastyea we should be careful with groundbreaking table changes in the future18:21
smcginnisLOL18:21
patrickeasti'll just update the footer and call it good18:21
smcginnispatrickeast: Thanks!18:21
*** sghanekar__ has quit IRC18:23
rhedlindI just had the same idea about the wiki and starting looking at the table template. :)18:29
*** vgridnev has quit IRC18:29
rhedlindbut I will leave it alone. Not up for any beatings.18:30
mtaninodulek: Thank you for the confiamation of quota bugs :)18:34
openstackgerritMerged openstack/python-cinderclient: Fix v2 qos-key command  https://review.openstack.org/24894418:38
*** houming has quit IRC18:46
*** sgotliv has quit IRC18:49
ntpttreharney: ping18:54
*** vgridnev has joined #openstack-cinder18:56
*** ociuhandu has joined #openstack-cinder18:57
openstackgerritGorka Eguileor proposed openstack/cinder: Remove API races from delete methods  https://review.openstack.org/20583518:57
openstackgerritGorka Eguileor proposed openstack/cinder: Add atomic conditional updates to objects  https://review.openstack.org/20583418:57
openstackgerritGorka Eguileor proposed openstack/cinder: Remove API races on extend and volume_upload_image  https://review.openstack.org/21637818:57
openstackgerritGorka Eguileor proposed openstack/cinder: Remove API races from migrate and retype  https://review.openstack.org/22144218:57
openstackgerritGorka Eguileor proposed openstack/cinder: Remove API races on replication methods  https://review.openstack.org/22144118:57
openstackgerritGorka Eguileor proposed openstack/cinder: Improve metadata update operations  https://review.openstack.org/21637618:57
openstackgerritGorka Eguileor proposed openstack/cinder: Remove API races from attach and detach methods  https://review.openstack.org/21637718:57
openstackgerritGorka Eguileor proposed openstack/cinder: Add ordering possibilities to conditional update  https://review.openstack.org/23193618:57
*** e0ne has quit IRC18:58
tbarronsmcginnis: patrickeast: just got back from lunch but I see that Sean was coveriing for me.  Thanks Sean.18:59
tbarronsmcginnis: patrickeast: There shouldn't be an edit me link available to everyone if we're not supposed to edit it.18:59
patrickeasttbarron: haha yea, exactly19:00
tbarronoh well, I've been trying to increase my visibility with infra!19:00
patrickeast:D great way to get your name out there19:00
*** haomaiwang has quit IRC19:01
* tbarron goes looking for other stuff to edit19:01
*** haomaiwang has joined #openstack-cinder19:01
*** jwcroppe has joined #openstack-cinder19:09
*** aix has quit IRC19:11
*** alonmarx has joined #openstack-cinder19:11
*** barra204 is now known as shakamunyi19:12
*** davechen has joined #openstack-cinder19:12
*** alonmarx has quit IRC19:16
*** alonmarx has joined #openstack-cinder19:18
*** salv-orl_ has joined #openstack-cinder19:19
*** salv-orlando has quit IRC19:22
*** alonmarx has quit IRC19:22
*** alonmarx has joined #openstack-cinder19:26
*** alonmarx has quit IRC19:31
*** alonmarx has joined #openstack-cinder19:33
*** alonmarx has quit IRC19:37
*** eharney has quit IRC19:38
*** alonmarx has joined #openstack-cinder19:41
*** zohar has joined #openstack-cinder19:41
zoharHi all19:42
zoharthis is Zohar from Nexenta team19:42
zoharI would like to ask for some help with writing mock unit tests and how to verify that params are being passed correctly19:42
zoharcurrently we have these unit tests: https://review.openstack.org/#/c/158745/32/cinder/tests/unit/test_nexenta_edge.py19:43
zoharim looking for how to extend these19:43
smcginniszohar: Hey!19:44
*** changbl has joined #openstack-cinder19:45
zoharHi! :)19:45
smcginniszohar: Right now you are only covering the driver class.19:45
smcginniszohar: If I remember right, you have other helper classes in your driver code as well.19:45
zoharyes19:45
*** alonmarx has quit IRC19:45
smcginniszohar: A good thing would be to add unit tests for the methods in those classes too.19:45
smcginniszohar: In general, a unit test should cover each method where there is enough internal logic to make sense.19:46
zoharok, good point, i will add unit test for the rest api helper class19:46
zoharbesides that though, what about the current driver class tests?19:46
zoharbased on comments, they are lacking?19:46
smcginniszohar: In other words, if the method is just a wrapper that has a single line calling another class, maybe it's not significant enough.19:46
*** IlyaG has quit IRC19:46
smcginniszohar: But more than that, it makes sense to have a test.19:46
zoharyes that is what i was thinking...19:46
smcginniszohar: Then look at what the valid and invalid input would be to each method.19:47
zoharso the driver class is really all it does, just a method wrapper for a single call19:47
smcginniszohar: And validate the expected result from each.19:47
zoharok19:47
zoharhow do i do that? do you have any pointers?19:47
smcginniszohar: Yeah, I think more of your logic was in the other classes.19:47
zoharmost of the logic is actually on the backend :)19:47
smcginniszohar: Not really other than going through and looking at each one and thinking about what could possibly be the input and what would be the expected output.19:48
zoharthe REST api/rpc class just takes care of doing rest requests and figuring out if they are errors19:48
smcginniszohar: That does make it more challenging to cover with unit tests when the logic is external to the code base.19:48
zoharyes definitely, i just mean code-wise, how do i use mock to check input?19:48
smcginniszohar: But you can still maybe do things like validating the data sent to the external commands has the expected content.19:48
zoharso i created a driver using a mock.Mock() as the execute field19:49
smcginniszohar: That error conditions (if any) contain the right error codes,e tc.19:49
zoharand i make a mock patcher of the rest api class19:49
zoharso for example, currently what i do in "19:49
zohartest_create_volume" is19:49
zoharself.assertIsNone(self.driver.create_volume(MOCK_VOL))19:49
zoharhow can i check that the mock driver got the right params?19:50
smcginniszohar: If it's a mock you can do things like self.assert_called_once_with(xxx) and things like that.19:51
*** diablo_rojo has joined #openstack-cinder19:51
zoharnice! is there a way to print out what it was called for for debuging?19:51
smcginniszohar: I guess just don't do things like asserting that what you've set for the mock to return gets returned.19:51
zoharwhat it was called with*19:51
smcginniszohar: That just tests that mock works. ;)19:52
zoharyes haha19:52
smcginniszohar: You can set breakpoints.19:52
smcginniszohar: There's some info in our devref docs about debugging with unit tests.19:52
smcginniszohar: Sorry, gotta run.19:52
zoharany chance i can get a link?19:52
zoharits ok, thank you for your help!19:52
smcginniszohar: Maybe someone else here can give you a pointer. bbl19:53
*** alonmarx has joined #openstack-cinder19:53
openstackgerritNate Potter proposed openstack/cinder: Show qos_specs_id based on policy  https://review.openstack.org/24165919:54
*** alonmarx has quit IRC19:57
*** haomaiwang has quit IRC20:01
*** haomaiwang has joined #openstack-cinder20:01
*** salv-orl_ has quit IRC20:07
*** changbl has quit IRC20:09
*** Lee1092 has quit IRC20:09
*** edtubill has joined #openstack-cinder20:12
*** akerr_ is now known as akerr_away20:22
*** changbl has joined #openstack-cinder20:22
*** dustins has quit IRC20:27
*** john5223 is now known as zz_john522320:27
*** akerr_away is now known as akerr_20:35
*** angela-s has joined #openstack-cinder20:35
openstackgerritZohar Mamedov proposed openstack/cinder: Nexenta Edge iSCSI backend driver  https://review.openstack.org/15874520:37
raildohey guys, I'm trying fix this bug: https://bugs.launchpad.net/cinder/+bug/150580120:41
openstackLaunchpad bug 1505801 in Cinder "Create volume ignores allocated quota values of the parent project" [Undecided,In progress] - Assigned to Raildo Mascena de Sousa Filho (raildo)20:41
raildoand I thinkk taht this should be backported for liberty20:41
raildois there something different (like send for the liberty-stable) to do?20:41
raildoou should I wait to this patch get merged and later I have to do a cherry-pick for liberty?20:42
*** dzamboni has quit IRC20:43
*** salv-orlando has joined #openstack-cinder20:44
*** willsama has joined #openstack-cinder20:45
*** willsama has quit IRC20:45
smcginnisraildo: Best would be to wait for it to merge, then cherry-pick for liberty.20:46
smcginnisraildo: Thanks for working on that!20:46
smcginniszohar: Saw your patch. Any luck tracking down my vague references? :)20:47
smcginniszohar: I actually can't find it now, though I remember looking at it not long ago. :/20:51
zoharsmcginnis: your tip about "assert_called_with" was exactly what i needed20:52
smcginniszohar: Awesome!20:52
*** vgridnev has quit IRC20:52
zoharthank you very much, lets hope all reviewers will be happy with it this time :)20:52
raildosmcginnis: no problem, thanks for the advice, I'll do that20:53
*** alonmarx has joined #openstack-cinder20:53
smcginniszohar: I'll take a look soon. I appreciate the extra work on unit tests. They can be a pain, but definitely help.20:53
smcginnisraildo: +120:53
*** grumpycatt has joined #openstack-cinder20:57
*** e0ne has joined #openstack-cinder20:58
*** alonmarx has quit IRC20:58
*** haomaiwang has quit IRC21:01
*** haomaiwang has joined #openstack-cinder21:01
*** thangp_ has quit IRC21:02
*** tpsilva has quit IRC21:02
*** baumann has left #openstack-cinder21:02
*** e0ne has quit IRC21:03
*** vgridnev has joined #openstack-cinder21:04
*** ntpttr has quit IRC21:06
*** mtanino has quit IRC21:06
*** alonmarx has joined #openstack-cinder21:08
*** raildo is now known as raildo-afk21:11
*** alonmarx has quit IRC21:13
*** zz_john5223 is now known as john522321:13
*** sgotliv has joined #openstack-cinder21:16
*** diablo_rojo has quit IRC21:17
*** jgregor has quit IRC21:20
*** diablo_rojo has joined #openstack-cinder21:20
*** dims_ has joined #openstack-cinder21:21
*** dims has quit IRC21:22
openstackgerritMudassir Latif proposed openstack/cinder: Allow replicated volumes to be recoverable  https://review.openstack.org/21990021:24
*** dims has joined #openstack-cinder21:26
*** dims_ has quit IRC21:28
*** ntpttr has joined #openstack-cinder21:29
*** openstackgerrit has quit IRC21:36
*** openstackgerrit has joined #openstack-cinder21:37
*** bswartz has quit IRC21:40
*** ndipanov has quit IRC21:43
*** ntpttr has left #openstack-cinder21:44
*** alonmarx has joined #openstack-cinder21:46
*** merooeny_ has quit IRC21:47
*** alonmarx has quit IRC21:50
*** takedakn has joined #openstack-cinder21:50
*** takedakn has quit IRC21:51
*** vgridnev has quit IRC21:51
*** edtubill has quit IRC21:52
*** cbader has quit IRC21:52
zoharhi guys21:53
zohari got this jenkins error:21:53
zoharhttp://logs.openstack.org/45/158745/33/check/gate-cinder-pep8/d01937c/console.html21:53
*** dims_ has joined #openstack-cinder21:53
zoharpep8 error, but looks like not a lint issue21:53
zoharcant really make sense what failed21:54
smcginniszohar: Ah, you hit our protection for config options changing without updating the config file.21:55
*** takedakn has joined #openstack-cinder21:55
smcginniszohar: You should be able to follow the instructions there to resolve.21:55
smcginniszohar: http://logs.openstack.org/45/158745/33/check/gate-cinder-pep8/d01937c/console.html#_2015-11-25_20_49_41_37721:55
*** dims has quit IRC21:56
*** alonmarx has joined #openstack-cinder21:58
zoharso just add opts.py file to the commit?21:59
zohari ran it, it generated21:59
zoharon a devstack cloned from master a few days ago22:00
zoharthat should be fine right?22:00
*** haomaiwang has quit IRC22:01
smcginniszohar: Yep. That opts.py file should already exist.22:01
smcginniszohar: Running that command should regenerate it with the updated config opts.22:01
smcginniszohar: Then you just add that file to your commit and resubmit.22:01
*** haomaiwa_ has joined #openstack-cinder22:01
smcginniszohar: git add cinder/opts.py; git commit --amend; git review22:01
zoharin my review checkout, where devstack never ran, i don't have that file22:02
zoharis that fine?22:02
*** alonmarx has quit IRC22:03
* smcginnis is checking something22:03
smcginniszohar: You might need to rebase on master for it.22:03
smcginniszohar: It's here: https://github.com/openstack/cinder/blob/master/cinder/opts.py22:03
smcginniszohar: Wouldn't hurt to do anyway.22:03
smcginniszohar: git checkout master; git pull; git checkout yourbranch; git rebase master; rest of the commands from aboe.22:04
smcginniss/aboe/above/22:04
*** IlyaG has joined #openstack-cinder22:05
openstackgerritZohar Mamedov proposed openstack/cinder: Nexenta Edge iSCSI backend driver  https://review.openstack.org/15874522:17
*** JoseMello has joined #openstack-cinder22:18
openstackgerritSean McGinnis proposed openstack/cinder: RBD: Make snapshot_delete more robust  https://review.openstack.org/15125722:20
*** diablo_rojo has quit IRC22:21
*** angela-s has quit IRC22:24
*** davechen has left #openstack-cinder22:24
*** xyang has joined #openstack-cinder22:25
xyangsmcginnis: hi, I submitted a fix to stable/liberty: https://review.openstack.org/#/c/250039/22:26
xyangsmcginnis: stable/liberty unit test is broken.  https://review.openstack.org/#/c/249358/22:27
openstackgerritOpenStack Proposal Bot proposed openstack/python-cinderclient: Updated from global requirements  https://review.openstack.org/24763922:28
xyangsmcginnis: I see the same failure in all stable/liberty patches.  the problem was already fixed in the trunk as part of porting to py3.  that's why I submitted a separate fix22:28
xyangsmcginnis: let's see if my patch passes Jenkins:).  I reproduced the problem on my setup and now it passes with the fix22:29
*** sgundur has quit IRC22:30
*** jaypipes has quit IRC22:30
*** takedakn has quit IRC22:33
*** david-lyle has quit IRC22:34
*** jgregor has joined #openstack-cinder22:39
smcginnisxyang: Thanks, I saw one of those failures late yesterday and didn't have a chance to dig into it.22:40
smcginnisxyang: If that passes I'll push it through.22:41
xyangsmcginnis: thanks!22:41
*** alonmarx has joined #openstack-cinder22:41
*** jgregor has quit IRC22:43
smcginnisxyang: You're working pretty late on a virtual Friday. :)22:44
*** alonmarx has quit IRC22:46
openstackgerritSean McGinnis proposed openstack/cinder: Fix useless-else-on-loop pylint issues  https://review.openstack.org/19265522:46
*** alonmarx has joined #openstack-cinder22:47
*** zohar has quit IRC22:51
*** alonmarx has quit IRC22:52
*** bardia has joined #openstack-cinder22:53
xyangsmcginnis: you too:)22:55
smcginnisxyang: I'm at least an hour later than you. :)22:56
xyangsmcginnis: that's right:)22:56
*** haomaiwa_ has quit IRC23:01
*** 7YUAAEOGN has joined #openstack-cinder23:01
*** david-lyle has joined #openstack-cinder23:07
*** erlon has quit IRC23:09
*** jwcroppe has quit IRC23:12
*** med_ has quit IRC23:17
*** akshai has quit IRC23:17
*** RA has joined #openstack-cinder23:20
*** RA is now known as Guest4352923:20
*** akshai has joined #openstack-cinder23:20
*** david-lyle has quit IRC23:24
*** akshai has quit IRC23:25
*** med_ has joined #openstack-cinder23:25
*** med_ has quit IRC23:25
*** med_ has joined #openstack-cinder23:25
*** akerr_ is now known as akerr_away23:29
*** edtubill has joined #openstack-cinder23:34
openstackgerritSean McGinnis proposed openstack/cinder: Nexenta Edge iSCSI backend driver  https://review.openstack.org/15874523:37
*** edtubill has quit IRC23:39
*** EinstCrazy has joined #openstack-cinder23:48
*** alonmarx has joined #openstack-cinder23:48
*** alonmarx has quit IRC23:52
*** sgotliv has quit IRC23:52
*** yhayashi has joined #openstack-cinder23:52
*** EinstCrazy has quit IRC23:52
*** alonmarx has joined #openstack-cinder23:54
*** IlyaG_ has joined #openstack-cinder23:55
*** IlyaG has quit IRC23:57
*** alonmarx has quit IRC23:58
*** xyang1 has quit IRC23:59

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