Thursday, 2015-07-16

*** vokt has quit IRC00:01
*** dannywilson has quit IRC00:01
*** gouthamr_ has joined #openstack-cinder00:02
jamielennoxpatrickeast: so it appears that volume-type create exists for the cinder v2 api, but not the v1 api in OSC00:02
*** gouthamr has quit IRC00:03
jamielennoxpatrickeast: is there a chance those people are pinning devstack to work with cinder v100:03
*** mutoulbj has quit IRC00:03
patrickeastjamielennox: definitely possible00:04
patrickeastmaybe, i’m missing something, but isn’t the gate using cinder v1 too? http://logs.openstack.org/83/186683/14/check/check-tempest-dsvm-full/5c460ca/logs/etc/cinder/cinder.conf.txt.gz00:04
jamielennoxpatrickeast: i'm not sure what i'm looking at there00:05
patrickeastjamielennox: oh uh, ‘enable_v1_api = true’00:05
patrickeastjamielennox: iirc it needs to be ‘enable_v2_api = true’00:05
patrickeastunless it defaults to do that00:06
jamielennoxby my guess enable_v1_api will expose the v1 api in cinder, but in OSC i guess it's defaulting to use the v2 api00:06
patrickeastgotcha00:06
jamielennoxgenerally you control that with OS_VOLUME_API_VERSION00:06
jamielennoxpatrickeast: both enable_v1_api and enable_v2_api default to True00:08
*** skylerberg has quit IRC00:09
*** jungleboyj has quit IRC00:11
ameadeso OSC needs the command for the v2 api to be added? and in the meantime we use vers 1?00:12
*** mtanino has quit IRC00:13
jamielennoxameade: no, the opposite, it appears to be working for v2 which is what devstack gate will be using00:14
jamielennoxthe command is not implemented for v1 on the client side00:14
*** tsekiyama has quit IRC00:15
*** Fdaisuke has quit IRC00:17
jamielennoxoh - this is weird, apparently the default is to use the v1 api https://github.com/openstack/python-openstackclient/blob/master/openstackclient/volume/client.py#L2200:18
*** primechuck has quit IRC00:20
jamielennoxhow did this ever work....00:21
ameadejamielennox: I think you have it reversed, it looks like v2 doesnt have create.00:21
ameadealso, i think some of us are having issues because openrc defaults to setting these to v200:21
ameadeso if you have ever stacked before it will use v200:21
ameadebut if it's the first stack it's v100:22
ameadeor something like that00:22
jamielennoxameade: sorry - you are right00:22
jamielennoxhttps://github.com/openstack/python-openstackclient/blob/master/setup.cfg#L36300:22
ameadeyeah looks like setting 'CINDER_VERSION=1' fixed it for me00:23
jamielennoxameade: ok, so there are a couple of fixes to do here and either i can or someone who knows how to test it can00:24
*** salv-orlando has quit IRC00:24
jamielennox(because i don't know cinder)00:24
jamielennoxadding --os-volume-api-version 1 to the type-create command should force it to use v1 for that command regardless of what is set in the environment00:25
jamielennoxis there a reason that a similar volume type create command doesn't exist in OSC volume v2?00:25
ameadei have no idea00:25
*** salv-orlando has joined #openstack-cinder00:26
jamielennoxthingee: does volume type create exist in cinder v2?00:26
ameadei'd volunteer to do that but I dont have permission to make changes as I want00:26
*** Yogi1 has joined #openstack-cinder00:27
ameadejamielennox: actually, i suppose we dont have to rush to get that part done00:27
jamielennoxit appears to exist: http://developer.openstack.org/api-ref-blockstorage-v2.html#createVolumeType - i wonder why it wasn't implemented00:27
*** garthb has quit IRC00:29
jamielennoxameade: no worries, i can make those changes00:29
ameadejamielennox: thanks a lot for your help00:29
*** _cjones_ has quit IRC00:29
jamielennoxameade: do you know if there is a devstack bug filed for this?00:30
ameadejamielennox: I dont think there is yet00:30
*** Apoorva has quit IRC00:30
*** gouthamr_ has quit IRC00:30
*** annashen has joined #openstack-cinder00:32
*** vilobhmm2 has quit IRC00:32
*** annashen has quit IRC00:33
*** salv-orlando has quit IRC00:34
*** heyun has joined #openstack-cinder00:34
*** lpabon has quit IRC00:37
*** topshare has joined #openstack-cinder00:37
*** gouthamr has joined #openstack-cinder00:40
*** Yogi1 has quit IRC00:40
jamielennoxameade: are you able to run devstack with https://review.openstack.org/202340 and see if that fixes the issue for you00:44
jamielennox(and unset CINDER_VERSION)00:44
*** divab has joined #openstack-cinder00:45
*** divab has left #openstack-cinder00:48
*** primechuck has joined #openstack-cinder00:50
*** laughterwym has joined #openstack-cinder00:53
*** leeantho has quit IRC00:53
ameadejamielennox: yeah i can00:57
ameadeit's running01:00
ameadejamielennox: doing a bunch of multitasking atm01:00
*** Longgeek has joined #openstack-cinder01:00
*** mutoulbj has joined #openstack-cinder01:03
jamielennoxameade: that's ok -thanks01:06
ameadejamielennox: looks like it got past that command01:07
*** mutoulbj has quit IRC01:09
ameadejamielennox: I think we are in good shape, I'll run with your patch until it merges01:09
ameadethanks01:09
*** primechuck has quit IRC01:10
*** casusbelli has joined #openstack-cinder01:12
jgriffithjamielennox: thanks a ton!01:13
jgriffithI just got home and checked to see how things went :)01:13
jgriffithNow I'm going to go eat dinner and have a drink :)01:14
*** casusbel_ has quit IRC01:14
*** openstack has joined #openstack-cinder01:24
*** annegentle has quit IRC01:26
*** breitz has quit IRC01:29
*** breitz has joined #openstack-cinder01:30
*** rushil has joined #openstack-cinder01:35
*** patrickeast has quit IRC01:35
*** annegentle has joined #openstack-cinder01:37
*** jdandrea has quit IRC01:38
*** lpabon has joined #openstack-cinder01:39
*** leeantho has joined #openstack-cinder01:42
*** annegentle has quit IRC01:42
*** kaisers1 has quit IRC01:44
*** primechuck has joined #openstack-cinder01:44
*** IanGovett has joined #openstack-cinder01:54
*** dims_ has quit IRC01:58
*** zul has joined #openstack-cinder02:00
*** IanGovett has quit IRC02:01
*** annegentle has joined #openstack-cinder02:10
*** heyun1 has joined #openstack-cinder02:11
*** annegentle has quit IRC02:13
*** heyun has quit IRC02:15
*** lpabon has quit IRC02:16
*** dims__ has joined #openstack-cinder02:18
*** markvoelker has quit IRC02:22
*** vilobhmm has joined #openstack-cinder02:26
*** vilobhmm1 has joined #openstack-cinder02:28
*** jdurgin has quit IRC02:28
openstackgerritAnthony Lee proposed openstack/cinder: Fix 3PAR driver handling of existing VLUNs  https://review.openstack.org/20235402:29
*** Longgeek has joined #openstack-cinder02:30
*** dims__ has quit IRC02:30
*** vilobhmm has quit IRC02:30
*** gouthamr has quit IRC02:31
*** gouthamr has joined #openstack-cinder02:31
*** bkopilov has quit IRC02:31
*** Longgeek has quit IRC02:35
*** rushil has quit IRC02:37
*** gouthamr_ has joined #openstack-cinder02:41
*** diogogmt has joined #openstack-cinder02:43
*** gouthamr has quit IRC02:43
*** julim has joined #openstack-cinder02:52
*** hakimo_ has joined #openstack-cinder02:53
*** hakimo has quit IRC02:54
*** gouthamr_ has quit IRC03:06
*** lpabon has joined #openstack-cinder03:07
openstackgerritZhenguo Niu proposed openstack/python-cinderclient: Remove H302  https://review.openstack.org/20236403:09
*** casusbelli has quit IRC03:11
openstackgerritSean McGinnis proposed openstack/cinder: Dell SC: Add support for driver retype  https://review.openstack.org/20076503:11
*** casusbelli has joined #openstack-cinder03:11
*** primechuck has quit IRC03:17
*** casusbelli has quit IRC03:18
*** casusbelli has joined #openstack-cinder03:19
*** davechen1 has joined #openstack-cinder03:23
*** annashen has joined #openstack-cinder03:23
*** lpabon has quit IRC03:25
*** annashen has quit IRC03:28
*** xyang1 has quit IRC03:30
*** mylu has joined #openstack-cinder03:32
*** markvoelker has joined #openstack-cinder03:33
*** dannywilson has joined #openstack-cinder03:34
*** markvoelker has quit IRC03:34
*** markvoelker has joined #openstack-cinder03:34
*** markvoelker_ has joined #openstack-cinder03:37
*** markvoelker has quit IRC03:39
openstackgerritwanghao proposed openstack/cinder: Support volume backup of qcow2 format volume  https://review.openstack.org/18227603:40
*** leeantho has quit IRC03:42
*** sweston has quit IRC03:44
*** briancurtin has quit IRC03:45
*** scottda has quit IRC03:45
*** wanghao has quit IRC03:45
*** serverascode has quit IRC03:45
*** zhiyan has quit IRC03:45
*** ctracey has quit IRC03:45
*** rhefner has quit IRC03:45
*** Lee1092 has quit IRC03:46
*** dalgaaf has quit IRC03:46
*** rex_lee has quit IRC03:46
*** h00327910_ has quit IRC03:46
*** erlon has quit IRC03:46
*** boris-42 has quit IRC03:46
*** thingee has quit IRC03:47
*** coolsvap|away is now known as coolsvap03:47
*** wanghao has joined #openstack-cinder03:48
*** scottda has joined #openstack-cinder03:48
*** kaisers1 has joined #openstack-cinder03:49
*** dannywilson has quit IRC03:52
*** dannywilson has joined #openstack-cinder03:52
*** zhiyan has joined #openstack-cinder03:54
*** briancurtin has joined #openstack-cinder03:56
*** thingee has joined #openstack-cinder03:58
*** serverascode has joined #openstack-cinder03:58
*** bkopilov has joined #openstack-cinder03:59
*** rhefner has joined #openstack-cinder04:01
*** ctracey has joined #openstack-cinder04:02
*** rex_lee has joined #openstack-cinder04:02
*** boris-42 has joined #openstack-cinder04:07
*** erlon has joined #openstack-cinder04:08
*** annashen has joined #openstack-cinder04:08
*** dalgaaf has joined #openstack-cinder04:10
*** h00327910_ has joined #openstack-cinder04:11
*** hemna has joined #openstack-cinder04:11
openstackgerritwanghao proposed openstack/cinder: Add updated_at into response of querying cinder resource detail  https://review.openstack.org/20202904:15
*** belmoreira has joined #openstack-cinder04:15
*** sweston has joined #openstack-cinder04:16
*** jwcroppe has joined #openstack-cinder04:16
*** Longgeek has joined #openstack-cinder04:17
*** Lee1092 has joined #openstack-cinder04:19
*** Longgeek has quit IRC04:25
*** Longgeek has joined #openstack-cinder04:25
*** belmoreira has quit IRC04:28
*** annashen has quit IRC04:28
*** hemna has quit IRC04:30
*** harlowja_at_home has joined #openstack-cinder04:33
*** mylu has quit IRC04:40
*** shyama has joined #openstack-cinder04:41
openstackgerritVincent Hou proposed openstack/cinder: Volume status management during migration  https://review.openstack.org/18631204:47
openstackgerritAnish Bhatt proposed openstack/os-brick: [WIP] os-brick : Add support for --interface option in iscsiadm.  https://review.openstack.org/19345104:48
*** markvoelker has joined #openstack-cinder04:49
*** markvoelker_ has quit IRC04:53
openstackgerritVincent Hou proposed openstack/cinder: Add the notification and the migration progress indication  https://review.openstack.org/18961405:09
*** deepakcs has joined #openstack-cinder05:14
*** daneyon has joined #openstack-cinder05:24
*** laughterwym_ has joined #openstack-cinder05:32
*** laughterwym has quit IRC05:35
*** angela-s|afk has quit IRC05:37
*** ankit has joined #openstack-cinder05:49
*** e0ne has joined #openstack-cinder06:00
*** e0ne has quit IRC06:02
*** vincent_hou has joined #openstack-cinder06:04
*** nkrinner_afk is now known as nkrinner06:07
*** harlowja_at_home has quit IRC06:10
*** annashen has joined #openstack-cinder06:12
openstackgerritAnish Bhatt proposed openstack/os-brick: [WIP] os-brick : Add support for --interface option in iscsiadm.  https://review.openstack.org/19345106:15
*** vlaza has joined #openstack-cinder06:20
*** belmoreira has joined #openstack-cinder06:25
*** dannywilson has quit IRC06:26
*** vlaza has quit IRC06:27
openstackgerritLiu Xinguo proposed openstack/cinder: Add multiple pools support for Huawei driver  https://review.openstack.org/18825106:27
openstackgerritLiu Xinguo proposed openstack/cinder: Add CHAP support for Huawei driver  https://review.openstack.org/18836006:30
*** vilobhmm1 has quit IRC06:31
openstackgerritLiu Xinguo proposed openstack/cinder: Add hypermetro support for huawei volume driver  https://review.openstack.org/20202306:32
*** annashen has quit IRC06:37
*** abhishekk has joined #openstack-cinder06:39
*** agarciam has joined #openstack-cinder06:43
*** vlaza has joined #openstack-cinder06:45
*** abhishekk has quit IRC06:49
*** jdurgin has joined #openstack-cinder06:50
*** jdurgin has quit IRC06:50
*** Longgeek has quit IRC06:51
*** Longgeek has joined #openstack-cinder06:52
*** markus_z has joined #openstack-cinder07:05
*** bkopilov has quit IRC07:08
*** anshprat has quit IRC07:11
*** BharatK has joined #openstack-cinder07:13
*** anshprat has joined #openstack-cinder07:13
*** abehl has joined #openstack-cinder07:19
*** bkopilov has joined #openstack-cinder07:21
*** winston-d has quit IRC07:24
*** DTadrzak has quit IRC07:28
*** winston-d has joined #openstack-cinder07:32
*** lan has quit IRC07:33
*** lpetrut has joined #openstack-cinder07:34
*** Maike has joined #openstack-cinder07:38
*** jordanP has joined #openstack-cinder07:40
*** rhefner has quit IRC07:41
*** DTadrzak has joined #openstack-cinder07:43
*** laughterwym__ has joined #openstack-cinder07:48
*** laughterwym_ has quit IRC07:51
*** davechen1 has left #openstack-cinder07:55
openstackgerritVincent Hou proposed openstack/cinder: Add the notification and the migration progress indication  https://review.openstack.org/18961407:55
*** davechen has joined #openstack-cinder07:57
*** markvoelker has quit IRC08:04
*** pck has quit IRC08:06
*** pck has joined #openstack-cinder08:06
openstackgerritRonen Mesonzhnik proposed openstack/cinder-specs: Proposal for backup service that uses ProtecTIER as the backend.  https://review.openstack.org/15386508:10
*** markvoelker has joined #openstack-cinder08:11
openstackgerritwanghao proposed openstack/cinder: Add updated_at into response of querying cinder resource detail  https://review.openstack.org/20202908:13
*** markvoelker has quit IRC08:16
*** jistr has joined #openstack-cinder08:16
*** markvoelker has joined #openstack-cinder08:17
*** topshare has quit IRC08:17
*** topshare has joined #openstack-cinder08:19
*** yrabl has quit IRC08:19
*** yrabl has joined #openstack-cinder08:19
*** shyama has quit IRC08:20
*** topshare has quit IRC08:23
*** markvoelker has quit IRC08:25
openstackgerritVincent Hou proposed openstack/cinder: Add the notification and the migration progress indication  https://review.openstack.org/18961408:26
*** vincent_hou has quit IRC08:26
*** topshare has joined #openstack-cinder08:27
*** markvoelker has joined #openstack-cinder08:29
*** boris-42 has quit IRC08:32
*** markvoelker has quit IRC08:33
*** laughterwym__ has quit IRC08:34
*** aarefiev has joined #openstack-cinder08:35
openstackgerritAndrey Pavlov proposed openstack/cinder: Fix doc string definitions  https://review.openstack.org/19312408:39
openstackgerritTeruaki Ishizaki proposed openstack/cinder: Add missing backup/restore methods to Sheepdog driver  https://review.openstack.org/16292708:40
*** markvoelker has joined #openstack-cinder08:44
openstackgerritRonen Mesonzhnik proposed openstack/cinder-specs: Proposal for backup service that uses ProtecTIER as the backend.  https://review.openstack.org/15386508:45
*** salv-orlando has joined #openstack-cinder08:46
*** markvoelker has quit IRC08:48
*** aix has joined #openstack-cinder08:48
openstackgerritWenPing Zhang proposed openstack/cinder: blueprint cinder-driver-for-yeesan  https://review.openstack.org/20244008:48
*** belmoreira has quit IRC08:51
*** bluex-pl has joined #openstack-cinder08:53
*** bluex-pl has quit IRC08:54
*** bluex-pl has joined #openstack-cinder08:54
*** markvoelker has joined #openstack-cinder08:58
*** markvoelker has quit IRC09:03
*** belmoreira has joined #openstack-cinder09:05
*** bkopilov has quit IRC09:14
*** ndipanov has joined #openstack-cinder09:14
openstackgerritwanghao proposed openstack/cinder: Add updated_at into response of querying cinder resource detail  https://review.openstack.org/20202909:21
*** bkopilov has joined #openstack-cinder09:28
openstackgerritJordan Pittier proposed openstack/cinder: Rework the Scality SOFS driver to use the RemoteFS class  https://review.openstack.org/20061009:28
openstackgerritwanghao proposed openstack/cinder: Add updated_at into response of querying cinder resource detail  https://review.openstack.org/20202909:31
*** shyama has joined #openstack-cinder09:35
*** vlaza has quit IRC09:38
*** annashen has joined #openstack-cinder09:38
*** salv-orlando has quit IRC09:40
*** annashen has quit IRC09:42
*** kjelly has quit IRC09:48
*** kjelly has joined #openstack-cinder09:48
*** kjelly has joined #openstack-cinder09:49
*** lixiaoy11 has quit IRC09:52
*** davechen has left #openstack-cinder09:54
*** ociuhandu has joined #openstack-cinder09:55
openstackgerritLiu Xinguo proposed openstack/cinder: Enhance FC zone support for Huawei driver  https://review.openstack.org/20157809:55
*** vlaza has joined #openstack-cinder09:58
*** aix has quit IRC09:58
*** e0ne has joined #openstack-cinder10:02
*** zhenguo has quit IRC10:03
*** afazekas has joined #openstack-cinder10:10
openstackgerritLei Li proposed openstack/cinder: Adjust to right exception for chunkeddriver  https://review.openstack.org/20248110:11
*** ociuhandu has quit IRC10:12
openstackgerritPranali Deore proposed openstack/cinder: Validate name and description string  https://review.openstack.org/18299410:22
*** dims_ has joined #openstack-cinder10:24
*** e0ne is now known as e0ne_10:25
*** aix has joined #openstack-cinder10:28
*** e0ne_ is now known as e0ne10:28
*** laughterwym has joined #openstack-cinder10:29
*** heyun1 has quit IRC10:33
*** afazekas has quit IRC10:35
openstackgerritWenPing Zhang proposed openstack/cinder: blueprint cinder-driver-for-yeesan  https://review.openstack.org/20244010:38
*** dims_ has quit IRC10:39
*** salv-orlando has joined #openstack-cinder10:40
*** shyama has quit IRC10:46
*** shyama_ has joined #openstack-cinder10:46
*** shyama_ is now known as shyama10:46
*** afazekas has joined #openstack-cinder10:48
*** IanGovett has joined #openstack-cinder10:55
openstackgerritMichal Dulko proposed openstack/cinder: Add consistency group tests to test_volume_rpcapi.  https://review.openstack.org/20249610:57
*** coolsvap has quit IRC10:58
*** coolsvap has joined #openstack-cinder10:58
tbarronBharatK: Thanks for understanding on this ...11:03
*** topshare has quit IRC11:03
BharatKtbarron, Np thanks your valuable opinion.11:03
*** e0ne is now known as e0ne_11:13
*** belmoreira has quit IRC11:15
*** IanGovett has quit IRC11:17
*** timcl has joined #openstack-cinder11:27
*** e0ne_ is now known as e0ne11:30
openstackgerritBharat Kumar Kobagana (BharatK) proposed openstack/cinder: Posix backup driver  https://review.openstack.org/16364711:33
BharatKtbarron, Modified the patch as per your suggestion, please review it. ^^11:33
*** kjelly_ has joined #openstack-cinder11:39
*** belmoreira has joined #openstack-cinder11:40
openstackgerritSergey Vilgelm proposed openstack/cinder: Switch to the oslo_utils.fileutils  https://review.openstack.org/19953711:40
tbarronBharatK: looking11:43
BharatKtbarron, thanks.11:43
*** ganso_ has joined #openstack-cinder11:48
*** topshare has joined #openstack-cinder11:52
*** topshare has quit IRC11:52
*** Longgeek has quit IRC11:54
*** bluex-pl has quit IRC11:55
*** IanGovett has joined #openstack-cinder11:58
*** bluex-pl has joined #openstack-cinder11:59
*** topshare has joined #openstack-cinder12:02
*** bkopilov has quit IRC12:04
*** Longgeek has joined #openstack-cinder12:05
*** bluex-pl has quit IRC12:06
*** deepakcs has quit IRC12:13
openstackgerritBharat Kumar Kobagana (BharatK) proposed openstack/cinder: Posix backup driver  https://review.openstack.org/16364712:14
*** dims_ has joined #openstack-cinder12:14
BharatKeharney, tbarron Modified the "Posix backup driver" patch as per your comments please review it. ^^12:14
*** bluex-pl has joined #openstack-cinder12:17
openstackgerritJordan Pittier proposed openstack/os-brick: Remotefs: add ScalityFS support  https://review.openstack.org/19663112:18
openstackgerritJordan Pittier proposed openstack/os-brick: Remotefs: add ScalityFS support  https://review.openstack.org/19663112:18
*** nkrinner is now known as nkrinner_afk12:18
*** BharatK has quit IRC12:27
*** bswartz has quit IRC12:29
*** markvoelker has joined #openstack-cinder12:29
*** dims_ has quit IRC12:30
*** salv-orlando has quit IRC12:31
*** dims__ has joined #openstack-cinder12:32
*** markvoelker has quit IRC12:34
*** topshare has quit IRC12:38
*** timcl1 has joined #openstack-cinder12:38
*** dims__ has quit IRC12:39
*** IanGovett has quit IRC12:39
*** IanGovett1 has joined #openstack-cinder12:39
*** lpetrut has quit IRC12:41
*** timcl has quit IRC12:41
*** markvoelker has joined #openstack-cinder12:43
*** merooney has joined #openstack-cinder12:43
*** IanGovett has joined #openstack-cinder12:44
*** krtaylor has quit IRC12:44
*** topshare has joined #openstack-cinder12:44
*** IanGovett1 has quit IRC12:45
*** topshare has quit IRC12:45
openstackgerritwanghao proposed openstack/cinder: Support volume backup of qcow2 format volume  https://review.openstack.org/18227612:45
*** topshare has joined #openstack-cinder12:45
*** topshare has quit IRC12:45
*** topshare has joined #openstack-cinder12:46
*** topshare has quit IRC12:46
*** topshare has joined #openstack-cinder12:47
*** markvoelker has quit IRC12:48
openstackgerritAdriano Freires Rosso proposed openstack/cinder: Adds manage/unmanage methods for HNAS drivers  https://review.openstack.org/19799912:49
*** IanGovett1 has joined #openstack-cinder12:49
openstackgerritGaurang Tapase proposed openstack/cinder: Adding NFS support to the GPFS Driver  https://review.openstack.org/19788412:50
*** IanGovett has quit IRC12:50
*** krtaylor has joined #openstack-cinder12:51
*** salv-orlando has joined #openstack-cinder12:53
*** lpetrut has joined #openstack-cinder12:54
*** IanGovett has joined #openstack-cinder12:54
*** diogogmt has quit IRC12:55
*** diogogmt has joined #openstack-cinder12:56
*** IanGovett1 has quit IRC12:56
*** markvoelker has joined #openstack-cinder12:57
*** bswartz has joined #openstack-cinder12:59
*** bluex-pl has quit IRC13:00
*** zhenguo has joined #openstack-cinder13:01
*** markvoelker has quit IRC13:02
*** mylu has joined #openstack-cinder13:04
*** markvoelker has joined #openstack-cinder13:05
*** lpabon has joined #openstack-cinder13:05
*** markvoelker_ has joined #openstack-cinder13:06
*** timcl1 has quit IRC13:09
*** markvoelker has quit IRC13:10
*** gouthamr has joined #openstack-cinder13:12
*** coolsvap is now known as coolsvap|away13:13
*** bluex-pl has joined #openstack-cinder13:13
*** nug is now known as cFouts13:14
*** bnemec has joined #openstack-cinder13:14
*** dims_ has joined #openstack-cinder13:16
*** abhinavsgsits has joined #openstack-cinder13:17
*** mylu has quit IRC13:18
*** mylu has joined #openstack-cinder13:18
*** bluex-pl has quit IRC13:20
*** bluex-pl has joined #openstack-cinder13:20
*** akerr has joined #openstack-cinder13:21
*** Yogi1 has joined #openstack-cinder13:22
*** timcl has joined #openstack-cinder13:22
*** crose has joined #openstack-cinder13:25
*** dustins has joined #openstack-cinder13:26
*** topshare has quit IRC13:27
*** edmondsw has joined #openstack-cinder13:28
*** primechuck has joined #openstack-cinder13:28
*** ankit has quit IRC13:30
*** agarciam has quit IRC13:32
*** agarciam has joined #openstack-cinder13:32
*** mylu has quit IRC13:32
*** rhefner has joined #openstack-cinder13:32
*** topshare has joined #openstack-cinder13:33
*** jaypipes has joined #openstack-cinder13:35
*** thangp has joined #openstack-cinder13:36
*** bkopilov has joined #openstack-cinder13:37
*** timcl has quit IRC13:38
*** timcl has joined #openstack-cinder13:39
*** ronis has joined #openstack-cinder13:41
*** e0ne is now known as e0ne_13:44
*** mylu has joined #openstack-cinder13:46
*** jdandrea has joined #openstack-cinder13:46
*** e0ne_ is now known as e0ne13:49
*** abhinavsgsits is now known as aagrawal13:51
*** mriedem_away is now known as mriedem13:56
*** liuxg has joined #openstack-cinder13:57
openstackgerritLiu Xinguo proposed openstack/cinder: Add iSCSI multipath support for Huawei driver  https://review.openstack.org/18836513:58
*** topshare has quit IRC13:59
*** topshare has joined #openstack-cinder14:00
*** thangp has quit IRC14:02
*** topshare has quit IRC14:04
*** thangp has joined #openstack-cinder14:07
*** Yogi1 has quit IRC14:11
*** BharatK has joined #openstack-cinder14:12
*** Yogi1 has joined #openstack-cinder14:13
*** mutoulbj has joined #openstack-cinder14:13
*** aagrawal has quit IRC14:17
*** xyang has joined #openstack-cinder14:19
*** fifieldt_ has quit IRC14:19
*** BharatK has quit IRC14:21
*** Tross1 has quit IRC14:21
*** markvoelker_ has quit IRC14:24
*** mriedem has left #openstack-cinder14:26
*** mriedem has joined #openstack-cinder14:27
*** jordanP has quit IRC14:29
*** annegentle has joined #openstack-cinder14:30
*** vlaza has quit IRC14:34
*** ronis has quit IRC14:36
*** e0ne is now known as e0ne_14:36
*** jungleboyj has joined #openstack-cinder14:37
openstackgerritAnna Sortland proposed openstack/cinder: Remove "volume:services" rule from policy.json  https://review.openstack.org/20259914:38
*** BharatK has joined #openstack-cinder14:39
*** lpetrut has quit IRC14:41
openstackgerritYuriy Nesenenko proposed openstack/cinder: POC for RBD thin provisioning accounting  https://review.openstack.org/20260214:42
openstackgerritLiu Xinguo proposed openstack/cinder: Add volume migration support for Huawei driver  https://review.openstack.org/20140614:43
openstackgerritYuriy Nesenenko proposed openstack/cinder: POC for RBD thin provisioning accounting  https://review.openstack.org/20260214:45
*** garthb has joined #openstack-cinder14:53
*** markvoelker has joined #openstack-cinder14:53
*** Yogi11 has joined #openstack-cinder14:55
*** Yogi1 has quit IRC14:56
*** lcurtis has joined #openstack-cinder14:58
*** Longgeek has quit IRC14:58
openstackgerritMichal Dulko proposed openstack/cinder-specs: Add Cinder Volume A/A HA spec  https://review.openstack.org/20261514:58
*** dustins has quit IRC15:00
*** Longgeek has joined #openstack-cinder15:00
*** ociuhandu has joined #openstack-cinder15:00
*** daneyon_ has joined #openstack-cinder15:02
*** dustins has joined #openstack-cinder15:02
openstackgerritThang Pham proposed openstack/cinder: WIP: Continue conversion to volume object  https://review.openstack.org/20140415:04
*** mriedem is now known as mriedem_away15:04
*** daneyon has quit IRC15:04
*** Tross has joined #openstack-cinder15:05
*** e0ne_ is now known as e0ne15:05
dulekDuncanT: Hi, you may be interested in this: https://review.openstack.org/20261515:05
dulekdulek: I've felt that we're doing very slow progress, so created a spec to start discussion on paper.15:06
*** coolsvap|away is now known as coolsvap15:06
*** Longgeek has quit IRC15:07
*** yuriy_n17 has joined #openstack-cinder15:07
DuncanTdulek: Having one place to discuss it is probably a good plan. I expect that there'll be sub-specs coming out of this, since there is not just one issue preventing A/A15:10
DuncanTdulek: I'll take a read and comment15:10
DuncanTdulek: Thanks15:11
dulekDuncanT: I'll welcome any comments, thank you!15:11
*** abehl has quit IRC15:12
*** belmoreira has quit IRC15:13
*** mutoulbj has quit IRC15:16
*** dannywilson has joined #openstack-cinder15:16
*** hemna has joined #openstack-cinder15:18
*** afazekas has quit IRC15:20
*** hemna has quit IRC15:20
*** liuxg has quit IRC15:22
openstackgerritTom Swanson proposed openstack/cinder: Dell SC: Fix Consistency Group issues  https://review.openstack.org/20168515:22
*** BharatK has quit IRC15:25
*** e0ne has quit IRC15:26
*** e0ne has joined #openstack-cinder15:26
*** e0ne has quit IRC15:27
*** e0ne has joined #openstack-cinder15:27
*** e0ne has quit IRC15:28
*** Yogi11 has quit IRC15:29
*** tsekiyama has joined #openstack-cinder15:30
*** Yogi1 has joined #openstack-cinder15:30
*** _________ has joined #openstack-cinder15:30
*** Tross has quit IRC15:31
*** _________ has quit IRC15:31
*** dustins has quit IRC15:31
*** thangp has quit IRC15:31
*** e0ne has joined #openstack-cinder15:32
e0neeharney: hi. thanks for really quick feedback for yuriy_n17's patch (https://review.openstack.org/202602, RBD thin provisioning accounting). i've added some comments there15:34
*** Tross has joined #openstack-cinder15:34
*** thangp has joined #openstack-cinder15:34
*** ociuhandu has quit IRC15:35
*** Tross has quit IRC15:37
*** bluex-pl has quit IRC15:38
*** ig0r_ has quit IRC15:40
*** afazekas has joined #openstack-cinder15:44
*** harlowja_at_home has joined #openstack-cinder15:45
*** kjelly_ has quit IRC15:46
*** lpetrut has joined #openstack-cinder15:49
*** markus_z has quit IRC15:49
*** annegentle has quit IRC15:52
*** laughterwym has quit IRC15:52
*** annegentle has joined #openstack-cinder15:52
*** laughterwym has joined #openstack-cinder15:53
*** leeantho has joined #openstack-cinder15:54
*** ronis has joined #openstack-cinder16:02
*** Tross has joined #openstack-cinder16:04
*** laughterwym has quit IRC16:04
*** coolsvap is now known as coolsvap|away16:05
*** lpetrut has quit IRC16:05
openstackgerritj_king proposed openstack/cinder: Add get_trust_context method to BackupManager  https://review.openstack.org/20266916:06
*** mutoulbj has joined #openstack-cinder16:07
jgriffithscottda: thingee FYI, here's a first draft at least: http://j-griffith.blogspot.com/2015/07/volume-attach-code-flow-in-cinder.html16:08
*** Yogi1 has quit IRC16:09
*** Tross has quit IRC16:10
*** merooney has quit IRC16:12
j_kingthat's a WIP commit and I'd be grateful for any reviews to point me in the right direction.16:12
*** Yogi1 has joined #openstack-cinder16:12
*** Yogi11 has joined #openstack-cinder16:13
*** mriedem_away is now known as mriedem16:13
*** Tross has joined #openstack-cinder16:13
*** vokt has joined #openstack-cinder16:14
*** Tross has quit IRC16:14
*** harlowja_at_home has quit IRC16:16
scottdajgriffith: cool. I don't know if you noticed, but I posted a diagram for detach: http://imgur.com/Bmv1AJz16:16
*** Yogi1 has quit IRC16:17
scottdaIt's linked in the NovaCinderAPI etherpad under use cases.16:18
openstackgerritAnna Sortland proposed openstack/cinder: Add delete_snapshot and update_snapshot rules  https://review.openstack.org/20268016:19
*** edmondsw has quit IRC16:26
jgriffithscottda: nice16:27
e0nejgriffith: great! thank you for writing it!16:27
*** lpetrut has joined #openstack-cinder16:28
*** dims_ has quit IRC16:30
*** _cjones_ has joined #openstack-cinder16:30
openstackgerritEric Brown proposed openstack/cinder: Add bandit for security static analysis testing  https://review.openstack.org/17956816:31
*** dims_ has joined #openstack-cinder16:32
*** dims_ has quit IRC16:32
*** vilobhmm has joined #openstack-cinder16:36
*** mutoulbj has quit IRC16:37
*** lpetrut has quit IRC16:38
*** mylu has quit IRC16:39
*** mylu has joined #openstack-cinder16:41
*** Apoorva has joined #openstack-cinder16:41
*** hemnafk is now known as hemna16:41
*** sghanekar_ has joined #openstack-cinder16:41
*** mylu has quit IRC16:42
*** Yogi11 has quit IRC16:42
*** rwsu has quit IRC16:44
*** annashen has joined #openstack-cinder16:45
scottdaAdrea Rosa wrote the diagram, he gets the credit16:45
scottdas/Adrea/Andrea16:45
hemnajgriffith, just reading through your blog post16:46
hemnajgriffith, so I believe that most drivers aren't really doing what you describe in the blog post with respect to create_export and initialize_connection.16:46
hemnaour drivers included.16:47
hemnamostly because create_export doesn't have any of the initiator side information.  it only passes the volume.16:47
hemnafrom what I'm seeing in most initialize_connection methods for most drivers, like ours, we have to have the connector (initiator information), in order to create an exportable target at all.16:48
jgriffithhemna:  sorry, I don't know what your'e talking about exactly16:48
hemnaso in that case, create_export does nothing.16:48
hemnajgriffith, your blog post. http://j-griffith.blogspot.com/2015/07/volume-attach-code-flow-in-cinder.html16:48
jgriffithhemna: which I suspect is why your driver is having problems with live-migration (not sure though)  I commented on that in the ether pad BTW16:48
hemnayou detail driver.create_export and driver.initialize_connection and what they are supposed to do.16:48
hemnabut16:48
jgriffithhemna: right, and because you do it differently you're saying that it's wrong?16:49
jgriffithhemna: That's based on the "reference" driver as noted in the blog16:49
hemnathe reason why drivers do the exporting in initialize_connection, is because it's the only call into the driver that has the required information to do an export.16:49
*** mylu has joined #openstack-cinder16:49
hemnaI'm just pointing out the information.16:49
hemnaand our drivers aren't the only ones that do this16:49
hemnaI'm actually documenting other drivers that do this same thing on the etherpad.  I started working on that yesterday16:50
jgriffithhemna: I'm just pointing out that part of the reason there's a mismatch (as noted in the ether pad) is because a number of folks "did their own thing" rather than follow the reference.  Granted the reference is hard to follow in some cases16:50
jgriffithhemna: Cool...16:50
hemnayah, that's fine.16:50
hemnabut for those of us that "did their own thing", we had no choice16:50
hemnabecause create_export doesn't have the connector16:51
jgriffithhemna: I am of the opinion however that if the reference does it one way, and you do it another... the reference is the one that's "correct"16:51
hemnanope16:51
jgriffithhehe16:51
jgriffithfair enough16:51
*** mylu has quit IRC16:51
hemnathe connector isn't passed in create_export16:51
hemnaso many of us can't even create a target w/o having the information of who we are creating the target for.16:51
hemnare: connector16:52
hemnaso, I think if we just pass the connector into create_export16:52
jgriffithhemna: so why don't you change that?16:52
hemnathen that fixes that, and then initialize_connection can be exactly as you describe in the blog, nothing more than collecting existing information about the target, and passing it back.16:52
*** mutoulbj has joined #openstack-cinder16:52
jgriffithhemna: if you required that why wouldn't you just add it rather than go off and do something completely different?16:52
hemnathat would fix some of the confusion with how/why Nova calls initialize_connection many times during live migration16:52
jgriffithhemna: well, initialize_connection is the only call Nova has16:53
hemnawell, because I didn't understand it well, and it's not entirely clear in the code/documentation.16:53
hemnanor was it clear how/when nova calls init_connection and for what reasons.16:53
jgriffithhemna: what code documentation :)16:53
hemnajgriffith, yah I know.16:53
hemnaheh16:53
jgriffithhemna: which is why I wrote that this morning FWIW16:54
hemnaI'm not trying to come off as slamming cinder in any way, but more about pointing out existing issues that can help solidify live migration for a lot of folks.16:54
hemnaas it's clear we aren't the only ones with this issue.  :(16:54
jgriffithhemna: and also I noted that I suspect this is the live-migration issue with some drivers in the ether pad last week.. but it was completely ignored16:54
hemnayah I think the blog is great16:54
hemnait really helps clear up the purpose of the methods and what they are supposed to provide.16:54
hemnasorry, I must have missed that16:55
jgriffithI had hoped it would help... glad if it does even a little16:55
hemnaanyway, so I'm going to finish going through the drivers and point them out in the etherpad16:55
hemnathen create a spec that simple adds connector to create_export16:55
hemnayah absolutely16:55
SwansonCan we rename initialize_connection to something sane if it isn't actually initializing the connection?16:56
hemnaI'll post a patch that adds the connector to create_export and update every driver to at least accept it.16:56
hemnaSwanson, good luck with that :P16:56
hemnaSwanson, you'll need to shim that, and/or change every Nova call to it.16:57
Swansonhmmm16:58
*** DericHorn-HP has joined #openstack-cinder16:59
openstackgerritAbhishek Shrivastava proposed openstack/cinder: Adding delete wait loop for CloudByte ISCSI volumes.  https://review.openstack.org/20105916:59
openstackgerritOpenStack Proposal Bot proposed openstack/cinder: Updated from global requirements  https://review.openstack.org/20133617:00
*** aix has quit IRC17:00
*** cloudrancher has joined #openstack-cinder17:00
*** jistr has quit IRC17:00
*** cloudrancher has left #openstack-cinder17:00
openstackgerritAnna Sortland proposed openstack/cinder: Add delete/update_volume_metadata policy rules  https://review.openstack.org/20270117:01
*** dustins has joined #openstack-cinder17:02
*** mylu has joined #openstack-cinder17:02
*** bswartz has quit IRC17:02
*** abehl has joined #openstack-cinder17:02
*** merooney has joined #openstack-cinder17:03
*** dustins has quit IRC17:03
*** merooney has quit IRC17:03
*** dustins has joined #openstack-cinder17:03
*** Tross has joined #openstack-cinder17:04
*** merooney has joined #openstack-cinder17:04
*** e0ne has quit IRC17:09
*** Yogi1 has joined #openstack-cinder17:10
*** yuriy_n17 has quit IRC17:11
*** krtaylor has quit IRC17:13
*** Maike has quit IRC17:17
*** bswartz has joined #openstack-cinder17:18
*** IanGovett1 has joined #openstack-cinder17:18
*** IanGovett has quit IRC17:19
*** xyang has quit IRC17:20
myluHi guys, is there a way to use python-cinderclient to create a cinder client that just uses the token I pass in instead of authenticating it? I pass in `auth`, `session`. session is keystone session auth contains the auth_url and token I got from keystone17:21
myluI'm using cinderclient.client.Client to create a client right now, but I'm open any suggestions. Thanks!17:22
scottdaSwanson: I think the better answer is to create Cinder APIs as needed for things like get_connector_info_dict, so that Nova can call that instead of initialize_connection...17:25
scottdaAnd cleanup the Nova code so that initialize_connection only means initialize_connection.17:25
*** mtanino has joined #openstack-cinder17:25
DuncanTscottda: Changing the meaning of initialize_connection is hard... creating a new API that does some subset of the work of initialize_connection, then killing initialize_connection is far easier17:27
*** jordanP has joined #openstack-cinder17:27
j_kinghi DuncanT17:28
*** vilobhmm has quit IRC17:28
*** vilobhmm has joined #openstack-cinder17:28
hemnascottda, so, I think if I can get patch in that updates the create_export call to add the connector, then drivers can eventually move to use that17:28
*** sghanekar_ has quit IRC17:28
hemnaand initialize_connection should work as nova intends17:28
hemnare: look at the lvm and solidfire drivers17:29
hemnainitialize_connection in those is nothing more than information gathering17:29
hemnavs. almost every other driver17:29
hemnathat do the target creation/exporting inside initialize_connection today.17:29
hemnascottda, if I do that, then we don't need to change nova calling initialize_connection17:30
hemnait'll just work.17:30
hemnaand as a side note to this, we need to do a better job in Cinder of documenting what each of the driver functions are supposed to do.17:30
*** dustins has quit IRC17:30
hemnaas many aren't following it, and core reviewers are also not catching it (re: create_export vs. initialize_connection), myself included.17:31
openstackgerritEric Brown proposed openstack/cinder: Add bandit for security static analysis testing  https://review.openstack.org/17956817:31
rhe00_Does anyone here know if there is a way to tell tempest to fail the whole suite immediately if a sub test fails? That would speed up response time and simplify debugging, not having to wait for tempest to run through the whole test suite.17:31
hemnarhe00_, ^C ?17:31
rhe00_yes, when running manually. I would like to have it for the CI as well. :)17:32
jgriffithrhe00_: there's a "stop on first failure" option IIRC, but I'm not sure how to use it or exactly how it works.17:32
jgriffithrhe00_: maybe check out the docs on ostestr17:32
rhe00_jgriffith: Ok, I will take a look there. Thanks!17:32
*** dims_ has joined #openstack-cinder17:32
*** dustins has joined #openstack-cinder17:33
jgriffithrhe00_: https://wiki.openstack.org/wiki/Testr#How_can_I_exit_a_test_run_after_the_first_failure.3F17:33
*** annegentle has quit IRC17:33
jgriffithrhe00_: that's what I was thinking of... should do what you want17:33
*** casusbelli has left #openstack-cinder17:36
*** dims_ has quit IRC17:39
scottdaDuncanT: I'm not saying to change the meaning of initialize_connection, just to make sure Nova only uses it as intended...17:39
scottdanot, for example, to return a dict of connector info17:40
*** annashen has quit IRC17:40
scottdahemna: I'm hopeful that documenting the driver functions will be a part of this API effort...in fact, I'll add that to the goals now. At least for interactions with Nova.17:41
*** annashen has joined #openstack-cinder17:41
*** rushil has joined #openstack-cinder17:41
hemnascottda, ok that'd be awesome.17:43
*** zhenguo has quit IRC17:43
hemnascottda, I'm goig to try and get a cinder-spec put together today17:44
scottdaswell17:44
*** dustins has quit IRC17:46
*** rushil has quit IRC17:46
*** krtaylor has joined #openstack-cinder17:47
*** rushil has joined #openstack-cinder17:47
*** annashen has quit IRC17:47
*** rushil has quit IRC17:49
*** edmondsw has joined #openstack-cinder17:49
*** merooney has quit IRC17:49
*** annashen has joined #openstack-cinder17:49
*** edmondsw has quit IRC17:51
*** edmondsw has joined #openstack-cinder17:51
*** dims_ has joined #openstack-cinder17:52
*** dims_ has quit IRC17:53
*** sghanekar_ has joined #openstack-cinder17:55
*** dims_ has joined #openstack-cinder17:57
*** merooney has joined #openstack-cinder17:59
*** divab has joined #openstack-cinder17:59
*** DericHorn-HP has quit IRC18:04
*** bswartz has quit IRC18:05
*** angela-s has joined #openstack-cinder18:06
*** patrickeast has joined #openstack-cinder18:07
*** merooney has quit IRC18:08
*** abehl has quit IRC18:09
*** xek has quit IRC18:10
*** DTadrzak has quit IRC18:10
*** DTadrzak has joined #openstack-cinder18:12
*** xek has joined #openstack-cinder18:12
*** merooney has joined #openstack-cinder18:20
*** rushil has joined #openstack-cinder18:21
Swansonhemna: What I've added to the dell driver is a check to see if I've already mapped the volume to the given server.  If so I just return info.  Is that peachy for liberty?18:22
*** mtanino has quit IRC18:22
Swansonhemna: initialize_connection is the context for that statement.18:22
hemnaSwanson, yah, I'm not looking very deep into what I see18:23
hemnabut I'm just pointing out potential pain spots for individual drivers18:23
hemnabecause almost EVERY driver is doing nothing in create_export, and doing real work against the array in initialize_connection18:23
hemnawhich is 180 degrees contrary to jgriffith's blog post.18:23
hemnathere are a few that are doing things as documented in the post.18:24
hemnaI suppose I should be noting those as well in the etherpad, but I'm lazy18:24
hemnaI'm almost done going through them18:24
Swansonhemna: Oh, yeah.  My driver doesn't do that NOW.  The patch I'm working on includes that as a fix.  So it will map things and give info as appropriate.  Assuming create_export is called before initialize_connection it should behave as nova expects.18:24
hemnaSwanson, create_export is indeed called prior to initialize_connection.  but it doesn't contain the connector.18:25
hemnaso, I'm going to push up a cinder-spec and patch that changes create_export to add the connector18:25
hemnathen drivers can have the ability to do the actual exporting in create_export, and do the right thing in initialize_connection.18:26
*** porrua has joined #openstack-cinder18:26
hemnaonce everyone does that, then live migration will at least have a chance of working for everyone and not leave orphaned volumes behind on the source compute host.18:26
angela-sthingee: ping18:26
*** porrua has left #openstack-cinder18:26
Swansonhemna: I think my patch achieves the same thing.  If your patch is in soon I'll move to splitting things between create_export and initialize_connection.18:27
hemnaSwanson, so my patch will simply enable the passing of the connector to create_export.18:27
hemnaand add that param to every existing definition of create_export in drivers.   I can't fix every driver's internals of create_export.18:28
hemnabut this will at least enable them to do the right thing.18:28
hemnamaybe it's worth filing bugs against all these drivers?18:28
Swansonhemna: yeah, that's why I didn't connect the volume up in create_export.  Not enough information to do anything.18:28
hemnanot sure what to do about that.18:28
*** dustins has joined #openstack-cinder18:29
SwansonAt some point they'll be hit with live migration failing.  Once they look at that it should be an easy fix.  Ignoring the 3,000 mock test changes.18:30
hemnaheh :)18:30
hemnayup.18:30
*** erlon has quit IRC18:30
*** Yogi1 has quit IRC18:34
*** mutoulbj has quit IRC18:35
*** merooney has quit IRC18:38
*** jwang has joined #openstack-cinder18:38
hemnaok phew, I think I'm done18:45
hemnaso 28 drivers have issues in initialize_connection18:45
patrickeast:o18:45
hemnaout of...what 40 ?18:45
patrickeastis pure on the list?18:45
hemnayup18:46
hemnahttps://etherpad.openstack.org/p/CinderNovaAPI18:46
hemnapatrickeast, line 27918:46
hemnaso these are potential issues18:46
*** Yogi1 has joined #openstack-cinder18:46
hemnaas I can't look at the internals of every call to see or not18:46
patrickeastohh interesting18:46
patrickeastyea18:46
hemnabut almost all drivers do their work of creating the lun exports inside of initialize_connection18:46
hemnaand not inside of create_export18:46
*** Yogi11 has joined #openstack-cinder18:47
hemnasome drivers seem to do checks for existing exports and are probably o18:47
hemnaok18:47
hemnaso I'd say live migration only works for a very small handful of Cinder backends.18:47
smcginnishemna: Thanks for doing all the research on that.18:47
*** mtanino has joined #openstack-cinder18:47
hemnaI'm not saying these drivers are broken, but potentially broken.18:48
patrickeastso the issue is that initialize_connection gets called multiple times for the same volume+host combo?18:48
hemnabut what's clear is that almost everyone is confused about the purpose of initialize_connection.18:48
patrickeasterr initiatior*18:48
hemnapatrickeast, yes18:48
hemnamultiple times18:48
patrickeasti know i don’t really understand what the export methods are for18:48
*** mutoulbj has joined #openstack-cinder18:48
patrickeastok cool18:49
hemnanova simply wants the target information18:49
smcginnisI had asked way back what the difference was and no one at the time could give a clear answer.18:49
*** bswartz has joined #openstack-cinder18:49
hemnaand isn't calling it to do an attachment/export18:49
*** merooney has joined #openstack-cinder18:49
hemnathere is yet another problem in nova in post_live_migration that is probably broken for some cinder backends as well18:49
hemnanova is currently making an assumption that the connection information for a volume on compute host1 is exactly the same for compute host218:50
hemnaincluding target_portal, iqn, lun id  (and WWN for FC)18:50
hemnawhich is certainly not the case for all cinder backends18:50
*** Yogi1 has quit IRC18:50
patrickeasthaha yea thats a scary assumption18:51
hemnawhat happens is that once nove brings up the VM on the destination compute node, it saves the connection information for the volume attachment into the BDM18:51
hemnathen uses that same information to disconnect the volume from the source host.18:51
*** dims_ has quit IRC18:51
hemnaif any aspect of the volume connection is different, then nova could remove the wrong volume from the source host.18:51
hemnaor not remove anything, leaving orphaned volumes.18:52
patrickeastwow18:52
hemnawhich will create corruption in the future.18:52
patrickeastthats seriously bad18:52
*** dims_ has joined #openstack-cinder18:52
hemnayah :(18:52
hemnaI'm having my coworker write up that bug and post a patch fix for it asap.18:52
hemnait's a fairly simple fix.18:52
hemnabut.....requires calling initialize_connection again :)18:52
hemnaso.....18:53
patrickeasti have tasks to test out migration stuff with our backend in my backlog somewhere…. guess i need to move them up a bit18:53
hemnainitialize_connection needs to get fixed for cinder drivers that want live migration to work.18:53
hemnapatrickeast, https://etherpad.openstack.org/p/live-migration-results18:53
hemnawe have that etherpad going on18:53
*** mutoulbj has quit IRC18:53
hemnafrom the our testing with our 3 drivers + lvm18:53
patrickeastsomewhat related, i need to enabled multiattach for my driver18:53
patrickeastis there a way to test that easily?18:53
hemnawe are also putting together some scripts to help test verification18:53
hemnapatrickeast, not really.18:54
hemnapatrickeast, there are 5+ patches in nova still outstanding18:54
patrickeasti think it should pretty much just work if i enable the flag18:54
hemnaone of them just got out of WIP18:54
patrickeastbut i want to make sure18:54
hemnaso I don't know what the state of Nova is really.18:54
patrickeasthmm ok maybe ill hold off a while then18:54
patrickeastor try and cobble together a nova branch with all the patches18:54
hemnathere will probably be a whole new set of issues come up with multi-attach and live migration.18:55
hemnabut we won't know until its enabled in nova.18:55
patrickeastmakes sense18:55
patrickeastis it looking like those features will make it into L for nova?18:55
hemnaat this point, I'm just trying to get live migration to a point between nova and cinder in general working.18:55
hemnaand leave it up to driver writers to fix their own issues.18:56
hemnabut at least raising awareness is step 118:56
patrickeasthaha, thats really as much as you can do18:56
*** shyama has quit IRC18:56
*** dims_ has quit IRC18:56
patrickeastalright well i’m off to lunch, i’ll put up a patch to fix pure’s initialize_connection later today18:57
*** annashen has quit IRC19:00
*** liuxg has joined #openstack-cinder19:01
*** liuxg has quit IRC19:06
hemnaok I'll finish up the cinder-spec after lunch...bbiab19:08
*** belmoreira has joined #openstack-cinder19:18
*** ganso_ has quit IRC19:18
*** lpetrut has joined #openstack-cinder19:20
*** annegentle has joined #openstack-cinder19:21
*** divab has quit IRC19:21
*** divab has joined #openstack-cinder19:21
openstackgerritGaurang Tapase proposed openstack/cinder: Adding NFS support to the GPFS Driver  https://review.openstack.org/19788419:22
*** divab has quit IRC19:27
*** lpabon has quit IRC19:29
*** Apoorva has quit IRC19:32
*** annashen has joined #openstack-cinder19:33
*** ronis has quit IRC19:43
*** mylu has quit IRC19:43
*** harlowja has joined #openstack-cinder19:49
*** harlowja_ has quit IRC19:49
*** mylu has joined #openstack-cinder19:50
*** harlowja has quit IRC19:52
*** harlowja has joined #openstack-cinder19:53
*** Yogi11 has quit IRC19:57
*** Apoorva has joined #openstack-cinder20:03
*** Zanatoz has quit IRC20:06
openstackgerritWalter A. Boring IV (hemna) proposed openstack/cinder-specs: Add Connector to create_export  https://review.openstack.org/20276520:07
*** xyang1 has joined #openstack-cinder20:09
*** belmoreira has quit IRC20:11
*** salv-orlando has quit IRC20:11
*** DericHorn-HP has joined #openstack-cinder20:11
tsekiyamaHi, is it intended for non-admin users to be allowed to get a result by "cinder show <volume-uuid-in-others-tenant>" ?20:12
tsekiyamaThey cannot list or delete volumes in not authorized tenant, but if they know the UUID, they can get the info. I wonder this is correct behavior20:15
*** merooney has quit IRC20:15
patrickeasttsekiyama: haha i noticed that too when playing with the image cache, there isn’t any check to restrict that from what I saw20:16
patrickeastat least once you are past the first api calls20:17
Swansonhemna: So what is remove_export for?20:17
patrickeasti didn’t look much higher up the stack20:17
hemnaheh20:17
hemnaSwanson, I was JUST looking at that, and I think the connector needs to be there as well.20:17
*** jordanP has quit IRC20:17
Swansonhemna: My first question is what is expected to happen in terminate_connection vs remove_export?20:18
patrickeasthemna: Swanson: is there documentation somewhere that explains what each of the methods are actually supposed to be doing?20:18
hemnaSwanson, good question20:18
hemnaI'm not sure it's really documented, which is part of the problem.20:18
Swansonpatrickeast: this is the closest I know of ...  http://j-griffith.blogspot.com/20:18
mriedemanyone here work on the scality volume driver?20:19
*** divab has joined #openstack-cinder20:20
hemnaso remove_export is called at the bottom end of detach_volume20:21
hemnain the volume manager20:21
hemnawhich is after terminate_connection20:22
hemnaso the problem with waiting until remove_export to actual remove the export on the array, is that some volumes may show back up on the compute host.20:22
hemnabetween the time libvirt volume's disconnect_volume, then cinder's terminate_connection, then cinder's detach_volume.20:23
SwansonOne wonders what it is for.20:23
hemnaif a rescan happens between disconnect_volume and remove_export.20:23
hemnawe'll get orphaned volumes on the host that had the volume.20:24
SwansonMy code actually says " We do nothing here to match the nothing we do in create export."20:24
hemnalol20:24
hemnayah20:24
patrickeasthaha20:24
patrickeastsame20:24
hemnaI haven't looked into how many driver do anything inside of remove_export20:24
hemnaterminate_connection seems like the correct spot to do "remove the exporting of a volume" from the backend.20:25
hemnabut then again I could be wrong.20:25
hemnait just seems that remove_export is way too late.20:25
patrickeasti think thats what most of them do anyways20:25
hemnahave to look into that one.20:26
hemnabut maybe we can get rid of it20:26
hemnadunno20:26
hemnabut I'm not into boiling the ocean.20:26
patrickeastyou dont want to refactor alllll the drivers?20:27
*** e0ne has joined #openstack-cinder20:27
hemna:P20:28
hemnaI'm working on the patch to just add the connector to create_export.20:28
SwansonI just went through a ton and most do nothing.20:28
*** annegentle has quit IRC20:28
hemnabasically touching every driver.20:28
hemnaSwanson, that's what I had thought.20:29
hemnacool20:29
hemnaSwanson, the solidfire driver does do work in remove_export20:30
Swansonlvm does something.  Just not sure what.  Calls the target driver remove export.  I don't think this is used by backends that are separate from the server.20:30
*** jasondotstar has joined #openstack-cinder20:30
hemnait calls the target_driver.remove_export, which for iscsi does 'stuff'20:30
*** jungleboyj has quit IRC20:30
hemnaheh20:30
SwansonYep.  Same for LVM.20:30
hemnajgriffith is probably the only person that understands it, since he wrote the target object stuff.20:31
SwansonYep.20:31
hemnathe ISCSITarget.remove_export looks like it does remove the export.20:31
hemnaand ISCSITarget.terminate_connection does nothing20:32
hemnathere is a race condition there I think w/ iscsi rescans in the call chain20:32
hemnagoing to have to research that one20:33
hemnawe might be leaving orphaned volumes behind on the host.20:33
*** akerr has quit IRC20:33
tsekiyamaISCSITarget.terminate_connection does something (delete initiator wwn from the iSCSI target) if target_helper = "lioadm", IIRC.20:33
hemnahttps://github.com/openstack/cinder/blob/master/cinder/volume/targets/iscsi.py#L30620:34
hemnaISCSITarget.terminate_connection is only a pass20:34
hemnadoes nothing20:35
jgriffithhemna: it's only used by LIO20:35
tsekiyamathat is overriden here https://github.com/openstack/cinder/blob/master/cinder/volume/targets/lio.py#L19220:35
jgriffithhemna: it's special for LIO targets20:35
hemnajgriffith, what is the target object that solidfire uses?20:35
jgriffithhemna: we use our own20:36
jgriffithhemna: inherited from the base iscsi class20:36
hemnahaven't actually looked in the solidfire terminate_connection code to see if it's calling a target or not ?20:36
hemnaok20:36
hemnaI'm just trying to wrap my head around all of this20:36
jgriffithhemna: nah... SF doesn't work like that20:36
jgriffithhemna: we rely on things to be done from the initiator side20:36
*** krtaylor has quit IRC20:36
hemnaok, so I'll ignore remove_export for now20:37
*** dims_ has joined #openstack-cinder20:37
jgriffithhemna: the detach/remove export stuff is another ball of wax20:37
*** piyanai has joined #openstack-cinder20:37
hemnayah, I have to put my blinders on for now.20:37
*** cdelatte has quit IRC20:37
*** delattec has quit IRC20:37
jgriffithhemna: if you *need* it, just take a look at how like LIO uses it20:37
jgriffithhemna: they're the only ones I know of that need it20:37
jgriffithhemna: there may be drivers over-riding it internally as well....20:38
hemnaI'm just going through the drivers now and adding the connector to create_export20:38
jgriffithhemna: OH!!  Cool20:38
hemnaI have the spec up20:38
hemnaand the BP20:38
jgriffithhemna: I actually started that, but wanted to jump out the window20:38
hemnaI'm working on the code now20:38
jgriffithhemna: awesome20:38
hemnaonce I have a WIP up, I'm going to have my coworker, update our drivers to do the actual exporting in create_export, and change how our initialize_connection works.20:39
*** thangp has quit IRC20:39
*** xyang1 has quit IRC20:39
jgriffithhemna: this is one of those things that makes me say "all driver methods should have a kwargs" :)20:39
hemnathis might help other see how to change theirs20:39
hemna:)20:39
hemnayah, that's the hammer approach20:39
*** xyang1 has joined #openstack-cinder20:39
hemnawould be future proof though20:39
jgriffithhemna: FWIW, I think there's another way you can make that work20:40
hemnaso, let me post up this WIP and see what folks think.20:40
hemnaoutside of this, I think we are in desperate need of a tutorial/HOWTO/documentation for driver writers20:41
hemnayour blog post was great20:41
guitarzankwargs all the things sounds like fun20:42
guitarzansounds bad, but fun!20:42
hemnalets just kwargs everything.  Imagine all the fun we'll have.20:42
hemna:P20:42
*** salv-orlando has joined #openstack-cinder20:45
*** xyang has joined #openstack-cinder20:46
openstackgerritMitsuhiro Tanino proposed openstack/cinder: Efficient volume copy for generic volume migration  https://review.openstack.org/18370120:51
openstackgerritMitsuhiro Tanino proposed openstack/cinder: Adds framework for get_capabilities() feature  https://review.openstack.org/20124320:51
*** rushil has quit IRC20:54
*** piyanai has quit IRC20:55
*** piyanai has joined #openstack-cinder20:59
*** ociuhandu has joined #openstack-cinder21:02
*** piyanai has quit IRC21:04
*** cdelatte has joined #openstack-cinder21:05
hemnaarg21:09
hemnawhat was the magic sauce again for running tox -epy27 cinder.tests.unit.my.individual.test ?21:09
hemna*sigh*21:09
jgriffith-- -n21:09
hemnait was something magic needed to make ostestr happy21:10
jgriffithhemna: ^^ Look up21:10
hemnajgriffith, thanks21:10
*** Lee1092 has quit IRC21:15
*** e0ne has quit IRC21:16
*** mylu has quit IRC21:18
openstackgerritTom Jose Kalapura proposed openstack/python-cinderclient: Add response message when volume delete  https://review.openstack.org/20279021:19
openstackgerritTomoki Sekiyama proposed openstack/python-cinderclient: Implement reset-state for attach_status and migration_status  https://review.openstack.org/16430921:26
openstackgerritMatt Riedemann proposed openstack/cinder: scality: add export and name keys to os-initialize_connection info  https://review.openstack.org/20279521:29
*** kjnelson has quit IRC21:32
*** piyanai has joined #openstack-cinder21:33
*** krtaylor has joined #openstack-cinder21:36
*** mriedem has quit IRC21:38
*** boris-42 has joined #openstack-cinder21:42
*** edmondsw has quit IRC21:45
*** bnemec has quit IRC21:46
*** dustins has quit IRC21:47
openstackgerritPatrick East proposed openstack/cinder: Don’t log warnings in Pure initialize_connection  https://review.openstack.org/20280521:48
*** mutoulbj has joined #openstack-cinder21:51
*** sghanekar_ has quit IRC21:53
openstackgerritWalter A. Boring IV (hemna) proposed openstack/cinder: Add connector object to create_export  https://review.openstack.org/20280821:56
*** mutoulbj has quit IRC21:56
*** annashen has quit IRC21:57
*** sghanekar_ has joined #openstack-cinder21:59
*** vilobhmm has quit IRC21:59
*** vilobhmm has joined #openstack-cinder22:00
*** DericHorn-HP has quit IRC22:02
SwansonLook at the file count before you hit the all changes link.22:04
*** ociuhandu has quit IRC22:06
*** gouthamr has quit IRC22:07
*** porrua has joined #openstack-cinder22:09
*** piyanai has quit IRC22:12
*** primechuck has quit IRC22:13
*** primechuck has joined #openstack-cinder22:15
*** jasondotstar has quit IRC22:15
*** primechuck has quit IRC22:16
*** mriedem has joined #openstack-cinder22:32
*** xyang1 has quit IRC22:33
*** porrua has quit IRC22:33
*** lpetrut has quit IRC22:37
*** IanGovett1 has quit IRC22:38
*** lpetrut has joined #openstack-cinder22:45
*** lcurtis has quit IRC22:54
*** vilobhmm has quit IRC22:57
*** gouthamr has joined #openstack-cinder22:57
*** vilobhmm has joined #openstack-cinder22:57
*** gouthamr has quit IRC22:59
*** gouthamr has joined #openstack-cinder23:00
openstackgerritWalter A. Boring IV (hemna) proposed openstack/os-brick: FC discover existing devices for removal  https://review.openstack.org/20282623:13
openstackgerritOpenStack Proposal Bot proposed openstack/cinder: Updated from global requirements  https://review.openstack.org/20133623:14
*** daneyon_ has left #openstack-cinder23:15
*** salv-orlando has quit IRC23:16
*** akerr has joined #openstack-cinder23:16
*** crose has quit IRC23:17
openstackgerritOpenStack Proposal Bot proposed openstack/python-cinderclient: Updated from global requirements  https://review.openstack.org/20089823:20
anishhemna: testcases23:20
hemnaok cool23:20
*** zigo has quit IRC23:21
*** zigo has joined #openstack-cinder23:22
*** markstur is now known as markstur_away23:24
*** jasondotstar has joined #openstack-cinder23:25
*** hemna is now known as hemnafk23:25
*** markstur_away has left #openstack-cinder23:27
*** sghanekar_ has quit IRC23:30
*** openstackstatus has joined #openstack-cinder23:33
*** ChanServ sets mode: +v openstackstatus23:33
*** lpetrut has quit IRC23:34
*** erlon has joined #openstack-cinder23:39
*** jaypipes has quit IRC23:50
*** barra204 has joined #openstack-cinder23:54
*** mriedem1 has joined #openstack-cinder23:55
*** mriedem has quit IRC23:55

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