Thursday, 2021-07-29

opendevreviewJacob Anders proposed openstack/sushy master: Removing optional fields from insert_media payload  https://review.opendev.org/c/openstack/sushy/+/80269000:05
jandersTheJulia ^ this should fix up all the bits you pointed out00:06
opendevreviewJacob Anders proposed openstack/sushy master: Change defaults - optional insert_media attributes  https://review.opendev.org/c/openstack/sushy/+/80245201:09
jandershow to DELETE a storyboard story? Creation crashed in-flight, so I re-created my story and now I have two. One needs to go.01:38
opendevreviewJacob Anders proposed openstack/ironic master: Remove hardcoded parameters from insert_media call  https://review.opendev.org/c/openstack/ironic/+/80264301:40
iurygregorygood morning Ironic o/06:21
opendevreviewIan Wienand proposed openstack/ironic master: ci-workarounds/get_extra_logging.yaml : avoid grep failure  https://review.opendev.org/c/openstack/ironic/+/80282906:39
cennegood morning iurygregory,  ironic. 07:09
*** rpittau|afk is now known as rpittau07:10
rpittaugood morning ironic! o/07:10
iurygregorymorning cenne rpittau o/07:10
rpittauhey iurygregory :)07:13
cenneo/ hey all07:37
iurygregoryI'm closing the Doodle for the Midcycle, based on the results the best dates are 23 24 25. I will check the time slots and will send an email to the openstack-discuss today07:49
iurygregorynot sure if we will need 3 dates ofc, is just because the last midcycle lasted 3 days =)07:51
rpittaulet's see how many topics we have07:57
iurygregoryyeah07:59
jandersgood morning cenne rpittau iurygregory and Ironic o/08:07
iurygregoryhey janders o/08:08
cennehey janders o/08:11
rpittauhey janders :)08:19
dtantsurmorning ironic08:36
* dtantsur -> dentist, brb09:13
opendevreviewRiccardo Pittau proposed openstack/ironic-inspector master: Increase version of hacking and pycodestyle  https://review.opendev.org/c/openstack/ironic-inspector/+/80285109:19
jssfrugh, I only now noticed that my reply to a remark on my review was stuck in draft :(10:39
opendevreviewMerged openstack/ironic master: Increase version of hacking and pycodestyle  https://review.opendev.org/c/openstack/ironic/+/80267510:40
opendevreviewMerged openstack/sushy master: Increase version of hacking and pycodestyle  https://review.opendev.org/c/openstack/sushy/+/80249111:24
rpittauAnd my laptop crashed and it doesn't load from the disk.....12:03
dtantsurOo12:08
iurygregorywoot?!12:17
rpittauyeah, I'm trying to understand what's going on, live usb at the rescue12:22
dtantsuriurygregory: if you have a second: https://review.opendev.org/c/openstack/ironic/+/80266412:24
iurygregorydtantsur, sure! I'm in a downstream meeting after it finishes I will look12:25
dtantsurcool!12:25
iurygregorydtantsur, we probably need a backport to 18.0 =)12:29
dtantsuriurygregory: good point, lemme check12:29
iurygregorytks!12:30
rpittauand I'm back, weird12:38
cennePhew. LiveUSB saved you rpittau?12:50
jandersdtantsur iurygregory rpittau would you have time to chat about the sushy patches (Inserted/WriteProtected removal)?12:53
jandersif TheJulia and rpioso are around that woule be even more awesome12:53
dtantsurI'm on meetings, but will eavesdrop12:53
rpittaucenne: yeah, had to rebuild grub config for some reason12:53
jandersthank you dtantsur - if it's easier we can sort this out in async - let's see who's available12:54
rpittaujanders: I'm listening to europython but I'm available12:57
cennerpittau for me it happens when it's powered off unexpectedly. The ssd doesn't get ready by the time bios does it's thing. A simple live boot and then reboot fixes it12:57
cenne* for me.12:58
rpittaummm well first time for me since a while, not sure what happened12:58
jandersthanks rpittau12:58
jandersokay, I will drop my thoughts here for starters, let's see how we go12:59
jandersin essence I think I addressed all reviewer comments on all three patches12:59
janderswhat I wanted to talk about in particular is the comment from rpioso https://review.opendev.org/c/openstack/sushy/+/802452/8/sushy/resources/manager/virtual_media.py#9613:00
jandersI like his approach more than what I did for the "backport candidate" sushy patch (it's more readable) but I'd still want to get to a point where we don't pass Inserted and WriteProtected from Ironic to sushy just to silently drop these (and not add them to payload)13:01
jandersand while we're there I'd want to make default values of inserted and write_protected in sushy to be None as dtantsur suggested the other day13:02
janders^ dtantsur rpittau iurygregory TheJulia rpioso what do you think?13:02
jandersdo we stay with the current state with three patches (backportable-sushy and master-only ironic and sushy-follow up)?13:03
opendevreviewMerged openstack/bifrost bugfix/11.0: Install libvirt-python from source instead of a wheel  https://review.opendev.org/c/openstack/bifrost/+/80274913:09
TheJuliagood morning13:10
jandershey TheJulia13:11
iurygregoryjanders, to me the actual approach makes totally sense (after the conversation we had with dtantsur yesterday)13:11
iurygregorygood morning TheJulia 13:11
jandersthanks iurygregory13:12
jandersI'm thinking the same, but wanted to see if we have consensus on that - quite a few different ideas in the review comments13:12
jandershence dropping this on IRC13:12
iurygregoryyeah, it makes sense to bring up the conversation in IRC =)13:13
dtantsurjanders: let's make sure we fix the problem in question first and foremast, and in a backportable way13:15
dtantsurall clean ups can be subject to other discussions13:15
rpittaujanders: I'm on the same page as dtantsur, let's fix the issue and backport it first13:17
jandersOK! thank you iurygregory dtantsur rpittau13:22
TheJuliaevery time we've tried to refactor and then fix, it just makes it more painful13:22
jandersI will upload an updated version of https://review.opendev.org/c/openstack/sushy/+/80269013:22
jandersand let's focus on that13:22
opendevreviewJacob Anders proposed openstack/sushy master: Removing optional fields from insert_media payload  https://review.opendev.org/c/openstack/sushy/+/80269013:30
janders^ okay the backport candidate is ready to go - if you have time have a look and leave comments if anything more needs fixing - I will try to test it against some hardware tomorrow morning13:31
jandersthanks iurygregory dtantsur rpittau TheJulia13:31
iurygregorytks janders !13:31
opendevreviewVerification of a change to openstack/ironic stable/wallaby failed: Fix regression in ramdisk deploy kernel parameters  https://review.opendev.org/c/openstack/ironic/+/80266413:59
opendevreviewRiccardo Pittau proposed openstack/ironic-lib master: Increase version of hacking and pycodestyle  https://review.opendev.org/c/openstack/ironic-lib/+/80289614:20
opendevreviewVerification of a change to openstack/ironic stable/wallaby failed: Fix regression in ramdisk deploy kernel parameters  https://review.opendev.org/c/openstack/ironic/+/80266414:29
rpiosoGood morning, ironic :)14:54
rpiosojanders: Thank you for replying to my review comments.14:54
opendevreviewMerged openstack/bifrost bugfix/11.0: bifrost-cli: fix relative paths in --extra-vars  https://review.opendev.org/c/openstack/bifrost/+/80158115:06
opendevreviewMerged openstack/bifrost bugfix/11.0: Install sushy-oem-idrac for idrac-redfish-virtual-media  https://review.opendev.org/c/openstack/bifrost/+/80158015:06
opendevreviewRiccardo Pittau proposed openstack/ironic-python-agent master: Increase version of hacking and pycodestyle  https://review.opendev.org/c/openstack/ironic-python-agent/+/80290315:08
opendevreviewVerification of a change to openstack/ironic stable/wallaby failed: Fix regression in ramdisk deploy kernel parameters  https://review.opendev.org/c/openstack/ironic/+/80266415:08
dtantsurfolks, I tiny patch needs 2nd +2: https://review.opendev.org/c/openstack/bifrost/+/80243915:42
JayFif it's simple enough, I can approve15:51
JayFTIL we changed the name of that setting15:51
JayFthere ya go dtantsur 15:52
dtantsuryep, we made it consistent with other drivers and removed the duplicated prefix. thanks!15:52
JayFyeah I found the commit before I approved the change15:53
JayFdon't want to wake up one day as a giant rubber stamp :P15:53
opendevreviewMerged openstack/ironic master: ci-workarounds/get_extra_logging.yaml : avoid grep failure  https://review.opendev.org/c/openstack/ironic/+/80282915:55
opendevreviewMerged openstack/ironic-inspector master: Increase version of hacking and pycodestyle  https://review.opendev.org/c/openstack/ironic-inspector/+/80285115:55
rpittaugood night! o/16:03
*** rpittau is now known as rpittau|afk16:03
TheJuliaJayF: That is a weird visual16:16
dtantsuro/17:05
opendevreviewMerged openstack/bifrost master: Update deprecated pxe_append_params -> kernel_append_params  https://review.opendev.org/c/openstack/bifrost/+/80243917:07
opendevreviewVerification of a change to openstack/ironic stable/wallaby failed: Fix regression in ramdisk deploy kernel parameters  https://review.opendev.org/c/openstack/ironic/+/80266417:30
JayFWhy does our published DIB element unilaterally disable iptables? https://github.com/openstack/ironic-python-agent-builder/blob/master/dib/ironic-python-agent-ramdisk/post-install.d/80-ironic-python-agent-ramdisk#L2717:37
TheJuliahmm, looks like that came from the original element17:54
TheJuliaI wonder if it had to do with iscsi17:54
JayFit's not going to cause me a problem directly; but that's going to hurt any admin who needs to make an IPA ramdisk with firewall rules for compliance reasons17:55
TheJuliahttps://github.com/openstack/diskimage-builder/commit/dd7648277fa45f102c4dd30bde90bd44ecb8a55317:56
TheJuliaLooks like the original idea came in the original commit18:01
TheJuliaerr18:01
TheJuliano18:01
TheJuliano yes18:01
TheJuliahttps://github.com/openstack/diskimage-builder/commit/676b1b738db8a631a92b9a967a8d869dd776cac8#diff-55348da1267f2da1d076e0f7d837eff26bd21feee1562af4e3344313f0571c0618:02
JayFyeah we  should consider making that optional imo18:11
JayFor just don't touch it, but that isn't as backwards compat18:12
TheJuliaI think it is *way* easier to do now.. . but yeah18:12
TheJuliastable reviews needed on https://review.opendev.org/q/project:openstack%252Fironic+branch:stable%252Fussuri+status:open18:15
TheJuliahmm, looks like the idrac one needs more reviews elsewhere first 18:19
* TheJulia does that18:19
*** sshnaidm is now known as sshnaidm|afk18:30
opendevreviewMerged openstack/ironic bugfix/18.0: Refactor iDRAC OEM extension manager calls  https://review.opendev.org/c/openstack/ironic/+/79527618:38
JayFI can look at those if you really need me to TheJulia but I generally avoid the hardware driver specific stuff due to lack of familiarity18:46
TheJuliaI took care of the idrac ones18:56
TheJuliait was deduplication of code that I requested a long time ago in a galacy far away18:57
TheJuliagalaxy18:57
opendevreviewMerged openstack/ironic stable/victoria: Refactor iDRAC OEM extension manager calls  https://review.opendev.org/c/openstack/ironic/+/79552120:11
opendevreviewVerification of a change to openstack/ironic stable/ussuri failed: Refactor iDRAC OEM extension manager calls  https://review.opendev.org/c/openstack/ironic/+/79552420:11
bfournieSo I'm attempting to upgrade a bifrost setup to master, I've got an issue with the ironic db however and the install fails. When I run  ironic-dbsync upgrade I get the multiple heads error "alembic.script.revision.MultipleHeads: Multiple heads are present for given argument 'head'; c1846a214450, bb57cc89ce78". I really don't have multiple heads though, I can see from alembic commands that 'c1846a214450' is the only h20:26
bfourniebb57cc89ce78' is on old revision I was testing with but did not commit. I'm the mysql cli but its not clear how I can remove references to bb57cc89ce78 however, I only see the valid one20:26
bfournieMariaDB [ironic]> select * from alembic_version;20:26
bfournie| version_num  |20:26
bfournie| c1846a214450 |20:26
bfournieAny ideas how to find and clear the invalid revision bb57cc89ce78 from the ironic db?20:26
TheJuliabfournie:  remove the file ?20:28
TheJuliait picks it up and can't do the upgrade as a result20:28
bfournieTheJulia: the revision file with 'bb57cc89ce78'"? yeah that no longer exists20:29
bfournieTheJulia: I did remove it but still get the error20:29
TheJuliano other wip database changes locally?20:30
bfournieTheJulia: so I was running with that revision prior to the upgrade but when I updated Ironic it was no longer referenced. Now I think I need to remove something directly in the ironic db but can't find it20:31
TheJuliahmm yeah20:31
TheJuliaI'm not sure where that gets squirreled away in the db20:31
TheJuliayou could dump it out to a sql file and look through it20:32
bfournieTheJulia: yeah let me try taht20:32
bfourniethat20:32
TheJuliastevebaker: if you want to chat about grub, lmk20:35
stevebakerTheJulia: good morning, yes!20:37
JayFI just lost like, half a day to this: https://github.com/openstack/ironic-python-agent-builder/blob/master/dib/ironic-ramdisk-base/cleanup.d/99-ramdisk-create#L4821:18
JayFit means if you install a package that depends on, say, /var/log/packagename/ existing in the IPA ramdisk, it completely breaks and there's no way to work around it21:19
JayFI guess I'll have to create the dir on boot in my ramdisk or something?21:19
JayFanyone have any ideas? 21:25
JayFYeah, I've convinced myself that line of code is doing more harm than good, I'm going to straight up PR a removal. It's not right of us to break any package trying to log to somewhere in /var/log21:29
opendevreviewJulia Kreger proposed openstack/ironic master: DNM/WIP - Add FIPS jobs  https://review.opendev.org/c/openstack/ironic/+/79773921:31
JayFTheJulia: ^ you have any ideas, perhaps?21:31
TheJuliaJayF: needing a folder in /var/log seems... weird21:34
TheJuliaI guess it should be okay to remove the removal... or amend... maybe21:35
JayFTheJulia: There are a myriad of applications, I can probably find an example in public centos repos, that log to /var/log/appname/blah21:35
JayFApache2 comes to mind21:35
JayFI'm trying to see if I can make the paths to prune configurable, but that seems like it'll be messy21:36
TheJuliaI would thinkt hey would pre-create on launch, but I guess if they don't it would need to be created for permission reasons21:36
JayFIn this case, it's 100% created in the RPM. 21:37
TheJuliayeah21:37
JayFI am trying not to judge the rpm, it has problems but this really isn't one of them :D 21:37
TheJuliait would need to be becasue of the different permissions as it launches with root privs and then sets it uid/gid to something else it is handcuffed from doing bad things21:37
JayFyeah I think I have a configurable approach that will maintain existing behavior21:40
JayFin exchange for my months of a near-infinite review ratio, I may want to cash in ALL of the favors to get this thing reviewed/merged quickly21:41
JayFor else I gotta patch it downstream and I'm running out of time this week lol21:41
opendevreviewJay Faulkner proposed openstack/ironic-python-agent-builder master: Allow configuration of paths to prune  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/80296521:52
JayFthis may be the ugliest bash I've ever written. Time to go cheer on the CI.21:52
opendevreviewJay Faulkner proposed openstack/ironic-python-agent-builder master: Allow configuration of paths to prune  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/80296522:03
JayF^ tested working downstream \o/22:08
TheJuliastevebaker: so I figured out the issue with the fips jobs. They reboot the test machine and loose the ssh connection which kills the job... of course...22:09
stevebakerthat would do it22:09
kkillsfirstHello TheJulia, I was looking at the code from  https://review.opendev.org/c/openstack/ironic/+/688977/6/ironic/drivers/modules/agent_base.py#63 . I was wanting to know where the LOG.info() outputs to?22:13
TheJuliakkillsfirst: my guess would be journald logging facility22:14
JayF`journalctl -u ironic-conductor` would show you that if you're unfamiliar kkillsfirst 22:15
kkillsfirstThank you, TheJulia and JayF.22:16
TheJuliaI guess my worry is that... is it not?22:18
TheJuliaJayF: fwiw, your patch looks good to me but I guess we'll wait on ci22:21
JayFTheJulia: thanks :) It's nice to be able to fix a thing upstream and it have urgency because I /can/ use it right away :D 22:22
JayFlol22:22
JayFTheJulia: I'm stepping away for a bit; if you wanna vote in anticipation of CI-success I wouldn't object :P I'm going to keep an eye on it and ensure CI is happy on it22:25
TheJuliaJayF: ack22:28
jandersgood morning Ironic o/22:53

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