Friday, 2023-02-10

*** dmellado1 is now known as dmellado00:13
vanougood morning ironic00:31
TheJuliao/ vanou00:32
TheJuliaJust as I'm about to call it a night. :)00:32
vanouTheJulia: Hi o/  US is going into night :)00:33
TheJuliaIndeex, and I start my day early to have some overlap with Europe00:34
TheJuliaerr, Indeed00:34
vanouThat is good habit when working in global00:35
*** zbitter is now known as zaneb00:36
vanouJapan timezone is middle of US and Europe. So it's possible to have meeting with Europe and US at morning and night in Japan.00:40
TheJuliaThat is a definite positive00:41
vanou;)00:42
TheJuliaAnd now my corgi is attempting to get my attention. Time to call it the day00:52
vanouCute corgi :)  Good night o/00:53
stevebaker[m]And the SIG video is live! https://www.youtube.com/watch?v=azLRhpSS40w&list=PLKqaoAnDyfgoBFAjUvZGjKXQjogWZBLL_ << arne_wiebalck JayF 04:06
stevebaker[m]shorter link https://www.youtube.com/watch?v=azLRhpSS40w04:08
rpittaugood morning ironic! o/08:54
opendevreviewMerged openstack/metalsmith master: test_provision: don't assert provision_node call order  https://review.opendev.org/c/openstack/metalsmith/+/87303509:09
*** dmellado_ is now known as dmellado10:29
kubajjgood morning everyone!11:29
iurygregorygood morning Ironic12:15
*** dmellado_ is now known as dmellado12:57
kubajjdtantsur, TheJulia: if you had a moment, could I ask for a re-review just to finish this change? https://review.opendev.org/c/openstack/ironic/+/871394/13:27
dtantsurkubajj: sorry, might have missed a few things on the previous pass. a new review incoming.13:38
kubajjdtantsur: no worries, I am happy to fix it13:38
kubajjdtantsur: by this https://review.opendev.org/c/openstack/ironic/+/871394/comments/130c65a6_01431352 , do you mean just trying to return instead of the try except block?13:46
dtantsurkubajj: my first comment was about a redundant temporary variable 'ret'. then I discovered the relationship between the exceptions, which mean that you can probably just let it propagate (i.e. remove try..except).13:47
kubajjdtantsur: Ok, will do, thanks13:47
kubajjdtantsur: For the exceptions, do you see the context (if it's nostore, swift, etc) useful, or should I just use the NodeInventoryNotFound as is?13:49
dtantsurkubajj: I'm not sure if it's of much help for end users13:52
kubajjOk13:52
opendevreviewJakub Jelinek proposed openstack/ironic master: Erase swift inventory entry on node deletion  https://review.opendev.org/c/openstack/ironic/+/87139414:05
kubajjdtantsur: If there is anything else to change, let me know, but this should resolve all your comments ^14:13
dtantsurresponded14:26
kubajjdtantsur: should I pass just the node.uuid to the exception or rather something like 'for node <node.uuid>'14:32
dtantsurkubajj: you can rephrase the error message for readability, yes14:32
dtantsur(not really "pass", more of changing the class)14:32
opendevreviewJakub Jelinek proposed openstack/ironic master: Erase swift inventory entry on node deletion  https://review.opendev.org/c/openstack/ironic/+/87139414:40
kubajjdtantsur: Oh, I did not see the latter comment. I assume that this is not the way then ^14:41
kubajjI wanted it to make sense for both the db errors and the nostore/swift exceptions14:42
dtantsurkubajj: if you pass the string this way, it's not translatable (while error messages are - see _(..) around them)14:42
dtantsurI would assume db errors are also for a node?14:42
dtantsurthere is no usable inventory ID if I recall it right14:43
* TheJulia tries to wake up14:43
kubajjdtantsur: So I looked into it and it seems that it was node_id that I passed to it. And this seems wrong, right? https://review.opendev.org/c/openstack/ironic/+/862569/11/ironic/db/sqlalchemy/api.py#257814:46
kubajjBecause I am passing node_id=... but the argument is inventory, right?14:46
dtantsurkubajj: yeah, feels wrong. also, node_id (the numeric one) is not public, so we may need to re-raise it with the node's UUID14:49
kubajjdtantsur: should I change it in this change? (it is a follow-up to an api change, not db)14:50
dtantsurkubajj: probably separately unless we're making it worse :)14:51
opendevreviewJakub Jelinek proposed openstack/ironic master: Erase swift inventory entry on node deletion  https://review.opendev.org/c/openstack/ironic/+/87139414:57
kubajjdtantsur: btw, by _ being translatable, is this for localization?14:58
JayFdtantsur: mind pointing a review at my sharding changes, too? They are complete, only waiting review...15:19
JayFhttps://review.opendev.org/c/openstack/ironic/+/864236 is the first of 4 in that chain15:20
JayFI got a review from steve on that first one, nice, I didn't see that15:22
dtantsurJayF: do you want to follow-up on Steve's comments first?15:36
dtantsurkubajj: yep15:36
JayFdtantsur: I already commented on the ones I'm following, and the ones I have further questions on15:37
JayFyou should be able to see how it looks to you if you want to15:37
JayFI would anticipate it being a little bit of time before I get those changes complete...15:37
JayFalso steve is enough core review to land it15:38
kubajjdtantsur: I will create the change fixing the db exception handling once the current one is merged.15:38
JayFso also judge that against your available time15:38
rpittaubye everyone, have a great weekend! o/16:15
JayFtake a look at the recent openstack-discuss list post16:19
JayFsounds like someone wants to implement OAUTH in keystonemiddleware16:19
JayFwhich would be a huge, huge boon for standalone ironic16:19
TheJuliaomg yes16:20
dtantsurmmmm, neat16:22
TheJuliaa... oauth group to rbac role translation thing would be needed16:46
TheJuliabut aside from that.... it could be epic16:46
arne_wiebalckbye everyone, have a good weekend o/17:18
JayFTheJulia: looking at the patch, it looks like that might be config18:43
JayFTheJulia: the amount I'm jazzed about this idea is HUGE18:43
* JayF would love to see an openstack deployment with no keystone whatsoever18:44
JayF(not because I dislike keystone; but because anytime we can remove a service it drops the complexity a HUGE amount)18:44
TheJuliaAgreed18:58
TheJuliaAlso, just supporting native oauth capabilities allows one to bolt ironic or other services into an existing environment18:59

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!