Thursday, 2024-05-30

rpittaugood morning ironic! o/07:08
opendevreviewDmitry Tantsur proposed openstack/ironic master: [PoC] Render the redfish interop profile in the docs  https://review.opendev.org/c/openstack/ironic/+/92057407:35
dtantsurOn PTO until next week, see you on Tuesday!07:35
dtantsurThe IRC bouncer will be off, reach out using email if needed.07:35
rpittaudansmith: enjoy! :)07:43
rpittaulol07:43
rpittaudisappeared already :D07:43
opendevreviewMerged openstack/ironic-inspector master: Imported Translations from Zanata  https://review.opendev.org/c/openstack/ironic-inspector/+/92071008:17
sylvrHello ! I'm missing redfish_address in my idrac-redfish driver, but when I tried to add one (drac.host) instead of getting the IP address of the BMC it just replace it with "drac.host" which cause the verification state to fail... I'm using kayobe and I don't know what config to change08:36
sylvrI've been told that my BMC (idrac) are too old to support redfish too, but couldn't manage to use idrac-wsman ^^08:36
sylvrhere are some "logs" https://pastebin.com/R6rTJGfN08:41
sylvrI also have some mismatch on my driver, I'm no sure why/how I did that08:42
opendevreviewVerification of a change to openstack/ironic-python-agent master failed: Enable voting for codespell CI  https://review.opendev.org/c/openstack/ironic-python-agent/+/92019209:35
cidHey sylvr , I will look at the log, but I won't be of much help.09:43
cidThe TZs will align soon09:45
cidIn the mean time, looking at more documation will likely be a good way to go09:46
opendevreviewMerged openstack/ironic-python-agent master: Fix issues caused/found by new codespell  https://review.opendev.org/c/openstack/ironic-python-agent/+/92036610:03
sylvrcid: I'm reading continuously, but between kayobe and its configuration and ironic/bifrost it's hard to keep track of everything... I tried configuring bifrost/ironix to use idrac-wsman in the kayobe-config, but it won't and instead mention idrac-redfish everywhere...10:16
cidsylvr: I know that feeling :(10:33
cidsylvr: Well, I think you might not be configuring everything explicitly, hence, it's using some defaults.10:54
cidI might be wrong, but the problem here seems to be a mismatch, like the hardware interface for instance.11:00
cidI will defer to people that know more than me, I just as much confused :D11:00
iurygregorygood morning ironic11:13
iurygregorysylvr, what is the model of your dell machine?11:14
iurygregoryis iDRAC 8 or 9?11:15
iurygregorytonyb, I think we are good to go with https://review.opendev.org/c/openstack/project-config/+/904012 seems like openstackci  is on PyPi for the ironic-prometheus-exporter 11:57
iurygregoryI didn't recover the access to pypi, so we can keep the branch I've created since I don't know if they checked already...11:59
iurygregorythat moment you noticed you should take the day off because is public holiday and you totally forgot 12:29
rpittauiurygregory: if you don't want it I'll gladly take it :D12:29
iurygregoryrpittau, maybe I can switch to next week lol :D12:31
sylvrcid: yeah I think so too, I'm looking into getting more info on my hardware!12:34
sylvriurygregory: I'm gonna check iDRAC version !12:35
sylvriurygregory: I have iDRAC 812:41
sylvrand IPMI over lan is disabled in my iDRAC config12:45
iurygregoryI never used iDRAC with ipmi.., but based on what you mentioned the interfaces configured for your ironic node are using redfish right?12:46
iurygregorydepending on the firmware version of iDRAC it may or may not work...12:46
iurygregoryand since it is mapping to redfish, you would probably need to set the necessary params in the driver_info before moving forward12:47
sylvrwell redfish seems to be the default now yes12:47
sylvrI tried to set the missing params (redfish_address) but I don't know why, I can't specify the redfish driver to use the iDRAC's IP per host12:48
iurygregoryhttps://paste.opendev.org/show/bRUg1Er9vLdc5E7dViIp/12:50
iurygregorynormally this would be the configs you need to set12:50
sylvrthe IPMI driver gets the correct IP, so if I can't manage to make redfish or idrac-wsman work, I may update the config of all my idrac to accept IPMI over lan...12:50
iurygregorywe deprecated idrac-wsman in Caracal12:51
iurygregorythere is a typo in my paste, /edfish/v1/Systems/System.Embedded.1 -> /redfish/v1/Systems/System.Embedded.112:52
sylvrironic version : 23.0.2.dev612:53
sylvrokay, I got the driver info from the doc there https://docs.openstack.org/ironic/latest/admin/drivers/idrac.html , but how do you get redfish to dynamically get the IP of the iDRAC the same way IPMI does ? is it related to kayobe conf ?12:54
iurygregorydynamically get the ip... you mean the bmc address change from time to time? 12:55
sylvrno, but I have like 18 node ^^12:56
iurygregoryipmi gets the ip from the config you provided in driver_info12:56
iurygregorydriver_info            | {'ipmi_address': '172.16.10.20 from the paste12:56
sylvryup, that was automatic, I think its from kayobe12:57
iurygregoryoh, so you probably have a place where you define the info for your nodes right?12:57
iurygregorysome yaml etc12:57
iurygregoryI never used kayobe so I'm not sure12:57
sylvrwell, there should be some sort of automatic discovery process, as I didn't specified the idrac's IP anywhere (they get their IP from a DHCP server)12:59
sylvrI'm going to check on the kayobe IRC12:59
iurygregoryyeah, not sure how kayobe is doing things, maybe worth asking  in the kolla channel12:59
sylvryup, thanks for your insight !13:00
JayFiurygregory: I feel dumb for not suggesting that to sylvr earlier /o\13:00
JayFoften those of us who work on the service projects don't always know the deployment projects well (or only are familiar with a single flavor of them)13:00
iurygregoryJayF, it happens =)13:01
sylvrI was told to ask over here too, but issues changes, and I'm getting closer to figure out why it's not working but I think I need to change scope several times (sometimes I mess up kayobe's config, sometimes it's ironic's config...)13:05
JayFYeah, and it's tough for us to know what level it's busted on too13:05
TheJuliaGOOD MORNING13:05
iurygregorykayobe should probably have a way to set "redfish" details in driver info13:06
TheJuliaerr13:06
JayFbut most openstack things, even though it can be a pain to initially configure, once it's working you're in good shape13:06
JayFGOOD MORNING (ugt)13:06
TheJuliasorry about the all caps, I guess a cat walked on to the keyboard last night13:06
iurygregorybut if didn't, you can probably override the config after kayobe created the node13:06
JayFHere I thought you were just a bit cheery ;)13:06
sylvriurygregory: I'd like to try to fix the driver manually, but how can I supply the IP's address of all my iDRAC13:10
iurygregorysylvr, well, use the same ip you have in the ipmi_address =)13:12
iurygregoryset redfish_address to https://172.16.10.20 for the node mentioned in the logs13:12
sylvrthat changes for every node, does that means I have to update my driver before trying to manage any single node ?13:12
iurygregoryyup...13:13
sylvrhum...13:13
iurygregoryI would change in one13:13
iurygregoryhave all the configs redfish_address redfish_username redfish_verify_ca redfish_system_id13:13
iurygregoryand see how it goes, before changing 18 nodes...13:14
sylvryup, I'm going to try that first to be sure it can be managed using redfish!13:15
iurygregory++13:15
iurygregoryfingers crossed13:15
JayFWe try to avoid as many "you need to update this for each node" scenarios as possible, but the BMC address is one that's very difficult to get away from13:22
JayF(and creds in general)13:22
TheJuliaAlso, one of those things you sort of have to manage since use of dhcp with BMCs is not really advisable.13:23
TheJuliaand you should have varying credentials for each BMC13:23
sylvrTheJulia: that makes sense for security13:26
* JayF is still adding more ironic features to his cern slides13:27
JayFnode history and conductor graceful shutdown came up in a chat yesterday and I realized I missed them13:28
JayFI don't think I fully understood how awesome conductor graceful shutdown was13:28
JayF(until now)13:28
sylvrdeleting a node then cold boot the node should make it appear again (discovered and inspected) right?13:29
TheJuliaIn theory if so configured to do so, but your likely the first person who has talked about using discovery of hardware in... quite soem time13:31
TheJulia*some13:32
sylvrokaaaay it took me some time to figure out that I have to update the driver_info, in the node !13:36
sylvrbaremetal node set UUID --driver etc etc13:36
sylvrand node baremetal node create --driver13:36
sylvris not what I need13:37
TheJuliaahh, that would quickly create confusion13:38
sylvryuup, and now I understand why redfish_verify_ca=false is needed!13:39
sylvrand now I finally have a different error : Failed to get power state for node 8869a17e-1755-413c-9f7c-5e7acf714819. Error: Redfish connection failed for node 8869a17e-1755-413c-9f7c-5e7acf714819: Unable to connect to https://172.16.10.19/r edfish/v1/. Error: HTTPSConnectionPool(host='172.16.10.19', port=443): Max retries exceeded with url: /redfish/v1/ (Caused by SSLError(SSLError(1, '[SSL: DH_KEY_TOO_SMALL] dh key too small (_ssl.c:13:40
TheJulia... ouch13:40
sylvrdo you know what this means ? x)13:42
TheJuliaKind of, yeah13:42
TheJuliaso, you mentioned idrac8 gear13:43
JayFEverything but discovery is in-tree for Inspector as of 2024.1, right?13:43
TheJuliaI'd *first*check the settings and certificate on the BMC. Maybe also try updating the firmware13:44
jrosser^ i had a bunch of old dell r730 which needed a firmware update before i could use them with ironic13:44
jrosserfor same SSL error reasons13:45
TheJuliaIssue boils down to the diffie-hellman key being offered (dh) by the BMC is just insufficient13:45
sylvrokay, that make sense too, I've been given "old server"13:45
sylvrokay !13:45
JayFHonestly I wonder if you could just flip ssl off13:46
JayFupdate your redfish address to remove the "s", then have ironic update it for you13:46
JayFI have no idea if dell hardware is capable of this13:46
JayF(and certainly switch it back after you update if you try this)13:46
TheJulia... I know some of the hardware some vendors ship explicitly rejects attempts to let you use redfish over http13:47
TheJuliaTurning redfish on my old supermicro was not a "quick" operation13:47
sylvrJayF: I tried removing the 's' already ;) and yeah, it fail to connect13:48
JayFWorth a shot :( 13:48
jrosseri had a whole ton of trouble making r730 era dells work nicely with ironic13:49
jrossertbh i would not do that again, ever13:49
TheJulia:(13:52
sylvrokay, so introspection rules for redfish where incomplete (on my version) and it's patched for future kayobe release, but I still have to update my iDRAC in the mean time... I hope this won't be too much trouble ^^ thanks a lot !13:57
rpittauI was lurking in the background and following the discussion, seen a lot of issues with idrac8 downstream13:57
rpittausylvr: idrac8 is indeed old, it's out of support since February and unfortunately the latest released firmware (2.85.85.85) is not super reliable 13:57
rpittauI would still give it a shot to an upgrade as TheJulia suggested13:57
sylvryup!13:58
TheJuliaI seem to remember 2.76.76.76 being semi-reliable, but that is literally the version which added "basic redfish" support13:58
TheJuliaor am I confusing that with basic virtual media13:59
TheJuliaI might be mixing that up13:59
jonmills_nasaHello Ironic team, I have a question about using ironic.hardware.interfaces.bios = redfish with Supermicro servers (X11 or X12 generation).  Is this known to work?14:04
jonmills_nasaI am able to curl the redfish URI for the bios and see the settings there....  14:05
jonmills_nasaHowever, running 'openstack baremetal node bios setting list <node_name>' results in zero output (not an error...just nothing at all)14:06
TheJuliajonmills_nasa: what state are the nodes in?14:08
jonmills_nasaTheJulia:  manageable14:10
TheJuliajonmills_nasa: so we don't directly at the time of request proxy through to the BMC, because that would be bad and create a vulnerability. We cache when we move nodes through cleaning if memory serves14:10
TheJuliaso if you trigger cleaning, ironic should cache the settings14:10
jonmills_nasaTheJulia: interesting.  Is it possible to update the settings on SMC hardware using this Redfish interface, and might that trigger the caching of the settings?14:11
TheJuliaThe only place where ironic will break that pattern is setting boot devices on demand14:12
TheJuliaYou'd have to get the nodes into cleaning if memory serves, I don't know if anyone has used or tried that on supermicro gear14:12
TheJuliaiurygregory: you might know ^14:12
* iurygregory reads14:13
TheJuliajonmills_nasa: I *do* believe setting does result in caching first in the use model, but it still involves that clean step exec if memory serves14:13
iurygregoryok, using redfish with Supermicro X11 and X12 right?14:15
jonmills_nasaYessir14:15
iurygregorywe tested in X11 (but virtualmedia)14:15
iurygregoryso I would assume it would just work (vmedia requires another license fwiw)14:15
jonmills_nasaAll ours are licensed.  I'll have to test out a few things14:16
jonmills_nasaThank you for your help14:17
iurygregoryI don't remember problems with retrieving bios settings from it14:17
TheJuliatwo quick and easy tempest test fixes: https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/918462 and https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/91976214:36
opendevreviewcid proposed openstack/ironic master: GRUB conf template compatibility with arm server  https://review.opendev.org/c/openstack/ironic/+/92083614:46
opendevreviewcid proposed openstack/ironic master: Flexible IPMI credential persistence method configuration  https://review.opendev.org/c/openstack/ironic/+/91722914:57
opendevreviewcid proposed openstack/ironic master: Flexible IPMI credential persistence method configuration  https://review.opendev.org/c/openstack/ironic/+/91722914:59
opendevreviewcid proposed openstack/ironic master: Flexible IPMI credential persistence method configuration  https://review.opendev.org/c/openstack/ironic/+/91722915:00
JayFSo, question: I've been poking at notifications today15:25
JayFand it looks like in some cases, we might be putting a lot of extranneous information into a notification15:25
JayFe.g. step description15:25
JayFIs that intentional? Specifically asking re: description15:25
TheJuliaYeah, the couple folks I know that use notifications tend to actually be making decisions and triggering processes based on what we might consider extraneous. Then again, the description might be one which truly is15:26
JayFdescription absolutely made me WTF15:32
JayFbut it's also kinda an API? 15:32
JayFso I'm not sure we could change it anyway15:32
JayFif it ends up being a pain at scale for any deployers, we can consider our options15:33
TheJuliakind of, yeah15:36
JayFRefreshing a question from earlier today: I'm writing a slide up on inspector deprecation; AFAICT the only real piece missing from in-tree inspection at this point is discovery (which we know is mildly problematic)15:47
JayFjust looking for someone to ack that, as the docs label in-band in-tree inspection as experimental15:47
JayFbut I can't see anything that would suggest it's not feature complete15:47
TheJuliainspection rules?16:05
rpittaugood night! o/16:06
opendevreviewMerged openstack/ironic-tempest-plugin master: reboot the node in basic ops tests  https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/91846216:27
opendevreviewMerged openstack/ironic-tempest-plugin master: Exclude ramdisk tests with tinycore in uefi mode  https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/91976216:27
opendevreviewcid proposed openstack/ironic master: Provision ARM (aarch64) fake-bare-metal-vms  https://review.opendev.org/c/openstack/ironic/+/91544117:30
opendevreviewMerged openstack/ironic-tempest-plugin master: Handle invalid configuration for vif test execution  https://review.opendev.org/c/openstack/ironic-tempest-plugin/+/91954417:34
TheJuliaCurious, does anyone know of anyone using vendor passthrough stuffs actively18:24
iurygregoryTheJulia, downstream we provide support for the EventSubscription via vendor passthrough18:27
iurygregorythis is the only case I remember18:28
TheJuliaoff of the node right?18:28
iurygregoryyeah18:28
*** clarkb is now known as Guest808919:49
*** Guest8089 is now known as clarkb20:04
cido/20:29
*** clarkb is now known as Guest809421:15
*** Guest8094 is now known as clarkb21:19

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