Monday, 2023-11-27

rpittaugood morning ironic! o/07:50
masgharGood morning!10:29
iurygregorygood morning Ironic11:12
TheJuliagood morning13:33
rpittaugood morning TheJulia :)13:49
iurygregorygood morning TheJulia =)13:51
opendevreviewJulia Kreger proposed openstack/ironic master: Redfish UefiHttp boot support  https://review.opendev.org/c/openstack/ironic/+/90096414:22
opendevreviewJulia Kreger proposed openstack/ironic master: DNM: Add redfish https CI job  https://review.opendev.org/c/openstack/ironic/+/90109014:23
opendevreviewJulia Kreger proposed openstack/ironic master: Add HTTP versions of network boot interfaces  https://review.opendev.org/c/openstack/ironic/+/90096514:23
opendevreviewJulia Kreger proposed openstack/ironic master: DNM: CI test for httpboot jobs  https://review.opendev.org/c/openstack/ironic/+/90118214:23
TheJuliasigh, since recheck didn't want to get picked up :\14:23
dtantsurJayF, kubajj, hey, how are the by_arch options going to work when the node does not have CPU arch?14:36
dtantsuralso: your config samples in the docs seem invalid to me.. I wonder if anyone has even tested it?14:37
kubajjdtantsur: let me have a look14:37
dtantsurI'm this -->.<-- close to undeprecating deploy_kernel/ramdisk.14:38
dtantsuryep, the config is not a valid dict format in oslo.config14:43
kubajjdtantsur: isn't that tested by openstack-tox-docs?14:46
dtantsurkubajj: no, it was supposed to be tested by the person submitting the patch...14:46
dtantsurLet alone the fact that deploy_kernel cannot be replaced by deploy_kernel_by_arch when cpu_arch is absent14:49
dtantsurLet alone the consistency with other options14:49
kubajjdtantsur: do you mean the format in the docs or the one defined in the actual code?14:49
dtantsurkubajj: the format in the docs is plainly wrong - it's not a python dict14:49
opendevreviewDmitry Tantsur proposed openstack/ironic master: Fix *_by_arch documentation and un-deprecate the options without it  https://review.opendev.org/c/openstack/ironic/+/90195814:53
dtantsurJayF, kubajj ^^^14:53
JayFoof, will review14:57
JayFWould someone mind moderating the meeting this morning? I can if there are no volunteers14:57
dtantsurI think TheJulia volunteered the last time14:57
dtantsuror.. hmm.. rpittau 14:57
dtantsurI may be confusing everything, sorry14:57
TheJuliaI got rpittau to volunteer :)14:57
JayFWell I wasn't here last week :) 14:57
JayFI am here now, but with zero context14:58
TheJuliaFiguring exactly this :)14:58
TheJuliaexcellent, welcome Mr. Zero Context14:58
kubajjdtantsur: I am sorry, that is my fault, I did not know that the cpu_arch property can be missing and I thought the docs were tested by tox. If cpu_arch is missing then it would use the %mode_kernel/ramdisk14:58
JayFJust call me 0CXT for short, it's my rap name :P 14:58
TheJuliaJayF: no idea about uniforms for htis new zero context role, speak with the budget folks ;)14:58
rpittauI"m here! I'm here!14:58
TheJuliaheh14:58
rpittauoh it's not late14:58
rpittau#startmeeting ironic15:00
opendevmeetMeeting started Mon Nov 27 15:00:07 2023 UTC and is due to finish in 60 minutes.  The chair is rpittau. Information about MeetBot at http://wiki.debian.org/MeetBot.15:00
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.15:00
opendevmeetThe meeting name has been set to 'ironic'15:00
TheJuliao/15:00
rpittauWelcome to our weekly meeting!15:00
rpittauThe meeting agenda can be found here:15:00
rpittau#link https://wiki.openstack.org/wiki/Meetings/Ironic#Agenda_for_next_meeting15:00
iurygregoryo/15:01
masgharo/15:01
kubajjo/15:01
rpittau#topic Announcements / Reminders15:02
JayFo/15:02
rpittauwe have only the usual reminder to review the patches tagged as priority on our board https://tinyurl.com/ironic-weekly-prio-dash15:02
rpittauanyone has other announcements / reminders ?15:03
dtantsurRelease time soon?15:03
rpittauoh yeah, I put that topic later :)15:04
rpittaubut I guess I can say it here15:04
rpittauthe new bugfix branches proposals are up15:04
rpittauhttps://review.opendev.org/c/openstack/releases/+/90195715:04
rpittauhttps://review.opendev.org/c/openstack/releases/+/90195615:04
rpittauhttps://review.opendev.org/c/openstack/releases/+/90195515:04
rpittauanything else to announce or remind ?15:06
JayFThere is a call on the list15:06
JayFfor projects for a UNM class15:06
rpittaumm haven't seen it15:07
JayFIf we have Ironic-related items, it wouldn't hurt for one of us to put up a proposal -- I think last time something like this came up, we proposed ARM CI (basically ARM VM support for sushy-tools) 15:07
JayFdeadline is this week, so if someone wants to action that it has to be nowish15:07
rpittauJayF: do you have the permalink to the thread ?15:07
* JayF stalls for time15:08
rpittauwe can add it later, it's ok :)15:08
rpittauthanks for mentioning that!15:08
dtantsurWe have a lot of work items that could be taken15:08
dtantsure.g. Mahnoor and myself could use some help with the inspector merger15:08
dtantsur(we're dragged into other downstream priorities)15:09
masghar++15:09
rpittauthe deadline is quite close15:10
dtantsuryeah, and I probably won't be able to mentor anyone in the near future...15:11
JayFI can't find the link; and search on ML archives appears brokenish(?)15:11
JayFBut I don't have time to mentor either; so it may be a moot point anyway15:11
rpittauok, let's see how the start of the week goes and think about it, if we can make time for some mentoring15:12
rpittauit's a shame otherwise but we're all quite busy with downstream stuff in the near future15:12
JayFI honestly spent a large portion of my last 2-3 months on softer stuff like governance and mentorship and need to point more time at technical focuses for productivity and personal sanity :) 15:13
dtantsurMentorship are no longer popular among companies, at seems..15:13
dtantsurexcept for maybe JayF :D15:13
JayFWell, I've run myself past-empty trying to fill in the gaps, I can't do that anymore.15:13
rpittau:)15:13
rpittaushall we move on? 15:13
JayF++15:14
rpittau#topic Review action items from previous meeting15:14
rpittauI have an action item from last time15:14
rpittauchange the launchpad ownership for virtualpdu to15:14
rpittau    us15:14
rpittauit was done15:14
rpittauiurygregory: how was your week as bug deputy ? :)15:15
iurygregoryhey o/15:15
iurygregorystatus from the bug deputy week15:15
iurygregoryIronic: 169 bugs (-20) + 182 wishlist items (-7). 20 new (-9), 77 in progress (-19), 3 critical , 26 high (+3) and 13 incomplete15:15
rpittauany bug that needs immediate action/attention ?15:16
iurygregoryI was able to triage a few bugs, the unassigned In Progress is empty now \o/15:16
rpittaugreat :)15:16
iurygregoryand I've clean up some old In Progress Bugs15:16
iurygregorywe have 3 critical bugs15:17
iurygregory2 were created this year, so we should try to look at them to see what we can do I would say15:17
iurygregory#link https://bugs.launchpad.net/ironic/+bug/202675715:17
iurygregory#link https://bugs.launchpad.net/ironic-python-agent-builder/+bug/204311215:17
rpittauthanks!15:18
rpittauTheJulia: you're still up for bug deputy this week ?15:18
iurygregoryWhile working as bug deputy I think it would be good to have some sort of guide on the procedure we should take for old bugs specially15:18
TheJuliayeah, I'll give it a shot, but I won't be around on monday to report15:18
rpittau#action TheJulia is the bug deputy this week 15:19
rpittauiurygregory: probably worth adding something to the bug deputy docs15:19
TheJuliamy focus is likely going to be really old bugs which should have long been closed out15:19
iurygregoryrpittau, yeah15:19
rpittauthanks TheJulia :)15:19
rpittaualright, let's move on if there's nothing more on bugs15:21
rpittau#topic Caracal release schedule15:21
rpittau#link https://releases.openstack.org/caracal/schedule.html15:21
rpittaucaracal milestone 2 is January 11th15:22
rpittauin 1 month and a half15:22
rpittau#topic Review Ironic CI status & update whiteboard if needed15:22
rpittauCI is particularly silent recently, should we worry? :)15:23
TheJuliaseems to be working at the moment :)15:23
rpittaugood :)15:23
rpittau#topic Bug Deputy role proposal has merged15:24
rpittauit's official now! :)15:24
rpittauI've spoke already about the bugfix branches, and I don't see new RFEs to discuss15:25
rpittau#topic Open Discussion15:25
rpittauanything up to discuss?15:25
dtantsurI did have an RFE to discuss, but I forgot to add it :D15:25
rpittauoh!15:26
dtantsurif you have any time15:26
rpittauI think so :)15:26
dtantsur#link https://bugs.launchpad.net/ironic/+bug/2044561 Dynamic boot configuration API15:26
dtantsurTheJulia: you commented on ^^^15:27
dtantsurActually, making it not tied to iPXE was one of the design goals15:27
TheJuliaYes, I guess I have two thoughts. I'd love for it to be generic upfront, instead of there being an ipxe flavor explicitly tied to parameters15:27
dtantsurI'm using iPXE as the reference implementation because I don't know anything else15:27
TheJuliaI also kind of wonder if it needs a spec (sorry!)15:27
dtantsurPossibly, except that it risks ending up one of my many unfinished items15:28
TheJuliaahh, okay, luckily the vast majority of the code under the hood is used by both ipxe/pxe15:28
JayFThat needs a spec IMO as well.15:28
TheJuliathe base challenge is that anytime we built explicit logic around one, we've made the underlying code more and more complicated too :\15:28
TheJulianot insurmountable by any means, some cleanup is needed there too15:28
TheJuliabut existing pxe parameters have kind of been lingering, so I'd personally try to avoid using ipxe in the name, I guess15:29
dtantsurI can draft a quick spec if that's actually something of interest15:29
dtantsurThe question is "it needs a spec" means "we want to discuss details" or more of "Dmitry, please go away with your crazy ideas" :D15:29
* dtantsur is ready to accept the latter15:29
JayFMine is more15:30
TheJuliaI could see it being a stepping stone to helping avoid the shared cluster conductor case15:30
JayF"oh god lets not encode ipxe implementation details in to an Ironic API definition without having at least a ?mode=ipxe"15:30
JayFbut I love the idea :)15:30
dtantsurHold on, where is this assumption coming from?15:30
TheJuliaI guess the internal thing I'm wondering, where do we store the information to give it the correct up to date information15:30
JayFI guess if the filename is boot.ipxe, that is telling us it's an ipxe file, eh15:31
TheJuliagrub will hunt for grub.cfg first15:31
TheJuliabut you only get one bounce with that too...15:31
dtantsurgrub with the ipxe boot interface?15:31
TheJuliaso... maybe explicitly out of the box might not work, dunno15:31
TheJuliadtantsur: grub with boot_interface set to pxe15:31
dtantsuripxe will expect boot.ipxe, grub will expect grub.cfg I guess15:31
dtantsurthe file name is just a hint to the boot interface15:32
TheJuliayup15:32
dtantsurso that we don't corner itself with an inability to support more than one file per interface15:32
TheJuliaI'm *not* entirely sure it would completely work with grub, I'd have to go look at the code to see how many times it lets you chain15:32
dtantsurso yeah, tl;dr: I did not expect the generic parts to have any references to iPXE15:32
TheJuliaipxe is much more flexible in that regard15:32
TheJuliacool15:33
JayFThe other potential headache with something like this... we haven't hit this before, so probably YAGNI15:33
JayFbut what if ipxe syntax were to change?15:33
JayFwe need any concept of versioning for this? 15:33
dtantsurThat affects us now as well, no?15:33
TheJuliaJayF: if it uses the same templates/config as the conductor...15:33
JayFHmm. I guess so.15:33
dtantsurWe already generate iPXE scripts15:33
dtantsurso, I will write a spec if there are people who will read it :)15:33
JayFFair.15:33
JayFThis is API ergonomics for a thing we already do15:33
JayFI need to stress less and just let it happen :)15:34
dtantsur(keeping in mind that we're otherwise stuck with a single conductor in metal3)15:34
TheJuliaI'd honestly just use as much of the existing mechanims as possible, maybe generate the response on the fly if we can get the ip address of the place to grab the files from15:34
dtantsurTheJulia: my RFE proposes starting with just reading the existing files from disk15:34
dtantsurit's silly, but it will get us going really quickly15:34
TheJuliayeah, on the fly is far better for multi-conductor cases, but we can always iterate to it15:35
JayFGET /v1/boot/<node>/../../../etc/passwd.ipxe /s15:35
dtantsurJayF: see, so many cool features possible!15:35
TheJuliawe're not a general server15:35
dtantsurthe key for multi-conductor is the hash ring integration. my proposal gives that.15:35
TheJuliaonly static file names based upon registered interfaces and deconstruct from there ;)15:35
JayFSo question15:36
TheJuliayeah, we would likely need to store the ip address15:36
JayFif we added this API15:36
TheJuliaaddresses15:36
TheJuliaand urls15:36
JayFwe have all the pieces we need to do basically ... externally orchestrated Ironic, yeah?15:36
dtantsurplease elaborate15:36
JayFBecause we'd have the ability to change power, boot mode, and do static boot configs15:36
JayFyou could basically use Ironic as an API-controlled fancy pxe server15:36
JayFwithout any of our other features15:37
dtantsurCould be. We're even adding a way to attach virtual media (please review it!)15:37
JayFwhich makes me a little sad, but also is a thing I've had multiple people say they wish they could do with an existing Ironic install (yeah, I've reviewed many of those and have +1s, I don't +2 redfish stuff unless nobody else is b/c I don't have hardware)15:37
dtantsurJayF: you can use sushy-tools :D15:38
dtantsurhonestly, "I don't +2 things I don't have hardware for" may not be a sustainable idea15:38
JayFI, bluntly, do not think that is sufficient testing to land a new hardware-supporting feature.15:38
dtantsursomeone has to review Fujitsu's patches15:38
JayFdtantsur: I've never once in my life logged into a redfish BMC. Ever.15:38
JayFdtantsur: and upon request I upgrade my votes.15:38
JayFdtantsur: just a default not a strict personal policy :)15:39
dtantsurHow do you manage to avoid Redfish nowadays? :)15:39
JayFI have no hardware at all :)15:39
dtantsurhaha, fair15:39
JayFI work in Tacoma, WA, my employer is in London, UK :)15:39
dtantsurThis hardware thing, it only causes headaches, right?15:39
JayFeven when I'm in the UK I don't get to touch the gear lol15:39
rpittauso going back to the RFE, dtantsur going to write a spec?15:39
dtantsurI am15:40
rpittauthen I'll read it :D15:40
dtantsurbtw https://github.com/dtantsur/ironic-operator/issues/3 is the tracker for multi-conductor metal315:40
dtantsurin case anyone wants to jump on the discussion15:40
rpittauit's open in my browser since last week :)15:40
rpittaualright, anything else we need to discuss about ?15:41
dtantsurso speaking of Fujitsu..15:41
rpittauoh yeah15:41
* dtantsur needs to find the RFE15:41
dtantsur#link https://bugs.launchpad.net/ironic/+bug/2040236 BMC certificates15:42
dtantsurI probably missed that meeting, but I'm puzzled by its outcome15:42
dtantsurJayF: could you check my comment?15:42
dtantsurNot that I mind a spec there, but it's really one of the things we tend to consider quite obvious15:43
JayFI read the emails over the holiday. Upon reflection... 🤷15:43
JayFwe should probably look the meeting log up15:43
JayF10-30 is when I commented, looking15:43
dtantsurhttps://meetings.opendev.org/meetings/ironic/2023/ironic.2023-10-30-15.00.log.html I assume15:43
JayFlooks like that was a proxied concern mostly from Julia15:44
JayFI can link the meeting logs into the bug15:44
dtantsurTheJulia: ^^15:45
JayFI was unsure, there was agreement on the uncertainty15:45
dtantsurI'm even more puzzled by the logs to be honest15:45
dtantsurThe problem is: Ironic is currently *normally* operated with verify_ca=False15:45
dtantsurwe need to change that15:45
JayFI wonder if we misread something meaningful in the bug, or if there's context I had then which is missing now15:45
JayFI'm unsure, but that uncertainty makes me feel more like I want a spec, which may not be fair either :\ 15:46
dtantsurLet me give it a try15:46
TheJuliadtantsur: is the thought a boolean field value on a node?15:46
dtantsurTheJulia: the boolean field on a node exists already, it's not helpful15:46
TheJuliaI can go for that, as a migration means15:46
TheJuliawe can't permit paths15:46
dtantsurthe only practical way to use it now is to set it to False15:46
TheJuliarealistically15:46
dtantsurwe can and should15:46
dtantsurbut not on the node level because it makes little sense15:47
dtantsur(although we probably do allow that now already)15:47
TheJuliaI'm not sure I'm really comfortable with that, but I guess it boils down to implementation details and access rights15:47
dtantsurthis is really a site-specific setting15:47
TheJuliai.e. don't let any member set the field15:47
JayFMy thought on the node-level stuff is15:47
dtantsurthat's why it has to go to ironic.conf15:47
JayFif it's something shipped *in a ramdisk* paths in node level makes sense15:47
JayFif it's something shipped *in a conductor*, you can't do it via API15:47
dtantsuryep, the latter15:48
JayFbecause ramdisks are accessible/changable via API; conductor files-on-disk are not15:48
dtantsurit seems that we're in a full agreement, so what's the blocker?15:48
JayFdtantsur: the suggested code in the example15:48
JayFprovides a node level override, I think?15:48
JayFdtantsur: so the prose does not match the example code15:49
JayFthat is likely what the disconnect is15:49
dtantsurthe example code is weird, I agree. that's why I tell people not to include code in proposals....15:49
TheJulia++15:49
JayF(and again, inconsistency in an RFE is more of a reason to have a spec IMO; but as long as we have a correct end state documented *somewhere* I don't care where that somewhere is)15:49
dtantsurthe idea is to have a conductor-level verify_ca for BMCs15:49
JayFI think our two questions were primarily:15:50
dtantsurI don't really mind a spec, just making sure the proposal is correctly understood from the beginning15:50
JayF1) it's [conductor]verify_ca being proposed for iRMC driver; we wanna be sure it's respected everywhere15:50
* dtantsur nods15:50
JayF2) the example code has a node-level override, which is (for reasons discussed here) not awesome15:50
JayFwhich I think is what my comment is trying to say, badly15:50
JayFI'm going to re-post that comment with more verbosity15:51
dtantsuryeah, I agree. thanks!15:51
dtantsurI have a nagging desire to just junk the code examples from the RFE15:51
dtantsuryank? I cannot do words today15:51
rpittauwell that was a good  discussion :)15:52
rpittauI think we're good or we have something more to discuss?15:53
JayF#link https://bugs.launchpad.net/ironic/+bug/2040236/comments/415:53
JayFthat's the updated comment in summary15:53
rpittauthanks JayF 15:54
rpittauI think we can close here15:54
rpittauthanks everyone!15:54
rpittau#endmeeting15:54
opendevmeetMeeting ended Mon Nov 27 15:54:21 2023 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:54
opendevmeetMinutes:        https://meetings.opendev.org/meetings/ironic/2023/ironic.2023-11-27-15.00.html15:54
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/ironic/2023/ironic.2023-11-27-15.00.txt15:54
opendevmeetLog:            https://meetings.opendev.org/meetings/ironic/2023/ironic.2023-11-27-15.00.log.html15:54
kubajjdtantsur: I figured out what was the problem. I am pretty sure I tested it in bifrost, but then did not update the docs.15:58
dtantsurI see. Well, I have an update now.15:59
dtantsurDoes not change the fact that we need the old options for the case when cpu_arch is not there.15:59
kubajjdtantsur: Yeah, I thought it was automatic and so deprecated the original options16:00
dtantsurOnly automatic with inspection which not everyone uses16:00
JayFor if you wanted to keep the options deprecated, you'd have to add/document a "None"/"unknown" key or some kind of cpu_arch_default16:01
JayFI don't hate the idea of cpu_arch_default to solve this problem TBH16:01
JayFbecause I think we'll have more by_arch stuff in the future16:01
dtantsurwe already have a lot of them, and we've never deprecated the non-arch variants16:02
JayFbut I do not have strong opinions about if the original deploy_* gets deprecated or not; more thinking about wanting to ensure we don't keep single-arch assumptions moving forward16:02
JayFack16:02
dtantsurso at least I want to restore both functionality and consistency before we think how to proceed16:02
JayF++16:03
JayFI haven't looked at your patch yet, but I doubt I disagree with it in any principle16:03
JayFI'm just talking about moving forward after it16:03
JayFand thinking through other alternate paths that could've been taken16:03
JayF(sorta part of a mental RCA for how I let it land broken-ish)16:04
kubajjdtantsur: you've mentioned that you need help with inspector merger, is there anything smaller/medium sized I could look into?16:16
dtantsurkubajj: are inspection rules small in your book? :)16:16
dtantsurmasghar: I assume you haven't started with ^^^?16:16
dtantsurhttps://specs.openstack.org/openstack/ironic-specs/specs/approved/inspection-rules.html16:16
masgharNo I haven't started with them16:17
kubajjdtantsur: I mean more something like a change I could work on during evenings just to keep in touch with Ironic16:19
dtantsurProbably not in the inspector field then..16:19
JayFkubajj: I've been trying to tag bugs low-hanging-fruit16:20
JayFMight be something there worth a look16:20
kubajjJayF: oh, this is helpful. I'll have a look16:21
opendevreviewJulia Kreger proposed openstack/sushy master: Remove version field from iLO error  https://review.opendev.org/c/openstack/sushy/+/90198916:43
opendevreviewDmitry Tantsur proposed openstack/ironic master: Fix *_by_arch documentation and un-deprecate the options without it  https://review.opendev.org/c/openstack/ironic/+/90195817:13
opendevreviewJulia Kreger proposed openstack/ironic master: Deprecate configuration molds  https://review.opendev.org/c/openstack/ironic/+/90150217:21
rpittaugood night! o/17:37
opendevreviewMahnoor Asghar proposed openstack/ironic master: Fix Redfish request collecting storage drives  https://review.opendev.org/c/openstack/ironic/+/90199417:40
-opendevstatus- NOTICE: Zuul build urls should be working again (browser refresh may be required)18:31
TheJulia\o/18:31
opendevreviewMerged openstack/ironic master: Multiple driver related deprecations  https://review.opendev.org/c/openstack/ironic/+/90150119:01
opendevreviewJulia Kreger proposed openstack/ironic master: DNM: Change to enforced policy by default  https://review.opendev.org/c/openstack/ironic/+/90200921:46
TheJuliagah, looks like I have another issue with the parsing in sushy-tools :(22:01
stevebaker[m]TheJulia: Hey can you cast your mind back to this fix? https://review.opendev.org/c/openstack/ironic-python-agent/+/879897 It looks like in CI the output for efibootmgr is not utf-16, see https://zuul.opendev.org/t/openstack/build/b1b917d216c0429dbcdf133d8c08f7b3/log/controller/logs/ironic-bm-logs/node-0_console_2023-11-26-20:29:04_log.txt#3177 22:03
stevebaker[m]I wonder if we should just set use_standard_locale=True on that execute call instead22:03
opendevreviewMerged openstack/sushy master: Remove version field from iLO error  https://review.opendev.org/c/openstack/sushy/+/90198922:06
*** dmellado206 is now known as dmellado2022:08
TheJuliaso binary=True should mean nothing gets parsed22:13
TheJuliabut... that is just biza22:13
TheJuliastevebaker[m]: oh, you rgetting an exception trying to convert to string outright22:15
TheJuliaso if it the line is binary, and it didn't know the type, wouldn't it fail trying to re-encode it to str?22:17
TheJuliaand thus we would get some funky result?22:17
stevebaker[m]TheJulia: isn't the error on the decode line? I can add some logging to clarify that22:19
stevebaker[m]TheJulia: but my thought is, so many commands are executed with use_standard_locale=True, wouldn't doing that here too avoid any encoding issues?22:20
stevebaker[m]and its not like we need any non-ascii characters from that output, setting LC_ALL=C would be fine22:23
opendevreviewJay Faulkner proposed openstack/sushy stable/2023.2: Remove version field from iLO error  https://review.opendev.org/c/openstack/sushy/+/90193722:26
JayFIs the limitation of Redfish HTTP(s) Boot to not allow configdrive something we expect to lift at some point?22:38
JayFoh, it doesn't support *IPA configdrives*22:38
JayFat least aiui22:39
JayFah; redfish https boot + ramdisk = no configdrive; redfish https boot for provisioning = no node network data for ipa22:40
TheJuliastevebaker[m]: not on the decode line, your logging after the decode, decode can fail and that is okay, I think your getting a decoded stream != string22:41
TheJuliastevebaker[m]: of course, what your getting in that output overall is downright bizarre22:41
TheJuliaJayF: bingo22:42
TheJuliaand thus we won't be able to lift it since DHCP will be required by the endpoint anyway22:42
JayFI suspect there are technical ways to get configdrive along for the ride in the ramdisk iso22:43
JayFif we're assembling the iso at provision time22:43
JayFkernel+ramdisk+configdrive -> stuff into iso, somehow22:43
TheJuliaJayF: depends on how much of that "iso" stays in memory22:43
JayFISO 9660.1, CD ISOs plus like, some partitions22:43
JayF(I made that up as a joke to be clear; anyone seeing this in a google result)22:44
TheJuliabootloader drop everything else from the ISO from ram that is not the loaded kernel+ramdisk22:44
TheJuliaso, even if it was there, you would be in a "oh, it just went poof" situation22:44
JayFoooh so that virtual media iso is not accessible at all from the OS side?22:44
TheJuliaThe ISO crafted as virtual media would no longer be acessible22:44
TheJuliacorrect22:44
TheJuliasame limitation with the ramdisk deploy interface22:45
TheJuliaso, the ramdisk would need to be "appended to" to make it work22:45
TheJuliathat would be the "only way"22:45
JayFyou'd have to do something like we did in the old coreos ramdisk22:45
TheJuliayup22:45
JayFin the initrd, spin something up to get some data out22:45
TheJuliayou can do multi-layered initrds22:45
JayFwrite it to some sorta loopback file (probably?) and mount it as a loopback22:45
TheJuliajust is a total PITA to take apart and reassemble22:46
JayFor just dump a loopback ISO FS inside the initramfs and copy it into a reasonable place22:46
TheJulialike.. you really need to write a script to do it22:46
JayFyeah, I'm just reviewing it and trying to get the shape of the limitations22:46
JayFthis conversation has been very helpful22:46
TheJuliayou can't because cpio explodes on the delimiter22:46
TheJuliaat least, the easy route22:46
JayFyou base64 encode it22:46
TheJulianot on the current multi-layered initrd stuffs22:46
TheJuliait is like a file with multiple distinct chunks which get recursively extracted22:47
JayFI'm not even thinking about the actual stuff built into linux so much as I am just harkening back to the hacky ways we made this kinda thing work  back at Rackspace22:47
TheJuliayou have to get something linux can upack in ram, otherwise there is nothing because you only get the bytes in ram until it frees them22:47
JayFwe had, at one point, an initrd which would, mid-boot, pull down the IPA container and boot (trying to separate the OS/ramdisk shell from the IPA code, it was unwise but we got it working)22:48
TheJuliaonce it frees the original address space with the initrd load from initial boot, that is all gone too22:48
TheJuliayou can sort of do that in part of boot, but with a single without network, it all has to unwind right then and there22:48
JayFI was assuming we'd do something like setup a ramfs or tmpfs to dump the configdrive in on boot22:48
JayFto preserve it22:48
JayF(this is all just sorta conjecture anyway; I don't know if there's a use case for this; like I said I was just trying to find the shape of the limitations to inform my review so you can bail on the conversation if you aren't having fun LOL)22:49
TheJuliaheh22:52
TheJuliaI was more so starting a pie for dessert22:52
JayFoooh I have an evil idea23:00
JayFI wonder if Ironic could swap the virtual media somehow23:00
JayFIf you ignore the timing issues (e.g. assume someone has glean setup with udev rules to run if a new block device of the proper metadata is attached), Ironic could late-attach a configdrive to a ramdisk interface node23:01
JayFit would be an awful idea *if* not for the new redfish thing which can tell us when an OS has booted23:01
JayFwhich moves it from "awful idea" to "maybe only a little bad"23:01
TheJuliaonly for full blown virtual media23:04
TheJulianot for httpboot stuffs23:04
TheJuliasince your not dealing with a device there23:04
JayFAh, so there's a matrix23:04
JayFthat is the entirety of the flaw in my thinking, I think23:05
TheJuliaand the full blown virtual media has the ability to try a second device aiui23:05
JayFI assumed http boot == it had some kinda virtual media23:05
TheJulianah, its not at all23:05
JayFbut it not makes the limitations you lay out make a *lot* more sense23:05
TheJuliaits just telling software "go boot from this"23:05
TheJuliaand the same software limitations come into play23:05
TheJulia... what has me stumped at the moment is why sushy-tools worked once, but didn't work after the latest rebase23:06
JayFdtantsur: please take a look at https://review.opendev.org/c/openstack/ironic/+/89041123:30
JayFIs it OK if https://review.opendev.org/c/openstack/ironic/+/900846 would permit any Ironic user with access to console to kick any other Ironic user off the console? that's the effective change?23:33
JayFI'm worried if there are security implications there23:33
JayFhttps://review.opendev.org/c/openstack/ironic/+/900846/2#message-7a8c9b24165f991880aeaeda6bb501e514d99cdf -1'd for lack of a release note anyway; but I think we should think about the black hat potential of this change23:35
TheJuliaI think I'm going to go exercise, I'm feeling stumped by my redfish https boot failure at the moment :(23:40

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