Thursday, 2022-10-27

TheJuliaJayF: well, if it is tracked, such a way, then we have to actively edit the repo for such changes. *shrug* dunno00:14
opendevreviewVanou Ishii proposed openstack/ironic master: Change boot_interface order of iRMC driver  https://review.opendev.org/c/openstack/ironic/+/86261603:31
opendevreviewVanou Ishii proposed openstack/ironic master: Change boot_interface order of iRMC driver  https://review.opendev.org/c/openstack/ironic/+/86261605:38
opendevreviewVanou Ishii proposed openstack/ironic master: Align iRMC driver with Ironic's default boot_mode  https://review.opendev.org/c/openstack/ironic/+/86255206:17
opendevreviewVanou Ishii proposed openstack/ironic master: Change boot_interface order of iRMC driver  https://review.opendev.org/c/openstack/ironic/+/86261606:18
arozmanHello Ironic!09:12
jandersgood morning Ironic o/10:00
iurygregorygood morning Ironic11:28
opendevreviewMerged openstack/sushy master: Improve resiliency of eTag handling  https://review.opendev.org/c/openstack/sushy/+/85612311:58
mraineridtantsur: Sorry, was out last week and just noticed your ping; Redfish does support specifying an HTTP boot. You do this by setting "BootSourceOverrideTarget" to "UefiHttp" and setting "HttpBootUri" to the desired URI for booting.12:50
mraineriIt's been in the standard since the 2019.3 bundle12:50
dtantsurmraineri: nice! do you know if it's commonly supported among vendors already?12:51
mraineriI would hope so at this point...12:51
mraineriLet me at least check some systems I have...12:51
mraineriWell that's distressing... The first system I poked shows UefiHttp in the allowable values... But it doesn't have the HttpBootUri property, which makes it useless...12:53
dtantsur:(12:54
mraineriWow... This second system from another vendor is behaving the same...12:55
mraineriThird one doesn't support it at all12:55
dtantsurdouble sadness12:55
dtantsurthis is bad news, but thanks for checking mraineri!12:56
mraineriYeah... the others don't support it...12:56
mraineriAt the very least I need to add a standard test to ensure services that say "UefiHttp" is allowable need to also support the HttpBootUri property...12:57
mraineriSigh... You would think this is common sense...12:57
dtantsurmraineri: well, I guess, they could also provide the URI via DHCP?12:57
dtantsurmaybe they imply that?12:57
mraineriI don't think so... The intent is the two play together12:58
mraineriThey were added at the same time and have ties to each other12:58
dtantsurfair enough12:58
mraineriActually... No they weren't...12:58
mraineriMaybe you're right...12:58
mraineri"UefiHttp" was added in 1.1 of ComputerSystem, and HttpBootUri was added later in 1.912:59
mraineriThe description of HttpBootUri makes it sound like it's essential to use though: "The URI to boot from when BootSourceOverrideTarget is set to `UefiHttp`."13:00
mraineriWe don't have any description text that says what to do when the property isn't set13:00
mraineriI'll ask around...13:00
TheJuliagood morning13:00
dtantsurmraineri: thanks!13:11
dtantsurmorning TheJulia 13:11
hjensasgood morning13:38
*** knikolla[m] is now known as knikolla14:38
TheJuliaI feel like I need a very big cup of coffee15:09
JayFFYI: There are EPEL mirror issues in infra15:09
JayFI suspect that our CI depends on that; so just keep an eye out if you see weird failures on relevent distros15:09
dtantsurbifrost probably15:10
TheJuliaJayF: commented on the shard key spec comments. I know the cycle time has not been as *much* of an issue, is tracking of nodes disappearing/reappearing elsewhere with hash ring changes and the disappearance/reappearance of nodes from the cache in the compute service15:17
JayFI think those responses mostly make sense; it wasn't clear to me we had agreement that a "move stuff" tool would be in the v115:18
TheJuliaaiui, the node *can* move, if the appropriate fields are updated in nova, which makes it a nova-manage. If we just treated it as a rbac policy restricted field, with lots of appropriate documentation, then I think we should be perfectly fine15:20
TheJuliaIronic won't care at all in this model, its for the consumer of the API more than anything else15:21
TheJuliait will likely just say "no, your not a service, or the system, or an admin, nope, you cannot change it"15:21
* TheJulia suddenly wants gifs with API errors15:22
JayFI'm talking about the *nova side* tool to move stuff around15:22
TheJuliait will be needed, in my opinion, for *any* migration15:22
JayFI guess either way I don't have a better option even for the MVP than your suggestion15:22
JayFoh; that's true15:22
JayFgoing from existing->new will require ~the exact same tool15:23
TheJuliamainly because instance/computenode records will need to be "fixed"15:23
TheJuliaand *having* that tooling there allows it to "fix" any outstanding issues as well, which is another operator complaint15:23
JayFaight, cool, thanks :)15:24
TheJuliaBut I think the overall simplification and removing the hashring from the mix should at least make a lot of the nova-compute behavior self reconcilable as well15:25
JayFTheJulia: johnthetubaguy and I were going to have a spec writing session on the Nova side, probably Weds (in 6 days). You wanna be in on it?15:26
TheJuliasure15:27
JayFack; I'll make sure you're on the invite 15:28
TheJuliacool, thanks15:29
TheJuliaThe main thing I want to avoid is nova-compute trying to take on a responsibility of doing the initial shard key setting since it would involve it having to still go through the painful download everything path15:30
JayFOh; I never even considered that as a possible path.15:31
JayFIt's not nova's business and we're going to have more consumers of that data than just nova 15:31
JayFIn some of my previous jobs, we probably would've used shard key to help with performing bulk, scripted operations in parallel15:32
TheJuliaYeah, and the networking-baremetal case makes a lot of sense to just handle as well15:33
JayFIn fact, I could see us documenting the ideal size of a shard as "the amount of nodes that can be read and processed from the API by a python client in [time]"15:34
JayFwhich makes it not-nova-centric for standalone users, too, who might want some sharding15:34
TheJuliaeh, that would be a really small number and the nova-compute translation could quickly be an hour with >500-1000 nodes. 15:35
TheJuliathey were saying 100-200 per nova-compute on the ptg call15:36
JayFYeah, that's what I was thinking too15:36
TheJuliamulti-process could make that much more sane15:36
JayFper nova-compute *service* or *process*15:36
TheJuliaservice == process currently15:36
JayFMost places I've worked ran N nova-computes for N cores on a single server15:36
JayFvia devops style configuration15:36
JayF(you just need to set CONF.host differently for each)15:36
TheJuliayup15:37
kubajjdtantsur: If I just execute the test setup script, does it create the database?16:20
TheJuliaDo we have any ironic-cores that can take a look at https://review.opendev.org/c/openstack/ironic/+/862506 ? Dmitry and I have both worked on it, and I, Steve both have a  +2 on it.17:04
JayFlookin17:05
JayFoh, I didn't know that got up, good stuff17:05
JayFdoes that fix the sqlite ?17:05
JayFTheJulia: I think we wrote a method at $job[-3] that would strip the sqlalchemy special attrs off the model objects17:10
JayFTheJulia: to completely punt on that issue where the object had to be garbage collected for the txns to complete17:11
TheJuliaour db object to object model method only copies fields in the object model17:11
TheJuliaso the db result handlers do get dropped on the floor of the object model17:11
JayFthis was much, much older sqla though so semantics may have changed17:11
TheJuliahjensas: great job on https://review.opendev.org/c/openstack/ironic/+/862292!17:19
TheJuliahjensas: any chance I can get you to eliminate https://github.com/openstack/ironic/blob/master/ironic/api/controllers/v1/port.py#L128 with a join ? :) Same for portgroup :)17:22
JayFTheJulia: that patch is great; and it reminds me of another fix we did at that same job which helped a TON with deadlocking in our use of sqlite17:27
JayFTheJulia: it's like, the more magic you all remove, the more I can understand what is actually happening \o/17:27
TheJuliaOh yes. Very yes. :)17:28
TheJuliaI remember a PTG once where I basically said magic is bad.17:28
JayFI don't think our usage pattern makes sense for actually doing this; but this is also the makings of being able to split write (primary) and r/o (replica) clusters17:29
TheJuliaso technically, I think enginefacade will allow it if the reader is allowed to be an async reader17:35
TheJuliaat least, out of the box. I've not digged at that17:35
opendevreviewJulia Kreger proposed openstack/ironic master: Replace more instances of model_query  https://review.opendev.org/c/openstack/ironic/+/86250617:36
opendevreviewJulia Kreger proposed openstack/ironic master: Remove autocommit, again.  https://review.opendev.org/c/openstack/ironic/+/86283217:36
TheJuliarebase ^17:36
JayFTheJulia: did we add a job to validate sqlite is working before re-enabling autocommit?17:37
JayFI sorta feel like we should, but don't have a good concept of how difficult that might be17:37
TheJuliawe do not have one, afaik. I think the only way we could do it is using bifrost17:37
JayFI mean, that would capture the obviously-broken cases we've seen so far, right?17:39
TheJuliamost likely17:42
TheJuliadtantsur: thoughts on a bifrost job?17:43
TheJuliaebbex: wow, you've been busy on bifrost18:01
TheJuliastevebaker[m]: rebase needed on https://review.opendev.org/c/openstack/bifrost/+/851682 :)18:06
opendevreviewJulia Kreger proposed openstack/bifrost master: Move kpartx to dib_host_required_packages  https://review.opendev.org/c/openstack/bifrost/+/86153918:08
opendevreviewJulia Kreger proposed openstack/ironic-inspector master: Remove unicode literal from code  https://review.opendev.org/c/openstack/ironic-inspector/+/84470918:31
opendevreviewMerged openstack/ironic-inspector master: Remove unicode literal from code  https://review.opendev.org/c/openstack/ironic-inspector/+/84470918:53
opendevreviewMerged openstack/bifrost stable/yoga: Do not install grub2 and shim on the host system  https://review.opendev.org/c/openstack/bifrost/+/85839119:25
opendevreviewSteve Baker proposed openstack/bifrost master: Switch bifrost to use the dnsmasq DHCP driver  https://review.opendev.org/c/openstack/bifrost/+/85168219:39
stevebaker[m]TheJulia: Done!19:40
opendevreviewSteve Baker proposed openstack/bifrost master: Copy shim and grub into tftp and http directories  https://review.opendev.org/c/openstack/bifrost/+/84924719:51
opendevreviewSteve Baker proposed openstack/bifrost master: Remove enable_uefi_ipxe  https://review.opendev.org/c/openstack/bifrost/+/84924819:51
opendevreviewSteve Baker proposed openstack/bifrost master: Support PXE network boot with grub  https://review.opendev.org/c/openstack/bifrost/+/80722019:51
opendevreviewSteve Baker proposed openstack/ironic-python-agent stable/train: DNM test previous change  https://review.opendev.org/c/openstack/ironic-python-agent/+/86284020:02
opendevreviewMerged openstack/ironic master: Replace more instances of model_query  https://review.opendev.org/c/openstack/ironic/+/86250620:22
hjensasTheJulia: regarding eliminating populate_node_uuid by using a join.20:34
hjensasTheJulia: not quite sure how to do that, would we add a 'node_uuid' field to object.Port, and then in sqlalchemy api do some magic joining data from Port and Node from the db?20:37
hjensasTheJulia: It looks like chassi_uuid on nodes have the same ineffective pattern.20:40
ashinclouds[m]Yeah, basically that is what we would need to do, fill the field using an this as that name thing. I’ve done it in sql, but not sqlalchemy yet20:42
JayFIs there anyone around who understands this "Cleanup client RAID" work stream for this cycle better than me?20:42
JayFI'm trying to write it up for the workstreams doc and I am not doing well :)20:43
TheJuliaJayF: I can look in like 1.5 hours. Just sat down for lunch and groceries20:46
hjensasok, I'll go read sqlalchemy docs and try to figure it out.20:47
JayFTheJulia: ack; I'm going to basically get the rest of the doc done, feel free to put a suggested blurb in the comments or just push a revision there20:47
opendevreviewJay Faulkner proposed openstack/ironic-specs master: Add Ironic work items for 2023.1  https://review.opendev.org/c/openstack/ironic-specs/+/86253820:53
opendevreviewJay Faulkner proposed openstack/ironic-specs master: Add Ironic work items for 2023.1  https://review.opendev.org/c/openstack/ironic-specs/+/86253820:55
JayFI am doing a major revision to the whiteboard right now, please ignore it as usual for a bit lol21:03
JayFRFR the whiteboard updates I just did21:22
opendevreviewJay Faulkner proposed openstack/ironic-specs master: Add Ironic work items for 2023.1  https://review.opendev.org/c/openstack/ironic-specs/+/86253821:30
jandersgood morning Ironic o/23:24

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