Friday, 2023-01-13

vanougood morning ironic02:20
vanouTheJulia JayF: Thanks review for https://review.opendev.org/c/openstack/ironic/+/867808 https://review.opendev.org/c/openstack/ironic/+/865075 . The reason I created 867808 is, if I adopt try-fallback approach on 865075, IPMI try takes 60seconds then fallback to Redfish. So this makes iRMC driver very slow because IPMI has been used many places in code. TheJulia's advice on02:31
vanou865075, which patch 867808 should introduce "don't retry automatically", is helpful.02:31
kubajjGood morning vanou and Ironic!05:43
vanougood morning kubajj07:34
opendevreviewVincent proposed openstack/bifrost master: Feature: Enable user_data's file generation  https://review.opendev.org/c/openstack/bifrost/+/87001708:09
iurygregorygood morning Ironic11:37
opendevreviewBaptiste Jonglez proposed openstack/networking-generic-switch master: Document ngs_trunk_ports and ngs_physical_networks  https://review.opendev.org/c/openstack/networking-generic-switch/+/86831312:24
opendevreviewBaptiste Jonglez proposed openstack/networking-generic-switch master: Add support for Cisco Nexus devices (NX-OS)  https://review.opendev.org/c/openstack/networking-generic-switch/+/86848112:26
kubajjdtantsur: I am clueless in how to integrate the NodeInventoryController into the _subcontroller_map. Any suggestions?12:33
dtantsurkubajj: are there any issues with doing it the way other controllers are integrated?12:38
kubajjdtantsur: still the node_ident error12:39
dtantsurkubajj: did you copy the part TheJulia suggested? could you show me the current diff?12:40
kubajjdtantsur: I did. Can't right now. I needed to go to the embassy to vote in elections, but will be back in a bit.12:43
dtantsursure, important things first12:44
opendevreviewBaptiste Jonglez proposed openstack/networking-generic-switch master: config: Ignore unknown options starting with ngs_  https://review.opendev.org/c/openstack/networking-generic-switch/+/86830012:50
kubajjdtantsur: https://paste.opendev.org/show/bJZRImUiBJsxJed4iCZ4/13:18
* dtantsur applies locally13:18
opendevreviewBaptiste Jonglez proposed openstack/networking-generic-switch master: Add ngs_ssh_disabled_algorithms setting  https://review.opendev.org/c/openstack/networking-generic-switch/+/86831613:22
dtantsurkubajj: ah! you need to remove the node_ident argument from get() and use self.node_ident now13:25
kubajjdtantsur: Ok, that worked :D Thanks13:29
opendevreviewJakub Jelinek proposed openstack/ironic master: API for node inventory  https://review.opendev.org/c/openstack/ironic/+/86687613:30
*** tosky_ is now known as tosky14:47
TheJuliavanou: one thing I was thinking of last night was, you also don't need to always try ipmi. you could use power status checking as a "does ipmi work" tracker that could set/record, and then the other methods wouldn't need to always attempt ipmi. The reason why I was thinking about this that way, was because each time the conductor does something user-interactive, it is still going to be a long delay because ipmitool is 14:50
TheJuliagoing to take some time unless it gets an immediate reply from the bmc saying "not permitted", eventually  I could see operators firewalling off ipmi entirely which would then mean the same base problem would exist14:50
vanouTheJulia: Thanks for comment. You mean let 'power status checking' in verify step (get_power_state method of power interface?) checks whether IPMI operation works. Then that check stores if IPMI works in e.g. driver_internal_info. Then another iRMC driver methods determine which protocol(IPMI/Redfish) to use based on that stored information. Is my understandig correct?15:34
TheJuliavanou: no, I mean https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/irmc/power.py#L242 instead of verify steps16:06
TheJuliathat is not a verify step, that method gets called periodically to record/track the power status of the BMC16:07
TheJuliabut otherwise I think we're on the same page16:07
vanouYeah get_power_state method is good. It's called periodically and also called in verifying. If we put logic which set flag of driver_internal_info into get_power_state method, is that flag can be firmware version as earlier patch? Or that flag should be more simple one (boolean)?16:21
TheJuliavanou: I would just do it as a boolean16:49
TheJuliavanou: that way we don't really even need to be precisely aware of the version, we just try to gracefully handle it16:50
vanouTheJulia: Thanks. I'll add boolean flag on that method and change another related method to check that flag to determine IPMI or Redfish.16:58
kubajjTheJulia: could you please re-review https://review.opendev.org/c/openstack/ironic/+/866876 when you have a minute so I can work on follow-ups or fixing what is missing tomorrow?18:45
TheJuliakubajj: I’m out at the moment but I’ll try to when I get back18:46
kubajjTheJulia: thanks18:47
kubajjTheJulia: the inspect utils import change is one of the follow-ups I'll work on next. Thanks for the review.20:51
TheJuliaThe race for api microversion 1.81 intensivies20:52
TheJuliaintensifies20:52
TheJuliaJayF: also, ./ironic/tests/unit/api/controllers/v1/test_node.py:7963:80: E501 line too long (80 > 79 characters)20:52
JayFugh20:52
JayFis that the only feedback, or is there more?20:52
JayFif that's it, I'll do a quick fix20:53
JayFTheJulia: I'll express an explicit desire for kubajj to win the race if it gets close; I think I probably have more time to rebase it out than they do :) 20:53
kubajjJayF: I'm happy to tease as well. No worries.20:54
kubajj*rebase. Not tease 😃20:54
TheJuliaJayF: I think there is something going on with the rbac tests21:01
TheJuliaI've pulled it down locally and launched the tests21:01
JayFTheJulia: heh, I was thinking for project_scoped.yaml it returned a 500 for success b/c it tried to do something but didn't 21:05
JayFTheJulia: and saw other examples of tests returning 500s21:06
TheJuliai still think you should get a 200 back on that21:06
JayFTheJulia: honestly, if it's supposed to be 200, I bet I have a bug where if you have no shards you err21:06
TheJuliawhich is odd21:06
TheJuliaoh, I see it21:06
TheJuliawill leave a comment on the change21:06
JayFgood stuff, ty21:07
TheJuliacomment sent21:07
TheJuliathat should result in a 200 getting returned21:08
JayFaha, so real bug21:08
JayFthank you21:08

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