Friday, 2017-06-09

*** jamielennox|away is now known as jamielennox00:02
*** mtanino has quit IRC00:03
*** sticker has joined #openstack-cinder00:22
*** ska has quit IRC00:28
*** ska has joined #openstack-cinder00:42
*** ska has joined #openstack-cinder00:42
*** hongbin has quit IRC00:44
*** lucasxu has joined #openstack-cinder00:46
*** lucasxu has quit IRC00:46
*** jwcroppe has joined #openstack-cinder00:48
*** zhurong has joined #openstack-cinder00:49
*** wanghao has joined #openstack-cinder00:57
*** zhengyin has joined #openstack-cinder00:58
*** jamielennox is now known as jamielennox|away01:00
*** wanghao has quit IRC01:08
*** wanghao has joined #openstack-cinder01:09
*** jamielennox|away is now known as jamielennox01:10
*** wanghao_ has joined #openstack-cinder01:15
*** wanghao has quit IRC01:18
*** pewp has quit IRC01:19
*** pewp has joined #openstack-cinder01:19
*** Apoorva_ has joined #openstack-cinder01:29
*** zhurong has quit IRC01:29
*** Apoorva_ has quit IRC01:29
*** Apoorva has quit IRC01:32
*** zhaochao has joined #openstack-cinder01:34
*** markvoelker has joined #openstack-cinder01:35
*** dave-mccowan has joined #openstack-cinder01:38
openstackgerritTommyLike proposed openstack/cinder master: Clarify some details related blockbox deployment  https://review.openstack.org/47210101:39
*** r-daneel has quit IRC01:47
*** Julien-zte has joined #openstack-cinder01:52
*** dhinesh has quit IRC01:56
*** zhurong has joined #openstack-cinder02:03
*** Shunli has joined #openstack-cinder02:08
*** markvoelker has quit IRC02:09
*** mriedem has joined #openstack-cinder02:34
*** zsli_ has joined #openstack-cinder02:38
*** zsli__ has joined #openstack-cinder02:41
*** Shunli has quit IRC02:41
*** Shunli has joined #openstack-cinder02:43
*** zsli_ has quit IRC02:44
*** markvoelker has joined #openstack-cinder02:44
*** zsli__ has quit IRC02:45
*** KeithMnemonic1 has joined #openstack-cinder02:49
*** chenying_ has joined #openstack-cinder02:51
*** KeithMnemonic has quit IRC02:53
*** chenying has quit IRC02:54
*** markstur has quit IRC03:01
openstackgerritwangxiyuan proposed openstack/cinder master: Support metadata for backup resource-1  https://review.openstack.org/47154103:09
openstackgerritwangxiyuan proposed openstack/cinder master: Use OVO for test_backup  https://review.openstack.org/47250603:09
*** Jack_Iv has joined #openstack-cinder03:18
*** salv-orlando has joined #openstack-cinder03:21
*** markstur has joined #openstack-cinder03:22
*** Jack_Iv has quit IRC03:23
*** salv-orlando has quit IRC03:26
*** markstur has quit IRC03:27
*** dikonoor has joined #openstack-cinder03:27
*** gkadam has joined #openstack-cinder03:38
*** Julien-zte has quit IRC03:44
*** dave-mccowan has quit IRC03:47
openstackgerritwangxiyuan proposed openstack/cinder master: [WIP]Support metadata for backup resource-2  https://review.openstack.org/47203003:48
openstackgerritwangxiyuan proposed openstack/cinder master: Support metadata for backup resource-1  https://review.openstack.org/47154103:48
openstackgerritwangxiyuan proposed openstack/cinder master: Use OVO for test_backup  https://review.openstack.org/47250603:48
*** links has joined #openstack-cinder04:20
*** salv-orlando has joined #openstack-cinder04:22
*** zhurong has quit IRC04:25
*** salv-orlando has quit IRC04:26
*** mriedem has quit IRC04:27
*** psachin has joined #openstack-cinder04:31
*** zhurong has joined #openstack-cinder04:34
*** zhengyin has quit IRC04:35
*** aselius has quit IRC04:36
*** adisky__ has joined #openstack-cinder04:38
*** zhengyin has joined #openstack-cinder04:40
openstackgerritwangxiyuan proposed openstack/cinder master: Use OVO for test_backup  https://review.openstack.org/47250604:42
*** salv-orlando has joined #openstack-cinder04:44
*** dhinesh has joined #openstack-cinder04:53
*** Jack_Iv has joined #openstack-cinder04:55
openstackgerritRyan Liang proposed openstack/cinder master: Unity: Use thin clone when cloning volume  https://review.openstack.org/47125004:56
*** Guest72612 has quit IRC05:06
*** mfisch` has quit IRC05:06
*** med_ has joined #openstack-cinder05:06
*** mfisch has joined #openstack-cinder05:06
*** mfisch has quit IRC05:06
*** mfisch has joined #openstack-cinder05:06
*** med_ is now known as Guest651105:06
*** kwathore has quit IRC05:09
*** links has quit IRC05:10
*** markstur has joined #openstack-cinder05:12
*** aselius_ has joined #openstack-cinder05:12
*** markstur has quit IRC05:17
*** links has joined #openstack-cinder05:26
openstackgerritqtlu proposed openstack/cinder master: Api-ref: Update doc for show backups  https://review.openstack.org/47252605:30
*** Jack_Iv has quit IRC05:31
*** Jack_Iv has joined #openstack-cinder05:32
openstackgerritqtlu proposed openstack/cinder master: Api-ref: Update doc for show backups  https://review.openstack.org/47252605:32
*** Jack_Iv has quit IRC05:36
*** kwathore has joined #openstack-cinder05:38
*** pgadiya has joined #openstack-cinder05:41
*** pgadiya has quit IRC05:44
*** dhinesh has quit IRC05:46
*** zhaochao has quit IRC05:51
*** Julien-zte has joined #openstack-cinder05:56
*** nicolasbock has joined #openstack-cinder05:57
*** zhaochao has joined #openstack-cinder05:58
*** nicolasbock has quit IRC06:02
*** ChubYann has quit IRC06:05
*** pgadiya has joined #openstack-cinder06:07
*** zhengyin has quit IRC06:08
*** zhengyin has joined #openstack-cinder06:09
*** zhengyin has quit IRC06:27
*** wanghao_ has quit IRC06:27
*** wanghao has joined #openstack-cinder06:27
*** zhengyin has joined #openstack-cinder06:28
*** wanghao has quit IRC06:29
*** wanghao has joined #openstack-cinder06:29
*** zhengyin has quit IRC06:32
*** sticker has quit IRC06:33
*** zhengyin has joined #openstack-cinder06:34
*** Jack_Iv has joined #openstack-cinder06:37
*** wanghao_ has joined #openstack-cinder06:39
*** zhengyin has quit IRC06:40
*** zhengyin has joined #openstack-cinder06:40
*** wanghao has quit IRC06:42
*** edmondsw has joined #openstack-cinder06:43
*** zhengyin has quit IRC06:47
*** zhengyin has joined #openstack-cinder06:47
*** edmondsw has quit IRC06:47
*** zhengyin has quit IRC06:52
*** salv-orlando has quit IRC06:52
*** zhengyin has joined #openstack-cinder06:52
*** salv-orlando has joined #openstack-cinder06:52
*** tesseract has joined #openstack-cinder06:53
*** zhurong has quit IRC06:55
*** zhurong has joined #openstack-cinder06:55
*** zhurong has quit IRC06:57
*** pgadiya has quit IRC07:02
*** pcaruana has joined #openstack-cinder07:05
*** markstur has joined #openstack-cinder07:06
*** dobson` has quit IRC07:07
*** markvoelker has quit IRC07:08
*** links has quit IRC07:09
*** rcernin has joined #openstack-cinder07:09
*** markstur has quit IRC07:11
*** dobson has joined #openstack-cinder07:13
openstackgerritqtlu proposed openstack/cinder master: Show user_id when cinder snapshot-show  https://review.openstack.org/47254507:13
*** pgadiya has joined #openstack-cinder07:19
*** aselius_ has quit IRC07:21
*** links has joined #openstack-cinder07:25
openstackgerritwangxiyuan proposed openstack/cinder master: Support metadata for backup resource-1  https://review.openstack.org/47154107:34
*** wanghao_ has quit IRC07:39
*** wanghao has joined #openstack-cinder07:39
*** mnestratov|2 has joined #openstack-cinder07:41
*** wanghao_ has joined #openstack-cinder07:43
*** wanghao has quit IRC07:47
*** Jack_Iv has quit IRC07:57
*** lhx__ has joined #openstack-cinder07:59
*** zzzeek has quit IRC08:00
*** zzzeek has joined #openstack-cinder08:00
*** pgadiya has quit IRC08:26
*** Julien-zte has quit IRC08:32
*** Poornima_K has joined #openstack-cinder08:56
*** markstur has joined #openstack-cinder08:56
*** Poornima_K has quit IRC08:56
*** dalvarezs is now known as dalvarez09:00
*** e0ne has joined #openstack-cinder09:05
*** markvoelker has joined #openstack-cinder09:13
openstackgerritKushal Wathore proposed openstack/cinder master: HPE 3PAR: ISCSI/FC drivers – code refactoring  https://review.openstack.org/44647509:30
*** dalgaaf has quit IRC09:31
*** Shunli has quit IRC09:31
*** dalgaaf has joined #openstack-cinder09:33
*** Julien-zte has joined #openstack-cinder09:38
*** markvoelker has quit IRC09:42
*** wanghao_ has quit IRC09:45
*** Julien-zte has quit IRC09:48
*** Julien-zte has joined #openstack-cinder09:49
*** links has quit IRC09:51
*** zhurong has joined #openstack-cinder09:55
*** Julien-zte has quit IRC09:59
*** links has joined #openstack-cinder10:03
*** zhurong has quit IRC10:06
*** bjornar has joined #openstack-cinder10:11
openstackgerritwangxiyuan proposed openstack/cinder master: Support metadata for backup resource-1  https://review.openstack.org/47154110:17
*** Julien-zte has joined #openstack-cinder10:18
*** edmondsw has joined #openstack-cinder10:19
*** sdague has joined #openstack-cinder10:20
*** kwathore has quit IRC10:22
*** edmondsw has quit IRC10:24
e0nesmcginnis: hi. please, ping me when you'll be available. I've got a question acording to https://review.openstack.org/#/c/441266/8/lib/cinder10:30
*** yongwc has joined #openstack-cinder10:36
*** markvoelker has joined #openstack-cinder10:39
*** salv-orlando has quit IRC10:42
*** salv-orlando has joined #openstack-cinder10:43
*** pgadiya has joined #openstack-cinder10:43
*** nicolasbock has joined #openstack-cinder10:45
*** lpetrut has joined #openstack-cinder10:45
*** salv-orlando has quit IRC10:47
*** psachin has quit IRC11:13
*** markvoelker has quit IRC11:13
*** markstur has quit IRC11:18
openstackgerritGorka Eguileor proposed openstack/python-cinderclient master: Add service cleanup command  https://review.openstack.org/36300711:32
*** zhengyin has quit IRC11:33
*** pgadiya has quit IRC11:38
*** Julien-zte has quit IRC11:39
*** edmondsw has joined #openstack-cinder11:42
*** abishop has joined #openstack-cinder11:43
*** gcb has quit IRC11:57
*** liverpooler has joined #openstack-cinder12:03
*** lpetrut has quit IRC12:06
mdovgalhi, folks. Could somebody take a look at this patch https://review.openstack.org/#/c/446518/ ? It's in progress, but still....12:09
*** markvoelker has joined #openstack-cinder12:10
*** lpetrut has joined #openstack-cinder12:16
openstackgerritGorka Eguileor proposed openstack/os-brick master: Fix slow test_connect_volume_device_not_valid test  https://review.openstack.org/47265712:20
*** markvoelker has quit IRC12:36
*** markvoelker has joined #openstack-cinder12:36
*** adisky__ has quit IRC12:38
openstackgerritwang yong proposed openstack/cinder master: Inspur Cinder FC/iSCSI driver  https://review.openstack.org/43948812:38
*** rushiagr has quit IRC12:40
*** catintheroof has joined #openstack-cinder12:40
*** theanalyst has quit IRC12:41
*** Julien-zte has joined #openstack-cinder12:42
*** bjornar has quit IRC12:42
*** dave-mccowan has joined #openstack-cinder12:43
*** catintheroof has quit IRC12:45
*** catintheroof has joined #openstack-cinder12:46
*** dustins has joined #openstack-cinder12:48
*** links has quit IRC12:48
*** bjornar has joined #openstack-cinder12:56
*** theanalyst has joined #openstack-cinder12:59
*** yongwc has quit IRC13:00
*** jwcroppe has quit IRC13:01
*** lucasxu has joined #openstack-cinder13:03
*** lpetrut_ has joined #openstack-cinder13:08
*** rushiagr has joined #openstack-cinder13:13
openstackgerritHelen Walsh proposed openstack/cinder master: VMAX driver - bootable volume errors  https://review.openstack.org/47267413:14
*** lucasxu has quit IRC13:16
*** dustins_ has joined #openstack-cinder13:18
*** dustins has quit IRC13:19
*** dustins_ is now known as dustins13:20
*** bjornar has quit IRC13:20
*** lhx__ has quit IRC13:21
*** abhishek_k has joined #openstack-cinder13:23
openstackgerritHelen Walsh proposed openstack/cinder master: VMAX driver - Replication, replacing SMI-S with REST  https://review.openstack.org/46602713:25
*** abhishekk has quit IRC13:25
*** xyang1 has joined #openstack-cinder13:29
openstackgerritHelen Walsh proposed openstack/cinder master: VMAX driver - Live Migration, replacing SMI-S with REST  https://review.openstack.org/47227913:32
*** cknight has joined #openstack-cinder13:34
smcginnise0ne: Getting ready for a presentation, then travelling the rest of the day.13:36
smcginnise0ne: I'm online for a little bit, but will need to drop off soon.13:37
*** dansmith is now known as superdan13:37
*** mriedem has joined #openstack-cinder13:40
openstackgerritHelen Walsh proposed openstack/cinder master: VMAX driver - bootable volume errors  https://review.openstack.org/47267413:43
*** ericyoung has joined #openstack-cinder13:45
*** chenying_ has quit IRC13:46
*** chenying_ has joined #openstack-cinder13:46
e0nesmcginnis: ok, I'll ping you on Monday13:47
e0nesmcginnis: btw, could you please take a look on a simple docs patch https://review.openstack.org/#/c/472676/1?13:47
*** chlong has joined #openstack-cinder13:51
*** yongwc has joined #openstack-cinder13:53
*** yongwc has quit IRC13:58
*** mtanino has joined #openstack-cinder14:01
*** nicolasbock has quit IRC14:03
*** lucasxu has joined #openstack-cinder14:09
*** felipemonteiro has joined #openstack-cinder14:12
*** felipemonteiro__ has joined #openstack-cinder14:13
*** lucasxu has quit IRC14:14
*** lucasxu has joined #openstack-cinder14:14
*** mriedem has quit IRC14:15
*** lucasxu has quit IRC14:16
*** tesseract has quit IRC14:16
*** felipemonteiro has quit IRC14:17
*** aselius_ has joined #openstack-cinder14:19
*** lucasxu has joined #openstack-cinder14:20
*** xyang1 has quit IRC14:20
*** tesseract has joined #openstack-cinder14:23
*** lucasxu has quit IRC14:23
*** xyang1 has joined #openstack-cinder14:24
*** jwcroppe has joined #openstack-cinder14:25
*** gkadam_ has joined #openstack-cinder14:26
*** diablo_rojo has joined #openstack-cinder14:26
*** gkadam has quit IRC14:26
*** dikonoor has quit IRC14:28
*** lucasxu has joined #openstack-cinder14:29
*** lucasxu has quit IRC14:29
*** dikonoor has joined #openstack-cinder14:30
*** gkadam_ has quit IRC14:31
*** crushil has joined #openstack-cinder14:31
*** lucasxu has joined #openstack-cinder14:33
*** e0ne has quit IRC14:35
*** salv-orlando has joined #openstack-cinder14:42
*** salv-orl_ has joined #openstack-cinder14:44
*** yongwc has joined #openstack-cinder14:44
*** Dinesh_Bhor has quit IRC14:44
*** lucasxu has quit IRC14:47
*** lucasxu has joined #openstack-cinder14:47
*** salv-orlando has quit IRC14:48
*** yongwc has quit IRC14:48
*** lucasxu has quit IRC14:51
*** lucasxu has joined #openstack-cinder14:53
stvnoyesjgriffith: I made a couple of changes to cinder and was able to get live migrate working with the new v3 cinder api. this is what I changed - http://paste.openstack.org/show/612141/14:55
jgriffithstvnoyes Awesome!14:55
-openstackstatus- NOTICE: The Gerrit service on review.openstack.org is being restarted now to clear an issue arising from an unanticipated SSH API connection flood14:56
jgriffithstvnoyes now.. all the drivers that have ignored this code for the last 6 months are going to be surprised when it actually does something :)14:57
stvnoyesas long as they return nothing or false they should be OK.  have you ever to checked to see if any ever return true?14:58
jgriffithstvnoyes they don't yet, but I know a couple that will need to14:58
jgriffithI'm looking at patrickeast and whoever maintains 3par now14:59
jgriffithOh, patrickeast has it14:59
jgriffithNice!14:59
jgriffitherr.. maybe15:00
jgriffithanyway...15:00
jgriffithyou want to push a patch for the cinder side?15:00
jgriffith:qa15:00
stvnoyesI wasn't sure if that was the best way to see if there were multiple connections. Are you OK with how I did this?15:01
jgriffithstvnoyes first glance, yes for sure!15:01
stvnoyesok, do you need a bug on this?15:02
jgriffithstvnoyes so that's what this is exactly what that check was added for15:02
jgriffithstvnoyes I don't :)15:02
stvnoyes(do I need a bug to submit a change?)15:02
jgriffithbut others are much more regimented than me :)15:02
jgriffithprobably good to open one up for tracking15:02
stvnoyesok, I'll file a bug, just to be copacetic15:02
jgriffithstvnoyes one of us should be :)15:03
stvnoyes:-) my turn today15:03
*** markstur has joined #openstack-cinder15:03
jgriffithdeal!15:03
*** pewp has quit IRC15:06
*** pewp has joined #openstack-cinder15:07
*** rcernin has quit IRC15:08
*** hongbin has joined #openstack-cinder15:11
*** lucasxu has quit IRC15:16
*** salv-orl_ has quit IRC15:16
*** yongwc has joined #openstack-cinder15:16
*** salv-orlando has joined #openstack-cinder15:17
pewphemna (ه’́⌣’̀ه )/15:17
*** yongwc has quit IRC15:19
hemnastvnoyes, jgriffith so looking at that patch (pastebin url), that code says if there are 1 or more attachments, it's a shared connection ?!15:19
*** salv-orlando has quit IRC15:20
hemnaalso, fwiw, the lefthand driver uses a shared connection for multi-attach of a volume on the same host.  the 3PAR uses a new connection on every attachment of a volume.15:21
*** aselius_ has quit IRC15:26
*** aselius has joined #openstack-cinder15:26
*** mtanino__ has joined #openstack-cinder15:27
*** mtanino has quit IRC15:28
*** itlinux has joined #openstack-cinder15:40
ildikovhemna: it's shared with lvm, I tested it a while back with multi-attach15:43
hemnaildikov, well, that's kinda my point though, is that it's different for every driver.15:43
ildikovhemna: yep :(15:44
openstackgerritHelen Walsh proposed openstack/cinder master: VMAX driver - bootable volume errors  https://review.openstack.org/47267415:46
*** lucasxu has joined #openstack-cinder15:49
*** Apoorva has joined #openstack-cinder15:52
*** salv-orlando has joined #openstack-cinder15:55
*** felipemonteiro__ has quit IRC15:56
*** dikonoor has quit IRC15:57
*** r-daneel has joined #openstack-cinder16:01
jgriffithhemna that came up during the review as the best way to handle multi-attach, if you have a better solution (without a bunch of if/else checks) we can certainly look at changing it16:03
hemnaI'm not arguing against the shared connection flag/result/boolean16:04
jgriffithThe problem is there's no way to know if a backens shares connections or not without asking them that I'm aware of?16:04
jgriffithUnless you did something like reported in in the capabilites so we'd just "know" what to do and work it that way.  But that had a problem IIRC16:04
hemnaI'm just saying that particular patch makes an assumption about the backend, which in some driver's cases is not true.16:04
jgriffithhemna oh16:04
jgriffithhemna hmm... which assumption?16:05
hemnaI think every driver is going to have to take a look at the shared flag, and make sure they do their own internal tests to return the correct value.16:05
jgriffithhemna yes, we've known that from the start though16:05
hemnathe assumption in that code, from what I can tell, is that if there is more than one attachment, that it's shared.16:05
jgriffithI'll have to look at what he has again, perhaps I missed that detail16:06
jgriffithI was referring to the driver response on terminate16:06
hemnahas_shared_connection = len(volume.volume_attachment.objects) > 116:06
hemnathat16:06
hemna:)16:06
hemnathat's in the iscsi targets class's terminate_connection16:06
*** zhaochao has quit IRC16:07
hemnawhich I presume works for lvm16:07
jgriffithhemna right, so drivers need to override that no?16:07
hemnayah16:07
jgriffithhemna it works for anybody that doesn't share targets I believe16:07
jgriffithmaybe there's a better way, but I don't know of one other than relying on the driver at terminate_connection16:08
*** itlinux has quit IRC16:09
hemnayah that's fine really16:09
hemnaI wasn't arguing against that16:09
*** cknight has quit IRC16:10
hemnaI know in the 3PAR and lefthand drivers, I could return that flag as part of initialize_connection too16:10
*** lpetrut has quit IRC16:10
hemnabut terminate works just fine16:10
*** lpetrut_ has quit IRC16:10
hemnamaybe I'll have access to an array again soon.....16:10
jgriffithinitialize is cool, but the problem is you don't know the current state16:10
jgriffithhaha!16:10
hemnaI was just looking at the 3PAR FC driver16:12
hemnaI don't think it'd be terrible to write an 3PAR FC target object16:12
jgriffithhemna well, I gave up on my email on the ML but it would be super easy to just have a target object and override that one thing to return what you want16:14
*** diablo_rojo has quit IRC16:14
jgriffithbut it seemed like that was the "wrong" thing to do in some opinions16:14
jgriffithall I know is it works for me :)16:14
*** lpetrut_ has joined #openstack-cinder16:14
ildikovjgriffith: hemna: are you returning true in case the back end shares connections and it has more than one when terminate is called?16:15
jgriffithildikov well it's completely up to the driver to *know* what it should/shouldn't do in that case IMO16:16
jgriffithildikov the general case "yes" return True if it knows it's sharing that particular connection16:16
jgriffithbut it's also connection specific.... may not be sharing that particular one16:17
jgriffithbut sharing another16:17
jgriffiththat's why I thought it should be the drivers problem to figure out, it's the only one that really knows I think16:17
ildikovjgriffith: so you say that one particular driver can behave differently on a per connection basis?16:18
openstackgerritLucian Petrut proposed openstack/cinder master: SMBFS: enhance volume cloning  https://review.openstack.org/47274716:18
jgriffithildikov maybe16:19
jgriffithildikov so like maybe they do shared connection by host16:19
*** lpetrut has joined #openstack-cinder16:19
jgriffithso in that case it only matters based on the number of volumes (>1) attached to that specific host16:19
jgriffithor... maybe it has a relationship with their raid controller16:20
jgriffithand they have more than one16:20
jgriffithmaybe they're not actually sharing any connections to the same host in that case because they're using different controllers, but other times they're sharing one?16:20
*** ChubYann has joined #openstack-cinder16:20
ildikovjgriffith: ok, got it16:20
jgriffiththe problem is I don't know the intimate details of all 70+ backends in Cinder and how they do connections16:20
ildikovjgriffith: not happy about it, but got the idea :)16:21
jgriffithand most of them do things slightly different here and there16:21
jgriffithsorry :(16:21
*** dikonoor has joined #openstack-cinder16:21
ildikovjgriffith: you shouldn't, drivers should do this "favor" for us to tell what the heck they are doing16:21
ildikovjgriffith: so what I wanted to clarify is that the boolean we would like to get back belongs to the particular connection and it's not a base capability that we mentioned earlier at some point16:22
jgriffithildikov oh!16:23
ildikovjgriffith: also in case of a per connection basis when multi-attach comes in that can be racy if we don't think detach through16:23
jgriffithYeah, so that's why the capability thing didn't work when I looked at it16:23
ildikovjgriffith: fair enough, I was just missing the context that it can vary even in case of one particular driver how it handles the different cases16:23
*** tesseract has quit IRC16:32
*** pcaruana has quit IRC16:34
*** rcernin has joined #openstack-cinder16:45
*** ericyoung has quit IRC16:46
*** diablo_rojo has joined #openstack-cinder16:52
stvnoyesjgriffith, hemna, ildikov, just catching up on all this. in the case of migrate, which is a special case, it seems independent of what the driver supports? I don't think capabilities enter into it, at least for this case.17:04
stvnoyesit did seem odd to go deep down into the iscsi driver to return information that exists in the volume object17:05
ildikovstvnoyes: as for detach it's still dependent on the driver17:06
ildikovstvnoyes: when you remove the attachment from the source17:07
stvnoyesit sounds like I should hold off on moving forward with that change?17:09
*** gully-foyle has joined #openstack-cinder17:13
*** Apoorva_ has joined #openstack-cinder17:14
*** cknight has joined #openstack-cinder17:14
*** x00350071_ has joined #openstack-cinder17:15
*** mtanino_ has joined #openstack-cinder17:15
ildikovstvnoyes: hmm, maybe I'm missing smth, so I don't want to make you hold on anything you agreed with the guys here earlier17:15
*** zhonghua has joined #openstack-cinder17:16
*** mtanino__ has quit IRC17:17
*** Apoorva has quit IRC17:18
*** zhonghua2 has quit IRC17:18
*** edisonxiang has quit IRC17:19
*** gully-foyle has left #openstack-cinder17:19
stvnoyesildikov: ok, I think I understand. Once I finish writing some utests for it, I'll post it and see what folks have to say.17:19
*** felipemonteiro has joined #openstack-cinder17:20
ildikovstvnoyes: sounds good17:23
ildikovstvnoyes: thank you!17:23
stvnoyesjgriffith: ildikov: what is the meaning of has_shared_connection? True if it is currently shared?  and if I have 2 attachments to a volume, and attachment_delete deletes one of them, should that attachment_delete return True or False?17:25
ildikovstvnoyes: in my understanding it's true if it's currently shared17:25
ildikovstvnoyes: and after the first delete it should be false17:25
stvnoyeshmmm, as it is currently, attachment_delete will return True in that case. I will look at how to change that.17:28
ildikovI need jgriffith to fully confirm my understanding is correct, I believe it is though :)17:29
*** dhinesh has joined #openstack-cinder17:30
stvnoyesjgriffith: ildikov: the problem is we  get a boolean back from terminate_connection, that attachment_delete just returns. But it's the state of the connections prior to the delete. so attach_delete could return the wrong value I suppose. Would seem to be better for terminate connection to return a count?17:32
*** ericyoung has joined #openstack-cinder17:41
*** lpetrut has quit IRC17:44
*** lpetrut has joined #openstack-cinder17:46
ildikovstvnoyes: without the knowledge whether the particular driver shares the particular connection a count is basically useless :(17:46
ildikovstvnoyes: at least my understanding from the above the it can vary on per connection basis even for one driver17:47
ildikov*that it can ...17:47
*** mnestratov|2 has quit IRC17:48
*** salv-orlando has quit IRC17:50
*** salv-orlando has joined #openstack-cinder17:51
*** salv-orlando has quit IRC17:55
*** e0ne has joined #openstack-cinder18:04
*** diablo_rojo has quit IRC18:10
*** diablo_rojo has joined #openstack-cinder18:24
*** felipemonteiro has quit IRC18:27
*** spiette has joined #openstack-cinder18:29
*** ericyoung has quit IRC18:29
*** DockerNoodle has joined #openstack-cinder18:29
*** e0ne has quit IRC18:30
*** felipemonteiro has joined #openstack-cinder18:32
*** felipemonteiro__ has joined #openstack-cinder18:35
*** felipemonteiro has quit IRC18:38
*** sdague has quit IRC18:51
*** sdague has joined #openstack-cinder19:09
*** dikonoor has quit IRC19:13
*** itlinux_ has joined #openstack-cinder19:27
openstackgerritxing-yang proposed openstack/cinder master: Tests for group replication  https://review.openstack.org/47278419:29
openstackgerritJohn Griffith proposed openstack/cinder master: Make migration completion work with Attach-V2  https://review.openstack.org/47278619:36
jgriffithildikov still here?19:40
ildikovjgriffith: yes19:40
ildikovjgriffith: reading the commit message of your patch ^ :)19:40
jgriffithhey... ok, so the separate patch for swap....19:41
jgriffiththat's probably good... I'm just looking at what you had though and I'm trying to figure out do we need that?19:41
ildikovjgriffith: I just split it out from the main attach PoC and got some old stuff in it as we changed many things since then19:42
jgriffithwhat I mean is where do those rpc version changes etc come in from?19:42
jgriffithAh!  Ok, that's what I was wondering19:42
ildikovoh I don't think we need those19:42
jgriffith:)19:42
jgriffithThere's a few things in there I couldn't map to swap19:42
ildikovI think when I did that we didn't have the attachment_id in the BDM and then I didn't update the whole thing just snippets, but lemme double check :)19:43
jgriffithyeah, things have changed a lot :)19:43
ildikovjgriffith: hmm, there's one thing though19:45
ildikovI need check how live_migrate handles that19:45
ildikovoh wait, we have two separate volumes here one attachment each, right?19:45
jgriffithyup19:46
jgriffithlive-migrate of instances is slightly different, because it's attaching a single volume in two places19:47
ildikovok, so I guess we have a new BDM for the new volume as well at a certain point19:47
jgriffiththis is attaching a volume by trying to not tell cinder it's doing so19:47
jgriffithildikov right, the nova side of that works (I was amazed)19:48
ildikovI'm looking into the old swap patch and I found a new_attachment_id part, but that should go into the new BDM, which I don't know when and where gets created at this point :)19:48
ildikovand is everything set up for the new volume?19:48
jgriffithwell, that's the thing that sucks, is the whole magic swapping of ID's19:49
jgriffithbut yeah, the new volume is now an official attach with it's own attachment object etc19:49
ildikovoh my, yeah so we don't have a new BDM, right?19:49
jgriffiththe bdm has the update as well19:49
jgriffithright, it's an magic trick where we update the bdm19:49
jgriffithI can go back and verify that19:50
jgriffithbut it's the very specific case of cinder-retype --migration-policy on-demand19:50
jgriffiththe other volume_update calls don't need any of the special handling19:50
jgriffithThey're just attach a second volume, copy src-->destination, detach the original... done19:51
ildikovwhere do you update the BMD with the new attachment_id?19:52
*** salv-orlando has joined #openstack-cinder19:57
ildikovjgriffith: ok, so I put together one part of the picture19:58
jgriffithsorry... just noticed something else wrong on the cinder side19:58
ildikovjgriffith: in the compute/api.py there's a reserve_volume call: https://github.com/openstack/nova/blob/master/nova/compute/api.py#L388719:58
jgriffithgod this is the worst!19:58
ildikovjgriffith: on the Cinder side you mean? :)19:58
jgriffithyes19:59
ildikovjgriffith: :/19:59
ildikovjgriffith: what's the issue?19:59
*** ska has left #openstack-cinder19:59
jgriffithso you shouldn't go in and manipulate the ID's of things in the database, because it's a stupid thing to do :)20:00
ildikovjgriffith: I realized why the rpc call modification is in that swap patch20:00
jgriffithThe issue is there's a problem with attachments, there's one left over from the original20:00
ildikovjgriffith: well, I have that philosophy in general... :)20:01
jgriffithstupid20:01
*** e0ne has joined #openstack-cinder20:01
jgriffiththe code20:01
ildikovjgriffith: hmm, is that the retype case?20:01
ildikovjgriffith: I know what you meant :)20:02
jgriffithyeah...20:05
jgriffithso there are two problems20:05
jgriffith1. Yes, we're missing an attachment_id update in Nova for the BDM20:05
jgriffith2. Cinder doesn't know how to delete the frankenstein attachment hack that was done20:06
ildikovlol20:06
ildikovso I have comments on 1.20:07
ildikovI rather not comment on 2. ...20:07
*** Apoorva_ has quit IRC20:12
*** Apoorva has joined #openstack-cinder20:13
*** crushil has quit IRC20:14
jgriffithso the bdm update on nova is easy to fix.... I think20:16
jgriffithI just added a bdm update in the special retype case20:16
jgriffiththat should solve that, I'll get it tested.20:16
ildikovjgriffith: we need to reserve the new volume in the API I think20:17
ildikovjgriffith: and that's why I had the modification in the rpc call20:17
ildikovas we need the old attachment_id in the bdm, so we cannot update that in the API20:17
jgriffithbut all the swap code is in the manager?20:19
jgriffithie on the other side of the rpc call20:19
ildikovjgriffith: https://github.com/openstack/nova/blob/master/nova/compute/api.py#L388720:19
ildikovnothing is just in the manager in Nova :)20:20
jgriffithyeah,but reserve does nothing20:22
openstackgerritSteve Noyes proposed openstack/cinder master: Update attachment_delete to handle multiple attachments  https://review.openstack.org/47279620:22
jgriffithall it does is sets the volume status to act as a lock20:22
jgriffithit doesn't create an attachment20:22
ildikovjgriffith: but in the new flow we do create the attachment to reserve the volume20:23
jgriffithI don't :)20:23
ildikovI did: https://review.openstack.org/#/c/456971/6/nova/compute/api.py :)20:23
jgriffithIt was suggest/requested that we keep reserve as a simple lock so I did20:23
jgriffithOh, in that case now it's your problem then :)20:23
jgriffithjust kidding20:23
ildikovwhen your version gets reviewed it'll be our problem :)20:24
jgriffithalright... I'll look at this again.  I have to go now but I'll hopefully get back this afternoon :(20:25
ildikovok, you can ping me later, I might still be around20:25
*** edmondsw has quit IRC20:28
*** itlinux_ has quit IRC20:29
*** e0ne has quit IRC20:33
openstackgerritOpenStack Proposal Bot proposed openstack/cinder master: Updated from global requirements  https://review.openstack.org/47231120:36
*** crushil has joined #openstack-cinder20:39
*** itlinux_ has joined #openstack-cinder20:40
*** sdague has quit IRC20:43
*** salv-orl_ has joined #openstack-cinder20:44
*** lpetrut_ has quit IRC20:45
*** lpetrut has quit IRC20:45
*** salv-orlando has quit IRC20:46
*** mnestratov|2 has joined #openstack-cinder20:52
*** crushil has quit IRC20:54
*** Apoorva_ has joined #openstack-cinder20:59
*** Apoorva has quit IRC21:03
*** KeithMnemonic1 has quit IRC21:06
openstackgerritxing-yang proposed openstack/cinder master: Tiramisu: replication group support  https://review.openstack.org/35222821:07
*** lucasxu has quit IRC21:08
*** dustins has quit IRC21:08
*** pewp has quit IRC21:09
openstackgerritxing-yang proposed openstack/cinder master: Tiramisu: replication group support  https://review.openstack.org/35222821:12
*** pewp has joined #openstack-cinder21:13
*** edmondsw has joined #openstack-cinder21:35
*** mnestratov|2 has quit IRC21:37
*** edmondsw has quit IRC21:40
*** felipemonteiro__ has quit IRC21:40
*** abishop has quit IRC21:41
*** DockerNoodle has quit IRC21:52
*** chlong has quit IRC21:58
*** itlinux_ has quit IRC22:06
*** dave-mccowan has quit IRC22:06
*** dave-mccowan has joined #openstack-cinder22:07
openstackgerritxing-yang proposed openstack/cinder master: Tests for group replication  https://review.openstack.org/47278422:15
*** crushil has joined #openstack-cinder22:17
*** rcernin has quit IRC22:19
*** xyang1 has quit IRC22:21
*** crushil has quit IRC22:22
*** cknight has quit IRC22:31
*** r-daneel has quit IRC22:34
*** catintheroof has quit IRC22:42
openstackgerritWalter A. Boring IV (hemna) proposed openstack/cinder master: FC: refactor fczm utils decorators to functions  https://review.openstack.org/47285522:43
*** salv-orl_ has quit IRC22:56
*** salv-orlando has joined #openstack-cinder22:57
*** jwcroppe has quit IRC22:58
*** salv-orlando has quit IRC23:01
*** jwcroppe has joined #openstack-cinder23:14
*** jwcroppe has quit IRC23:18
*** tommylikehu has quit IRC23:23
*** tommylikehu has joined #openstack-cinder23:24
*** laurent\_ has joined #openstack-cinder23:37
*** laurent\ has quit IRC23:39
*** lucasxu has joined #openstack-cinder23:39
*** lucasxu has quit IRC23:40
*** lucasxu has joined #openstack-cinder23:46
*** lucasxu has quit IRC23:47
smcginnisjgriffith: All that would go away if it consumers would just say "expose this volume to this host", "stop exposing this volume to this host".23:48
smcginnisJust saying....23:48

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