Wednesday, 2018-09-19

*** chkumar|off is now known as chkumar|ruck06:53
*** tosky has joined #refstack07:37
*** kopecmartin has joined #refstack07:37
arxcruzkopecmartin: regarding https://review.openstack.org/#/c/603159 it's failing on refstack job, shall we fix that first?09:09
kopecmartinarxcruz, yes, I'm trying to find out, what's wrong09:10
arxcruzkopecmartin: i know09:10
arxcruzkopecmartin: first, the refstack code look for tennant_name instead of project_name, so it return None, we should change refstack to also look for project_name when load the accounts.yaml09:11
arxcruzkopecmartin: second, I'm not sure, but refstack adds the /v3 and shouldn't, but I'm not 100% sure, i was looking into that on ptg09:11
kopecmartinyeah, I discovered that thing about tenant_name, it's not used in Tempest anymore09:12
arxcruzkopecmartin: in tempest, it check both09:12
openstackgerritArx Cruz proposed openstack/refstack-client master: Update refstack client to use project instead of tenant  https://review.openstack.org/60361609:20
arxcruzkopecmartin: i believe this will fix the problem ^09:20
kopecmartinarxcruz, nice, it looks good09:22
arxcruzkopecmartin: i'm not sure the return should remain tenant_{id|name} or project09:23
arxcruzwe will see the gates09:23
arxcruzkopecmartin: if you can update your patch with a depends-on09:23
kopecmartinsure09:24
openstackgerritMartin Kopec proposed openstack/refstack-client master: Fix overrides and image_path  https://review.openstack.org/60315909:25
*** markvoelker has quit IRC09:25
*** markvoelker has joined #refstack10:30
*** markvoelker has quit IRC11:00
*** markvoelker has joined #refstack11:57
*** markvoelker has quit IRC12:31
*** mardim has quit IRC12:34
kopecmartinarxcruz, more refactoring in refstack is needed in order to get rid of tenane_name :/14:25
arxcruzkopecmartin: seriously ?14:25
arxcruzdidn't work ?14:25
kopecmartinno, it didn't14:25
kopecmartinand when i  grepped the source code for tenant_name, there are many other places where it's used14:25
toskydoes it mean that it can't work with keystone v3?14:27
chkumar|ruckkopecmartin: arxcruz we also need make sure it does not break the refstack server api it is dependent on them14:38
chkumar|ruckmay be hogepodge ^^ can help here14:38
arxcruztosky: not really, it means either the accounts.yaml uses tenant_name instead of project_name or we update refstack to check for both14:40
toskyarxcruz: can't we simply set tenant_name in the generated accounts.yaml in addition of project_name?14:40
toskykopecmartin: ^14:40
kopecmartintosky, we can, but is it a good idea?14:41
toskythat's what openrc does (from devstack), it sets both OS_PROJECT_NAME and OS_TENANT_NAME14:41
kopecmartintenant_name is deprecated14:41
toskydeprecated != removed14:41
toskyif it's still used, it should be there14:41
toskyuhm, when was the Identity v2 API removed?14:42
kopecmartini think that tempest doesn't use it anymore14:42
toskyfor master14:42
arxcruztosky: i don't know because tempest check for both14:42
toskyis it tempest?14:42
arxcruzon tempest side14:42
arxcruztosky: tempest also uses accounts.yaml to generate the credentials14:43
toskyarxcruz: doesn't keystone v2 code use it?14:43
arxcruztosky: ¯\_(ツ)_/¯14:44
toskyif it's used, it's used14:44
chkumar|rucktosky: https://github.com/openstack/tempest/blob/master/tempest/config.py#L20814:44
toskyplease see if adding it to accounts.yaml makes everything fine14:44
toskychkumar|ruck: aaand?14:45
chkumar|ruckidentity v2 is removed in queens release but we need to support till newton so we need to keep testing that14:45
chkumar|ruckthere is currently one job testing v2 http://zuul.openstack.org/builds.html?job_name=swift-dsvm-functional-identity-v214:47
toskychkumar|ruck: did you only look by job name?14:49
toskyI'm not sure that's enough to check the type of tests14:49
chkumar|ruckit is only for swift and kyestone changes14:49
toskydid you see what tempest-full executes on pike?14:49
toskythe name itself is not enough to see if keystone v2 tests are executed14:50
chkumar|rucktempest-full-pike uses identity v3 by default https://github.com/openstack-dev/devstack/blob/stable/pike/stackrc#L211 from devstack which is what I am getting14:57
chkumar|ruckthere is notmuch in zuul.yaml14:57
toskychkumar|ruck: see ENABLE_IDENTITY_V2=$(trueorfalse True ENABLE_IDENTITY_V2)14:59
toskythat's more relevant14:59
chkumar|ruckhttp://codesearch.openstack.org/?q=ENABLE_IDENTITY_V2&i=nope&files=&repos= this is what I have basically I am seeing swift jobs only15:03
toskychkumar|ruck: it's True by default15:04
toskyso no need to set anything15:04
toskyit was switched to False in Queens (correctly, no more v2)15:05
chkumar|ruckyes15:05
toskytl;dr pike devstack deployes by default with both v3 and v215:05
chkumar|ruckso the question is if we get rid of tenenat_name to projest_name or keep it both ?15:06
toskyone thing is what is handled internally in tempestconf; another thing is the input provided to (refstack and) tempest15:10
toskyas long as we print we don't break pike tests, then whatever solution is fine15:11
toskythat's why I suggested to just add tenant_name into accounts.yaml15:11
chkumar|rucksounds good to me15:12
chkumar|ruckarxcruz: kopecmartin ^^15:12
kopecmartintosky, into accounts.yaml? not to tempest.conf?15:14
kopecmartinbased on my testing, by adding tenant_name to identity section equal to identity.project_name value, the problem is solved15:18
toskyoh, wherever it is correct15:21
*** chkumar|ruck is now known as chkumar|off15:34
openstackgerritMartin Kopec proposed openstack/refstack-client master: Fix overrides and image_path  https://review.openstack.org/60315915:48
arxcruzi don't like this approach15:49
arxcruzhonestly15:49
arxcruzwe are starting to do workarounds with overrides, which i don't like15:49
arxcruzI would like to fix the refstack to check for both tenant and project name15:50
arxcruzthat's how tempest do15:50
kopecmartinarxcruz, ok15:50
kopecmartinat least we will see if it's working tihs way15:50
toskybut I didn't want to say to use overrides; I wanted to say that, if tenant_name is needed at this point because refstack still consumes it, it should be set in tempest.conf, without the need for an override15:53
*** kopecmartin has quit IRC15:56
hogepodgeI'm good with replacing tenant_name. Keystone v2 is long deprecated in Interop guidelines19:56

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