Tuesday, 2023-08-01

TheJuliaJayF: if memory serves, it is just a matter of powering the machine on the same network01:18
TheJuliasince it will shunt to introspection01:18
TheJuliaat which point, autodiscovery takes over, and the normal inspection node creation takes over01:20
JayFcc: awb 01:44
JayFso it sounds like there is no docs because ... it just works?01:44
TheJuliaIndeed01:45
JayFawb: https://docs.openstack.org/ironic-inspector/2023.1/user/usage.html#discovery seems like normal ironic-inspectr docs would apply then01:46
JayFthat should help01:46
awbThanks for the mention! I have a stack of about ten machines that are only on the IPMI network right now and will be wired up later. It should be possible to use Ironic to get a Debian image on those, right?03:35
TheJuliaawb: you will need the BMC and some other network interface wired up. The machine will boot over the other network interface and we will try to extract the BMC address. You will need to set a username/password for the BMC for ironic to be able to manage the nodes04:14
TheJuliaawb: that being said, if the BMCs are set for dhcp, you may get 0.0.0.0 out of the BMCs in terms of the driver_info/ipmi_address which gets set. Depends on the BMC, really.04:15
* TheJulia resumes vacation04:25
awbI have DHCP already for the BMC/IPMI interfaces and can get a remote console. One of my machines is wired up for the internal network, the other ones are not yet. These are SuperMicros with dual on-board NICs and a separate BMC port.05:39
TheJuliaSo I think they return 0.0.0.0 if they are not statically assigned on super micro gear05:40
TheJuliaUgh wife is now glaring, closing irc05:40
awbInteresting, thanks! And yes, back to vacation :D05:40
dtantsurJayF, awb, I think discovery must be enabled on bifrost06:19
awbI would be happy if I can just get one machine installed with hard coded values. I have never used any of the OpenStack tools and I now got to "baremetal node validate", which errors out for me.06:34
opendevreviewMerged openstack/ironic master: Fix typo in deploy_templates docs  https://review.opendev.org/c/openstack/ironic/+/89016307:05
rpittaugood morning ironic! o/07:19
dtantsurawb: some validation errors will only go away when EVERYTHING is set up for deployment07:23
dtantsurvalidation API is quite unfortunate because it's not designed to fully pass other than right before the deployment07:25
kubajjGood morning Ironic o/07:44
opendevreviewJacob Anders proposed openstack/ironic master: [WIP] Wait for secure boot state change if it's not immediate  https://review.opendev.org/c/openstack/ironic/+/86399908:31
rpittaummm I think I fixed the issue with tinycore, now it fails on legacy boot :D08:32
rpittauok, it was expected08:32
opendevreviewRiccardo Pittau proposed openstack/ironic-python-agent-builder master: [WIP] Build tinyipa with tinycore 14.x  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/88775408:45
opendevreviewJacob Anders proposed openstack/ironic master: [WIP] Wait for secure boot state change if it's not immediate  https://review.opendev.org/c/openstack/ironic/+/86399908:46
*** dmellado17042088 is now known as dmellado09:51
iurygregorygood morning Ironic11:18
kubajjMorning iurygregory 11:24
mohammedDatabase is locked issue is raising again on metal3ci and I see also on Zuul build https://zuul.opendev.org/t/openstack/build/db4a8e328c434fbe8aa8b2ac622f369c though after TheJulia fixes it was green for sometime. Did anyone check that ? 11:35
iurygregorymohammed, at least according to the history of the job the last 2 failures are in patches that are WIP and not merged yet, in metal3ci you have been constantly reproducing the issue with database is locked?11:41
mohammediurygregory: on metal3 ci we are using the latest and we have seen this once at least https://github.com/metal3-io/cluster-api-provider-metal3/issues/1082#issuecomment-1660128548 11:51
mohammedSo it might not the wip  changes I guess 11:52
iurygregorygotcha =( 11:58
iurygregorymohammed, what is the easy way to check the ironic.conf for the jenkis build?11:58
mohammediurygregory: unfortunately we are not collecting this file on the build  not sure if we can get it when running the same ironic image ? 12:07
iurygregoryright, it should be the same from ironic-image12:08
iurygregorygood catch (I'm still waking up, need more coffee)12:08
opendevreviewRiccardo Pittau proposed openstack/ironic-python-agent-builder master: [WIP] Build tinyipa with tinycore 14.x  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/88775412:09
jfargenHow does bifrost manage images?14:06
dtantsurjfargen: there is no much management. Images are stored in the nginx public location, you can also use file:/// links if you access Ironic yourself.14:20
jfargenI did not see anything with regards to uploading an ipa image or overcloud images as happens with traditional tripleo deployments.14:21
dtantsurjfargen: bifrost will get you an IPA image and configure Ironic to use it. It will also provide you with the default instance image (I think we default to building a debian image).14:23
jfargenOkay, I ask because during the ironic-enroll-dynamic task I get this error, dropping it in pastebin as not to spam the channel.14:25
jfargenhttps://pastebin.com/D3x09Y4j14:25
jfargenFor this use case, trying to use redfish virtual media and have added these properties.14:27
jfargen     "driver": "redfish",14:27
jfargen     "boot_interface": "redfish-virtual-media",14:27
jfargenfor the nodes instackenv.json.14:27
dtantsurjfargen: start with checking your iDRAC firmware version. Old versions have "funny" bugs sometimes. Then make sure your iDRAC (!) can actually reach 192.168.67.49:8080 (firewall, networking, etc).14:30
jfargenIt is latest.14:30
jfargenThe iDRAC firmware is latest.14:30
dtantsurAlso check if any traces of the request are in local logs (not just nginx itself, but also audit, especially if you have selinux)14:30
opendevreviewMahnoor Asghar proposed openstack/ironic master: WIP: Add inspection (processing) hooks  https://review.opendev.org/c/openstack/ironic/+/88755414:34
jfargenThe iDRAC has connectivity back to the host running bifrost/ironic.14:34
jfargenacadm>>ping 192.168.67.4914:34
jfargenPING 192.168.67.49 (192.168.67.49) 56(84) bytes of data.14:34
jfargen64 bytes from 192.168.67.49: icmp_seq=1 ttl=63 time=0.813 ms14:34
jfargen--- 192.168.67.49 ping statistics ---14:34
jfargen1 packets transmitted, 1 received, 0% packet loss, time 0ms14:34
jfargenrtt min/avg/max/mdev = 0.813/0.813/0.813/0.000 ms14:34
jfargenI guess, bifrost doesn't manage the hosts firewall config.14:39
jfargenAdded port 8080/tcp to firewalld config.14:41
jfargendtantsur; Thanks, this is really exciting!14:43
jfargenThe node is trying to introspect, there are a ton of errors look like network, with redfish virtual media is there an assumption that there will be dhcpv4 on the network?14:50
jfargenAnd is there a way to statically assign and ip for introspection?14:56
rpittauand it'a green \o/ https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/88775415:14
rpittautime to clean it up a bit15:14
opendevreviewRiccardo Pittau proposed openstack/ironic-python-agent-builder master: Build tinyipa with tinycore 14.x  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/88775415:17
rpittauthere you go, ready for reviews :)15:17
JayFjfargen: so you still use DHCP in default config w/virtual media15:18
JayFjfargen: we support some kind of file you can send to set static 15:18
jfargenYes, if you can point me to the file, that would be super helpful.15:18
JayFwell I'm failing big time finding the doc15:19
JayFI don't work much in bifrost so I don't know  a lot of this off the top15:19
JayFrpittau: ^ do you remember, perchance15:19
rpittauI found this https://docs.openstack.org/bifrost/latest/user/dhcp.html15:21
rpittauthe first entry should be helpful15:21
JayFthat looks like configuring static ip<>mac mappings15:28
JayFnot configuring no dhcp needed15:28
rpittauoh yeah, sorry, I think the only way to do that would be using configdrive then https://docs.openstack.org/bifrost/latest/user/howto.html#static-network-configuration15:51
JayFhmm but we still require dhcp for provisioning, then15:52
JayFI know you can configure Ironic to not need that; I guess we don't have it wired up for bifrost :( 15:52
rpittaummm I remember there was an option to do that, but not which one :D16:10
rpittauit's late, my brain can't compute correctly anymore, time to go, see ya tomorrow o/16:11
dtantsurjfargen, JayF, somewhat experimental, but https://docs.openstack.org/ironic/latest/admin/dhcp-less.html16:15
dtantsurnote that bifrost does NOT automate setting node.network_data16:16
dtantsur(someone literally complained about it on another chat a few days ago)16:16
JayFI knew it was documented somewhere :D 16:16
* dtantsur dislikes mariadb...16:18
opendevreviewMahnoor Asghar proposed openstack/ironic master: Add inspection (processing) hooks  https://review.opendev.org/c/openstack/ironic/+/88755416:47
JayFI'm going to note, generally that the EM->Unmaintained proposal up for vote on the TC would no longer permit Ironic non-SLURP branches from being supported beyond the 18 month maintained line18:39
JayFIf this is concerning or breaks a downstream workflow; please comment directly on the TC proposal about your use case18:39
dtantsurI don't think our capacity allows us to support any branches, (SLURP, non-SLURP, whatever) beyond 18 months.18:58
JayFWith my upstream hat on, I agree and have been acting accordingly on the TC.19:00
JayFWith my reality hat on, I see you all backporting stuff to god knows how far back all the time19:00
dtantsurWell, I'd love to have stuff supported forever :) I just don't think we can19:00
JayFand so I'm letting you know now so when some boss in a mauve hat says "I need 2023.2 supported for eleventy years", you were warned ;) 19:00
dtantsurhaha, true19:00
dtantsurcould be more important for TheJulia's team than for us19:01
* dtantsur realizes that it's 9pm and leaves19:01
JayFyeah the weird thing that's happening is just non-slurp branches are not eligible for unmaintained/ branch status (the EM replacement)19:01
JayFso that means e.g. bobcat just goes away after 18 months, no real choice19:01
JayFbugfix/ branches live outside that ecosystem and we can do whatever we want with them19:01
JayFbut the integrated branch, we'd need to abide by those rules19:01
dtantsurI think that's does not make sense but I have neither a case nor a desire to argue19:02
dtantsurI'll reserve my opinion on this slurp thing19:02
JayFdtantsur: half as much stuff for our volunteer group numbering zero to not-maintained is better, somehow19:02
JayFdtantsur: my real opinion on slurp: I hope it's the first step to only releasing once a year19:02
dtantsuryep19:02
TheJuliaCoordinated once a year, perhaps. I’m split on the policy, I think it will create more downstream work, but that may be less overhead than fixing CI on stable branches. Or more, possibly.19:32

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