Friday, 2019-06-07

*** gyee has quit IRC00:23
*** markvoelker has joined #openstack-keystone00:29
*** markvoelker has quit IRC01:02
*** jamesmcarthur has joined #openstack-keystone01:14
*** jamesmcarthur has quit IRC01:18
*** markvoelker has joined #openstack-keystone01:59
*** jamesmcarthur has joined #openstack-keystone02:29
*** markvoelker has quit IRC02:32
*** threestrands has joined #openstack-keystone02:54
*** jamesmcarthur has quit IRC02:58
*** whoami-rajat has joined #openstack-keystone03:10
*** shyamb has joined #openstack-keystone03:51
*** threestrands has quit IRC04:12
*** lbragstad has quit IRC04:20
*** markvoelker has joined #openstack-keystone04:30
*** shyamb has quit IRC04:57
*** shyam89 has joined #openstack-keystone04:57
*** markvoelker has quit IRC05:03
*** shyam89 has quit IRC05:08
*** shyamb has joined #openstack-keystone05:18
*** shyamb has quit IRC05:37
cmurphyit passes, please review ^05:43
*** shyamb has joined #openstack-keystone05:48
*** markvoelker has joined #openstack-keystone06:00
*** hoonetorg has quit IRC06:21
*** markvoelker has quit IRC06:32
*** itlinux_ has joined #openstack-keystone06:34
*** itlinux has quit IRC06:34
*** pcaruana has joined #openstack-keystone06:35
*** hoonetorg has joined #openstack-keystone06:38
*** itlinux_ has quit IRC06:54
*** itlinux has joined #openstack-keystone06:59
*** itlinux has quit IRC07:05
*** mvkr has joined #openstack-keystone07:09
*** tesseract has joined #openstack-keystone07:09
*** itlinux has joined #openstack-keystone07:12
*** imacdonn has quit IRC07:16
*** markvoelker has joined #openstack-keystone07:30
*** shyamb has quit IRC07:30
*** jaosorior has joined #openstack-keystone07:51
*** xek has joined #openstack-keystone07:51
*** Emine has joined #openstack-keystone07:52
*** rcernin has quit IRC07:55
*** shyamb has joined #openstack-keystone07:57
*** markvoelker has quit IRC08:03
*** trident has quit IRC08:35
*** trident has joined #openstack-keystone08:37
*** imacdonn has joined #openstack-keystone08:37
*** emine__ has joined #openstack-keystone08:51
*** Emine has quit IRC08:52
*** markvoelker has joined #openstack-keystone09:00
*** jaosorior has quit IRC09:30
*** markvoelker has quit IRC09:32
*** tkajinam has quit IRC09:37
*** jaosorior has joined #openstack-keystone09:47
*** jaosorior has quit IRC10:13
*** shyamb has quit IRC10:25
*** shyam89 has joined #openstack-keystone10:25
*** jaosorior has joined #openstack-keystone11:07
*** xek has quit IRC11:29
*** markvoelker has joined #openstack-keystone11:30
*** shyam89 has quit IRC11:47
*** shyamb has joined #openstack-keystone11:48
*** xek has joined #openstack-keystone11:53
*** markvoelker has quit IRC12:03
*** dtruong has quit IRC12:27
*** dtruong has joined #openstack-keystone12:27
*** aloga has quit IRC12:27
*** aloga has joined #openstack-keystone12:28
*** dansmith has quit IRC12:29
*** dansmith has joined #openstack-keystone12:32
*** shyamb has quit IRC12:48
*** markvoelker has joined #openstack-keystone12:49
*** lbragstad has joined #openstack-keystone13:03
*** mvkr has quit IRC13:09
*** lbragstad_ has joined #openstack-keystone13:26
*** lbragstad has quit IRC13:27
*** jamesmcarthur has joined #openstack-keystone13:32
*** lbragstad_ is now known as lbragstad13:38
*** notq has joined #openstack-keystone13:55
cmurphylbragstad: knikolla gagehugo can i get another review on https://review.opendev.org/663373 to unbreak the gate?14:39
knikollacmurphy: pushed14:40
cmurphytyvm14:40
*** itlinux has quit IRC14:46
*** itlinux has joined #openstack-keystone14:47
*** itlinux has quit IRC14:52
*** itlinux has joined #openstack-keystone14:59
*** jc_ has joined #openstack-keystone15:00
kmalloco/15:01
kmalloci couldn't review it in depth from a phone15:01
kmallocso i didn't want to single-core it15:01
kmallocknikolla: thanks for following up on it15:02
*** ksavich has joined #openstack-keystone15:02
kmallocmnaser: how much battery life are you getting on your x1extreme?15:16
kmallocmnaser: because that might be the tipping point for me back to the X1C15:16
*** jc_ has quit IRC15:20
*** bnemec is now known as beekneemech15:29
mnaserkmalloc: to be honest, I got 2.5 hours yesterday out of it doing some shell / browser work15:35
mnaserNothing intense15:35
mnaserBut that's with zero tweaking anything15:35
kmallocmnaser: that is pretty low, apparantly there is an issue with the GPU on them (in general) that burns battery unless you do some wonky stuff15:36
kmallocin windows*15:36
kmallocI'm getting ~6hrs on a "dying" battery on my X1C615:37
kmalloci used to get 12+ hrs15:37
kmallocmnaser: just issues with gpu not sleeping/swapping correctly. I think i'll go X1C again. the added ram would be great.15:38
*** cmurphy is now known as cmorpheus15:38
kmallocbut i often work without power nearby15:38
* kmalloc feels weird being on the east coast timezone wise.15:38
mnaserkmalloc: yeah I rarely need it for that long. I feel that probably has to do with the fact it has a full on graphics card15:39
kmallocmnaser: yep, in windows you can remove the device and re-add it and push 10hrs (up from 5). but tuning from 2.5 hrs up on linux means probably wont get evne close to 10hrs with changes15:40
kmallocthat's fine, brie will be happy i am spending closer to $2k rather than $3k for a laptop.15:40
mnaserkmalloc: yeah I hear that id a common things. In windows it's much more different I'm sure. I can't imagine optimizing that much15:40
clarkbI'm having a hard time giving up my x240 because I can replace the battery in it trivially and still get > 8hours of battery life total after ~5 years of service15:41
clarkbbut consumers apparently don't like those features and need a backup butter knife instead :)15:42
kmallocclarkb: i'm going to get the sealed battery warranty on the next one. it costs like $20 for 5 years. if the laptop lasts me 5 years, i'm stoked15:42
kmallocclarkb: if i do x1c15:42
* lbragstad hopes to make his x1c last 3 years15:43
cmorpheusi think i've had my 3rd gen at least that long15:43
lbragstadyou've had a pretty rock solid machine cmorpheus15:44
lbragstadyou haven't had any issues have you?15:44
cmorpheusa few weeks ago it had some kind of hardware malfunction and wouldn't boot past the bios at all15:45
cmorpheusbut that went away15:45
cmorpheusbut it is making me realize this thing is pretty old15:45
lbragstadmmm15:46
kmalloci had a lemon of a x1c3 but lenovo just kept repairing it under warranty. they should have replace it15:49
*** markvoelker has quit IRC15:49
kmallocthis one has been ok, but the low screen res and some other stuff (noably the battery being drained to zero over and over) has made the battery less happy. things I learned about tuning this hardware *after* the battery was already unhappy with me15:49
kmallocso my thought is new x1c6 setup the way I want and tune for power savings when sleeping out the gate.15:50
kmallocshould make the battery last a lot longer15:50
*** gyee has joined #openstack-keystone15:51
*** lbragstad is now known as lbragstad_runnin16:06
*** xek has quit IRC16:11
gagehugokmalloc: I'm waiting to see what the x1c7 looks like16:16
kmallocgagehugo: seeing as the x1c7 is coming out... like next week or so16:17
kmalloci think i am waiting too16:17
*** emine__ has quit IRC16:19
cmorpheusugh guys stop, i have too many computers already /o\16:20
gagehugonext week would be nice16:22
gagehugoe3 is next week too16:22
kmalloccmorpheus: BUY MOAR16:25
*** tesseract has quit IRC16:40
*** jaosorior has quit IRC16:42
*** ksavich has quit IRC16:44
notqcmorpherus: https://bugs.launchpad.net/keystone/+bug/1831918 added comment16:44
openstackLaunchpad bug 1831918 in OpenStack Identity (keystone) "ec2 credentials do not create audit notifications" [Undecided,Incomplete]16:44
*** markvoelker has joined #openstack-keystone16:50
cmorpheusthanks notq16:52
*** lbragstad_runnin is now known as lbragstad16:53
notqthank you for finding details, i spent way too much of yesterday trying to sort out what you seemed to do quite quickly :)16:56
cmorpheusi've been working on this code for too long @.@16:57
notqWhat I don't understand is it works for credential, and not ec2 credential. So I tried to sort out how it was working for credential, and I couldn't see that, or understand the differences between them16:57
notqfor example, if the proper code is added to the first place, does credential then send 2? or are they using different forms?16:59
cmorpheushmm i'm not sure why credential would work but ec2 would not17:00
notqyeah, that's where i was totally stuck. I couldn't find how credential did them. Unless I have a bad assumption and credential doesn't work, but I mean, clearly it does cause I've seen them. Let me load a massive region and look at all keystone notifications17:01
notqi have, authenticate (failures), create/delete user, create/delete application credential, create/delete role assignment, create project (we don't do deletes)17:10
notqand create domain, create/delete service, create endpoint, create OS-OAUTH1:consumer, create OS-OAUTH1:request_token ,17:15
notqand that's it for the last 3 months in a region17:15
notqis that helopful cmorpheus?17:16
cmorpheusnotq: hmm possibly there's a terminology issue, we have "application credential" which should be doing notifications correctly, and just "credential" which is what ec2/s3 credentials are based on which is where i don't see notifications happening17:23
notqAh, then that's what I misunderstood. I thought credential was doing more. My mistake, and clears up so much.17:23
cmorpheuswe're great at naming things >.>17:24
notqThen your comment matches perfectly what needs to be done.17:24
*** markvoelker has quit IRC17:25
cmorpheusgreat :D17:25
openstackgerritMerged openstack/keystoneauth master: add a handler for unknown HTTP errors  https://review.opendev.org/66313217:27
notqadd import notifications, credential[id] seems to hit, initiator doesn't. sorting17:29
notqchanges the function signature17:30
notqwith an initiator=none17:30
notqthere's no delete in credential/core ?17:32
cmorpheusnotq: if it doesn't exist it's because it automagically calls the delete in the driver (keystone/credentials/backends/sql.py), best to add the delete function to the manager in core.py so the notification can happen from there17:34
*** jamesmcarthur has quit IRC17:54
openstackgerritMerged openstack/keystone master: Exclude constants from autodoc  https://review.opendev.org/66337318:15
openstackgerritColleen Murphy proposed openstack/keystone master: Add user_id, external_id to access rules table  https://review.opendev.org/66344018:20
openstackgerritColleen Murphy proposed openstack/keystone master: Add manager support for app cred access rules  https://review.opendev.org/66346218:20
*** markvoelker has joined #openstack-keystone18:22
openstackgerritColleen Murphy proposed openstack/keystone master: Ignore boilerplate constants in autodoc  https://review.opendev.org/66402918:37
*** raildo has joined #openstack-keystone18:43
*** markvoelker has quit IRC18:55
*** emine__ has joined #openstack-keystone19:28
notqcmorpheus: added the notification code to create in my branch, added the notes to the bug from you so they aren't lost, thanks. Not sure what to do after the delete method is added, it will need to be called as well instead. Perhaps on Monday I can look more into it.19:34
cmorpheusnotq: it will automatically be called, no need to worry about adding a new call19:37
notqreally? huh..19:37
cmorpheusyeah there is some unintuitive magic that links up the manager and the driver, so the controller calls delete_credential and it will either go to the manager or the driver depending on whether the manager has that method19:38
notqoh, so then i just move them. this is much more simple than i thought19:39
notqin app credentials, delete_credentials_for_project and for user have underscores in front of them. not in the driver, should they? Not sure what that's signifying in python, i'm guessing the ability to call outside of the package?19:42
cmorpheusnotq: it's supposed to indicate that it's a private method and not intended to be called from outside the class19:44
notqso i assume those should have underscores and don't, got it19:45
cmorpheusnot necessarily19:46
notqhrm19:47
cmorpheusi don't think you should need to change any method names19:48
notqfair. there are some changes still required as the methods are referencing parts still in the driver code.19:49
notqmaybe i don't need to move the other methods, jsut the delete19:49
openstackgerritColleen Murphy proposed openstack/keystone master: Add user_id, external_id to access rules table  https://review.opendev.org/66344019:51
openstackgerritColleen Murphy proposed openstack/keystone master: Add manager support for app cred access rules  https://review.opendev.org/66346219:51
openstackgerritColleen Murphy proposed openstack/keystone master: Add API changes for app cred access rules  https://review.opendev.org/62816819:51
notqhttps://github.com/sapcc/keystone/pull/4 look remotely sane?19:51
*** markvoelker has joined #openstack-keystone19:52
cmorpheusnotq: almost, you don't need to move any methods, you just need to add the new one to core.py - take the example here https://opendev.org/openstack/keystone/src/branch/master/keystone/application_credential/core.py#L181 https://opendev.org/openstack/keystone/src/branch/master/keystone/application_credential/backends/sql.py#L18419:54
notqoic19:55
*** emine has joined #openstack-keystone19:56
cmorpheusalso, we don't use github pull requests - check out https://docs.openstack.org/contributors/common/setup-gerrit.html when you're ready to submit the change19:57
*** emine__ has quit IRC19:59
notqyes, I'm doing it against our version first, then I will walk through the process as a change. https://github.com/sapcc/keystone/pull/4 better now?20:00
notqI haven't done an actual openstack change in 2 years that someone hasn't just done for me, so I'll just walk through it once it's set.20:01
*** emine has quit IRC20:04
*** emine has joined #openstack-keystone20:05
*** raildo has quit IRC20:06
*** jamesmcarthur has joined #openstack-keystone20:07
*** emine__ has joined #openstack-keystone20:11
*** jamesmcarthur has quit IRC20:12
*** emine has quit IRC20:13
cmorpheusnotq: that one looks good, you'll need to fix the docstring though20:14
notqoops, k. having issues getting git review to ssh properly, working through it20:14
*** emine has joined #openstack-keystone20:15
*** emine__ has quit IRC20:16
*** markvoelker has quit IRC20:20
*** emine has quit IRC20:53
*** jdwidari has joined #openstack-keystone21:12
*** markvoelker has joined #openstack-keystone21:16
*** markvoelker has quit IRC21:21
*** whoami-rajat has quit IRC21:34
*** pcaruana has quit IRC21:51
*** notq has quit IRC22:17
*** gyee has quit IRC23:12
*** markvoelker has joined #openstack-keystone23:17
kmalloccmorpheus: I'll likely miss the retro23:28
kmallocI think I am on a plane at that time. Will see if I can wifi it up while flying.23:29
*** hoonetorg has quit IRC23:35
*** markvoelker has quit IRC23:38
cmorpheuskmalloc: :( okay23:46
*** hoonetorg has joined #openstack-keystone23:49
*** lbragstad has quit IRC23:53

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