Friday, 2018-08-17

openstackgerritLucio Seki proposed openstack/cinder stable/pike: NetApp ONTAP: Fix driver force detach operations  https://review.openstack.org/59276900:23
*** brinzhang has joined #openstack-cinder00:26
openstackgerritlvxianguo proposed openstack/cinder-tempest-plugin master: update the hacking url to new  https://review.openstack.org/54023800:31
*** nicolasbock has quit IRC00:36
*** zhaochao has joined #openstack-cinder01:16
openstackgerritKeith Berger proposed openstack/cinder stable/ocata: HPE Lefthand: fix volume manage operation  https://review.openstack.org/59277701:24
*** r-daneel has quit IRC01:35
*** ianychoi has joined #openstack-cinder01:47
*** gcb_ has joined #openstack-cinder02:19
*** Nel1x has joined #openstack-cinder02:49
*** erlon has quit IRC02:54
whoami-rajatjungleboyj: Sure, Thanks for the effort :)03:10
*** Nel1x has quit IRC03:11
*** gkadam_ has joined #openstack-cinder03:24
*** zhaochao has quit IRC03:37
*** zhaochao has joined #openstack-cinder03:37
*** vivsoni_ has quit IRC03:59
*** vivsoni has joined #openstack-cinder04:25
*** gkadam_ has quit IRC04:30
*** abhishekk has joined #openstack-cinder04:49
*** e0ne has joined #openstack-cinder05:20
*** josecastroleon has quit IRC05:50
*** josecastroleon has joined #openstack-cinder05:51
*** Tahvok has quit IRC06:06
*** Tahvok has joined #openstack-cinder06:11
*** e0ne has quit IRC06:44
whoami-rajatjungleboyj smcginnis :  https://review.openstack.org/#/c/589951/06:51
whoami-rajatThe patch has passed Nimble CI tests06:51
*** pcaruana has joined #openstack-cinder06:54
*** alexchadin has joined #openstack-cinder06:54
*** rcernin has quit IRC06:55
*** abhishekk has quit IRC06:56
*** dpawlik has joined #openstack-cinder07:08
*** dpawlik has quit IRC07:13
*** dpawlik has joined #openstack-cinder07:14
*** cz2 has left #openstack-cinder07:24
*** josecastroleon has quit IRC07:26
*** rha has joined #openstack-cinder07:41
*** zhenguo has joined #openstack-cinder07:50
*** e0ne has joined #openstack-cinder07:59
*** mvkr has quit IRC08:08
*** josecastroleon has joined #openstack-cinder08:12
openstackgerrityenai proposed openstack/os-brick master: Modify the verification in RBDConnector  https://review.openstack.org/59292508:16
*** gcb_ has quit IRC08:20
*** e0ne has quit IRC08:37
*** mvkr has joined #openstack-cinder08:55
*** alexchadin has quit IRC09:07
*** alexchadin has joined #openstack-cinder09:09
openstackgerritMerged openstack/cinder stable/queens: VMAX Queens driver - incorrect condition for an empty list.  https://review.openstack.org/59206509:37
openstackgerrityenai proposed openstack/os-brick master: Add staticmethod decorator in InitiatorConnector  https://review.openstack.org/59294409:43
*** zhongjun2 has joined #openstack-cinder10:00
*** zhenguo has quit IRC10:00
*** josecastroleon has quit IRC10:06
*** pvc has joined #openstack-cinder10:08
*** e0ne has joined #openstack-cinder10:09
*** alexchadin has quit IRC10:15
*** ociuhandu has joined #openstack-cinder10:32
*** ociuhandu has quit IRC10:34
*** nicolasbock has joined #openstack-cinder10:35
*** alexchadin has joined #openstack-cinder10:45
*** luizbag has joined #openstack-cinder10:50
*** ganso has joined #openstack-cinder10:50
*** alexchadin has quit IRC10:51
*** dklyle has quit IRC10:55
*** david-lyle has joined #openstack-cinder10:55
*** josecastroleon has joined #openstack-cinder11:22
*** alexchadin has joined #openstack-cinder11:24
*** alexchadin has quit IRC11:29
evrardjpmnaser: cruft is a gift that keeps on giving. I worked a whole cycle (q) on removing many, I have the impression my list now larger than when I started.11:32
*** brinzhang has quit IRC11:36
*** alexchadin has joined #openstack-cinder11:38
*** tpsilva has joined #openstack-cinder11:45
*** erlon has joined #openstack-cinder11:53
*** zhongjun2 has quit IRC12:10
*** dpawlik has quit IRC12:18
*** eharney has joined #openstack-cinder12:22
*** dpawlik has joined #openstack-cinder12:25
*** mchlumsky has joined #openstack-cinder12:29
*** dpawlik has quit IRC12:29
*** josecastroleon has quit IRC12:52
*** alexchadin has quit IRC12:52
*** TheJulia is now known as needssleep12:55
openstackgerritSean McGinnis proposed openstack/cinder stable/queens: Replace os.makedirs to avoid process race  https://review.openstack.org/59304412:57
*** dpawlik has joined #openstack-cinder12:58
openstackgerritSean McGinnis proposed openstack/cinder stable/queens: Fix cinder-volume uses latest req-id for all log calls  https://review.openstack.org/59304613:02
*** dustins has joined #openstack-cinder13:02
openstackgerritEric Harney proposed openstack/cinder master: Add cinder-tempest-plugin to LIO job  https://review.openstack.org/56887313:07
smcginniseharney: Thanks for that ^ :)13:07
* eharney crosses fingers13:08
openstackgerritKeith Berger proposed openstack/cinder stable/ocata: HPE Lefthand: fix volume manage operation  https://review.openstack.org/59277713:11
*** pvc has quit IRC13:33
*** imacdonn has quit IRC13:42
*** imacdonn has joined #openstack-cinder13:42
*** wN has joined #openstack-cinder13:49
*** erlon has quit IRC13:49
*** dansmith is now known as steelydan13:58
*** steelydan is now known as SteelyDan13:58
*** cmart has joined #openstack-cinder14:02
*** hoonetorg has quit IRC14:02
*** hoonetorg has joined #openstack-cinder14:03
*** hoonetorg has quit IRC14:09
*** josecastroleon has joined #openstack-cinder14:21
gansosmcginnis, eharney, jungleboyj: Hello! This backport to queens requires just one more +2 and +W https://review.openstack.org/#/c/592634/ Could one of you please take a look? Thanks in advance! =)14:24
eharneyganso: yes, looks good, thanks14:27
*** hoonetorg has joined #openstack-cinder14:33
*** r-daneel has joined #openstack-cinder14:44
openstackgerritSean McGinnis proposed openstack/cinder master: Add api-ref for mv 3.55 volume transfer  https://review.openstack.org/58866614:53
openstackgerritKeith Berger proposed openstack/cinder stable/ocata: HPE Lefthand: fix volume manage operation  https://review.openstack.org/59277714:59
*** r-daneel has quit IRC15:00
*** cburgess has quit IRC15:02
*** dpawlik has quit IRC15:02
*** cburgess has joined #openstack-cinder15:03
*** josecastroleon has quit IRC15:06
openstackgerritEric Harney proposed openstack/cinder master: Add cinder-tempest-plugin to LIO job  https://review.openstack.org/56887315:07
*** cburgess has quit IRC15:08
*** cburgess has joined #openstack-cinder15:09
*** markstur has joined #openstack-cinder15:12
*** markstur has quit IRC15:17
*** markstur has joined #openstack-cinder15:20
*** erlon has joined #openstack-cinder15:23
*** markstur has quit IRC15:25
*** tswanson has quit IRC15:28
*** e0ne has quit IRC15:59
*** r-daneel has joined #openstack-cinder16:04
*** strigazi has quit IRC16:05
*** strigazi has joined #openstack-cinder16:06
*** strigazi has quit IRC16:06
*** strigazi has joined #openstack-cinder16:07
openstackgerritMerged openstack/cinder stable/queens: NetApp ONTAP: Fix driver force detach operations  https://review.openstack.org/59263416:09
*** strigazi has quit IRC16:13
*** strigazi has joined #openstack-cinder16:14
*** tswanson has joined #openstack-cinder16:32
*** erlon has quit IRC16:34
*** pas-ha has quit IRC16:41
*** zhaochao has quit IRC16:41
*** pas-ha has joined #openstack-cinder16:42
*** dpawlik has joined #openstack-cinder17:36
*** dpawlik has quit IRC17:40
*** e0ne has joined #openstack-cinder17:56
*** hongbin has joined #openstack-cinder18:07
*** r-daneel_ has joined #openstack-cinder18:07
hongbinsmcginnis: hi sean18:07
*** r-daneel has quit IRC18:08
*** r-daneel_ is now known as r-daneel18:08
smcginnisHey hongbin. You had a question?18:08
hongbinsmcginnis: a question, if i want to multi-attach a cinder volume to two containers that are in the same host18:09
hongbinsmcginnis: what is the best practice to do it, i am reading: https://docs.openstack.org/cinder/latest/contributor/attach_detach_conventions.html , and wonder if we need to do the three steps in each attach/detach ?18:10
smcginnishongbin: Do you currently use Cinder to track attachments? Or do you just attach to a host and then whether it is used with a container or not, Cinder doesn't get involved?18:11
smcginnisIf jgriffith is around, I think he's done more container work and might have some good insights.18:11
hongbinsmcginnis: in before (without multiattach support), we are attaching the volume to the container host18:12
hongbinsmcginnis: after the volume is attached to a host, we mount the volume to a path and bind-mount it to the container18:13
smcginnishongbin: The important part is that cinder knows when to detach the volume or not.18:15
smcginnishongbin: So as long as disconnecting it from a second container doesn't trigger a call to cinder to remove the whole attachment, then it's fine just attaching once.18:16
hongbinsmcginnis: i see18:17
smcginnishongbin: If you want to ensure Cinder knows about both attachments, then those calls need to be made so when Cinder is called for one, but there are others still there, we don't remove access to the volume from the container host.18:17
smcginnishongbin: Looking at the doc you referenced, that isn't anything specific to mutliattach.18:17
smcginnishongbin: So yes, those three steps need to be done.18:18
hongbinsmcginnis: ok, i believe we are using the volume to track the container uuid of each attach18:18
hongbinsmcginnis: in particular, that is after this patch: https://review.openstack.org/#/c/590108/318:18
openstackgerritEric Harney proposed openstack/cinder master: Add cinder-tempest-plugin to LIO job  https://review.openstack.org/56887318:20
hongbinsmcginnis: so if we do the three steps (reserve volume, initialize_connection, os_brick.connect_volume, attach) in the same host, i assume cinder will handle that properly without a problem?18:22
smcginnishongbin: I believe the change in that patch would be good.18:22
smcginnishongbin: Yep, that's how Nova does it today.18:22
hongbinsmcginnis: then, my concern is the detach18:23
hongbinsmcginnis: if we do the three steps for detaching the volume multiple times, cinder will terminate the connection in the last detach, is it correct?18:24
hongbinsmcginnis: the context is this patch: https://review.openstack.org/#/c/590677/18:27
hongbinand i am trying to review it18:27
openstackgerritMerged openstack/cinder master: Add api-ref for mv 3.55 volume transfer  https://review.openstack.org/58866618:30
smcginnishongbin: That's correct. As long as there are other attachments, the host will still have access to the volume.18:32
*** eharney has quit IRC18:33
hongbinsmcginnis: i see18:34
hongbinsmcginnis: but weikeyou said this "If a volume is attached to two container that is on the same node, they share device path and LUN group in Disk Array. In this case, "_disconnect_volume"(clean up device path) and "terminate_connection"(remove LUN group in Disk Array) should not be called, and just "cinder_api.detach"(clean up db in Cinder) should18:34
hongbin be called."18:34
hongbinsmcginnis: based on what you said, i guess cinder/os-brick will handle the scenario he described properly? just want to confirm18:37
patrickeasthongbin:  you should use the cinders attach/detach API's to basically refcount the volume attachment to the compute node and only cleanup the initiator side on the last detach18:38
patrickeastdon't call os-brick to terminate the connection until you are really ready for the LUN to go away18:38
patrickeaston the compute node*18:38
hongbinpatrickeast: i see18:38
patrickeastit should be basically the same workflow that nova does for like libvirt and cinder attachments18:39
smcginnisThere might be some good examples if you can take a look at the nova side of things.18:40
hongbinpatrickeast: i see18:40
*** josecastroleon has joined #openstack-cinder18:40
hongbinsmcginnis: ack, that is a good idea18:40
hongbinpatrickeast: smcginnis thanks for your suggestions18:41
smcginnishongbin: No problem - good luck!18:41
hongbin:)18:41
*** r-daneel_ has joined #openstack-cinder18:43
*** r-daneel has quit IRC18:44
*** r-daneel_ is now known as r-daneel18:44
*** r-daneel has quit IRC18:46
*** josecastroleon has quit IRC18:49
jgriffithhongbin: smcginnis sounds like you all got it figured out18:55
smcginnisjgriffith: Hopefully18:55
jgriffithBut in short, using the old flow on a a volume attached to multiple containers on the same node will be a problem on detach for you18:55
jgriffithGophercloud does do it's best to use the old admin-meta stuff to try and pretend to ref count and such, but as patrickeast I'd just use the new attach api's18:56
hongbinjgriffith: ack, thanks for the suggestion18:57
hongbini will mention that on reviewing the patch18:58
*** luizbag has quit IRC19:01
*** r-daneel has joined #openstack-cinder19:15
*** tomtom001 has quit IRC19:26
*** woojay has quit IRC19:28
*** erlon has joined #openstack-cinder19:47
*** nicolasbock has quit IRC19:50
KeithMnemonicsmcginnis: one before the weekend? https://review.openstack.org/#/c/59277719:51
*** eharney has joined #openstack-cinder19:51
*** nicolasbock has joined #openstack-cinder19:55
smcginnisKeithMnemonic: Done19:58
KeithMnemonicthanks!20:00
openstackgerritMerged openstack/cinder master: ScaleIO: Disable volume creation without padding  https://review.openstack.org/59200120:18
*** e0ne has quit IRC20:35
*** erlon has quit IRC20:41
*** erlon has joined #openstack-cinder20:56
openstackgerritSean McGinnis proposed openstack/cinder stable/rocky: ScaleIO: Disable volume creation without padding  https://review.openstack.org/59318821:04
openstackgerritSean McGinnis proposed openstack/cinder stable/queens: Handling type's multiattach extra specs in API task flow  https://review.openstack.org/59319121:10
*** masayukig has quit IRC21:10
*** KeithMnemonic has quit IRC21:11
openstackgerritSean McGinnis proposed openstack/cinder master: Remove cinder-tox-compliance job  https://review.openstack.org/59319221:14
openstackgerritSean McGinnis proposed openstack/cinder stable/queens: Stop unnecessarily querying storage for stats  https://review.openstack.org/59319321:17
*** dustins has quit IRC21:18
openstackgerritSean McGinnis proposed openstack/cinder stable/queens: Update delete group snapshot API exception handling  https://review.openstack.org/59320121:30
openstackgerritSean McGinnis proposed openstack/cinder stable/queens: Add user messages for extend volume operation  https://review.openstack.org/59320221:33
*** erlon has quit IRC21:42
openstackgerritMerged openstack/cinder stable/ocata: HPE Lefthand: fix volume manage operation  https://review.openstack.org/59277721:45
*** nicolasbock has quit IRC21:59
*** cmart has quit IRC22:17
*** ganso has quit IRC22:19
*** tpsilva has quit IRC22:50
*** r-daneel has quit IRC23:01
*** hongbin has quit IRC23:08
*** gnufied has quit IRC23:55
*** gnufied has joined #openstack-cinder23:59

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