Thursday, 2023-01-19

arne_wiebalckGood morning, Ironic!07:20
opendevreviewMerged openstack/bifrost master: Use curl to download deploy image if get_url fails  https://review.opendev.org/c/openstack/bifrost/+/86838707:55
opendevreviewBartosz Bezak proposed openstack/bifrost stable/zed: Create /run/ironic runtime directory when service starts  https://review.opendev.org/c/openstack/bifrost/+/87103007:59
opendevreviewBartosz Bezak proposed openstack/bifrost stable/yoga: Create /run/ironic runtime directory when service starts  https://review.opendev.org/c/openstack/bifrost/+/87103107:59
rpittaugood morning ironic! o/08:25
rpittaudtantsur: we finally got logs from kubelet in metal3-ci integration job! It's failed but at least we can see what went wrong :D08:39
kubajjdtantsur: How would you go about testing the store_ and get_introspection_data (https://review.opendev.org/c/openstack/ironic/+/870799/4/ironic/drivers/modules/inspect_utils.py#61) I guess these need to be just functional (using the api)? What should be the next step?09:07
kubajjGood morning arne_wiebalck, rpittau, and Ironic!09:08
rpittauhey kubajj :)09:08
opendevreviewRiccardo Pittau proposed openstack/ironic stable/zed: Fix selinux context of published image hardlink  https://review.opendev.org/c/openstack/ironic/+/87103209:25
opendevreviewRiccardo Pittau proposed openstack/ironic bugfix/21.0: Fix selinux context of published image hardlink  https://review.opendev.org/c/openstack/ironic/+/87103309:25
opendevreviewRiccardo Pittau proposed openstack/ironic bugfix/20.2: Fix selinux context of published image hardlink  https://review.opendev.org/c/openstack/ironic/+/87105209:29
opendevreviewVincent proposed openstack/bifrost master: Feature: Enable user_data's file generation  https://review.opendev.org/c/openstack/bifrost/+/87001709:29
opendevreviewRiccardo Pittau proposed openstack/ironic stable/yoga: Fix selinux context of published image hardlink  https://review.opendev.org/c/openstack/ironic/+/87105309:30
opendevreviewRiccardo Pittau proposed openstack/ironic bugfix/19.0: Fix selinux context of published image hardlink  https://review.opendev.org/c/openstack/ironic/+/87103809:31
opendevreviewRiccardo Pittau proposed openstack/ironic stable/xena: Fix selinux context of published image hardlink  https://review.opendev.org/c/openstack/ironic/+/87103909:31
opendevreviewRiccardo Pittau proposed openstack/ironic bugfix/18.1: Fix selinux context of published image hardlink  https://review.opendev.org/c/openstack/ironic/+/87104009:31
opendevreviewRiccardo Pittau proposed openstack/bifrost stable/zed: Fix CI  https://review.opendev.org/c/openstack/bifrost/+/87104109:37
opendevreviewRiccardo Pittau proposed openstack/bifrost stable/yoga: Fix CI  https://review.opendev.org/c/openstack/bifrost/+/87104209:37
opendevreviewVincent proposed openstack/bifrost master: Feature: Enable user_data's file generation  https://review.opendev.org/c/openstack/bifrost/+/87001709:38
opendevreviewVincent proposed openstack/bifrost master: Feature: Enable user_data's file generation  https://review.opendev.org/c/openstack/bifrost/+/87001709:43
opendevreviewVincent proposed openstack/bifrost master: Feature: Enable user_data's file generation  https://review.opendev.org/c/openstack/bifrost/+/87001709:43
opendevreviewVincent proposed openstack/bifrost master: Feature: Enable user_data's file generation  https://review.opendev.org/c/openstack/bifrost/+/87001709:50
opendevreviewVincent proposed openstack/bifrost master: Feature: Enable user_data's file generation  https://review.opendev.org/c/openstack/bifrost/+/87001709:51
opendevreviewOpenStack Release Bot proposed openstack/ironic-python-agent bugfix/8.0: Update .gitreview for bugfix/8.0  https://review.opendev.org/c/openstack/ironic-python-agent/+/87106109:51
opendevreviewMerged openstack/ironic master: CI: Fix race prone unit test in networking  https://review.opendev.org/c/openstack/ironic/+/87099510:09
samuelkunkel[m]Good morning10:32
samuelkunkel[m]rpittau: short question regarding https://review.opendev.org/c/openstack/sushy/+/870888, (its a bug in requests and I have added the workaround), how/where can I add a release note?10:33
dtantsurkubajj: I've move most of the testing to test_inspect_utils to be honest. That's where all variants of storage and retrieving (swift, db, disabled) should be exercised10:50
dtantsurthe tests for inspector and API should probably mock the calls and just check they are done with the right arguments10:50
kubajjdtantsur: so should I mock the API/import the API base test class to inspect utils test for the get_introspection_data?11:00
dtantsurkubajj: I don't think you should touch the API there anyhow, just test the functions directly11:01
kubajjdtantsur: I'll look into it. I might be just confused as I haven't looked into it in a while.11:03
iurygregorygood morning Ironic11:46
rpittausamuelkunkel[m]: you need to use reno https://docs.openstack.org/reno/latest/13:02
kubajjdtantsur: I should remove it from store_introspection_data, right? (https://review.opendev.org/c/openstack/ironic/+/870799/comments/c0a09469_3d24f9f6)13:08
kubajjdtantsur: or do we want to duplicate it so that store_introspection_data covers all the cases?13:16
dtantsurkubajj: I'd do the latter13:17
kubajjOk13:18
opendevreviewRiccardo Pittau proposed openstack/ironic bugfix/21.0: Pin tox to version lower than 4  https://review.opendev.org/c/openstack/ironic/+/87109713:56
opendevreviewRiccardo Pittau proposed openstack/ironic stable/yoga: Fix selinux context of published image hardlink  https://review.opendev.org/c/openstack/ironic/+/87105314:00
opendevreviewRiccardo Pittau proposed openstack/ironic stable/xena: Fix selinux context of published image hardlink  https://review.opendev.org/c/openstack/ironic/+/87103914:02
opendevreviewRiccardo Pittau proposed openstack/ironic bugfix/19.0: Pin tox to version lower than 4  https://review.opendev.org/c/openstack/ironic/+/87109814:06
opendevreviewRiccardo Pittau proposed openstack/ironic bugfix/18.1: Fix selinux context of published image hardlink  https://review.opendev.org/c/openstack/ironic/+/87104014:09
opendevreviewRiccardo Pittau proposed openstack/ironic bugfix/20.2: Pin tox to version lower than 4  https://review.opendev.org/c/openstack/ironic/+/87109914:12
TheJuliagood morning14:13
opendevreviewJakub Jelinek proposed openstack/ironic master: Reorganise Inventory Storage  https://review.opendev.org/c/openstack/ironic/+/87079915:20
kubajjTheJulia: good morning15:21
kubajjdtantsur: I have a quick question about the get_introspection_data. I am passing it the api and in 'database' case, I need to access api.request.context. Can I mock the api somehow?15:22
dtantsurkubajj: I think we have way to create a fake context, look in other unit tests15:23
* dtantsur is on a wall of meetings now15:23
TheJuliawe do15:35
TheJulia*but* most of the time if memroy serves we just hand it a mock object if memory serves15:35
TheJuliamemory15:35
TheJuliaor set it to None15:35
opendevreviewJakub Jelinek proposed openstack/ironic master: Reorganise Inventory Storage  https://review.opendev.org/c/openstack/ironic/+/87079915:39
kubajjTheJulia: I slightly modified the function call so it accepts just context and not the whole api. I you have any suggestions and have a minute, feedback would be appreciated. ^15:40
TheJuliakubajj: I will try to take a look soon, I've got a meeting and I'm rescheduling some meetings15:55
kubajjTheJulia: thanks15:56
rpittaugood night! o/16:34
TheJuliakubajj: I think all you need is likely dmitry's suggestion on if the store == 'none'17:13
TheJuliaor to be more precise if it does not == none17:14
kubajjTheJulia: I think I already have it https://review.opendev.org/c/openstack/ironic/+/870799/6/ironic/drivers/modules/inspector.py#37117:15
TheJuliaoh17:16
TheJuliaI see, you did the inverse from what was there17:16
TheJuliaI guess, the logical progression in my mind is eventually, we'll conditional off the introspection_client call17:16
kubajjTheJulia: I see. Should I change it now or do we change it once more stuff gets introduced?17:25
TheJuliaI'm on the fence at the moment17:25
TheJulianot really sure, I think as is, it works, I just need to look at the tests17:26
TheJuliaJayF: still have an issue with the rbac policy in your shards change, which boils down to a question of "do we allow project scoped readers to see /v1/shards at all?17:36
JayFI think the answer is "no"17:36
TheJuliaokay, then we need to make it SYSTEM_READER, but we can leave the scope_types field the same to allow operators to change if they feel the need17:36
JayFack17:37
JayFdo you have time to talk about portcontroller stuff?17:37
JayFI have about 20 until my next meeting17:37
TheJuliasure, got a link?17:37
JayFyeah lemme make up a zoom17:37
TheJuliahttps://review.opendev.org/c/openstack/sushy-tools/+/842266 could use a core reviewer, I took a look and it seemed to be in good shape18:27
TheJuliaa core reviewer that is not I or Steve18:27
opendevreviewJulia Kreger proposed openstack/ironic master: Docs: Troubleshooting: how to exit clean failed  https://review.opendev.org/c/openstack/ironic/+/87112919:35
iurygregoryTheJulia, done =)19:58
iurygregorytook some time to review it19:58
TheJuliamuchas gracias20:06
opendevreviewTobias Urdin proposed openstack/ironic master: Use new get_rpc_client API from oslo.messaging  https://review.opendev.org/c/openstack/ironic/+/87116020:31
opendevreviewMerged openstack/sushy-tools master: Add SecureBoot support to the emulator, all drivers  https://review.opendev.org/c/openstack/sushy-tools/+/84226620:53
opendevreviewTobias Urdin proposed openstack/ironic-inspector master: Use new get_rpc_client API from oslo.messaging  https://review.opendev.org/c/openstack/ironic-inspector/+/87118321:05

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