Friday, 2025-05-09

*** mhen_ is now known as mhen02:01
GreyGnomeHello Openstackers! I am trying to user bifrost in my home lab. I have version 2024.2 on a Ubuntu Jammy server, and I have gotten to the point where I'm doing: bifrost-cli enroll /tmp/testinventory.yaml . But I get a Certificate error. Can I somehow shut off cert verification for my humble little lab at the moment? Max retries exceeded with url: /redfish/v1/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_V17:39
GreyGnomeLED] certificate verify failed: self-signed certificate (_ssl.c:1007)')))17:39
GreyGnome...I am attempting to build a Dell R640 with iDRAC9, which we manage with redfish at work using Ansible. I'm trying to user Bitfrost/Ironic in my lab.17:40
GreyGnomeI'm at https://docs.openstack.org/ironic/train/admin/drivers/redfish.html and I put in redfish_verify_ca = False in /etc/ironic/ironic.conf but no joy.18:10
GreyGnomeI did a systemctl restart ironic   prior to my test.18:10
GreyGnomeNow I'm trying verify_ca under the [redfish] section.18:13
JayFyeah18:29
JayFset node.driver_info.redfish_verify_ca = false18:29
JayFopenstack node set $nodename --driver-info redfish_verify_ca=false18:29
JayFopenstack baremetal node set $nodename --driver-info redfish_verify_ca=false # now with baremetal18:29
JayFI am 90% sure that's the exact command you need, with nodename subbed in, but I'm going off memory18:29
JayFeither way, the instructions are correct: get redfish_verify_ca=false into your driver_info for impacted nodes18:30
GreyGnomeI was hoping to stay within the Bifrost/Ironic universe without delving into the depths of openstack. It's so dense that I'm afraid I'll start pulling too many levers and knobs. But I'll give it a shot. ...WAIT! I edited my inventory file and put it under the redfish_* section, and it looks like it's working. At 18:55
GreyGnomeleast, I'm getting boatloads of network activity. :-)18:55
GreyGnomeI'm performing a tcpdump on my Ironic node. OMG... my system just powered up! How mysterious!18:56
GreyGnomeThere's a robot controlling my server!!!18:56
GreyGnomeOh wow oh wow it's loading Linux.18:59
GreyGnomeHmm, I should be "GreyGnome", not "Bare Metal Community". Sorry about that.19:00
GreyGnomeWeird... when I info myself it says that I am GreyGnome! :-$19:00
GreyGnomeWell, thanks for the help @JayF. That little config took me 2 hours or more...! Oh well.19:01
JayFIt's often a struggle to get things working, but the nice thing is as long as the hardware stays working once you get the machine going it'll keep going :D 19:01
JayFYou're welcome to ask any other questions either here or in #openstack-ironic as you move on, good luck!19:02
GreyGnomeYeah thanks. It's... thick. If it wasn't for Gemini I wouldn't have gotten this far in this length of time. I've had a lot to do, set up my Ironic host (ironically, this was very quick), set up my router, configure ironic/Bifrost for building, etc. 19:13
JayFI gotta admit, it worries me that you have an Ironic configured with the help of an llm :) I hope your experience with gemini has been better than mine lol19:13
GreyGnomeYeah. The thing I have found about the AI is that it can knock hours off of your efforts by giving you a general direction. But it really screws up the details. Between it and my Google searches, though, I feel like I'm making good progress. It's useful because I don't know where Bifrost/Ironic/Openstack begin and end. And what to use in which circumstance. I'm afraid if I get too fancy with undercutting Bifrost, I'll get los19:25
GreyGnomery to keep it linear, if that makes sense. ...If you were Gemini, you'd be praising my thought process LOL.19:25
GreyGnomeI'm beating up the AI (and my brain) to create "Building Bare Metal Servers with Bifrost and Ironic". I can share it when I've finished it. I'll be using Ironic for work so I wanted to get a feel for this thing.19:31
GreyGnomeI start on Monday. I wish I was called "GreyGnome" instead of "Bare Metal Community".19:32
GreyGnome:-)19:32
GreyGnome...Ah, "Local alias" in Pidgin.19:36
GreyGnomeOh look! Bare Metal Community disappeared but GreyGnome is here! W00t, if I am the only one excited by the change.19:37
JayFI presume you're consulting https://docs.openstack.org/bifrost/latest/install/index.html#quick-start-with-bifrost-cli19:41
GreyGnomeYes, but it's not for the faint of heart. For example, regarding bifrost-cli, what are "hardware types"? Do I want to set up Keystone authentication? If I do, how will I debug it? How about dhcp? I suppose I could disable it, but Ironic uses it and how would I integrate them? And it says to Build IPA images. Can I build one that will actually work? How do I debug it? (I didn't, btw). And after "Using Bifrost", it says that I 20:28
GreyGnomese Ironic directly. So then I go to https://docs.openstack.org/ironic/latest/install/standalone/configure.html, and there's a lot of "if you want"s. For example, "If you want to disable using a messaging broker between conductor and API processes, switch to JSON RPC instead". What is the conductor? What API processes? How do I know?20:28
GreyGnomeJust when I thought I was getting in too deep, I go back to the top of the Bifrost Installation page and I notice the Bifrost structure. Ah, guardrails! "Installation and use of Bifrost is split into roughly three steps:" nice, so I can enroll (whatever that is) and deploy from Bifrost! Intriguing. So I start digging around some more and it was actually Gemini who introduced me to bifrost enroll /path/to/yaml . Not to mention20:28
GreyGnomee Google searches of eg "bifrost enroll" may take you to a place which says that supported operating systems are "Ubuntu 14.04, 14.10, 15.04". That's obviously out of date, so you check the top of the docs for the release information but there is none. just a helpful link to show that 2025.1 is the latest. So you click on it and... no bifrost. Unless you know to dig into Installation Guides -> Bare Metal (Ironic) -> Overview 20:28
GreyGnomel to the bottom) -> bifrost.20:28
GreyGnomeAnyway, not to complain (actually) but to say that there's a lot to dig into. Believe it or not, I start out on Ubuntu 24.04 but then went to 22.04 when some Openstack page told me that it was the latest supported release. 20:28
GreyGnome...and the end of the Bifrost page which doesn't go into the enroll part is a little confusing.20:29
GreyGnomeAnyway. I've learned a lot about Ironic and Bifrost and dnsmasq!20:31
GreyGnomeOK anyway I've gotta jump. TTYL.20:31
JayFinstead of having docs, can't we just write an openstack program to upload to folks via the matrix :( "I know cloud-fu!"  20:44
*** __ministry is now known as Guest1550322:12

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