Tuesday, 2017-01-03

openstackgerritMerged openstack/keystone: Updated from global requirements  https://review.openstack.org/41596500:04
*** chris_hultin|AWA is now known as chris_hultin00:10
samueldmqjamielennox: hey, you around ?00:19
jamielennoxsamueldmq: yea00:19
samueldmqjamielennox: I was looking at bug 161610500:19
openstackbug 1616105 in python-keystoneclient "Request of large files raises a MemoryError due to logging" [High,In progress] https://launchpad.net/bugs/1616105 - Assigned to Tobias Diaz (int-0)00:19
samueldmqjamielennox: I agree with you that, ideally, we should avoid getting MemoryError to figure out the response body is too big00:19
samueldmqjamielennox: however I can't see a way to do it, as content-length is not always provided :(00:20
jamielennoxsamueldmq: i know there is a patch up for this but i haven't seen it, also i *think* this got fixed in keystoneauth, but maybe not in ksc00:20
jamielennoxksc obvoiusly being less important now, and this is a harsh but effective way to get people to transfer over :)00:21
jamielennoxso yea, by the time MemoryError is actually thrown you've exhausted your RAM, so it's kinda late to be handling it]00:21
samueldmqjamielennox: agreed, but comment 9 says the issue persists in ksa https://bugs.launchpad.net/python-keystoneclient/+bug/1616105/comments/900:21
openstackLaunchpad bug 1616105 in python-keystoneclient "Request of large files raises a MemoryError due to logging" [High,In progress] - Assigned to Tobias Diaz (int-0)00:21
jamielennoxah, ok00:21
jamielennoxa related review (but not exactly) is https://review.openstack.org/#/c/392442/00:22
jamielennoxwhich i've been avoiding because it seems like overkill - but apparently has been half accepted by other libs00:23
jamielennoxsamueldmq: so i'd happy path it00:23
jamielennoxsamueldmq: i would only print the response.text if response.content_type in ('application/json', 'application/text') and response.content_length < 300: or something00:24
samueldmqjamielennox: yes, I was looking at that one too. it's been there for ages00:24
jamielennoxi'm not sure what the exact combination of content_types and length would be, but i think you'd be safe to only debug print a response that you know is good00:24
jamielennoxand avoid anything else00:24
jamielennoxi think debug prints the request body as well00:25
samueldmqjamielennox: that makes sense to me. if there is not enough information abotu the content, do not try to log, as it can be dangerous (MemoryError)00:25
jamielennoxright, and if the request/response is ambiguous then it's find to print ***body omitted*** or something00:25
jamielennoxsamueldmq: this is part of a larger thing of mine in that i don't think we should be debug printing CURL statements anymore00:26
jamielennoxthey used to be useful, but now the tokens and other bits are obsfucated so you can't actually use the line any more00:26
jamielennoxand you can't really parse them00:26
samueldmqjamielennox: hmm. so perhaps just logging what call is being made is enough00:27
jamielennoxso i'd like to just change them to something meaningful you could read in a log file, but i'm not sure how many people that would break00:27
samueldmqas the details can't really be understood00:27
jamielennoxsamueldmq: i think you need the detaisl for actually debugging00:27
jamielennoxlike in json req/resp i sometimes want to know what was sent00:27
jamielennoxbut just do it in key: val form00:28
samueldmqjamielennox: just the headers ? or the body too ?00:28
jamielennoxurl: http://service.openstakc.com/v300:28
jamielennoxContent-Type: application/json00:28
jamielennoxbody: {...}00:28
samueldmq++00:28
samueldmqI'll put a patch up to get ride of that MemoryError00:29
jamielennoxsamueldmq: i *think* the headers, i'm not sure if we whitelist or blacklist there00:29
samueldmqthe other part looks to be part of a larger discussion00:29
jamielennoxprobably blacklist because i don't know what headers the different services rely on, swifts are crazy00:29
samueldmq:)00:29
jamielennoxyea, bigger discussion00:30
jamielennoxsamueldmq: which you're welcome to drive if you would like :)00:30
samueldmqjamielennox: well, why not, but I'd need to understand it better first00:31
samueldmqjamielennox: I don't have all that knowledge about clients yet (as you do) :)00:31
jamielennoxmaybe i can put up an email to the lists today and we can work on it from there, i think it'd be valuable00:32
*** guoshan has joined #openstack-keystone00:38
*** chris_hultin is now known as chris_hultin|AWA00:39
samueldmqjamielennox: ++00:39
*** hoangcx has joined #openstack-keystone00:45
samueldmqjamielennox: does CONTENT_LENGTH_THRESHOLD = 4096 make sense to you ?00:50
*** david-lyle has joined #openstack-keystone00:51
samueldmqjamielennox: I don't have a good number in mind, so I thought the max length of browser cookie may make sense00:51
jamielennoxsamueldmq: probably? i don't know either00:51
jamielennoxsamueldmq: maybe just content-length is defined so you don't get anything streaming00:52
samueldmqjamielennox: that makes sense00:52
jamielennoxsamueldmq: it's a bit of a guess, but we're logging everything now so maybe noone cares00:52
samueldmqjamielennox: also, if we check content-type,  I guess a stream would not be 'application/json' or 'application/text'00:53
samueldmqso just checking on content-type could be enough too00:54
*** david-lyle has quit IRC00:55
jamielennoxsamueldmq: i'd be ok with that as a start00:56
jamielennoxi thought i remembered requests doing some encoding checking or something based on content-length but i can't find it now00:56
jamielennoxi *think* you can stream json, but i'm not aware of anyone who does00:57
samueldmqjamielennox: and I don't think openstack produces any json large enough to produce a MemoryError00:58
jamielennoxsamueldmq: yea, that probably is definitely that it tries to debug log an image00:59
samueldmqjamielennox: ++00:59
jamielennoxsamueldmq: i'm going to go down to the gym and try and redeem myself a little from christmas, and run the fedora upgrade while i'm gone01:02
jamielennoxif i'm not back in an hour or so the upgrade has gone badly, or i've died01:03
samueldmqjamielennox: sure, enjoy. ttyl01:03
samueldmqjamielennox: you won't, lol01:03
*** markvoelker has joined #openstack-keystone01:05
*** jamielennox is now known as jamielennox|away01:05
*** oomichi has quit IRC01:05
*** oomichi has joined #openstack-keystone01:07
*** guoshan has quit IRC01:08
*** markvoelker has quit IRC01:09
*** oomichi has quit IRC01:13
*** oomichi has joined #openstack-keystone01:16
*** liujiong has joined #openstack-keystone01:31
*** guoshan has joined #openstack-keystone01:34
openstackgerritMerged openstack/oslo.policy: Remove dead code and use default value of argparse.  https://review.openstack.org/41198601:37
stevemarjamielennox|away: best of luck on the upgrade and not dying01:43
*** markvoelker has joined #openstack-keystone02:05
*** clayton has quit IRC02:06
openstackgerritSamuel de Medeiros Queiroz proposed openstack/python-keystoneclient: Prevent MemoryError when logging responses  https://review.openstack.org/35929202:08
samueldmqjamielennox|away: stevemar ^ I will wait some feedback on ^ before proposing the fix against keystoneauth02:08
*** markvoelker has quit IRC02:10
*** chris_hultin|AWA is now known as chris_hultin02:18
*** jamielennox|away is now known as jamielennox02:19
jamielennoxsamueldmq: i'd say keystoneauth is the priority and backport to ksc02:20
samueldmqjamielennox: agreed, just wanted you to take a glance and see if that solution is fine as I coded02:21
*** clayton has joined #openstack-keystone02:25
jamielennoxsamueldmq: i added some comments but they're minor02:27
samueldmqjamielennox: kk thanks, I will apply them to my ksa patch first02:29
*** chris_hultin is now known as chris_hultin|AWA02:29
jamielennoxupgrade seems to have gone fine, however fitness has suffered over the holidays02:30
samueldmqjamielennox: well, tomorrow, I need to sleep and 53 tests failed in ksa02:30
samueldmqjamielennox: need to provide content-type to the stub urls thing in tests :p02:30
jamielennoxsamueldmq: urg, i'd be happy to rip out the stub_url thing and just use requests_mock directly02:30
jamielennoxit was a hangover from a much harder mocking setup which we probably don't need any more02:31
jamielennox(if that helps)02:31
samueldmqjamielennox: hmm, I'll take a look. but that will probably require changing much more code (because it includes almost all the tests)02:31
jamielennoxyep, just if it helps02:32
samueldmqjamielennox: I'll take a look at it tomorrow02:33
* samueldmq hits the sack02:33
samueldmqsee you tomorrow keystoners o/02:33
openstackgerritMerged openstack/keystone: Fix import ordering in tempest plugins  https://review.openstack.org/41324402:35
*** guoshan has quit IRC02:45
*** david-lyle has joined #openstack-keystone02:52
*** david-lyle has quit IRC02:57
*** markvoelker has joined #openstack-keystone03:06
*** markvoelker has quit IRC03:10
*** dave-mccowan has joined #openstack-keystone03:23
*** links has joined #openstack-keystone03:28
*** links has quit IRC03:34
*** clayton has quit IRC03:34
*** hoangcx has quit IRC03:34
*** links has joined #openstack-keystone03:35
*** clayton has joined #openstack-keystone03:35
*** hoangcx has joined #openstack-keystone03:35
*** trananhkma has joined #openstack-keystone03:58
*** udesale has joined #openstack-keystone04:10
*** sheel has joined #openstack-keystone04:20
*** dave-mccowan has quit IRC04:22
* stevemar waves to jamielennox04:36
jamielennoxstevemar: happy new year04:36
stevemarjamielennox: likewise sir04:36
stevemari'm glad no one went overboard on keystone during the holidays :)04:36
jamielennoxheh, i checked my laptop on like boxing day and saw somebody trying to pose a question04:37
jamielennoxno response04:37
*** edtubill has joined #openstack-keystone04:38
*** gagehugo has quit IRC04:39
*** edtubill has quit IRC04:42
*** gus has joined #openstack-keystone04:44
stevemarjamielennox: yah, saw someone ask a question on xmas, that was gonna fail hard04:53
*** gagehugo has joined #openstack-keystone04:55
*** nicolasbock has joined #openstack-keystone05:04
*** gagehugo has quit IRC05:05
*** g22 is now known as g205:11
*** gagehugo has joined #openstack-keystone05:13
*** liujiong has quit IRC05:15
*** liujiong has joined #openstack-keystone05:16
*** jamielennox is now known as jamielennox|away05:52
*** jamielennox|away is now known as jamielennox06:00
Anticimexjamielennox: yeah, the true need i have is project_domain_name06:14
jamielennoxAnticimex: that's an unusual requirement, i assume it's a display thing06:14
Anticimexi've found django-openstack-auth things to modify either directly or pick up in our middleware now06:14
jamielennoxAnticimex: ok, but yea your options are get it from the token or call GET /v3/projects/{project_id} and fetch it from there06:15
Anticimexit's a legacy 3rd party app authentication thing.06:15
jamielennoxif you have a {project_id} scoped token then fetching /v3/projects/{project_id} should be in policy06:16
Anticimexi tried the GET and it won't work as users are strictly _members_, but it does exist in the token response apparently06:16
jamielennoxAnticimex: that will only let you auth via project_domain_name? not project_id?06:16
Anticimexjamielennox: indeed.  i did say legacy :)  plan is to port the auth to keystone auth properly and all this will become a bit moot06:17
jamielennoxAnticimex: how old is your keystone? default policy should let you fetch it: https://github.com/openstack/keystone/blob/master/etc/policy.json#L3706:17
Anticimexliberty06:17
Anticimexhttps://github.com/openstack/keystone/blob/liberty-eol/etc/policy.json#L3706:18
jamielennoxyea, ok, looks like that rule wasn't there06:18
jamielennoxif you know your admin it's a safe policy change06:18
jamielennoxknow/are the06:18
jamielennoxbut yea, convert it to keystoneauth and it will be easier06:19
openstackgerritCao Xuan Hoang proposed openstack/keystone: Fix test function name with two underscores to have only one  https://review.openstack.org/41613906:32
*** JoeStack has joined #openstack-keystone06:34
*** udesale has quit IRC06:56
*** guoshan has joined #openstack-keystone07:05
*** udesale has joined #openstack-keystone07:11
*** tesseract has joined #openstack-keystone07:30
*** pcaruana has joined #openstack-keystone07:41
*** gagehugo has quit IRC07:42
*** rcernin has joined #openstack-keystone08:03
*** kaisers has joined #openstack-keystone08:46
*** kaisers has left #openstack-keystone08:47
*** david-lyle has joined #openstack-keystone08:57
*** zzzeek has quit IRC09:00
*** LZ has joined #openstack-keystone09:01
*** david-lyle has quit IRC09:01
*** zzzeek has joined #openstack-keystone09:02
*** gagehugo has joined #openstack-keystone09:07
*** mvk has quit IRC09:16
*** zhugaoxiao has joined #openstack-keystone09:17
*** nolwenn has quit IRC09:19
*** nicolasbock has quit IRC09:20
*** asettle has joined #openstack-keystone09:27
*** links has quit IRC09:29
*** LZ has quit IRC09:33
*** mvk has joined #openstack-keystone09:51
*** guoshan has quit IRC09:57
*** guoshan has joined #openstack-keystone09:57
*** david-lyle has joined #openstack-keystone09:58
*** liujiong has quit IRC10:01
*** david-lyle has quit IRC10:02
*** hoangcx has quit IRC10:05
*** markvoelker has joined #openstack-keystone10:10
*** markvoelker has quit IRC10:15
openstackgerritLucas Alvares Gomes proposed openstack/keystonemiddleware: Auth token, set the correct charset  https://review.openstack.org/41619810:15
*** guoshan has quit IRC10:34
*** mvk has quit IRC10:47
*** udesale has quit IRC10:59
*** mvk has joined #openstack-keystone11:00
*** ayoung has joined #openstack-keystone11:10
*** ChanServ sets mode: +v ayoung11:10
*** markvoelker has joined #openstack-keystone11:11
*** rdopiera has joined #openstack-keystone11:13
*** markvoelker has quit IRC11:16
*** guoshan has joined #openstack-keystone11:35
*** guoshan has quit IRC11:39
rdopierahi guys, I wonder, what is the minimum requirement to see the "identity/domains" tab in horizon?11:43
rdopieraI have enabled keystone v3, multidomain suppport, configured an ldap domain, logged in as an admin -- but I can't see it11:44
*** david-lyle has joined #openstack-keystone11:59
*** david-lyle has quit IRC12:04
*** markvoelker has joined #openstack-keystone12:12
*** markvoelker has quit IRC12:16
openstackgerritLucas Alvares Gomes proposed openstack/keystonemiddleware: Auth token, set the correct charset  https://review.openstack.org/41619812:17
*** samueldmq has quit IRC12:19
*** serverascode has quit IRC12:19
*** rm_work has quit IRC12:19
*** BlackDex has quit IRC12:19
*** BlackDex has joined #openstack-keystone12:19
*** rm_work has joined #openstack-keystone12:20
*** samueldmq has joined #openstack-keystone12:22
*** ChanServ sets mode: +v samueldmq12:22
*** serverascode has joined #openstack-keystone12:25
*** trananhkma has quit IRC12:33
*** wolsen has quit IRC12:38
*** wolsen has joined #openstack-keystone12:41
*** itisha has joined #openstack-keystone12:44
stevemarwelcome back keystoners!12:54
samueldmqstevemar: hey! happy new year12:58
rdopierastoners?12:58
openstackgerritSteve Martinelli proposed openstack/keystonemiddleware: Add Constraints support  https://review.openstack.org/41328813:00
rodrigodsstevemar, o/13:00
stevemarhappy new year rodrigods / samueldmq13:07
rodrigodshappy new year!13:07
stevemarrdopiera: it's the best name we came up with at the time13:07
stevemarrdopiera: i saw you had a question in -horizon13:07
rdopierastevemar: how about keystonists?13:07
stevemarkeystonistas13:08
stevemari like neutronios13:08
rodrigodsstevemar, ^ sounds portuguese13:08
rdopierastevemar: yes, basically people want to test the domains tab, but they can't figure out how to get it to appear, they ask me, and I have no idea either13:09
rdopieraI tries to follow this, https://wiki.openstack.org/wiki/Horizon/DomainWorkFlow13:10
rdopierabut it seems to be outdated13:10
rdopierathe datatabse columns mentioned there don't exist, for example13:11
*** markvoelker has joined #openstack-keystone13:12
*** markvoelker has quit IRC13:17
openstackgerritMerged openstack/keystone: Fix test function name with two underscores to have only one  https://review.openstack.org/41613913:21
dstanekmorning stevemar13:24
*** jdennis has joined #openstack-keystone13:26
stevemarmorning dstanek13:26
stevemarrdopiera: you have all the proper settings set to v3 in the horizon config?13:26
rdopierastevemar: yes, all that is mentioned on that wiki page, at least13:28
rdopieraexcept for the policy file, I think13:29
*** lamt has joined #openstack-keystone13:30
*** dave-mccowan has joined #openstack-keystone13:30
rdopieraI can try that13:30
rdopieraah, no, even the policy file is the cloudsample one13:36
dstanekhaving a different keystone policy file for keystone and horizon has tripped me up so many times :-(13:37
rdopierait's the same13:38
rdopieradiff /etc/keystone/policy.json /opt/stack/horizon/openstack_dashboard/conf/keystone_policy.json13:38
*** akrzos has quit IRC13:46
*** akrzos has joined #openstack-keystone13:46
*** dancn` has quit IRC13:47
*** jidar has quit IRC13:47
*** toddnni has quit IRC13:47
*** toddnni has joined #openstack-keystone13:47
*** dancn has joined #openstack-keystone13:47
openstackgerritMerged openstack/ldappool: Add Constraints support  https://review.openstack.org/41329513:47
openstackgerritRodrigo Duarte proposed openstack/keystone: Cascade delete federated_user fk  https://review.openstack.org/41590613:47
*** jidar has joined #openstack-keystone13:48
openstackgerritRodrigo Duarte proposed openstack/keystone: Cascade delete federated_user fk  https://review.openstack.org/41590613:48
rodrigodsstevemar, ^ ... regarding your comment in the review. We can not use the clean up approach since the fk already exists, we could delete the fk and use it, but don't see a reason why13:49
openstackgerritRodrigo Duarte proposed openstack/keystone: Cascade delete federated_user fk  https://review.openstack.org/41590613:52
rdopieraok, found the problem13:54
rdopieraI was missing this:13:54
rdopieraSESSION_ENGINE = 'django.contrib.sessions.backends.cache'13:54
*** zhugaoxiao has quit IRC14:00
*** david-lyle has joined #openstack-keystone14:01
*** zhugaoxiao has joined #openstack-keystone14:01
*** david-lyle has quit IRC14:05
stevemarrodrigods: i thought ayoung was against it since some DBs supported cascade and others don't14:08
stevemari thought we were, in general, avoiding the use of cascade14:08
ayoungstevemar, I am against using DBs that don't support basic functionality like Cascade14:09
ayoungI personnally am a PostgreSQL bigot, but have accepted MySQL as the default for Keystone functionality14:09
ayoungif MySQL supports cascades, lets use it14:09
openstackgerritLucas Alvares Gomes proposed openstack/keystonemiddleware: Switch tox unit test command to use ostestr  https://review.openstack.org/41624814:10
stevemarayoung: isn't that against what you siad here: https://review.openstack.org/#/c/368422/14:10
ayoungstevemar, that is a different question14:10
ayoungcascades across backends is not something we can support14:11
ayoungstevemar, different hair to split there :)14:11
ayoungstevemar, within the identity backend, it is OK to use cascades14:11
ayoungbut not from, say identity to trust, or policy to assignment14:12
stevemarayoung: but federation to federation is ok14:12
ayoungstevemar, correct14:13
openstackgerritSteve Martinelli proposed openstack/keystonemiddleware: Add Constraints support  https://review.openstack.org/41328814:13
*** markvoelker has joined #openstack-keystone14:13
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystoneauth: Prevent MemoryError when logging response bodies  https://review.openstack.org/41624914:14
samueldmqjamielennox: stevemar ^14:14
dstanekstevemar: i've always disliked cascades because it's so easy to allow users to make mistakes that they can't recover from14:14
dstaneksamueldmq: what causes the memory error. just the response being too large?14:15
stevemardstanek: yep14:16
stevemardstanek: like trying to log an image :P14:16
samueldmqdstanek: yes, as stevemar said14:16
samueldmqyeah, which does not make sense at all14:16
dstanekthat's kinda funny14:18
*** markvoelker has quit IRC14:18
openstackgerritDavanum Srinivas (dims) proposed openstack/keystone: [WIP] Just a test with python3.5  https://review.openstack.org/41250014:20
lbragstadjamielennox did you happen to see the pings in a conversation I was having with dtroyer and a user regarding keystoneauth auth types and documentation?14:21
openstackgerritLucas Alvares Gomes proposed openstack/keystonemiddleware: Switch tox unit test command to use ostestr  https://review.openstack.org/41624814:30
lbragstadstevemar are we sure https://bugs.launchpad.net/neutron/+bug/1652929 is fixed?14:32
openstackLaunchpad bug 1652929 in neutron "keystone token warning flood" [Low,Confirmed] - Assigned to Kevin Benton (kevinbenton)14:32
lbragstadstevemar i was thinking that the warning should only be emitted if the token being used by auth_token *wasn't* a service token.14:32
*** edmondsw has joined #openstack-keystone14:32
*** erhudy has joined #openstack-keystone14:34
lbragstadstevemar I was thinking the fix would have included something to make sure the neutron service user has the proper service role (so that the check is forward compatible)?14:35
*** jperry has joined #openstack-keystone14:36
*** edmondsw_ has joined #openstack-keystone14:38
*** markvoelker has joined #openstack-keystone14:38
*** edmondsw_ has quit IRC14:38
*** oomichi has quit IRC14:42
*** oomichi has joined #openstack-keystone14:43
stevemarsamueldmq: briancurtin has a nice suggestion for the log14:46
stevemarlbragstad: umm, tbh it worked for the neutron folks so i was happy14:46
stevemarlbragstad: if you want to swtich things up you can14:46
*** udesale has joined #openstack-keystone14:47
lbragstadstevemar I'll leave a comment on the bug and see what they say14:47
stevemarsamueldmq: just an FYI, we also do not log requests already for KSA -- https://github.com/openstack/keystoneauth/commit/9b994205a896fe69c7e9a9bfe1c393f820ffa6ae14:50
samueldmqstevemar: I saw that patch, however in the bug report someone said they were htting the issue even after migrating ksc -> ksa14:52
samueldmqstevemar: brb will be back soon14:52
samueldmqyeah, I saw the suggestion from briancurtin, I'll apply it as soon as I'm back14:53
*** chlong has joined #openstack-keystone14:55
openstackgerritSteve Martinelli proposed openstack/python-keystoneclient: Do not log binary data during debug  https://review.openstack.org/41626014:56
stevemarjamielennox: samueldmq while we're making the logging code in session not silly ^14:57
stevemar(that one is for the request)14:57
openstackgerritSteve Martinelli proposed openstack/python-keystoneclient: Do not log binary data during request  https://review.openstack.org/41626014:58
*** spzala has joined #openstack-keystone14:59
stevemarjvarlamova_: o/15:01
stevemarjvarlamova_: do you know why https://review.openstack.org/#/c/414438/ is not passing the grenade test?15:01
openstackgerritMerged openstack/keystonemiddleware: Auth token, set the correct charset  https://review.openstack.org/41619815:01
*** david-lyle has joined #openstack-keystone15:01
openstackgerritRodrigo Duarte proposed openstack/keystone: Cascade delete federated_user fk  https://review.openstack.org/41590615:04
*** udesale has quit IRC15:05
*** edtubill has joined #openstack-keystone15:05
*** david-lyle has quit IRC15:06
*** chris_hultin|AWA is now known as chris_hultin15:07
*** udesale has joined #openstack-keystone15:10
openstackgerritLance Bragstad proposed openstack/keystone: Remove CONF.domain_id_immutable  https://review.openstack.org/41626715:14
*** udesale has quit IRC15:17
*** ravelar has joined #openstack-keystone15:17
*** jaugustine has joined #openstack-keystone15:27
*** med_` is now known as medberry15:28
*** medberry is now known as med_15:28
*** med_ is now known as Guest4623215:29
*** Guest46232 is now known as medberry15:29
*** medberry has joined #openstack-keystone15:29
*** andrewbogott has quit IRC15:33
*** andrewbogott has joined #openstack-keystone15:33
stevemarlbragstad: thanks for picking up the bug15:41
*** chlong has quit IRC15:41
stevemarjamielennox: can we just include pyhton-memcached in keystonemiddleware already?15:41
lbragstadstevemar no problem - looked like an easy one15:42
*** mvk has quit IRC15:43
*** edtubill has quit IRC15:49
stevemarlbragstad: easy review: https://review.openstack.org/#/c/416260/15:50
stevemarwell, easy-ish :)15:50
*** adrian_otto has joined #openstack-keystone15:51
hugokuoCan keystone CLI output as JSON format ?15:52
*** JoeStack has quit IRC15:53
*** JoeStack1 has joined #openstack-keystone15:53
stevemarhugokuo: you can trying running ``openstack user list --format json`` -- some examples here: http://ronaldbradford.com/blog/moving-to-openstackclient-cli-2015-04-20/15:54
*** chlong has joined #openstack-keystone15:54
*** edtubill has joined #openstack-keystone15:54
hugokuogot it. Seems like keystone doesn't support outout in JSON but openstack client does. hmm... I may need to install extra openstack client in my keystone box.15:56
hugokuothx @stevemar15:56
lbragstadhugokuo just FYI - python-keystoneclients CLI has been removed. We recommend using python-openstackclient for all keystone related CLI things15:57
*** JoeStack1 has quit IRC15:57
lbragstadpython-openstackclient uses python-keystoneclient for keystone operations though.15:58
*** nklenke has joined #openstack-keystone15:59
hugokuo@lbragstad make sense. I'm doing ansible playbooks for deploying keystone servers from kilo to the latest version. I need to inject sample data like pre-created tenants and users. I must to find out a best way for parsing result from keystone server.15:59
hugokuoThe keystone CLI is not good enough. I may go openstack CLI or using curl in the playbook. thx16:00
*** jaugustine has quit IRC16:00
lbragstadhugokuo good luck!16:00
*** edtubill has quit IRC16:00
*** richm has joined #openstack-keystone16:01
*** d0ugal has joined #openstack-keystone16:03
*** zhugaoxiao has quit IRC16:03
*** zhugaoxiao has joined #openstack-keystone16:04
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystoneauth: Prevent MemoryError when logging response bodies  https://review.openstack.org/41624916:08
samueldmqstevemar: briancurtin ^16:08
openstackgerritSamuel de Medeiros Queiroz proposed openstack/keystoneauth: Prevent MemoryError when logging response bodies  https://review.openstack.org/41624916:09
*** chris_hultin is now known as chris_hultin|AWA16:09
hugokuojust FYI... openstack CLI supports csv or table but not json16:09
hugokuo```16:09
hugokuoopenstack project list: error: argument -f/--format: invalid choice: 'json' (choose from 'csv', 'table')16:09
*** chris_hultin|AWA is now known as chris_hultin16:10
*** alex_xu has quit IRC16:11
*** davechen has quit IRC16:13
*** davechen has joined #openstack-keystone16:13
lbragstadayoung have you had a chance to look at the comment here - https://review.openstack.org/#/c/391624/21/specs/keystone/ongoing/role-check-from-middleware.rst ?16:17
*** lamt has quit IRC16:20
*** jaugustine has joined #openstack-keystone16:20
samueldmqlbragstad: that's an interesting point. we don't have different policies today for different ports :(16:21
samueldmqlbragstad: perhaps they have 2 entries in the policy file currently ?16:21
*** lamt has joined #openstack-keystone16:21
*** alex_xu has joined #openstack-keystone16:22
*** edtubill has joined #openstack-keystone16:23
lbragstadsamueldmq i believe it was oomichi that left that comment16:24
*** rcernin has quit IRC16:25
openstackgerritMerged openstack/keystonemiddleware: Add Constraints support  https://review.openstack.org/41328816:27
stevemarsamueldmq: release note and we're good :)16:27
*** dmellado_ has joined #openstack-keystone16:28
morgano/16:31
morganmornin16:31
samueldmqstevemar: oh, that's true!16:31
morganand happy new years16:31
samueldmqmorgan: morning, happy new year :)16:31
*** tesseract has quit IRC16:31
lbragstadmorgan happy new year16:31
*** chlong has quit IRC16:31
dstanekhappy new year morgan16:33
rodrigodsmorgan, happy new year! :)16:34
*** adrian_otto has quit IRC16:35
*** adrian_otto has joined #openstack-keystone16:36
stevemarmorgan: yay you survived16:39
lbragstadoomichi I'm interested in discussing https://review.openstack.org/#/c/391624/21/specs/keystone/ongoing/role-check-from-middleware.rst more with you if you have any time available (feel free to ping me whenever!)16:40
openstackgerritDavanum Srinivas (dims) proposed openstack/keystone: [WIP] Just a test with python3.5  https://review.openstack.org/41250016:41
lbragstadoomichi we have a policy meeting tomorrow http://eavesdrop.openstack.org/#Keystone_Policy_Meeting but if that's too short notice maybe we can shoot for next week.16:41
*** adrian_otto has quit IRC16:45
openstackgerritRodrigo Duarte proposed openstack/keystone: Cascade delete federated_user fk  https://review.openstack.org/41590616:46
*** chlong has joined #openstack-keystone16:47
openstackgerritRodrigo Duarte proposed openstack/keystone: Cascade delete federated_user fk  https://review.openstack.org/41590617:01
*** david-lyle has joined #openstack-keystone17:03
*** nkinder has joined #openstack-keystone17:05
*** adrian_otto has joined #openstack-keystone17:06
*** chris_hultin is now known as chris_hultin|AWA17:07
*** david-lyle has quit IRC17:08
*** chris_hultin|AWA is now known as chris_hultin17:11
openstackgerritSteve Martinelli proposed openstack/keystonemiddleware: Switch tox unit test command to use ostestr  https://review.openstack.org/41624817:13
*** medberry is now known as med_17:14
stevemareasy one to kick through: https://review.openstack.org/#/c/416248/ i think we should be moving to ostestr in our projects17:16
dstanekstevemar: infra won't mind the extra output will they?17:18
stevemardstanek: i doubt it's big enough to cause an issue, it loaded in my browser pretty quickly17:18
stevemardstanek: compared to say, a tempest job, where i'm constantly scrolling :P17:19
dstanekstevemar: running the tests now17:22
*** arunkant has joined #openstack-keystone17:24
stevemardstanek: coolio17:24
*** jaosorior has joined #openstack-keystone17:26
*** chris_hultin is now known as chris_hultin|AWA17:26
*** stingaci has joined #openstack-keystone17:28
*** jaugustine has quit IRC17:31
*** chris_hultin|AWA is now known as chris_hultin17:32
*** adrian_otto has quit IRC17:33
*** adrian_otto has joined #openstack-keystone17:35
*** chris_hultin is now known as chris_hultin|AWA17:37
*** chris_hultin|AWA is now known as chris_hultin17:37
*** jaosorior has quit IRC17:43
morganstevemar: yay had time to tear down the tree before meeting(s) started17:54
ayounglbragstad, so, the short version is that I knew about that, and chose to ignore it for the moment17:54
ayounglbragstad, the case for a bulk API like that is going to be "common denominator" role.  so _member_17:55
ayoungIf nova wants more granular RBAC, they have to meet us halfway:  either better APIs, or they should have backend the dynamic policy stuff from a couple years back17:56
*** mvk has joined #openstack-keystone17:56
lbragstadayoung so - how would they migrate to using the URL pattern as the operation?17:56
ayounglbragstad, split out separate APIs for the specific actions17:57
lbragstadso a new api17:57
ayoungadd roles that can execute those APIs specifically17:57
ayoungand in the bulk one, they check admin versus non-admin, leave it at that,17:57
ayoungthe top level API  would be handled by the catch all rule17:58
*** pcaruana has quit IRC17:58
ayoung he posted non-admin: Reboot a server17:58
ayoung admin: Migrate a server17:58
lbragstadright - but they are both the same URL and HTTP method17:58
ayoungexisting policy is still enforced.  So they are just missing out on on better enforcement17:58
*** jaugustine has joined #openstack-keystone17:58
ayounglbragstad, so, say you wanted a read only role, that role should not be able to execute this API at all17:59
stevemarmeeting soon! ^_^17:59
ayoungsince there would be no way to distinguish between member and reader17:59
lbragstadPOST /servers/{server_id}/action for an admin user would be different operation than POST /servers/{server_id}/action for a non-admin user17:59
ayounglbragstad, right, but existing policy already enforces that.18:00
ayoungThey would have to leave that in place18:00
stevemarkeystoners! assemble!18:00
ayoungjust that there would be no way to distinguish roles between the various non-admin operations18:00
stevemarmeeting time agrebennikov, amakarov, annakoppad, ayoung, bknudson, breton, browne, chrisplo, crinkle, davechen, dolphm, dstanek, edmondsw, edtubill, gagehugo, gyee, henrynash, hrybacki, jamielennox, jaugustine, jgrassler, knikolla, lbragstad, kbaikov, ktychkova, morgan, nisha, nkinder, notmorgan, raildo, ravelar, rderose, rodrigods, roxanaghe, samueldmq, shaleh, spilla, srwilkers, StefanPaetowJisc, stevemar,18:00
stevemartopol18:00
lbragstadayoung yeah - i think we need to sit down with oomichi though and talk some of it through18:00
*** asettle has quit IRC18:02
*** asettle has joined #openstack-keystone18:03
*** david-lyle has joined #openstack-keystone18:03
*** asettle has quit IRC18:07
*** david-lyle has quit IRC18:08
*** browne has joined #openstack-keystone18:09
*** chlong has quit IRC18:10
*** esp has joined #openstack-keystone18:17
*** adrian_otto has quit IRC18:38
*** adrian_otto has joined #openstack-keystone18:39
*** chlong has joined #openstack-keystone18:41
*** david-lyle has joined #openstack-keystone18:42
*** jaugustine has quit IRC18:46
*** chlong has quit IRC18:48
*** jose-phillips has joined #openstack-keystone18:51
*** jaugustine has joined #openstack-keystone18:54
morgan:)18:58
jlvillalDoes anyone know when the keystonemiddleware package will be released?19:02
*** chlong has joined #openstack-keystone19:02
jlvillalThe Ironic gate is broken until a new release occurs.19:03
samueldmqstevemar: ^19:05
samueldmqstevemar: https://review.openstack.org/#/c/416198/ has merged, new release required to unlock ironic gates19:05
*** dave-mccowan has quit IRC19:16
stevemarjlvillal: i'll propose a new release now, was waiting for our meeting to be over19:17
jlvillalstevemar: Awesome, thanks :)19:17
*** catintheroof has quit IRC19:33
*** catintheroof has joined #openstack-keystone19:34
jamielennoxstevemar: how does that break the gate?19:35
*** fungi has quit IRC19:35
*** itisha has quit IRC19:35
*** wolsen has quit IRC19:35
*** serverascode has quit IRC19:35
*** rm_work has quit IRC19:35
*** BlackDex has quit IRC19:35
*** ayoung has quit IRC19:35
*** gus has quit IRC19:35
*** sheel has quit IRC19:35
*** peterstac has quit IRC19:35
*** ktychkova_ has quit IRC19:35
*** hyakuhei has quit IRC19:35
*** Tahvok has quit IRC19:35
*** BlackDex has joined #openstack-keystone19:35
*** ktychkova has joined #openstack-keystone19:36
*** ayoung has joined #openstack-keystone19:36
*** ChanServ sets mode: +v ayoung19:36
*** gus has joined #openstack-keystone19:36
*** fungi has joined #openstack-keystone19:36
*** peterstac has joined #openstack-keystone19:36
*** hyakuhei has joined #openstack-keystone19:36
jamielennoxis that a new webob?19:36
*** Tahvok has joined #openstack-keystone19:36
*** rm_work has joined #openstack-keystone19:36
*** asettle has joined #openstack-keystone19:37
*** harlowja has joined #openstack-keystone19:38
*** catintheroof has quit IRC19:38
*** sheel has joined #openstack-keystone19:39
*** guoshan has joined #openstack-keystone19:41
*** jaugustine has quit IRC19:42
*** itisha has joined #openstack-keystone19:42
*** wolsen has joined #openstack-keystone19:43
*** guoshan has quit IRC19:46
stevemarjamielennox: yeah, new webob came out over the holidays19:52
*** serverascode has joined #openstack-keystone19:52
stevemarjamielennox: jd had a fix to fix the new version (i think he encountered the error in his dev env), but it broke CI's since they still use the old version19:52
stevemarjamielennox: the recent change should work on both old and new versions19:52
jamielennoxstevemar: the one that was approved looks good19:53
stevemarjamielennox: vague comment is vague19:53
*** dave-mccowan has joined #openstack-keystone20:03
*** openstackgerrit has quit IRC20:03
*** jaugustine has joined #openstack-keystone20:08
*** haplo37_ has quit IRC20:09
*** jaugustine has quit IRC20:10
*** adrian_otto has quit IRC20:11
*** haplo37_ has joined #openstack-keystone20:12
*** adriant has joined #openstack-keystone20:16
*** guoshan has joined #openstack-keystone20:42
*** asettle has quit IRC20:44
*** guoshan has quit IRC20:47
*** jaugustine has joined #openstack-keystone20:49
samueldmqstevemar: perhaps we could approve https://review.openstack.org/#/c/39947220:56
samueldmqstevemar: I left it to you as you wanted to see a successful build.20:56
*** adrian_otto has joined #openstack-keystone21:02
stevemarsamueldmq: depends-on stuff21:03
*** openstackgerrit has joined #openstack-keystone21:18
openstackgerritMerged openstack/keystonemiddleware: Switch tox unit test command to use ostestr  https://review.openstack.org/41624821:18
openstackgerritGage Hugo proposed openstack/keystone: Allow user to change own expired password  https://review.openstack.org/40402221:19
*** dave-mccowan has quit IRC21:35
openstackgerritGage Hugo proposed openstack/keystone: Clean up exception handling for CADF reason  https://review.openstack.org/41382221:36
openstackgerritGage Hugo proposed openstack/keystone: Allow user to change own expired password  https://review.openstack.org/40402221:38
*** spzala has quit IRC21:44
openstackgerritLance Bragstad proposed openstack/keystone: Remove CONF.domain_id_immutable  https://review.openstack.org/41626721:47
*** agrebennikov has joined #openstack-keystone21:58
*** chlong has quit IRC22:10
*** chris_hultin is now known as chris_hultin|AWA22:15
*** jaugustine has quit IRC22:19
*** edmondsw has quit IRC22:21
*** edmondsw has joined #openstack-keystone22:21
*** edmondsw has quit IRC22:25
*** edtubill has quit IRC22:28
openstackgerritLance Bragstad proposed openstack/keystone: Remove CONF.domain_id_immutable  https://review.openstack.org/41626722:51
*** adrian_otto has quit IRC22:52
openstackgerritBrant Knudson proposed openstack/keystone: Correct timestamp format in V3 token responses  https://review.openstack.org/41637222:54
stevemarbknudson: i see you got tired of bad patches :(22:56
bknudsonstevemar: trying to save time.22:58
*** phalmos has joined #openstack-keystone22:58
*** chris_hultin|AWA is now known as chris_hultin22:59
*** jperry has quit IRC23:11
*** openstack has joined #openstack-keystone23:13
*** jaugustine has joined #openstack-keystone23:17
*** chris_hultin is now known as chris_hultin|AWA23:19
*** lamt has quit IRC23:27
*** chris_hultin|AWA is now known as chris_hultin23:29
*** chris_hultin is now known as chris_hultin|AWA23:30
*** spzala has joined #openstack-keystone23:30
*** guoshan has joined #openstack-keystone23:45
openstackgerritRichard Avelar proposed openstack/keystone: WIP add db_sync check  https://review.openstack.org/41638323:49
*** guoshan has quit IRC23:49

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