Friday, 2017-07-21

*** oomichi has joined #openstack-keystone00:02
*** david-lyle has joined #openstack-keystone00:03
*** ducttape_ has joined #openstack-keystone00:07
*** ducttap__ has joined #openstack-keystone00:10
*** ducttape_ has quit IRC00:10
*** ducttap__ has quit IRC00:15
lbragstadeandersson: will not fix? it sounds like you still want the fix though?00:27
*** zhurong has joined #openstack-keystone00:31
openstackgerritJaewoo Park proposed openstack/keystone master: Add database migration for project tags  https://review.openstack.org/48445600:32
*** masber has quit IRC00:33
*** masber has joined #openstack-keystone00:33
*** bknudson has joined #openstack-keystone00:35
*** bknudson has quit IRC00:35
*** thorst has joined #openstack-keystone00:39
*** Shunli has joined #openstack-keystone00:42
eanderssonlbragstad, yea - I mean for me yaml and templated are still two different things00:43
eanderssonyaml is a working replacement, but templated will still be broken, even if deprecated00:43
*** thorst has quit IRC00:44
*** phalmos_ has quit IRC00:49
*** dave-mcc_ has joined #openstack-keystone01:00
*** thorst has joined #openstack-keystone01:11
*** thorst has quit IRC01:11
*** ducttape_ has joined #openstack-keystone01:15
*** tobberydberg has joined #openstack-keystone01:16
*** ducttape_ has quit IRC01:20
*** tobberydberg has quit IRC01:22
openstackgerritTin Lam proposed openstack/keystone master: Add database migration for project tags  https://review.openstack.org/48445601:46
*** jmlowe has quit IRC01:49
*** zsli_ has joined #openstack-keystone01:53
*** Shunli has quit IRC01:56
*** markvoelker has quit IRC02:09
*** markvoelker has joined #openstack-keystone02:09
*** markvoelker has quit IRC02:14
*** ducttape_ has joined #openstack-keystone02:16
*** ducttape_ has quit IRC02:21
*** ducttap__ has joined #openstack-keystone02:21
*** ducttap__ has quit IRC02:23
*** ducttape_ has joined #openstack-keystone02:23
*** ducttape_ has quit IRC02:28
*** ducttape_ has joined #openstack-keystone02:33
*** dave-mcc_ has quit IRC02:42
*** ducttape_ has quit IRC02:45
*** ducttape_ has joined #openstack-keystone02:47
*** ducttape_ has quit IRC02:48
*** ducttap__ has joined #openstack-keystone02:48
*** ducttap__ has quit IRC02:49
*** ducttape_ has joined #openstack-keystone02:57
*** otleimat has quit IRC02:59
*** ducttape_ has quit IRC02:59
*** ducttape_ has joined #openstack-keystone02:59
*** ducttape_ has quit IRC03:04
*** r-daneel has joined #openstack-keystone03:05
*** ducttape_ has joined #openstack-keystone03:07
*** phalmos has joined #openstack-keystone03:09
morganeandersson: note that we probably can't backport the fix far (1 release at most)03:11
*** ducttape_ has quit IRC03:11
*** thorst has joined #openstack-keystone03:12
*** thorst has quit IRC03:17
*** markvoelker has joined #openstack-keystone04:10
*** hoonetorg has joined #openstack-keystone04:32
*** markvoelker has quit IRC04:45
*** nicolasbock has joined #openstack-keystone04:54
*** rajalokan has joined #openstack-keystone04:59
*** r-daneel has quit IRC05:01
*** r-daneel has joined #openstack-keystone05:02
*** ducttape_ has joined #openstack-keystone05:08
*** ducttape_ has quit IRC05:12
*** ducttap__ has joined #openstack-keystone05:12
*** thorst has joined #openstack-keystone05:13
*** phalmos has quit IRC05:14
*** ducttap__ has quit IRC05:17
*** thorst has quit IRC05:18
*** tobberydberg has joined #openstack-keystone05:21
*** rcernin has quit IRC05:22
*** tobberydberg has quit IRC05:26
*** rcernin has joined #openstack-keystone05:36
*** markvoelker has joined #openstack-keystone05:42
*** phalmos has joined #openstack-keystone05:46
*** alex_xu has quit IRC05:48
*** alex_xu has joined #openstack-keystone05:49
*** alex_xu has quit IRC05:56
*** alex_xu has joined #openstack-keystone05:56
*** nicolasbock has quit IRC05:58
*** nicolasbock has joined #openstack-keystone06:00
*** markvoelker has quit IRC06:14
*** thorst has joined #openstack-keystone06:27
*** thorst has quit IRC06:31
*** prashkre_ has joined #openstack-keystone06:32
*** jhesketh has quit IRC06:35
*** jhesketh has joined #openstack-keystone06:35
*** links has joined #openstack-keystone06:37
*** raj_singh has quit IRC06:38
*** phalmos has quit IRC06:43
*** rcernin has quit IRC06:58
*** rcernin has joined #openstack-keystone06:58
*** markvoelker has joined #openstack-keystone07:11
*** ducttape_ has joined #openstack-keystone07:14
*** aojea has joined #openstack-keystone07:16
*** tesseract has joined #openstack-keystone07:16
*** zhurong has quit IRC07:18
*** ducttape_ has quit IRC07:18
*** bhagyashris has quit IRC07:18
*** tobberydberg has joined #openstack-keystone07:24
*** tobberydberg has quit IRC07:28
*** markvoelker has quit IRC07:45
*** zhurong has joined #openstack-keystone07:58
*** dims has quit IRC08:09
*** dims has joined #openstack-keystone08:11
*** ducttape_ has joined #openstack-keystone08:15
*** ducttape_ has quit IRC08:19
*** dims has quit IRC08:21
*** dims has joined #openstack-keystone08:23
*** tobberydberg has joined #openstack-keystone08:26
*** thorst has joined #openstack-keystone08:28
*** tobberydberg has quit IRC08:30
*** tobberydberg has joined #openstack-keystone08:30
*** thorst has quit IRC08:33
*** aselius has quit IRC08:35
*** markvoelker has joined #openstack-keystone08:42
*** tobberydberg has quit IRC08:55
*** tobberydberg has joined #openstack-keystone08:56
*** tobberydberg has quit IRC08:58
*** tobberydberg has joined #openstack-keystone08:58
*** zsli_ has quit IRC09:06
*** zsli_ has joined #openstack-keystone09:06
*** zsli__ has joined #openstack-keystone09:12
*** ducttape_ has joined #openstack-keystone09:15
*** zsli_ has quit IRC09:16
*** markvoelker has quit IRC09:16
*** ducttape_ has quit IRC09:20
*** tobberydberg has quit IRC09:35
*** tobberydberg has joined #openstack-keystone09:35
*** tobberydberg has quit IRC09:40
*** zsli__ has quit IRC09:44
*** rajalokan has quit IRC09:52
*** rajalokan has joined #openstack-keystone10:02
*** markvoelker has joined #openstack-keystone10:12
*** rajalokan has quit IRC10:20
*** thorst has joined #openstack-keystone10:29
*** thorst has quit IRC10:33
openstackgerritprashkre proposed openstack/keystone master: Filter users and groups in ldap  https://review.openstack.org/48530210:36
*** rajalokan has joined #openstack-keystone10:38
*** markvoelker has quit IRC10:45
*** zhurong has quit IRC10:50
*** raildo has joined #openstack-keystone11:04
*** tobberydberg has joined #openstack-keystone11:11
*** aojea has quit IRC11:22
*** aojea has joined #openstack-keystone11:30
*** rajalokan has quit IRC11:32
*** aojea has quit IRC11:34
*** aojea has joined #openstack-keystone11:39
*** markvoelker has joined #openstack-keystone11:43
*** aojea has quit IRC11:43
*** aojea has joined #openstack-keystone11:48
*** aojea has quit IRC11:53
*** aojea has joined #openstack-keystone11:57
*** thorst has joined #openstack-keystone11:59
*** aojea has quit IRC12:01
*** thorst has joined #openstack-keystone12:04
*** aojea has joined #openstack-keystone12:06
*** aojea has quit IRC12:09
*** aojea has joined #openstack-keystone12:09
*** markvoelker has quit IRC12:16
*** markvoelker has joined #openstack-keystone12:26
*** Drankis has joined #openstack-keystone12:32
*** jmlowe has joined #openstack-keystone12:39
*** jmlowe has quit IRC12:40
*** dave-mccowan has joined #openstack-keystone12:41
*** edmondsw has joined #openstack-keystone12:44
*** dave-mcc_ has joined #openstack-keystone12:46
*** dave-mccowan has quit IRC12:48
*** jrist has quit IRC12:49
*** jrist has joined #openstack-keystone13:03
*** ducttape_ has joined #openstack-keystone13:08
knikollao/13:08
lbragstado/13:11
*** ducttape_ has quit IRC13:12
*** catintheroof has joined #openstack-keystone13:25
openstackgerritprashkre proposed openstack/keystone master: Filter users and groups in ldap  https://review.openstack.org/48530213:26
*** catinthe_ has joined #openstack-keystone13:26
*** jmlowe has joined #openstack-keystone13:30
*** catintheroof has quit IRC13:30
*** lwanderley has joined #openstack-keystone13:32
*** Drankis has quit IRC13:33
*** bknudson has joined #openstack-keystone13:35
*** lucasxu has joined #openstack-keystone13:37
*** tobberydberg has quit IRC13:37
*** tobberydberg has joined #openstack-keystone13:38
*** tobberydberg has quit IRC13:42
*** links has quit IRC13:43
*** dansmith is now known as superdan13:57
*** jmlowe has quit IRC14:15
*** jrist has quit IRC14:26
*** r-daneel has quit IRC14:27
*** bknudson has quit IRC14:27
*** jmlowe has joined #openstack-keystone14:28
*** jrist has joined #openstack-keystone14:39
*** prashkre_ has quit IRC14:51
*** aselius has joined #openstack-keystone15:03
*** hoonetorg has quit IRC15:05
*** ducttape_ has joined #openstack-keystone15:10
*** rcernin has quit IRC15:14
*** ducttape_ has quit IRC15:14
*** jrist has quit IRC15:18
*** r-daneel has joined #openstack-keystone15:20
*** ducttape_ has joined #openstack-keystone15:24
*** lwanderley has quit IRC15:28
*** ducttape_ has quit IRC15:29
*** aojea has quit IRC15:30
*** aojea has joined #openstack-keystone15:30
*** aojea has quit IRC15:35
*** tobberydberg has joined #openstack-keystone15:42
openstackgerritLance Bragstad proposed openstack/keystone master: Remove policy for self-service password changes  https://review.openstack.org/48581815:47
*** tobberydberg has quit IRC15:52
*** tobberydberg has joined #openstack-keystone15:55
*** jrist has joined #openstack-keystone15:57
*** jrist has quit IRC15:57
*** jrist has joined #openstack-keystone15:57
*** tobberydberg has quit IRC16:01
*** ducttape_ has joined #openstack-keystone16:25
*** ducttape_ has quit IRC16:30
openstackgerritTin Lam proposed openstack/keystone master: Add database migration for project tags  https://review.openstack.org/48445616:38
*** r-daneel has quit IRC16:47
*** dave-mccowan has joined #openstack-keystone16:48
*** dave-mcc_ has quit IRC16:50
*** r-daneel has joined #openstack-keystone16:58
-openstackstatus- NOTICE: Restarting Gerrit for our weekly memory leak cleanup.17:05
openstackgerritLance Bragstad proposed openstack/keystonemiddleware master: Update comment about fetch token kwargs  https://review.openstack.org/48618417:10
*** prashkre_ has joined #openstack-keystone17:14
*** prashkre has joined #openstack-keystone17:15
*** thorst has quit IRC17:17
*** thorst has joined #openstack-keystone17:20
*** dave-mccowan has quit IRC17:23
*** thorst has quit IRC17:24
morganlbragstad: ugh. i hate that v2 and v3 endpoints are effectively incompatible17:26
*** ducttape_ has joined #openstack-keystone17:26
morganlbragstad: we did a VERY bad job of this.17:26
lbragstadyeah17:26
morganit makes it damn near impossible to do file-system based catalogs.17:26
*** dave-mccowan has joined #openstack-keystone17:26
* morgan grumbles.17:26
*** rhini has joined #openstack-keystone17:27
lbragstadthe migration between the two was kind of a pain17:27
morgani know what i need to do to fix this, but the volume of data processing is painful17:27
morganthe filesystem catalog will actually support v2 and v3 completly17:27
morgani need to make a serious pass on constructing the raw data in a better way (pre-rendered) in memory on load17:27
morganbut it's pretty close.17:28
lbragstadnice17:28
morganit'll eat a chunk more memory17:28
lbragstadi assume that will make defining them in the file easier, too17:28
morganbut, it will be the most complete/correct form17:28
morganwell17:28
morganhttps://www.irccloud.com/pastebin/9naG0Ok9/17:28
morgan^ that is still going to be the yaml17:28
morganbut the difference is v2 and v3 endpoints will be fully constructed17:29
morganalso the #NOTE isn't endpoint, but interface (still)17:29
morganjust a typo17:29
rhinihello, quick question :)17:29
rhiniif we have domains do we need to use domain roles? do we lose anything by not using such roles?17:29
morganlbragstad: so, what i will do is process the yaml into pre-built endpoints that just need the data run through formatter17:30
morganand set17:30
lbragstadrhini: no - you can use normal roles one domains17:30
lbragstadon*17:30
*** ducttape_ has quit IRC17:30
rhiniok thank you!17:30
lbragstadrhini: the thing domain roles give you is that they are limited to use only within the domain they are created17:30
lbragstadrhini: whereas traditional roles can be used across multiple domains or projects17:31
rhiniahh that makes more sense now17:31
lbragstadmorgan: that sounds sane17:31
lbragstadrhini: so if you had a domain that *needed* specific role assignment and you wanted to keep those isolated to that domain only17:31
lbragstadso that they don't accidentally get used somewhere else, you can17:32
rhinigot it.. that is very good to know17:32
rhinithank you!17:32
lbragstadrhini: anytime17:33
lbragstadmorgan: i'm digging into http://lists.openstack.org/pipermail/openstack-dev/2017-July/119988.html17:33
lbragstadmorgan: do you have any context on that ^17:33
lbragstadi remember seeing some bugs come through that highlighted the confusion with auth_uri, but i don't think they were pursed, yet17:34
morganno context atm17:36
lbragstadok - i'll keep digging17:36
*** otleimat has joined #openstack-keystone17:41
*** thorst has joined #openstack-keystone17:45
*** tobberydberg has joined #openstack-keystone18:01
*** tobberydberg has quit IRC18:06
*** nicolasbock has quit IRC18:06
*** nicolasbock has joined #openstack-keystone18:08
*** tobberydberg has joined #openstack-keystone18:25
*** jrist has quit IRC18:29
*** rhini has quit IRC18:30
*** ducttape_ has joined #openstack-keystone18:32
*** tobberydberg has quit IRC18:34
*** tobberydberg has joined #openstack-keystone18:34
*** tobberyd_ has joined #openstack-keystone18:36
*** tobberyd_ has quit IRC18:36
*** ducttape_ has quit IRC18:37
-openstackstatus- NOTICE: docs.o.o is currently broken, we're investigating18:39
*** tobberydberg has quit IRC18:41
*** MasterOfBugs has joined #openstack-keystone18:45
*** nicolasbock has quit IRC18:45
openstackgerritTin Lam proposed openstack/keystone master: Add database migration for project tags  https://review.openstack.org/48445619:09
*** ducttap__ has joined #openstack-keystone19:15
openstackgerritTin Lam proposed openstack/keystone master: Add database migration for project tags  https://review.openstack.org/48445619:22
openstackgerritLance Bragstad proposed openstack/keystone master: Remove policy for self-service password changes  https://review.openstack.org/48581819:25
openstackgerritLance Bragstad proposed openstack/keystone master: LOG v2 token data instead of v3  https://review.openstack.org/48620719:25
*** prashkre has quit IRC19:49
*** prashkre_ has quit IRC19:49
*** raildo has quit IRC19:50
openstackgerritLance Bragstad proposed openstack/keystonemiddleware master: Blacklist keystoneauth1 3.0.0  https://review.openstack.org/48621319:57
openstackgerritLance Bragstad proposed openstack/keystonemiddleware master: Blacklist keystoneauth1 3.0.0  https://review.openstack.org/48621319:57
lbragstadcc morgan^19:57
*** catinthe_ has quit IRC19:58
*** aojea has joined #openstack-keystone20:01
*** dave-mccowan has quit IRC20:02
*** tobberydberg has joined #openstack-keystone20:10
*** tobberydberg has quit IRC20:15
*** boris-42____ has quit IRC20:28
*** jmlowe has quit IRC20:32
*** jrist has joined #openstack-keystone20:33
morganlbragstad: +2/a once it passes20:38
morganor feel free to +A it when it passes20:38
lbragstadmorgan: will do20:38
morganalso20:39
morganthat looks like it's test issues20:39
morgannot functional issues20:39
morganksa does a lot more work now20:39
morganand requests_mock isn't mocking things out20:39
morganthat KSA does.20:39
morganIIRC shouldn't this have been caught w/ upper constraints?20:40
morgan(anyway)20:40
morganthis looks like it is failing on 2.XX of ksa as well20:40
morganooh interesting20:41
morganeven with your blacklist it is failing20:41
morganand has ksa 3.0.0 installed20:41
morganhttp://logs.openstack.org/13/486213/2/check/gate-keystonemiddleware-python27-ubuntu-xenial/37411c8/console.html#_2017-07-21_20_01_58_39940620:41
morganoh i thnk i see it.20:44
morganor at least one of the errors20:44
morganok20:48
morganpart of the issue is self.url in the ksm tests is doing something with port 500020:49
morganand assuming data for the version is on /20:49
morganso no url parts.20:49
morganlbragstad: black list ksa 3.0.0 in g-r20:49
morganlbragstad: it has a logic error20:49
morganlbragstad: and we will need a 3.0.1 once i can figure out what needs to be fixed20:50
morgandims: ^ cc (re KSA 3.0.0)20:50
lbragstadyeah  - it looks like it's tripping over20:50
lbragstadhttps://github.com/openstack/keystonemiddleware/blob/4a72cd6c3b3139dd2b55787eff5b84741cc0a347/keystonemiddleware/tests/unit/auth_token/test_auth_token_middleware.py#L2413-L241620:51
morganhttps://review.openstack.org/48622220:52
morganissue is the discovery logic cannot handle broken cases where url has no path/parts20:53
morganthis version needs to be globally blacklisted and we'll need to release a 3.0.1 next week20:53
morganor so once we fix it20:53
morgandims: ^ cc20:53
morganlbragstad: -1 on https://review.openstack.org/#/c/486160/1 for the same reason20:54
lbragstadmorgan: https://review.openstack.org/#/c/486223/20:54
lbragstadcc dims ^20:54
* dims peeks20:55
morganlbragstad: i beat you by 1 review #20:55
morganmine 2as 48622220:55
morganwas*20:55
morgandoes the same thing20:55
morgan:P20:55
dimsplease close one :)20:55
morganah but yours is more correct i think20:55
morgandims: sec.20:55
lbragstadmorgan: oh - sorry i didn't see you pushed on already20:56
morgandims: use lbragstad's20:56
morgani abandoned mine20:56
morgan48622320:56
morganis the correct one20:57
dimslbragstad : need to set the u-c to what was there before20:57
dimslbragstad : 2.21.0 per https://review.openstack.org/#/c/485837/1/upper-constraints.txt20:57
lbragstaddims:  on it20:58
lbragstaddims: updated https://review.openstack.org/#/c/486223/20:59
openstackgerritTin Lam proposed openstack/keystone master: Add database migration for project tags  https://review.openstack.org/48445621:00
dimslbragstad : morgan : k that's sailing through CI now21:03
lbragstadsweet21:04
lbragstadthanks dims21:04
dimsi had this nagging feeling lbragstad :)21:04
lbragstaddims: :-/21:04
lbragstadi did too21:05
lbragstadafter the release I was waiting for something to crop up21:05
dimscool have a good weekend both of you21:05
lbragstadi didn't end up noticing it until after i start proposing some cleanup patches to ksm after reading http://lists.openstack.org/pipermail/openstack-dev/2017-July/119988.html21:06
lbragstaddims: you too21:06
morganthis is also why i was adamant i wanted it to be 3.0.021:06
morganit is a TON of new features21:06
morganand code21:06
morganlbragstad: i'll need to poke at the code to see what cases we are not handling the discovery urls21:07
morganthe requests_mock stuff i'm ok with that just being an upgrade requirement for ksm's testing21:07
morganand that is not a big deal21:07
dimsmakes sense morgan21:07
morganbut the indexerror in discovery_url stuff is a problem21:08
morgansince it means we are likely to break in the real world21:08
lbragstadright21:09
lbragstadi was pretty surprised to see that21:09
morganyeah21:10
morganif it was just requests_mock stuff, i'd roll with it and say "yep, this is what i expect"21:10
lbragstadall failures in AuthProtocolLoadingTests are mock related21:10
morganyeh21:10
morganhttp://logs.openstack.org/13/486213/2/check/gate-keystonemiddleware-python27-ubuntu-xenial/37411c8/console.html#_2017-07-21_20_01_57_66261521:11
morganis not21:11
lbragstadyeah21:11
lbragstadi'm going to start poking at GeneralAuthTokenMiddlewareTest21:11
morganbasically what is happening there is self.url ishttp://keystone-east.example.com:500021:11
morganand urlparse means that has no path21:11
morganso url_parts[-2] is an index error, as is url_parts[-1]21:12
morganso... we need to handle the case that url is ... well a url21:12
morganmordred: ^ cc issues with discovery21:13
lbragstadit's actually completely empty here21:13
lbragstadhttps://github.com/openstack/keystoneauth/blob/master/keystoneauth1/discover.py#L93721:13
morganself.url?21:14
morganor url21:14
morganthere is a difference21:14
morganself.url was http://keystone-east.example.com:500021:14
lbragstadhttp://paste.openstack.org/show/616214/21:14
morganyes21:14
lbragstadyeah - url_parts ends up being an empty list21:14
morganurl_parts is empty21:14
morganbecause http://keystone-east.example.com:5000 has no path21:14
lbragstadah ha - right21:14
openstackgerritGage Hugo proposed openstack/keystone master: WIP: Add project tags  https://review.openstack.org/47031721:18
openstackgerritTin Lam proposed openstack/keystone master: Add database migration for project tags  https://review.openstack.org/48445621:19
lbragstadhttps://github.com/openstack/keystoneauth/blob/master/keystoneauth1/discover.py#L941 is also going to fail if project_id is not None21:19
lbragstadin the same case21:19
morganyep21:20
morganooh this is going to be icky to unwind.21:21
lbragstadyeah...21:22
morganhm.21:24
morganok i think i can tack something in to fix it, but i can't come up with a test to prevent regression off the top of my head21:24
*** fried_rice has joined #openstack-keystone21:25
fried_riceo/21:26
lbragstadfried_rice:21:26
lbragstado/21:26
lbragstadthis is what we have so far for failures http://logs.openstack.org/84/486184/1/check/gate-keystonemiddleware-python27-ubuntu-xenial/7c079da/testr_results.html.gz21:26
fried_riceSaw that.  What have we "discovered" so far?21:27
lbragstadthe failures in keystonemiddleware.tests.unit.auth_token.test_auth_token_middleware.AuthProtocolLoadingTest seem unrelated to the issues with discovery21:27
morganah, so it looks like https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/discover.py#L1021-L1025 needs to handle the case where url_parts[-2] or [-1] are index error21:27
morgangross21:27
lbragstadhttps://github.com/openstack/keystonemiddleware/blob/4a72cd6c3b3139dd2b55787eff5b84741cc0a347/keystonemiddleware/tests/unit/auth_token/test_auth_token_middleware.py#L509-L57021:28
fried_ricemorgan Agree, agree it's gross.21:28
*** ducttape_ has joined #openstack-keystone21:28
lbragstad^ that's a failure that we thing is likely to happen in the wild21:28
lbragstadit's tripping over https://github.com/openstack/keystonemiddleware/blob/4a72cd6c3b3139dd2b55787eff5b84741cc0a347/keystonemiddleware/tests/unit/auth_token/test_auth_token_middleware.py#L51321:28
lbragstadhere - https://github.com/openstack/keystonemiddleware/blob/4a72cd6c3b3139dd2b55787eff5b84741cc0a347/keystonemiddleware/tests/unit/auth_token/test_auth_token_middleware.py#L56021:28
fried_riceI can put that up right quick.21:29
fried_riceunless someone else has it.21:29
morganbecause url_parts is [] when the url is http://keystone-east.example.com:500021:29
fried_riceyuh21:29
lbragstadyeah21:29
lbragstadv21:29
lbragstadhttps://github.com/openstack/keystoneauth/blob/master/keystoneauth1/discover.py#L93721:29
morganfried_rice: i haven't gotten to code21:29
morganfried_rice: if you can roll a fix (and test) I'm happy to quick review21:29
morganso we can release 3.0.1 next week21:29
morganbut basically url_parts may be [], and we need to handle that case.21:29
lbragstadmorgan: that's going to miss the deadline for pike21:30
morganlbragstad: we can't release today21:30
morganwe will simply ask for an exception21:30
morganit's a point/patch release21:30
morganto fix a real bug21:30
*** edmondsw has quit IRC21:30
morganfwiw, i also will be mostly unavailable mon->wed next week (somewhat on, but mostly offline writing code)21:31
*** ducttap__ has quit IRC21:31
lbragstadmorgan: ack21:31
morganso landing fix today so we can get some folks to actually test it all before a patch release21:31
morganwould be good21:31
lbragstadmorgan: sounds good - i'll make a note to talk to dims next week about an exception21:31
lbragstad++21:31
openstackgerritEric Fried proposed openstack/keystoneauth master: WIP: Handle path-less URLs  https://review.openstack.org/48623121:33
fried_ricelbragstad morgan ^^ seem like a reasonable start?21:33
fried_riceI don't have the env set up to test this in keystonemiddleware - does one of y'all?21:33
lbragstadi do21:33
lbragstadi can test it21:33
lbragstadi was going to say that we need to add the same test that ksm failed on to ksa21:34
fried_ricelbragstad Yeah, was just looking into a way to do that easily.21:34
lbragstadi think the entry point we might want here is get_endpoint_data21:35
lbragstadpassing 'http://keystone-east.example.com:5000' in there somehow is causing this to fail21:35
lbragstadso a test in keystoneauth1/tests/unit/identity/test_identity_common.py: ?21:36
*** edmondsw has joined #openstack-keystone21:37
lbragstadfried_rice: ack - that work around fixes keystonemiddleware.tests.unit.auth_token.test_auth_token_middleware.GeneralAuthTokenMiddlewareTest.test_auth_region_name21:37
lbragstadgranted i haven't dug into the assertions of that test a whole lot, so it might not fix everything, but it does make the test pass21:38
fried_ricelbragstad Yeah, that bug is really not a statement of the functionality of any of the endpoint discovery - just an oversight of certain possible formats of the URL.21:39
lbragstad_get_discovery_url_choices is just suppose to return possible versions right/21:40
fried_riceyes21:40
lbragstadah21:41
*** edmondsw has quit IRC21:41
fried_riceNow what made us think that the AuthProtocolLoadingTest failure was unrelated?21:41
morganfried_rice: because it's requests_mock21:41
morganksa is doing more things and we just haven't mocked the urls21:41
morganin this case21:41
lbragstadahhhh21:42
morganthis is an expected type breakage when using requests_mock21:42
morganif suddenly something new is requested in a test case, it should complain21:42
fried_riceNot 100% sure about that - I believe we can get that result if get_endpoints isn't returning the URL we're expecting.21:42
morganthis change just happens to come from ksa making a new request and ksm test case hasn't mocked it21:42
*** edmondsw has joined #openstack-keystone21:42
morganlooking at the error, if it is requests_mock complaining, it is not related to the url_parts indexerror.21:43
morganwell not directly that is21:43
fried_riceOh, yeah, that's true, not related to the IndexError - but still likely to be root caused in that same method.21:44
fried_ricelbragstad Did you run the whole suite against my patch?21:44
lbragstadfried_rice: no - just that one test, let me do that now though21:44
fried_riceI'll clone ksm in the meantime...21:44
lbragstadthere are still three failures after the ksa patch21:46
morganfried_rice: sure might be caused by the same method, but we can't "fix" ksa making more requests if ksa handles the forms of urls.21:46
lbragstadwhich is expected since they are all related to the mock stuff21:46
morganlbragstad: all requests_mock?21:46
lbragstadall found in keystonemiddleware.tests.unit.auth_token.test_auth_token_middleware.AuthProtocolLoadingTests21:46
morganyeah21:46
lbragstadmorgan: yeah21:46
morganthen that fix looks good fried_rice21:46
morgannow... we need a unit test as well :P21:47
*** edmondsw has quit IRC21:47
lbragstadyeah - we should port the unit test from ksm the caught that21:47
lbragstadso we know version discovery works for that case21:47
openstackgerritGage Hugo proposed openstack/keystone master: WIP: Add project tags  https://review.openstack.org/47031721:47
fried_riceAre we thinking the fix for the other will be in ksm itself?21:47
morganfried_rice: yes21:48
morgansince ksm needs to mock out the new url paths.21:48
lbragstadfried_rice: yeah - we have to teach ksm about how ksa returns things21:48
morganthat are being requested21:48
lbragstadand then make sure we mock it21:48
morganclearly ksm works fine in a real cloud, but our mocks don't know about the new requests21:48
*** edmondsw has joined #openstack-keystone21:48
fried_riceOkay.  I'll get that UT ported over for https://review.openstack.org/486231 while y'all look into the ksm thing (since I'm totally new to ksm)21:48
morganfried_rice: basically we have to land the 3.0.1 patch and release21:49
morganthen we can fix ksm21:49
fried_riceoh, right.21:49
fried_riceI'll hurry, then :)21:49
morganwe can't pre-emptively mock it, or our test is also wrong (we might be able to do introspection for version of ksa...but... gross?)21:49
lbragstadso - we'll tie the version discover of ksa to the mock implemenation in ksm21:49
fried_riceyeah, no, ew.21:49
morganlbragstad: yeah we'll bump the min ksa21:50
morganto 3.0.121:50
lbragstadyeah21:50
morganand we should be good21:50
morgani wonder what else will break21:50
morganmake sure you send a note to the -dev list that things might need adjustments if they use requests_mock and mock out keystone responses to ksa21:50
lbragstadgood point21:50
morganthis might also indicate we should wait to use 3.X.X until Queens21:51
*** lucasxu has quit IRC21:51
morganit sucks to delay the discovery bits21:51
lbragstadyeah - that's what i was thinking about21:51
morganbut, it might be late in the cycle to break other project unit tests21:51
fried_riceGah, been putting off a nova bp waiting for it.21:51
fried_riceBut can still hack around it.21:51
fried_riceso whatevs21:51
morgan(again, yay for making it 3.0.0, so we have a clear break and reverts shouldn't be needed)21:51
morganfried_rice: lets hit the ML and we will release 3.0.1 next week and bump minimum if we can21:52
morganif not... we can roll until queens21:52
morganwith 2.x21:52
*** edmondsw has quit IRC21:53
*** edmondsw has joined #openstack-keystone21:54
fried_riceMm, not sure backporting one of those test cases is the right answer.  Would just confuse things.  Wanna try something simpler...21:55
*** edmondsw has quit IRC21:59
*** edmondsw has joined #openstack-keystone22:00
openstackgerritJaewoo Park proposed openstack/keystone master: Add database migration for project tags  https://review.openstack.org/48445622:04
fried_ricemorgan lbragstad I gotta run for a couple hours.  Will check back in - and won't be offended if one of y'all wants to put up that UT.22:04
fried_riceThing is, I'm looking through existing tests, and I'm not sure how we weren't hitting this already in some of them.22:05
fried_riceIt should be noted that I'm really new to requests_mock22:05
*** edmondsw has quit IRC22:05
*** fried_rice is now known as efried_afk22:06
lbragstadefried_afk: no worries - thanks for the fix22:07
lbragstadefried_afk: sending out a summary now22:07
*** ducttap__ has joined #openstack-keystone22:08
*** edmondsw has joined #openstack-keystone22:08
*** edmondsw_ has joined #openstack-keystone22:10
*** ducttape_ has quit IRC22:11
*** edmondsw has quit IRC22:12
*** edmondsw_ has quit IRC22:14
lbragstadmorgan: update sent - http://lists.openstack.org/pipermail/openstack-dev/2017-July/120015.html22:17
gagehugolbragstad: https://review.openstack.org/#/c/485344/ should fix the tempest test failing for project tags22:19
lbragstadgagehugo: http://logs.openstack.org/44/485344/1/check/gate-tempest-tox-plugin-sanity-check-ubuntu-xenial/59a592d/console.html ?22:20
lbragstadi was noticing a weird failure earlier too with what seemed to be an unrelated change22:24
gagehugops 1 was wrong, it didn't account for changes before project tags22:25
*** tesseract has quit IRC22:25
lbragstadah22:25
openstackgerritNicolas Helgeson proposed openstack/keystone master: WIP: Add project tags  https://review.openstack.org/47031722:33
*** edmondsw has joined #openstack-keystone22:48
*** aojea has quit IRC22:51
*** aojea has joined #openstack-keystone22:52
*** edmondsw has quit IRC22:52
*** aojea has quit IRC22:56
openstackgerritjessegler proposed openstack/python-keystoneclient master: WIP: Add project tags to keystoneclient  https://review.openstack.org/48122323:10
openstackgerritJaewoo Park proposed openstack/keystone master: WIP: Add project tags  https://review.openstack.org/47031723:22
*** thorst has quit IRC23:24
*** r-daneel has quit IRC23:31
*** markvoelker has quit IRC23:39
*** catintheroof has joined #openstack-keystone23:58

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