Tuesday, 2016-05-31

*** knikolla has quit IRC00:06
*** salv-orlando has joined #openstack-cinder00:09
*** diogogmt has joined #openstack-cinder00:09
*** knikolla has joined #openstack-cinder00:09
*** netapp has quit IRC00:10
*** netapp has joined #openstack-cinder00:11
*** salv-orlando has quit IRC00:12
*** laughterwym has joined #openstack-cinder00:17
*** jamielennox|away is now known as jamielennox00:20
*** raunak has joined #openstack-cinder00:22
*** laughter_ has joined #openstack-cinder00:23
*** laughterwym has quit IRC00:24
*** laughter_ has quit IRC00:24
*** ducttape_ has joined #openstack-cinder00:32
*** gouthamr has quit IRC00:34
*** darosale has joined #openstack-cinder00:34
*** laughterwym has joined #openstack-cinder00:35
*** gouthamr has joined #openstack-cinder00:35
*** takedakn has joined #openstack-cinder00:36
*** takedakn has quit IRC00:36
*** Julien-zte has joined #openstack-cinder00:49
*** takedakn has joined #openstack-cinder00:54
*** takedakn has quit IRC00:54
*** Julien-zte has quit IRC00:56
*** cheneydc has joined #openstack-cinder01:00
*** caoshufeng has joined #openstack-cinder01:08
caoshufengGood morning, all.01:08
*** bardia has joined #openstack-cinder01:10
*** salv-orlando has joined #openstack-cinder01:12
*** takedakn has joined #openstack-cinder01:14
*** takedakn has quit IRC01:15
*** takedakn has joined #openstack-cinder01:16
openstackgerritMerged openstack/os-brick: Updated from global requirements  https://review.openstack.org/32254501:16
*** salv-orlando has quit IRC01:17
*** takedakn has quit IRC01:17
*** takedakn has joined #openstack-cinder01:17
*** takedakn has quit IRC01:18
*** takedakn has joined #openstack-cinder01:18
openstackgerritMerged openstack/cinder: Updated from global requirements  https://review.openstack.org/32298201:19
*** takedakn has quit IRC01:20
openstackgerritMerged openstack/os-brick: Mock time.sleep in ISCSIConnectorTestCase  https://review.openstack.org/32282101:21
*** EinstCrazy has joined #openstack-cinder01:25
openstackgerrityangweiwei proposed openstack/cinder: Update the status of backup-restore  https://review.openstack.org/27554201:31
*** Wenjun has joined #openstack-cinder01:34
*** gouthamr_ has joined #openstack-cinder01:35
*** gouthamr has quit IRC01:36
*** julim has quit IRC01:44
*** mtanino has quit IRC01:49
openstackgerritDeepti Ramakrishna proposed openstack/cinder-specs: New public core API to expose system capabilities  https://review.openstack.org/30693001:50
*** markvoelker has joined #openstack-cinder01:51
*** Lee1092 has joined #openstack-cinder01:55
*** markvoelker has quit IRC01:55
openstackgerritWilson Liu proposed openstack/cinder: Add unit tests for Huawei drivers  https://review.openstack.org/28302901:57
*** chip__ has joined #openstack-cinder01:58
*** julim has joined #openstack-cinder02:00
*** zul has joined #openstack-cinder02:01
*** zhangjn has quit IRC02:01
*** julim has quit IRC02:04
*** zhangjn has joined #openstack-cinder02:06
*** Guest30993 has joined #openstack-cinder02:12
*** Guest30993 is now known as wilson-l02:12
*** takedakn has joined #openstack-cinder02:18
*** gouthamr_ has quit IRC02:18
*** gouthamr has joined #openstack-cinder02:20
*** takedakn has quit IRC02:22
*** ociuhandu has quit IRC02:28
*** wilson-l has quit IRC02:32
*** salv-orlando has joined #openstack-cinder02:33
openstackgerritwanghao proposed openstack/cinder: Fix snapshot stuck in 'deleting' after reboot c-v  https://review.openstack.org/32241802:34
openstackgerritMerged openstack/cinder: Make IBM drivers return snapshot object for cg ops  https://review.openstack.org/26828302:36
*** salv-orlando has quit IRC02:38
*** chip__ has quit IRC02:43
*** chip__ has joined #openstack-cinder02:44
*** gouthamr has quit IRC02:45
*** gcb has quit IRC02:46
*** sdake_ has joined #openstack-cinder02:46
*** sheel has joined #openstack-cinder02:47
*** chip__ has quit IRC02:49
*** sdake has quit IRC02:50
*** chip__ has joined #openstack-cinder02:51
*** adisky has joined #openstack-cinder02:59
openstackgerritOpenStack Proposal Bot proposed openstack/cinder: Updated from global requirements  https://review.openstack.org/32306302:59
*** EinstCrazy has quit IRC03:00
*** edmondsw has joined #openstack-cinder03:02
*** gcb has joined #openstack-cinder03:03
openstackgerritOpenStack Proposal Bot proposed openstack/os-brick: Updated from global requirements  https://review.openstack.org/32307603:04
openstackgerritOpenStack Proposal Bot proposed openstack/python-cinderclient: Updated from global requirements  https://review.openstack.org/32171503:05
*** sdake_ has quit IRC03:07
openstackgerritYanLin Ren proposed openstack/cinder: IBM FlashSystem: Add host check for iSCSI driver  https://review.openstack.org/32309103:10
*** Julien-zte has joined #openstack-cinder03:13
openstackgerritCao ShuFeng proposed openstack/python-cinderclient: Add "--name" filter to get-pools  https://review.openstack.org/32201103:15
*** EinstCrazy has joined #openstack-cinder03:30
*** darosale has quit IRC03:33
*** Julien-zte has quit IRC03:42
*** sgotliv has joined #openstack-cinder03:42
*** rcernin has joined #openstack-cinder03:49
*** links has joined #openstack-cinder03:50
*** markvoelker has joined #openstack-cinder03:52
*** neophy has joined #openstack-cinder03:54
*** markvoelker has quit IRC03:56
openstackgerrityuyafei proposed openstack/cinder: EMC driver should get ceiling of volume size  https://review.openstack.org/32238803:56
*** arch-nemesis has joined #openstack-cinder04:00
*** takedakn has joined #openstack-cinder04:04
*** lpetrut has joined #openstack-cinder04:15
openstackgerritCao ShuFeng proposed openstack/python-cinderclient: Add "--name" filter to get-pools  https://review.openstack.org/32201104:17
*** arch-nemesis has quit IRC04:18
openstackgerritCao ShuFeng proposed openstack/python-cinderclient: Add "--name" filter to get-pools  https://review.openstack.org/32201104:22
*** ircuser-1 has quit IRC04:25
openstackgerritxing-yang proposed openstack/cinder: WIP: Add generic volume groups  https://review.openstack.org/32245904:37
*** salv-orlando has joined #openstack-cinder04:39
openstackgerritxing-yang proposed openstack/python-cinderclient: WIP: Add generic volume groups  https://review.openstack.org/32262704:40
*** salv-orlando has quit IRC04:44
*** itzdilip has joined #openstack-cinder04:45
*** avishay has joined #openstack-cinder04:48
*** rcernin has quit IRC04:52
*** laughter_ has joined #openstack-cinder04:53
*** chlong has quit IRC04:54
*** laughterwym has quit IRC04:56
*** lpetrut has quit IRC05:04
*** ChubYann has quit IRC05:08
*** jwcroppe has quit IRC05:12
*** chlong has joined #openstack-cinder05:12
*** Poornima has joined #openstack-cinder05:14
*** laughter_ has quit IRC05:24
*** jamielennox is now known as jamielennox|away05:24
*** laughterwym has joined #openstack-cinder05:25
openstackgerritRyan Liang proposed openstack/cinder: Pass volume_type_id in when deleting snapshot.  https://review.openstack.org/32312505:27
*** jamielennox|away is now known as jamielennox05:28
*** lpetrut has joined #openstack-cinder05:29
*** jgregor has joined #openstack-cinder05:29
*** salv-orlando has joined #openstack-cinder05:31
*** diogogmt has quit IRC05:31
*** pgadiya has joined #openstack-cinder05:32
*** diogogmt has joined #openstack-cinder05:32
openstackgerritFalk Reimann proposed openstack/cinder: Fix Pep8  https://review.openstack.org/32312905:39
*** Julien-zte has joined #openstack-cinder05:40
*** neophy has quit IRC05:46
*** lpetrut has quit IRC05:47
*** bardia has quit IRC05:49
*** GB21 has joined #openstack-cinder05:50
*** markvoelker has joined #openstack-cinder05:52
*** nkrinner_afk is now known as nkrinner05:55
*** markvoelker has quit IRC05:57
*** nkrinner has quit IRC06:06
*** nkrinner has joined #openstack-cinder06:07
*** lpetrut has joined #openstack-cinder06:08
*** mjura has joined #openstack-cinder06:10
*** bardia has joined #openstack-cinder06:10
*** lpetrut has quit IRC06:13
*** mjura has quit IRC06:15
*** jamielennox is now known as jamielennox|away06:15
*** mjura has joined #openstack-cinder06:15
*** liverpooler has joined #openstack-cinder06:16
*** liverpooler has quit IRC06:21
*** liverpooler has joined #openstack-cinder06:21
*** takedakn has quit IRC06:29
*** GB21 has quit IRC06:34
openstackgerritFalk Reimann proposed openstack/cinder: SwiftBackupDriver: Dont add project_id to authurl  https://review.openstack.org/24796406:39
*** belmoreira has joined #openstack-cinder06:46
*** arecknag has joined #openstack-cinder06:49
*** salv-orlando has quit IRC06:49
*** Julien-zte has quit IRC06:49
openstackgerrityuyafei proposed openstack/os-brick: Disconnect multipath iscsi may logout session  https://review.openstack.org/32315406:50
*** iceyao has joined #openstack-cinder06:53
*** iceyao has quit IRC06:53
*** neophy has joined #openstack-cinder06:53
*** GB21 has joined #openstack-cinder06:54
*** ircuser-1 has joined #openstack-cinder06:55
*** raunak has quit IRC06:56
*** e0ne has joined #openstack-cinder06:56
*** tesseract has joined #openstack-cinder06:57
*** salv-orlando has joined #openstack-cinder06:59
*** rcernin has joined #openstack-cinder07:02
*** neophy has quit IRC07:04
*** jamielennox|away is now known as jamielennox07:18
openstackgerrityuyafei proposed openstack/os-brick: Disconnect multipath iscsi may logout session  https://review.openstack.org/32315407:27
*** bardia has quit IRC07:27
*** salv-orlando has quit IRC07:29
*** sdake has joined #openstack-cinder07:34
openstackgerritFalk Reimann proposed openstack/cinder: SwiftBackupDriver: Dont add project_id to authurl  https://review.openstack.org/24796407:35
openstackgerrityuyafei proposed openstack/os-brick: Disconnect multipath iscsi may logout session  https://review.openstack.org/32317407:36
*** bardia has joined #openstack-cinder07:45
openstackgerritHelen Walsh proposed openstack/cinder: VMAX Driver - SnapVX licensing checks for VMAX3  https://review.openstack.org/32297207:46
*** bardia has quit IRC07:50
*** markvoelker has joined #openstack-cinder07:53
openstackgerritKeiichi KII proposed openstack/os-brick: remove unneeded in_use flag checking for multipath  https://review.openstack.org/26467807:55
*** markvoelker has quit IRC07:58
*** zzzeek has quit IRC08:00
*** zzzeek has joined #openstack-cinder08:01
*** avishay has quit IRC08:06
lixiaoy1danpb: Hi Daniel, could you kindly have a look at this patch https://review.openstack.org/#/c/247372/ , which is about cinder encrypts / decrypts volumes. you ever left comments08:07
*** jordanP has joined #openstack-cinder08:08
openstackgerritDavanum Srinivas (dims) proposed openstack/cinder: [WIP] Testing latest u-c  https://review.openstack.org/30376608:10
openstackgerritDavanum Srinivas (dims) proposed openstack/cinder: [WIP] Testing latest u-c  https://review.openstack.org/30376608:10
openstackgerrityuyafei proposed openstack/cinder: SolidFire driver should get ceiling of volume size  https://review.openstack.org/32319108:11
openstackgerritYanLin Ren proposed openstack/cinder: IBM FlashSystem: Add host check for iSCSI driver  https://review.openstack.org/32309108:17
openstackgerritLisaLi proposed openstack/cinder: Handle quota exceed exception  https://review.openstack.org/28166608:20
*** avishay has joined #openstack-cinder08:21
*** mkrcmari__ has quit IRC08:22
*** ircuser-1 has quit IRC08:24
openstackgerritLisaLi proposed openstack/cinder-specs: Retype encrypted volumes  https://review.openstack.org/24859308:32
*** sdake_ has joined #openstack-cinder08:32
*** sdake has quit IRC08:35
*** jsheeren has joined #openstack-cinder08:44
jsheerenhi all08:44
jsheereni have a question about cinder using an nfs share for shared storage08:44
jsheereni can create and extend volumes; attach and detach them08:44
jsheerenbut when i want to extend a detached volume, i get permission denied08:44
jsheereni see the ownership on the volume file on the share changed from cinder:cinder to nobody:nogroup08:45
jsheerencinder cannot do any actions on the volume because of this08:45
jsheerenforce extending a volume which is attached works as expected (because the libvirt-qemu;kvm ownership when attached)08:46
jsheerenscratch this: "force extending a volume which is attached works as expected (because the libvirt-qemu;kvm ownership when attached)" -> my brain fffd08:47
jsheerenhas anyone seen this behaviour, is it normal expected behaviour?08:48
*** laughterwym has quit IRC08:50
*** laughterwym has joined #openstack-cinder08:50
lixiaoy1jsheeren: no such problem in my env. I use devstack to install my openstack env, and with nfs as backend08:51
jsheerenlixiaoy1: what are your exports options?08:52
lixiaoy1jsheeren: let me check08:52
jsheerenhave you enabled rootsquash?08:52
lixiaoy1jsheeren:  I use devstack to install and with nfs as backend08:52
jsheerenlixiaoy1: ah devstack handles the nfs exports then?08:53
lixiaoy1jsheeren: yes.08:53
lixiaoy1jsheeren:  rw, no_root_squash    exports options08:54
jsheerenlixiaoy1: aha; thanks for the options; i'll double check with my storage guy to see which options he set.08:54
*** mkrcmari__ has joined #openstack-cinder08:54
*** takedakn has joined #openstack-cinder08:54
lixiaoy1jsheeren: enable_plugin devstack-plugin-nfs <devstack-plugin-nfs github address>08:54
*** takedakn has quit IRC08:54
*** laughterwym has quit IRC08:55
lixiaoy1jsheeren: have to leave now. Good luck!08:55
jsheerenlixiaoy1: thank you!08:55
*** jordanP has quit IRC08:59
*** yhayashi has quit IRC09:00
openstackgerrityuyafei proposed openstack/os-brick: Disconnect multipath iscsi may logout session  https://review.openstack.org/32317409:05
*** avishay has quit IRC09:10
*** permalac has quit IRC09:16
*** jsheeren has quit IRC09:16
*** jsheeren has joined #openstack-cinder09:21
*** avishay has joined #openstack-cinder09:22
*** andymaier_ has joined #openstack-cinder09:23
*** ircuser-1 has joined #openstack-cinder09:26
*** chlong has quit IRC09:29
openstackgerritwanghao proposed openstack/cinder: Fix snapshot stuck in 'deleting' after reboot c-v  https://review.openstack.org/32241809:31
*** yangyapeng has joined #openstack-cinder09:34
*** takedakn has joined #openstack-cinder09:38
dulekgeguileo: Hi! Am I getting it right that with manifest we will have some more sophisticated rules of when to do version bump and when not to?09:41
geguileoNot really, it will be the simplest rule of all09:41
geguileoIf you don't change a field, you don't bump a version09:42
dulekgeguileo: I mean - on child change we won't need to bump parent's version, but hash will still change, right?09:42
geguileoYes09:42
geguileoSo we'll still need to change the test09:42
geguileoUnless we change the way we do the hashing for the test09:42
geguileoWhich now that you mention it, we should09:42
openstackgerritMerged openstack/cinder: Add test for checking object compatibilities  https://review.openstack.org/25912309:43
*** mkrcmari__ has quit IRC09:43
dulekgeguileo: We're using fixtures from o.vo for that.09:44
geguileoI'll have a look now and see if there's an easy way to change it09:44
dulekgeguileo: Maybe it's easier to just get more specific in the comment on top of test_objects.py instead?09:45
geguileodulek: I would like to avoid having to make unnecesary changes to the tests hashes whenever we have a related object change09:46
dulekgeguileo: This definitely makes live easier for anyone. :)09:46
geguileoThat way it will not be misleading and you will know you really require a version bump if the test is complaining09:46
*** takedakn has quit IRC09:46
geguileoIf it's easy I'll do it09:47
geguileoIf it's not, I'll probably look the other way ;-)09:47
*** chlong has joined #openstack-cinder09:47
*** mvk has joined #openstack-cinder09:47
dulekgeguileo: I've just checked. Looks like with your patch modification to the child does nothing with parent. Now when I recall it - wasn't it like that all the time? That's why we've missed so much required parent version bumps.09:52
geguileodulek: I thought the hashing took into account child versions09:52
geguileoI was just about to check it09:52
dulekYeah, there are child_versions taken into account when hashing, but as you're removing it… :)09:53
*** markvoelker has joined #openstack-cinder09:54
*** ducttape_ has quit IRC09:57
*** sdake_ is now known as sdake09:57
*** markvoelker has quit IRC09:58
geguileodulek: Ok, I see now why it's not complaining with ovo field changes10:00
geguileodulek: Because the repr is not reporting versions10:00
geguileodulek: Ok, then we won't get problems in the test when we bump a related field version10:00
dulekgeguileo: But should it?10:01
geguileodulek: It depends on what you want to do...10:02
geguileodulek: But I believe it should in general10:02
geguileodulek: But we don't need it to and nova doesn't either10:02
dulekgeguileo: You're talking about __repr__ in o.vo.base? That's for objects, not fields I think.10:02
*** Julien-zte has joined #openstack-cinder10:03
*** cheneydc has quit IRC10:03
geguileodulek: Correct, but if a field is an object won't it get called?10:03
geguileoGive me a sec10:03
dulekgeguileo: I think hashing is processing object *class*, not object *object.10:03
* dulek knows this is bad explanation.10:04
geguileoBut the class has fields that link to another class10:04
geguileoHere https://github.com/openstack/oslo.versionedobjects/blob/788e3d08f7d073acb9a9958b4e474c9d51da934d/oslo_versionedobjects/fields.py#L14310:05
*** caoshufeng has quit IRC10:05
geguileoIt should be reporting the version when a field is a related object  imo10:05
geguileoBut we don't need it, nova doesn't need it...10:06
geguileoSo I don't care all that much  };-)10:06
dulekfields.Object doesn't implement __repr__.10:06
dulekYeah, let's cut it. :P10:06
openstackgerritGorka Eguileor proposed openstack/cinder: Refactor create, save, and destroy OVO methods  https://review.openstack.org/31554110:07
openstackgerritGorka Eguileor proposed openstack/cinder: Add debug level logs on OVO backports  https://review.openstack.org/32114310:07
openstackgerritGorka Eguileor proposed openstack/cinder: Implement OVO class init mechanism  https://review.openstack.org/32114410:07
*** laughterwym has joined #openstack-cinder10:08
openstackgerritDavanum Srinivas (dims) proposed openstack/cinder: [WIP] Testing latest u-c  https://review.openstack.org/30376610:10
*** laughterwym has quit IRC10:12
*** chlong has quit IRC10:15
*** laughterwym has joined #openstack-cinder10:15
*** laughterwym has quit IRC10:18
*** laughterwym has joined #openstack-cinder10:19
*** laughterwym has quit IRC10:23
*** chlong has joined #openstack-cinder10:28
*** Julien-zte has quit IRC10:28
*** pdeore has joined #openstack-cinder10:30
*** EinstCrazy has quit IRC10:32
*** yangyapeng has quit IRC10:35
*** sdague has joined #openstack-cinder10:36
*** laughterwym has joined #openstack-cinder10:47
*** permalac has joined #openstack-cinder10:48
*** liverpooler has quit IRC10:48
*** laughterwym has quit IRC10:50
*** merooney has joined #openstack-cinder10:53
*** Julien-zte has joined #openstack-cinder10:53
*** ducttape_ has joined #openstack-cinder10:57
*** pots2 has joined #openstack-cinder10:58
openstackgerritwanghao proposed openstack/cinder: Fix snapshot stuck in 'deleting' after reboot c-v  https://review.openstack.org/32241810:58
*** pots1 has quit IRC11:00
*** liverpooler has joined #openstack-cinder11:01
*** ducttape_ has quit IRC11:02
*** merooney has quit IRC11:04
*** merooney has joined #openstack-cinder11:04
*** merooney has quit IRC11:06
*** raildo-afk is now known as raildo11:13
*** merooney has joined #openstack-cinder11:13
openstackgerrityuyafei proposed openstack/cinder: EMC driver should return ceiling of volume size  https://review.openstack.org/32238811:19
openstackgerrityuyafei proposed openstack/cinder: SolidFire driver should return ceiling of volume size  https://review.openstack.org/32319111:21
openstackgerrityuyafei proposed openstack/os-brick: Disconnect multipath iscsi may logout session  https://review.openstack.org/32317411:23
openstackgerrityuyafei proposed openstack/python-cinderclient: unit.test_base.BaseTest.test_eq does not work  https://review.openstack.org/32240811:24
*** ducttape_ has joined #openstack-cinder11:33
openstackgerritWilson Liu proposed openstack/cinder-specs: Migrate volume between backends in an async way  https://review.openstack.org/31285311:35
*** zhangjn has quit IRC11:36
*** pgadiya has quit IRC11:38
*** zhangjn has joined #openstack-cinder11:38
openstackgerrityuyafei proposed openstack/cinder: SolidFire driver should return ceiling of volume size  https://review.openstack.org/32319111:40
openstackgerrityuyafei proposed openstack/cinder: SolidFire driver should return ceiling of volume size  https://review.openstack.org/32319111:41
*** diablo_rojo has joined #openstack-cinder11:41
*** laughterwym has joined #openstack-cinder11:47
*** pgadiya has joined #openstack-cinder11:47
*** Julien-zte has quit IRC11:52
*** markvoelker has joined #openstack-cinder11:55
*** markvoelker has quit IRC11:57
*** markvoelker has joined #openstack-cinder11:57
*** ducttape_ has quit IRC11:58
openstackgerritGorka Eguileor proposed openstack/cinder: Move OVO methods from CinderObject to Persistent  https://review.openstack.org/31293011:58
openstackgerritGorka Eguileor proposed openstack/cinder: Remove remotable from OVOs  https://review.openstack.org/31292911:58
openstackgerritGorka Eguileor proposed openstack/cinder: Refactor create, save, and destroy OVO methods  https://review.openstack.org/31554111:58
openstackgerritGorka Eguileor proposed openstack/cinder: Add debug level logs on OVO backports  https://review.openstack.org/32114311:58
openstackgerritGorka Eguileor proposed openstack/cinder: Stop assuming persistent OVOs are also DictCompat  https://review.openstack.org/32114211:58
openstackgerritGorka Eguileor proposed openstack/cinder: Implement OVO class init mechanism  https://review.openstack.org/32114411:58
openstackgerritGorka Eguileor proposed openstack/cinder: Use manifest to backport OVOs during upgrades  https://review.openstack.org/30707511:58
*** merooney has quit IRC11:59
*** avishay has quit IRC12:01
*** takedakn has joined #openstack-cinder12:02
*** takedakn has quit IRC12:02
*** merooney has joined #openstack-cinder12:03
openstackgerritGorka Eguileor proposed openstack/cinder: Refactor create, save, and destroy OVO methods  https://review.openstack.org/31554112:05
openstackgerritGorka Eguileor proposed openstack/cinder: Implement OVO class init mechanism  https://review.openstack.org/32114412:05
* geguileo forgot to update one commit message :-(12:05
*** pdeore has quit IRC12:08
*** diablo_rojo has quit IRC12:11
*** takedakn has joined #openstack-cinder12:12
*** diablo_rojo has joined #openstack-cinder12:12
*** JoseMello has joined #openstack-cinder12:12
*** Lee1092 has quit IRC12:13
*** martyturner has joined #openstack-cinder12:14
*** savihou has joined #openstack-cinder12:17
*** takedakn has quit IRC12:18
*** arch-nemesis has joined #openstack-cinder12:22
*** arch-nemesis has quit IRC12:22
*** arch-nemesis has joined #openstack-cinder12:23
*** akshai has joined #openstack-cinder12:23
*** tpsilva has joined #openstack-cinder12:24
*** ducttape_ has joined #openstack-cinder12:24
*** GB21 has quit IRC12:24
*** dave-mccowan has joined #openstack-cinder12:25
*** sdake has quit IRC12:27
*** merooney has quit IRC12:27
*** merooney has joined #openstack-cinder12:28
*** ducttape_ has quit IRC12:29
*** arch-nemesis has quit IRC12:29
*** ducttape_ has joined #openstack-cinder12:29
*** kfarr has joined #openstack-cinder12:30
*** ducttape_ has quit IRC12:34
*** jungleboyj_ has joined #openstack-cinder12:35
*** pgadiya has quit IRC12:36
openstackgerritEdwin Wang proposed openstack/cinder: ABC Metaclass for IBM FlashSystem  https://review.openstack.org/32334312:42
*** arch-nemesis has joined #openstack-cinder12:42
*** timcl has joined #openstack-cinder12:43
openstackgerritWilson Liu proposed openstack/cinder-specs: Migrate volume between backends in an async way  https://review.openstack.org/31285312:44
*** ducttape_ has joined #openstack-cinder12:47
*** gouthamr has joined #openstack-cinder12:48
*** julim has joined #openstack-cinder12:53
*** diablo_rojo has left #openstack-cinder12:53
*** diogogmt has quit IRC12:56
*** diogogmt has joined #openstack-cinder12:57
*** kfarr has quit IRC13:01
*** eharney has joined #openstack-cinder13:03
openstackgerritKaitlin Farr proposed openstack/cinder: Specify key algorithm and size for create_key  https://review.openstack.org/25150313:04
*** akerr has joined #openstack-cinder13:04
*** Poornima has quit IRC13:05
*** cknight has joined #openstack-cinder13:05
*** merooney has quit IRC13:06
*** rlrossit has joined #openstack-cinder13:09
*** erlon_ has joined #openstack-cinder13:10
*** enriquetaso has joined #openstack-cinder13:15
*** merooney has joined #openstack-cinder13:15
*** xyang1 has joined #openstack-cinder13:18
*** bill_az_ has joined #openstack-cinder13:20
*** akshai has quit IRC13:24
*** diogogmt has quit IRC13:25
*** akshai has joined #openstack-cinder13:29
*** porrua has joined #openstack-cinder13:30
* dulek needs more coffee to finish reviewing geguileo's patches with API race conditions.13:31
smcginnisGallons! :)13:33
smcginnisOr is that liters for you? :D13:34
*** bill_az_ has quit IRC13:36
*** diogogmt has joined #openstack-cinder13:36
*** lgreg has joined #openstack-cinder13:38
*** mtanino has joined #openstack-cinder13:39
duleksmcginnis: Liters are converted to gallons linearly, so it's easy. ;)13:40
dulekBTW - ever heard that Fahrenheit was living in Gdansk, where I'm based? :D13:40
smcginnisdulek: Oh really? Hah, interesting.13:41
*** jungleboyj_ has quit IRC13:43
merooneycould I get this blueprint approved when someone gets a chance? https://blueprints.launchpad.net/cinder/+spec/netapp-cheesecake-replication-support13:47
*** baumann has joined #openstack-cinder13:47
*** rlrossit has quit IRC13:49
*** erlon_ is now known as erlon13:50
*** mtanino has quit IRC13:52
*** baumann1 has joined #openstack-cinder13:55
*** ametts has joined #openstack-cinder13:56
*** baumann has quit IRC13:56
*** diogogmt has quit IRC14:01
sheelI can offer some coffee if someone can review my patch also :)14:03
*** arch-nemesis has quit IRC14:03
sheelhttps://review.openstack.org/#/c/316587/14:04
*** akshai has quit IRC14:10
dulekgeguileo: Can you take a look if I'm making sense in https://review.openstack.org/#/c/221442/ ?14:11
*** jgregor has joined #openstack-cinder14:12
*** yangyapeng has joined #openstack-cinder14:12
*** Julien-zte has joined #openstack-cinder14:15
*** ducttape_ has quit IRC14:18
openstackgerritMerged openstack/cinder: Fix typos in Cinder files  https://review.openstack.org/29807814:18
*** tomh_ has joined #openstack-cinder14:18
*** EinstCrazy has joined #openstack-cinder14:19
*** andymaier_ has quit IRC14:21
*** akshai has joined #openstack-cinder14:22
*** MrHeavy has joined #openstack-cinder14:24
*** ducttape_ has joined #openstack-cinder14:26
*** lprice has joined #openstack-cinder14:26
*** darosale has joined #openstack-cinder14:28
*** jungleboyj_ has joined #openstack-cinder14:32
*** lprice1 has joined #openstack-cinder14:34
*** lprice has quit IRC14:35
*** ducttape_ has quit IRC14:40
*** diogogmt has joined #openstack-cinder14:43
geguileodulek: You make total sense14:44
geguileodulek: I just can't give you a good reason14:44
geguileodulek: I wrote that 8 months ago  :-(14:44
dulekgeguileo: It's either simple mistake, copied from migrate, constraint got removed meanwhile, or - there's sense behind it.14:45
geguileodulek: I'm afraid of the seonc option14:45
geguileosecond14:45
dulekjgriffith: Hey, do you know if it should be possible to retype a volume with enabled replication?14:46
* dulek finished the coffee with the review. And a second one awaits…14:47
*** jgregor has quit IRC14:49
*** timcl has quit IRC14:50
*** Lee1092 has joined #openstack-cinder14:50
*** jgregor has joined #openstack-cinder14:50
tobascoany ubuntu maintainers sneaking around here, hit me up ;)14:50
*** xinli has joined #openstack-cinder14:51
*** jungleboyj_ has quit IRC14:53
*** jgregor has quit IRC14:54
*** mtanino has joined #openstack-cinder14:55
*** cdelatte has joined #openstack-cinder14:56
*** jgregor has joined #openstack-cinder14:59
*** timcl has joined #openstack-cinder14:59
*** jwcroppe has joined #openstack-cinder15:00
jgriffithdulek: Yes, but honestly I think there needs to be some thought there still15:07
*** rcernin has quit IRC15:07
jgriffithdulek: it's a pretty special case that requires some other things to happen (at least to do it correctly)15:07
*** mjura has quit IRC15:09
dulekjgriffith: geguileo accidentally blocked that in his patchset. I started to wonder if that wasn't really an accidentally bugfix.15:09
*** ducttape_ has joined #openstack-cinder15:09
dulekjgriffith: That's the patch: https://review.openstack.org/#/c/221442/15:10
*** timcl has quit IRC15:10
*** merooney has quit IRC15:11
*** Swanson has quit IRC15:11
*** jungleboyj has joined #openstack-cinder15:11
*** chris_morrell has joined #openstack-cinder15:12
*** Swanson has joined #openstack-cinder15:12
*** links has quit IRC15:15
SwansonInternal REST API change for dell driver.  Needs 1 more +2 and a +A.  https://review.openstack.org/#/c/315226/15:16
jgriffithdulek: looking15:16
Swanson^^^ daily beg15:16
smcginnisSwanson: http://giphy.com/gifs/mpQkJpBMbSxMs15:17
SwansonHmm....  BP stock is down half a buck today. They being forced to scrub ducks on a beach somewhere again?15:20
SwansonIt's all just going as planned today.15:20
SwansonHostility level at 11.15:20
*** belmoreira has quit IRC15:22
openstackgerritGorka Eguileor proposed openstack/cinder: Remove API races from consistency groups  https://review.openstack.org/25942915:23
openstackgerritGorka Eguileor proposed openstack/cinder: Remove API races from migrate and retype  https://review.openstack.org/22144215:23
*** arch-nemesis has joined #openstack-cinder15:24
*** arch-nemesis has quit IRC15:24
*** arch-nemesis has joined #openstack-cinder15:24
*** diablo_rojo has joined #openstack-cinder15:24
*** EinstCrazy has quit IRC15:28
*** EinstCrazy has joined #openstack-cinder15:29
*** EinstCrazy has quit IRC15:29
*** arecknag has quit IRC15:29
*** lprice1 has quit IRC15:29
*** karthikp has joined #openstack-cinder15:32
*** openstackgerrit has quit IRC15:33
*** openstackgerrit has joined #openstack-cinder15:34
openstackgerritxiexs proposed openstack/cinder: Improve the retrieval feature of message  https://review.openstack.org/32345015:35
openstackgerritxiexs proposed openstack/cinder: Destroy the error message after volume was deleted  https://review.openstack.org/32345115:35
openstackgerritzhangsong proposed openstack/cinder: Add lock when create tgt target  https://review.openstack.org/32345215:36
*** xyang has joined #openstack-cinder15:38
*** Apoorva has joined #openstack-cinder15:39
*** lgreg has quit IRC15:40
xyangDuncanT, tbarron: hi, can you take a look of this?  https://review.openstack.org/#/c/321943/15:42
DuncanTxyang: I'm not massively sold on the backporting story - we changed the code an great deal, for good reasons. I'll review the patch though15:44
xyangDuncanT: but it broke some code that was working in Liberty15:44
xyangDuncanT: I thought you were ok with finding the local volume node when I asked you last time?15:45
DuncanTxyang: We need to fix the testing so it doesn't get broken again. I don't mind an ugly fix on -stable, but making a mess of master without a plan for getting it done properly makes me nervous. I think I'd rather just turn off the broken optimised path in one patch, backport that, then fix it properly. Maybe it isn't as bad as I think though - I'll take a15:47
DuncanTlook at the patch15:47
xyangDuncanT: thanks for looking, but without fixing the optimal path, both non-disruptive backup and backup snapshot are broken in Mitaka15:49
*** jungleboyj has quit IRC15:49
xyangDuncanT: so the problem is there is no slow path for driver that uses snapshot to backup15:49
*** yangyapeng has quit IRC15:50
DuncanTWe can just remove the call to the driver and make every driver go via the slow path - that looks like a small, clean patch15:50
*** yangyapeng has joined #openstack-cinder15:50
xyangDuncanT: but that was working in Liberty15:51
eharneyxyang: did we lose an optimization or some user functionality?15:52
DuncanTxyang: And it got broken. I'd rather fix it cleanly than with a hacky mess. If we break offloaded backup while fixing this, then we've still got a broken feature. I need to spend some time on your patch to see15:52
xyangeharney: the functionality is currently broken15:53
eharneyxyang: which functionality?15:53
xyangeharney: non-disruptive backup and backup snapshot15:53
eharneyxyang: i don't know what "backup snapshot" means for end-user functionality15:54
*** tesseract has quit IRC15:54
xyangeharney: that is a feature we added in Mitaka15:54
eharneyxyang: what is the feature?15:54
xyangeharney: backup a snapshot15:54
eharneyok15:54
xyangDuncanT: appreciate if you could take a closer look.  It is an ugly patch as we discussed last week, but it gave us back what was supported before.15:55
*** Julien-zte has quit IRC15:56
DuncanTxyang: It looks like it breaks the offloaded backup though15:56
xyangDuncanT: does it?15:56
xyangDuncanT: this fix only affects the code path that uses snapshot, which does not work in the current code15:56
xyangDuncanT: I believe this should not affect the code that uses a temp volume15:57
DuncanTxyang: Not sure until I can spin up a multinode test environment, but it looks like it only fixes it if you co-host c-vol and c-bak15:57
xyangDuncanT: that is right15:57
xyangDuncanT: to fix multinode for snapshot, we need a bigger fix, which I also have a patch for15:57
DuncanTxyang: But it doesn't look like the fallback to the none-optimised path works15:58
xyangDuncanT: but that complete fix can’t be backported15:58
jgriffithsmcginnis: dulek can I get your opinions on something?15:58
DuncanTxyang: I might be wrong though15:58
smcginnisjgriffith: Sure15:58
*** nkrinner has quit IRC15:58
jgriffithsmcginnis: dulek https://review.openstack.org/#/c/321095/115:58
xyangDuncanT: if you are using the snapshot path, it does not fall back to non-optimized path.  it never did that15:58
jgriffithsmcginnis: dulek so the bug IMO is that attach_get_by_* does a first() call15:59
xyangDuncanT: so  if we want to fall back, that will be a new thing we can add later15:59
DuncanTxyang: It needs to now though, that's my point15:59
jgriffithsmcginnis: dulek the names of the methods suck and aren't very clear on what you get15:59
xyangDuncanT: I can think about that15:59
DuncanTxyang: Running c-vol and c-bak on separate nodes is now supported, so we need to make that work15:59
jgriffithsmcginnis: dulek BUT, the object code for example interpreted things as I did... that these were a "get all"15:59
smcginnisjgriffith: Yeah, I don't see why we would only want to get the first one.15:59
smcginnisjgriffith: That would have been my expectation.16:00
jgriffithsmcginnis: dulek Gorka would like to see me write new methods, I'd rather just fix the ones that are there16:00
DuncanTxyang: I think it's going to be easier to disable the optimisation (and so make it work non-optimised everywhere) then look at adding your fix on top of that, rather than the other way round - the disable patch should be very small16:00
xyangDuncanT: the problem is still that it was working in Liberty16:01
jgriffithsmcginnis: dulek I suppose I can just change the names, but then I have to go through all the bull shit of object version updates etc etc and a bunch of crappy unit tests :(16:01
dulekjgriffith: Diving. A break from conditional updates will be nice.16:01
jgriffithI guess I'm being lazy and should get over it16:01
jgriffithdulek: haha16:01
xyangDuncanT: so the code that I added are copied from Liberty16:01
xyangDuncanT: I mean the code that looks for enabled backend on the backup node16:01
DuncanTxyang: The liberty approach is no longer good, we changed the deployment model16:02
smcginnisjgriffith: So it looks like you've updated every reference expect a mock in test_volume_attachment.16:02
xyangDuncanT: If they are on the same node, it works16:02
dulekjgriffith: Gorka is removing remotable decorator from objects methods in one of his commits. This would save you burden on bumping the versions. :)16:02
DuncanTxyang: That's my point - things are different now and we have to fix it in that context16:02
smcginnisjgriffith: Looking at that now...16:02
smcginnisdulek: Oh, there may be a reason. :)16:03
xyangDuncanT: so with this fix, it will work for the same node, which is the same as Liberty16:03
DuncanTxyang: But it will be broken for anybody deploying using the new model16:03
jgriffithdulek: oh that would be nice16:03
xyangDuncanT: it will not break16:03
smcginnisjgriffith: I guess I don't see a strong reason to add a new once since you seem to have covered all references.16:03
xyangDuncanT: this only affects driver that uses snapshot16:03
smcginnisjgriffith: But dulek has a fair point. :)16:04
DuncanTxyang: Disabling the optimisations gets it working for every supported config, in a very small patch16:04
xyangDuncanT: currently it does not work for them at all16:04
jgriffithsmcginnis: ok, I'll just rename them I gues16:04
jgriffithguess16:04
dulekI'm not yet leaning for renaming. ;)16:04
xyangDuncanT: this change does not affect others16:04
dulekI've just thrown a data point.16:04
*** jsheeren has quit IRC16:05
DuncanTxyang: It's adding a mess of ugly code, and I think it's the wrong approach16:05
DuncanTxyang: Give me a day or so to get an env up to test it though, maybe I'll change my mind16:05
xyangDuncanT: sure.  appreciated!16:05
DuncanTxyang: I'm just going by gut reaction at the moment16:05
xyangDuncanT: I asked you last week before making this “ugly” patch:)  and you were okay at that time16:06
jgriffithit doesn't fix the fact that the object code is expecting a list and gets a single item though IMO16:06
DuncanTxyang: I didn't realise quite how ugly, nor that it is still broken in the new config with this patch16:06
jgriffithbut whatever16:06
*** yangyapeng has quit IRC16:07
xyangDuncanT: I can only fix the local node config with this fix, otherwise I have another fix that also fix the remote config16:07
dulekjgriffith: Are we even using them? Looks like these should explode when used in current status.16:07
DuncanTxyang: I get the feeling it would be better to do the disable first, then the complex fix, but we're going round in circles at this point, I'll try to get back to you tomorrow16:08
*** raunak has joined #openstack-cinder16:08
*** raunak has quit IRC16:08
*** asselin has joined #openstack-cinder16:08
openstackgerritKaitlin Farr proposed openstack/cinder: Replace key manager with Castellan  https://review.openstack.org/28049216:08
xyangDuncanT: sure.  I realize that we are talking in circles:).  Talk to you tomorrow about it16:08
*** jungleboyj has joined #openstack-cinder16:09
dulekjgriffith: Okay, looks like geguileo wants to rename both DB methods in the manner of volume_attachment_get_by_host to volume_attachment_get_all_by_host16:11
dulekjgriffith: And this is totally reasonable.16:11
jgriffithdulek: I'm not sure I'm being clear.. just a sec :)16:11
dulekjgriffith: It would require you just fixing usages of them. No need to modify object's method names as these are named like returning a list.16:12
jgriffithdulek: https://github.com/openstack/cinder/blob/master/cinder/objects/volume_attachment.py#L8416:12
jgriffithdulek: note the call in the object code is "get_all_by_host"16:12
jgriffithdulek: BUT, it calls a db method that just returns "first()"16:12
jgriffithdulek: That's a bug16:12
jgriffithdulek: so I tried to just fix it16:13
jgriffithdulek: the result is everybody throwing in their 2 cents about "new names", "why is this that way" etc etc16:13
jgriffithdulek: I thought it was a pretty simple fix, but now I'm getting the impression I'm living in a different universe :)16:13
jgriffithdulek: so you and smcginnis seem to be suggesting that I write new db methods and leave the broken usage in object/volume_attachments.py... or that I rewrite those as well.16:14
smcginnisjgriffith: Yeah, I don't really see the need to rename. I think it should just be fixed to work as its been assumed to.16:14
jgriffithsmcginnis: yeah... don't get me wrong, I don't mind renaming them at all.  But I'm saying those calls in object/volume_attachments have to be fixed16:15
jgriffithwhich means object version change etc16:15
smcginnisjgriffith: I agree.16:15
dulekjgriffith: Suuure, object's code is screwed up here. But it seems to me that if we're making db.volume_attachment_get_by_host return list now, we should rename it to db.volume_attachment_get_*all*_by_host and switch all the occurrences to use new name.16:16
dulekDoesn't it make sense?16:16
*** kfarr has joined #openstack-cinder16:16
smcginnisdulek: I don't know. get_by_host I would assume would return multiple.16:16
smcginnisWe don't have a 1:1 attachment to host relationship.16:16
jgriffithdulek: yeah, that's cool.  I'll just add some new calls and update those parts and get on with my day :)16:16
smcginnisSo if I'm getting by host, I would expect to get everything for that host.16:16
jgriffithdulek: personally I think the existing ones should probably be removed16:17
jgriffithsmcginnis: +1000  That's what i was trying to point out :)16:17
dulekGimme a sec.16:17
jgriffithsmcginnis: and it turns out other than the author who wrote the unit tests an the code that consumes it that's what everybody assumed16:17
*** xyang has quit IRC16:17
smcginnisIt should just be fixed IMO.16:18
jgriffithsmcginnis: I didn't even bring up the other ones... like volume_attachment_get_used_by_volume_id16:18
smcginnisjgriffith: :/16:18
*** xyang has joined #openstack-cinder16:19
jgriffithsmcginnis: which uses "all()" as we would expect, but by gorka and dulek 's thoughts I should change those too... which is ok, I'm doing it now :)16:19
*** rueben_ has joined #openstack-cinder16:19
duleksmcginnis, jgriffith: Looking through db.sqlalchemy.api it looks like we have a convention of naming methods with get_all when it returns list and with just get when it returns a single item.16:20
*** lprice has joined #openstack-cinder16:20
jgriffithdulek: yeah, I'll change them to match that convention :)16:20
jgriffithdulek: smcginnis thanks for the input16:20
smcginnisdulek: Fair enough. I guess I'd rather have consistency.16:20
dulekI don't really care that much, but I think it makes devs lives a little easier.16:20
jgriffithdulek: agreed16:21
*** raunak has joined #openstack-cinder16:22
dulekAlso note that geguileo is trying to make some automated bindings between DB model and objects, so consistency in naming makes his life easier. :)16:22
smcginnisdulek: OK, there's a stronger reason IMO. ;)16:23
*** savihou has quit IRC16:25
openstackgerritGorka Eguileor proposed openstack/cinder: Minimize cost of DB exists decorator checks  https://review.openstack.org/31917716:28
*** chris_morrell has quit IRC16:28
openstackgerritGorka Eguileor proposed openstack/cinder: Improve DB volume check in LVM manage volume  https://review.openstack.org/31932316:28
*** merooney has joined #openstack-cinder16:28
*** timcl has joined #openstack-cinder16:30
*** garthb has joined #openstack-cinder16:35
*** jungleboyj has quit IRC16:36
*** e0ne has quit IRC16:38
jgriffithgeguileo: hmm.. for some reason didn't think you were on line... otherwise would've just discussed that whole get_all thing with you :)16:38
jgriffithgeguileo: sorry... I keep using "gor" for auto complete to find your name16:38
geguileolol16:38
jgriffithgeguileo: :)16:38
geguileojgriffith: I was online but not on the computer16:40
geguileojgriffith: So I missed the conversation16:40
jgriffithgeguileo: haha.. well then I guess it all worked out :)16:41
*** permalac has quit IRC16:42
openstackgerritJohn Griffith proposed openstack/cinder: Fix attachment_get_by_* to return entire list  https://review.openstack.org/32109516:46
*** frakt has quit IRC16:46
*** frakt has joined #openstack-cinder16:47
*** laughterwym has quit IRC16:49
*** mvk has quit IRC16:51
*** jgregor has quit IRC16:52
*** xyang has quit IRC16:54
*** timcl has quit IRC16:55
*** diablo_rojo has quit IRC16:56
*** baumann has joined #openstack-cinder16:59
*** links has joined #openstack-cinder17:00
*** rcernin has joined #openstack-cinder17:02
*** diogogmt has quit IRC17:02
*** baumann2 has joined #openstack-cinder17:02
*** baumann1 has quit IRC17:02
*** diogogmt has joined #openstack-cinder17:03
*** baumann has quit IRC17:04
*** eharney has quit IRC17:04
*** ociuhandu has joined #openstack-cinder17:05
*** eharney has joined #openstack-cinder17:06
hemanthmdulek: thanks for the cinder rolling upgrades link. Will ping you once read up on it17:06
*** yangyapeng has joined #openstack-cinder17:07
*** links has quit IRC17:11
openstackgerritJohn Griffith proposed openstack/cinder: Fix attachment_get_by_* to return entire list  https://review.openstack.org/32109517:11
*** yangyapeng has quit IRC17:12
*** diablo_rojo has joined #openstack-cinder17:12
*** jungleboyj has joined #openstack-cinder17:15
openstackgerritxiexs proposed openstack/cinder: Improve the retrieval feature of message  https://review.openstack.org/32345017:24
*** lpetrut has joined #openstack-cinder17:30
*** raunak has quit IRC17:36
*** e0ne has joined #openstack-cinder17:39
*** xyang has joined #openstack-cinder17:44
*** raunak has joined #openstack-cinder17:45
*** suyash has joined #openstack-cinder17:46
*** raunak has quit IRC17:46
jgriffithsmcginnis: hemanthm ildikov so long term I think we should do something like this:  https://gist.github.com/j-griffith/ce51ef48db38a4916d9b8f7ed20d910117:50
jgriffithsmcginnis: hemanthm ildikov but that means a lot of change for callers, so may not be the right answer for now.17:50
jgriffithjohnthetubaguy: ^^  I'd be curious what you think of something like that17:51
ildikovjgriffith: well, this seems like a big change indeed17:53
*** Guest83344 has quit IRC17:53
*** jay-mehta has quit IRC17:53
*** bardia has joined #openstack-cinder17:53
jgriffithildikov: yeah it is a very big change for nova anyway17:53
jgriffithildikov: I figure it won't be something folks are willing to invest in right now, but I did want to share my opinion17:54
ildikovjgriffith: exactly, I do like the way of simplifying things so if it works for Cinder I'm happy to investigate how we can use it in Nova17:54
smcginnisjgriffith: I like the granularity of it. One call to do one overall action.17:54
jgriffithsmcginnis: yeah, the mlti-step calls are what have made things kinda ugly for us17:55
ildikovjgriffith: what do you think is there any way to do it as a step by step?17:55
jgriffithsmcginnis: and I can't see a real reason why we have them that way still17:55
smcginnisjgriffith: More moving parts to break. More things to get confused about. More steps to possibly overlook. :)17:55
ildikovjgriffith: I think the reason of the current state is purely historical17:56
*** timcl has joined #openstack-cinder17:56
jgriffithildikov: yeah, and rapid growth :)17:56
ildikovjgriffith: it just never got fixed, so maybe this is the time now :)17:56
smcginnisildikov: +117:56
ildikovjgriffith: yeah, growth too, I agree17:56
jgriffithildikov: yeah, it's really up to the folks on the Nova side and whether they'd be willing to do this large of a change17:57
ildikovjgriffith: I'm a great fan of refactoring and removing code we don't use/like anymore17:57
jgriffithildikov: hehe me too17:57
*** jay-mehta has joined #openstack-cinder17:57
smcginnisI think it's going to have to happen at some point. Might as well get it all changed and right than piece meal our way there over 4-5 release cycles.17:58
ildikovjgriffith: smcginnis: johnthetubaguy: we will need to figure out the VM movement cases17:58
jgriffithildikov: you mean Instance Migration?17:58
ildikovsmcginnis: as we have API microversion I hope we don't have to spend 4-5 cycles on this17:58
ildikovjgriffith: that, both types and evacuation, shelve offload and I'm sure there's something I forget17:59
smcginnisildikov: I'm hoping.17:59
ildikovjgriffith: as if we now switch to another granularity that might affect these operations18:00
ildikovjgriffith: shelve offload I think could be supported by Cinder as a term as well, I mean saving a volume to a shelved instance18:00
jgriffithildikov: but with multi-attach those just fall out as disconnect/connect calls no?18:01
ildikovjgriffith: I think we already said that with the proper amount of info evacuation could be a force detach + attach combo18:01
ildikovjgriffith: migration is a question in my head from this perspective18:01
jgriffithildikov: what I mean is like for migrate with attached volume, create new attachment on destination, then go back and disconnect the old one via attachment ID18:02
jgriffithildikov: since each connection would get it's own unique attachment_id record we just use that everywhere18:02
jgriffithildikov: you add attachment_id to the bdm for the volume18:02
ildikovjgriffith: with migrate the volume has to support multi-attach if you want to use that method18:02
jgriffithildikov: well... we cheat and do it now anyway :)18:03
jgriffithanyway... just some thoughts, I'll work on the other method that isn't quite so intrusive18:03
ildikovjgriffith: with migrate the volume has to support multi-attach if you want to use that method18:04
jgriffithbut long term I think we should consider something like the new flow18:04
*** raunak has joined #openstack-cinder18:04
ildikovI totally support you on the new flow, this is why I brought up these use cases as if we can address those with the new model we already took a step towards it18:05
*** ChubYann has joined #openstack-cinder18:08
*** ChubYann has quit IRC18:09
*** ChubYann has joined #openstack-cinder18:09
ildikovjgriffith: can your initialize_connection work be done in a way that can be reused for this new flow in any extent?18:09
*** timcl has quit IRC18:10
ildikovjgriffith: I'm just asking as it would be good to have some progress while we're discussing the bigger change although it would be better if we could work a bit proactively as well18:11
jgriffithildikov: ya, actually what that would do is just call those new versions of initialize_connection etc18:15
ildikovjgriffith: ok, cool, so basically the new API would hide these functions in the future from the users, right?18:16
jgriffithildikov: yup, that's one way to do it18:16
*** xyang has quit IRC18:17
ildikovjgriffith: ok, cool, got it18:17
*** earlephilhower has joined #openstack-cinder18:18
*** timcl has joined #openstack-cinder18:19
*** Swanson has quit IRC18:20
hemnayough18:24
hemnajgriffith, so yah that looks good.  I think this is what scottda and I were hoping for in the refactor approach we started talking about a while back.18:27
jgriffithhemna: ahh18:28
hemnalooks good18:28
hemnamake it so18:28
hemna:P18:28
jgriffithhemna: well, I'm game if Nova folks are up to it18:28
jgriffithhemna: really need input from that side before doing much more there though I think18:28
jgriffithhemna: I BELIEVE I can make most things work with existing calls, but it doesn't adress some of the issues with multi-attach and race conditions etc18:29
hemnaI'm still trying to hash out the removal of the check_attack stuff18:30
hemnanova is such a pita18:30
hemnaoverly complex, etc18:30
hemnathey seem to do a lot of checking before they check, and then do it kinda stuff.18:31
jgriffithhemna: hehe... like meetings to plan meetings :)18:31
hemnayah pretty much :)18:31
ildikovhemna: jgriffith: yeah, those checks are overkill...18:32
ildikovhemna: jgriffith: I'm still on the side of trying to plan a few steps to get to this proposal18:34
ildikovhemna: jgriffith: that might keep Nova folks a bit more relaxed about it too18:35
ildikovhemna: jgriffith: I haven't sent out the reminder yet, but if you're available for the Thursday backup slot this week for our meeting I think we should bring this up there to get some initial thoughts from Nova people as well18:37
jgriffithildikov: works for me18:37
ildikovjgriffith: cool, tnx18:39
*** diablo_rojo has quit IRC18:39
*** merooney has quit IRC18:40
*** xyang has joined #openstack-cinder18:42
*** xyang has quit IRC18:45
*** xyang has joined #openstack-cinder18:47
*** jungleboyj has quit IRC18:47
*** baumann has joined #openstack-cinder18:47
*** baumann1 has joined #openstack-cinder18:48
*** baumann has quit IRC18:48
*** baumann2 has quit IRC18:49
*** xyang has quit IRC18:49
openstackgerritOpenStack Proposal Bot proposed openstack/cinder: Updated from global requirements  https://review.openstack.org/32306318:50
*** baumann has joined #openstack-cinder18:50
*** merooney has joined #openstack-cinder18:51
*** baumann1 has quit IRC18:53
*** diablo_rojo has joined #openstack-cinder18:56
*** xyang has joined #openstack-cinder18:57
*** baumann has left #openstack-cinder18:57
*** baumann has joined #openstack-cinder18:58
*** jungleboyj has joined #openstack-cinder19:00
*** diablo_rojo has quit IRC19:01
*** diablo_rojo1 has joined #openstack-cinder19:01
*** diablo_rojo1 has quit IRC19:02
*** diablo_rojo has joined #openstack-cinder19:02
*** timcl has left #openstack-cinder19:04
*** timcl has joined #openstack-cinder19:04
*** timcl has left #openstack-cinder19:05
*** timcl has joined #openstack-cinder19:06
*** jungleboyj has quit IRC19:06
*** e0ne has quit IRC19:07
*** karthikp has quit IRC19:08
*** jgregor has joined #openstack-cinder19:09
*** Swanson has joined #openstack-cinder19:09
*** akshai has quit IRC19:09
*** yangyapeng has joined #openstack-cinder19:09
*** akshai has joined #openstack-cinder19:11
*** raunak has quit IRC19:11
SwansonHas pycharm ever successfully installed a pip package on its own? Or just locked up every single time?19:12
*** yangyapeng has quit IRC19:14
*** e0ne has joined #openstack-cinder19:20
*** xyang has quit IRC19:21
*** jungleboyj has joined #openstack-cinder19:22
bardiacan any of the cores take a look at my review and finalize it please? https://review.openstack.org/#/c/318382/419:23
*** xyang has joined #openstack-cinder19:25
*** sheel has quit IRC19:25
*** e0ne has quit IRC19:28
*** eharney has quit IRC19:29
*** jungleboyj has quit IRC19:31
*** xyang has quit IRC19:32
*** Lee1092 has quit IRC19:33
*** xyang has joined #openstack-cinder19:33
*** eharney has joined #openstack-cinder19:36
*** eharney has quit IRC19:39
*** eharney has joined #openstack-cinder19:41
*** mvk has joined #openstack-cinder19:42
*** jungleboyj has joined #openstack-cinder19:43
*** merooney has quit IRC19:44
bswartzscottda: ping19:44
*** sdake has joined #openstack-cinder19:45
bswartzscottda: the midcycle etherpad says the hotel rooms have a "HP discount rate", but last time I tried to use that they wanted to know if I actually worked for HP19:45
*** sdake_ has joined #openstack-cinder19:49
*** raunak has joined #openstack-cinder19:50
*** porrua has quit IRC19:50
*** pots2 has quit IRC19:51
*** sdake has quit IRC19:51
*** lpetrut has quit IRC19:53
*** lgreg has joined #openstack-cinder19:54
*** crose has joined #openstack-cinder19:55
*** crose has quit IRC19:55
*** crose has joined #openstack-cinder19:56
smcginnisbswartz: That's just you. They have you on their bad list.19:56
smcginnis:)19:56
smcginnisbswartz: I was able to book it no problem. I didn't say I worked for HP, just that I was going to be there for meetings at the HP office.19:56
* hemna wants to go to the midcycle19:57
* hemna has a sad19:57
*** jgregor has quit IRC19:57
smcginnishemna: No luck, huh?19:57
openstackgerritKarthik Prabhu Vinod proposed openstack/cinder: Add ServiceBinary Enum  https://review.openstack.org/32297719:58
*** crose has quit IRC19:59
Swansonhemna, I bet reviewing this https://review.openstack.org/#/c/315226/ would cheer you up.19:59
Swanson(Worth a try.)19:59
hemnanothing yet19:59
*** Apoorva has quit IRC19:59
*** lprice1 has joined #openstack-cinder20:01
*** lprice has quit IRC20:02
Swansonhemna, I don't know if you're cheered up but I sure am! Thanks120:04
*** Apoorva has joined #openstack-cinder20:06
*** jgregor has joined #openstack-cinder20:08
*** garthb_ has joined #openstack-cinder20:09
*** jsheeren has joined #openstack-cinder20:10
*** garthb has quit IRC20:10
*** jgregor has quit IRC20:14
bswartzsmcginnis: yeah I've been able to book in the past but when I actually showed up they wanted evidence that I was with HP20:16
*** pots1 has joined #openstack-cinder20:16
bswartzyou're probably right that I'm just a shady looking guy and they put my on their bad list20:16
smcginnisbswartz: Just show then you NA business card and tell them the news isn't public yet. :D20:16
bswartznow that *would* be shady20:17
smcginnishehe20:17
ildikovjgriffith: I added a few comments to the initialize_connection patch20:28
*** timcl has quit IRC20:30
openstackgerritJohn Griffith proposed openstack/cinder: Introduce new calls for attaching volumes  https://review.openstack.org/32357120:31
jgriffithildikov: smcginnis ^^  I'll update with more info/detail shortly on how this works20:31
jgriffithildikov: smcginnis be back in like 10 minutes20:32
*** cknight has quit IRC20:32
ildikovjgriffith: regarding host_name, I think we should either change the API so that Nova can send it or remove the need for it in Cinder20:33
*** akerr has quit IRC20:33
ildikovjgriffith: cool, tnx, I'm reading it already :)20:33
*** jgregor has joined #openstack-cinder20:36
*** jungleboyj has quit IRC20:37
*** julim has quit IRC20:38
ildikovjgriffith: smcginnis: regarding naming I wonder how much it is confusing in the sense of having the connect term in os-brick20:39
smcginnisildikov: Not sure I'm following whay you mean.20:40
smcginnis*what20:40
*** eharney has quit IRC20:42
*** haypo has left #openstack-cinder20:43
ildikovsmcginnis: I meant the disconnect_volume Nova calls at detach time for instance, but maybe only I got confused because of this when I saw the renaming of attach to connect20:45
smcginnisildikov: Ah, I see what you're saying.20:46
*** raildo is now known as raildo-afk20:47
hemnaildikov, we need the host name20:47
ildikovsmcginnis: well, naming sucks, and as I'm still just learning how things are working or not that much working here I can get confused very easily, so I was just thinking out loud :)20:47
hemnawell at least some of the drivers do, in order to export the volume from the array20:48
ildikovhemna: in attach you mean?20:48
smcginnisildikov: No, I think half of our problems are due to naming not being clear enough to avoid confusion. ;)20:48
hemnaildikov, yup20:48
*** grumpycatt has quit IRC20:48
ildikovhemna: hmm, in attach_volume() shouldn't it come from Nova, when it calls attach?20:50
hemna*sigh*20:50
hemnatrying to make sense of the nova client20:51
ildikovhemna: I'm playing with jgriffith's patch: https://review.openstack.org/#/c/320721/1/cinder/volume/manager.py in devstack and host_name here is None20:51
*** Apoorva has quit IRC20:51
hemnathe nova boot process = pain20:51
ildikovhemna: but that patch does not really change host_name so I assume it's None originally as well20:51
*** Apoorva has joined #openstack-cinder20:51
ildikovhemna: but isn't this what's blocked in the Cinder API?20:52
hemnayuh20:52
ildikovhemna: I mean that you cannot specify host and instance in attach20:52
hemnacorrect20:53
hemnaI'm trying to track down the BFV case20:53
hemnaand find where reserve_volume is ever called20:53
hemnaI can't find it20:53
hemna:(20:53
ildikovsmcginnis: right, one of the most difficult tasks if you try to do it right... :)20:53
ildikovhemna: in BFV case they don't call reserve_volume20:54
ildikovhemna: I tested it in Devstack20:54
ildikovit's not called at all20:54
ildikovat least in case of attaching an already existing volume at boot time20:54
*** lgreg has quit IRC20:55
ildikovbut I guess it's the same scenario when Nova creates the volume, although I haven't tested that one20:55
hemnaso yah that's what I'm seeing as well20:55
hemnawhich is bad mmmkay20:55
hemnanova is so painful20:55
ildikovI think we talked about it last week20:56
ildikovI was wondering whether we could have it as the regular attach20:56
hemnaI tried and tried and I can't reproduce the same issues in unit tests20:56
ildikovI don't really see why attach differs in case of BFV20:56
ildikovwhich issues you mean?20:56
hemnathe accessing the bdm values20:56
hemnafails every time in the real case20:57
hemnaand works in the unit tests20:57
hemnabdm.get('volume_id')20:57
hemnaNone20:57
hemnabdm.volume_id  works20:57
ildikovisn't it because of some mocks?20:57
hemnathe BDM objects are VERY different in the unit tess20:57
hemnatests20:57
hemnacompared to the real runtime20:57
hemnacan't quite comprehend how this is allowed20:57
ildikovI thought so, that was my guess as well20:58
hemnathe fakes in the unit tests20:58
hemnaare not even the same structure or type of object20:58
hemnasmh20:58
hemnaso they aren't even testing the real thing20:58
ildikovthere are even fake methods, like for check_attach in Nova20:58
*** diablo_rojo has quit IRC20:58
hemnaso I give up20:59
ildikovyeah, sometimes it's hard to find the border between unit and functional tests... :(20:59
hemnait makes no sense20:59
jgriffithhemna: ildikov smcginnis hmm... looks like I stirred up a hornets nest and left :)20:59
hemnaoh well20:59
hemnaI can reproduce the issue every time in the real BFV case20:59
hemnabut johnthetubaguy wanted me to reproduce it in unit tests...which is impossible.20:59
hemna:(20:59
hemnanot even the same objects20:59
hemnaultimately, I need to get nova to stop trying to check_attach in the BFV21:00
ildikovjgriffith: :)21:00
hemnaas my change calls reserve instead of check_attach up front21:00
jgriffithildikov: :)  So I reworked things here:  https://review.openstack.org/#/c/323571/  With the hope of making a clean transition on things21:00
*** lprice has joined #openstack-cinder21:00
hemnawhich causes failure later, because it tries to check_attack21:00
* hemna head is spinning21:00
ildikovhemna: don't give up, let's point out to Nova folks that this is the case and get a few eyes on it, they should know as well21:01
ildikovjgriffith: yeah, I recognized since then, host_name looks fine in it :)21:01
ildikovjgriffith: the rest I need to understand :)21:01
*** lprice1 has quit IRC21:01
ildikovhemna: where is the other check attach there?21:02
johnthetubaguyjust push it back to us, I can try take a look, to see whats going on again21:02
johnthetubaguywell, in the morning21:02
*** akshai has quit IRC21:02
ildikovhemna: I guess you changed the first check_attach to reserve, right?21:02
openstackgerritMerged openstack/cinder: Dell SC: Switched REST calls to async where available  https://review.openstack.org/31522621:02
openstackgerritJay Mehta proposed openstack/cinder: Fixed _create_3par_iscsi_host(), added unit test for 3PAR  https://review.openstack.org/31776321:03
ildikovjohnthetubaguy: yeah, this is definitely a morning topic rather than quick before sleep one21:03
hemnaildikov, http://paste.openstack.org/show/506653/21:03
hemnathat nonsense21:03
*** jgregor has quit IRC21:04
ildikovhemna: :S21:05
ildikovhemna: the BFV case should be fine I think as I guess the check_attach is called from attach as do_check_attach is not set to False in BFV case as they currently don't call reserve at all21:06
hemnawell, I'm trying to remove the check_attach call early on21:07
hemnarace conditions, etc21:07
hemnait should reserve the volume up front21:07
hemnaand then not check_attach21:07
ildikovit's called in validate_bdm or somewhere like this as well IIRC21:07
jgriffithhemna: you could just take a look at the patch I just proposed and use it's get_connection instead21:07
jgriffithhemna: do a simple search/replace in nova :)21:08
hemnabdm.attach calls really shouldn't check_attach21:08
hemnajgriffith, :)21:08
*** martyturner has quit IRC21:08
jgriffithhemna: IIRC some of that was there for things like getting everything put back together after a compute node reboot... but it's been a while and I could be wrong21:08
ildikovyeah, but if you call reserve when the first check_attach happens the second one should not be needed21:08
ildikovhemna: it's like in your attach diagram, the second check_attach is not called in reality21:09
*** Wenjun has quit IRC21:10
hemnawell, if I replace the first check_attach call with reserve_volume21:10
hemnait fails21:10
ildikovhemna: so it's basically not needed, we need to ensure that reserve is called every time it has to be called21:10
hemnabecause nova does call check_attach later, and it's already in 'attaching'21:11
hemnaso it pukes21:11
ildikovhemna: set do_check_attach False when calling attach21:11
*** garthb_ has quit IRC21:12
johnthetubaguyso most of this stuff was added because we didn't understand what we were doing, the reserve_volume makes it much clearer that we don't need to check_attach later on21:12
openstackgerritJay Mehta proposed openstack/cinder: Fixed _create_3par_iscsi_host(), added unit test for 3PAR  https://review.openstack.org/31776321:13
*** eharney has joined #openstack-cinder21:13
ildikovjohnthetubaguy: +121:13
hemnaI'm just hacking at this point21:13
hemnait's frustrating21:13
johnthetubaguyfeel free to come back to us with what you think should happen, and make us check that it does what you want21:13
hemnaI'm trying :)21:13
hemnabut then I run into bdm.get('volume_id') always returning None21:14
*** garthb_ has joined #openstack-cinder21:14
johnthetubaguyI mean broken tests and random commented out code with TODOs would be fine, with a good commit message saying what the intent is21:14
johnthetubaguyyeah bdm involves all disks, not just volumes21:14
*** jsheeren has quit IRC21:14
johnthetubaguyoh, wait, that other thing21:14
johnthetubaguyyeah21:14
johnthetubaguyI wish I knew how that was happening21:15
hemnaI tried to reproduce it in unit tests21:15
johnthetubaguyits worth trying to catch dansmith about that, he is the objects expert21:15
hemnabut couldn't because the faked out bdm is a different object and doesn't act the same way :(21:15
johnthetubaguyhmm, thats odd21:16
johnthetubaguyanyways, I must stop, its late, just around for the TC meeting21:16
*** gouthamr has quit IRC21:16
ildikovjohnthetubaguy: regarding check_attach we're trying to figure out whether we always call reserve when it's supposed to be called21:16
ildikovjohnthetubaguy: I sent out the mail with a slot to Thursday as a back up slot for this week21:17
ildikovjohnthetubaguy: we might touch these areas there if we cannot clarify these things earlier21:17
hemnahttp://paste.openstack.org/show/506654/21:17
hemnathat shows the fake bdm21:18
hemnaand it acts different21:18
johnthetubaguyyeah, I should double check, I am off work thursday, driving around for some last min stuff at the moment21:18
johnthetubaguyyeah, I was really meaning just create a real bdm object in a test, then play with it to see if its the same21:19
johnthetubaguyyou can do it in one of these functional ones:21:19
ildikovjohnthetubaguy: ah, ok, sorry I didn't remember :(21:19
johnthetubaguyhttps://github.com/openstack/nova/blob/master/nova/tests/functional/db/test_compute_node.py21:19
*** baumann has left #openstack-cinder21:19
johnthetubaguyanyways, catch you later, must run21:20
openstackgerritJay Mehta proposed openstack/cinder: Implement match-set type 3PAR FC VLUN creation  https://review.openstack.org/30961321:24
_alastor_Hey Folks, does anyone have an example of where the capabilities shown for a driver in "cinder get-capabilities host@driver" are populated?  I assume the driver has some control over what shows up there.21:24
*** ducttape_ has quit IRC21:25
ildikovhemna: I need to go too, I have a pretty early morning meeting tomorrow21:26
ildikovhemna: I will look into the BFV check_attach too and ping you tomorrow21:28
hemnaildikov, ok21:28
*** edmondsw has quit IRC21:29
ildikovhemna: take care, chat tomorrow21:30
*** ducttape_ has joined #openstack-cinder21:31
_alastor_nevermind, I think I found it21:34
*** kfarr has quit IRC21:36
openstackgerritSzymon Wróblewski proposed openstack/cinder: Update initialize_connection to use versionedobjects  https://review.openstack.org/23889421:39
*** sgotliv has quit IRC21:39
*** lprice has quit IRC21:42
*** andymaier_ has joined #openstack-cinder21:43
*** krtaylor has quit IRC21:47
*** karthikp has joined #openstack-cinder21:48
openstackgerritTom Swanson proposed openstack/cinder: Dell SC: Added support for failover_host failback  https://review.openstack.org/31006422:06
*** darosale has quit IRC22:06
openstackgerritSzymon Wróblewski proposed openstack/cinder: Replace locks in remotefs backend driver  https://review.openstack.org/27024022:07
*** eharney has quit IRC22:09
*** Julien-zte has joined #openstack-cinder22:10
*** sdake has joined #openstack-cinder22:10
*** sdake_ has quit IRC22:12
*** ametts has quit IRC22:14
*** tpsilva has quit IRC22:17
*** JoseMello has quit IRC22:19
*** xyang1 has quit IRC22:26
*** rueben_ has quit IRC22:29
openstackgerritTom Swanson proposed openstack/cinder: Dell SC: Added support for failover_host failback  https://review.openstack.org/31006422:30
*** ducttape_ has quit IRC22:36
*** ducttape_ has joined #openstack-cinder22:36
*** bardia has quit IRC22:40
*** bardia has joined #openstack-cinder22:40
*** ducttape_ has quit IRC22:41
*** enriquetaso has quit IRC22:46
*** julim has joined #openstack-cinder22:56
*** julim has quit IRC22:59
*** andymaier_ has quit IRC23:15
*** sdague has quit IRC23:16
*** diogogmt has quit IRC23:19
openstackgerritVasanthi Thirumalai proposed openstack/cinder: Violin Memory ISCSI storage for 7000 series AFA  https://review.openstack.org/26979623:20
*** eharney has joined #openstack-cinder23:21
*** xinli has quit IRC23:26
*** cknight has joined #openstack-cinder23:29
*** cknight1 has joined #openstack-cinder23:31
*** eharney has quit IRC23:33
*** cknight has quit IRC23:34
bardiasmcginnis: https://review.openstack.org/#/c/318382/ :)23:35
*** arch-nemesis has quit IRC23:35
*** ducttape_ has joined #openstack-cinder23:41
*** cknight1 has quit IRC23:43
*** yhayashi has joined #openstack-cinder23:49
*** Julien-zte has quit IRC23:50
*** chlong has quit IRC23:53

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