Tuesday, 2021-08-10

janderscontext: I wanted to test a manual run of clear_job_queue/reset_idrac (e.g. https://opendev.org/openstack/ironic/src/branch/master/ironic/drivers/modules/drac/management.py#L597)00:00
jandersbut just baremetal node clean test01 --clean-steps '[{"interface": "management", "step": "clear_job_queue"}]' boots the node into ramdisk which is unnecessary00:00
TheJuliajanders: I *believe* it is an argument00:31
jandersTheJulia: to the CLI call?00:31
TheJuliato the step being passed in. My memory is a bit fuzzy00:31
jandersOK! will look into this, thank you TheJulia00:32
stevebakerTheJulia: I did a grubby thing https://review.opendev.org/c/openstack/diskimage-builder/+/804002/1/diskimage_builder/elements/bootloader/finalise.d/50-bootloader00:47
opendevreviewJulia Kreger proposed openstack/ironic master: Allow initial versions to not be created yet  https://review.opendev.org/c/openstack/ironic/+/80400300:48
opendevreviewJulia Kreger proposed openstack/ironic master: Implements node history: database  https://review.opendev.org/c/openstack/ironic/+/76800900:48
TheJuliastevebaker: oooh ahhh00:50
stevebakerI should build some images locally00:50
TheJulia++00:51
TheJuliaI think I'm going to go make a pizza00:51
stevebaker++00:58
opendevreviewMerged openstack/ironic-python-agent-builder master: Revert "Allow configuration of paths to prune"  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/80396701:32
opendevreviewJacob Anders proposed openstack/ironic master: [WIP] Add support for verify steps  https://review.opendev.org/c/openstack/ironic/+/80000101:36
opendevreviewJacob Anders proposed openstack/ironic master: [WIP] Add support for verify steps  https://review.opendev.org/c/openstack/ironic/+/80000101:46
opendevreviewJacob Anders proposed openstack/ironic master: [WIP] Make reset_idrac and clear_job_queue verify steps  https://review.opendev.org/c/openstack/ironic/+/80000102:29
opendevreviewJacob Anders proposed openstack/ironic master: [WIP] Add support for verify steps  https://review.opendev.org/c/openstack/ironic/+/80000102:39
opendevreviewJacob Anders proposed openstack/ironic master: [WIP] Make reset_idrac and clear_job_queue verify steps  https://review.opendev.org/c/openstack/ironic/+/80403202:41
*** pmannidi is now known as pmannidi|Lunch03:52
opendevreviewJacob Anders proposed openstack/ironic master: Make reset_idrac and clear_job_queue verify steps  https://review.opendev.org/c/openstack/ironic/+/80403204:11
opendevreviewJacob Anders proposed openstack/ironic master: [WIP] Add support for verify steps  https://review.opendev.org/c/openstack/ironic/+/80000104:32
opendevreviewJacob Anders proposed openstack/ironic master: Add support for verify steps  https://review.opendev.org/c/openstack/ironic/+/80000104:53
*** pmannidi|Lunch is now known as pmannidi04:54
iurygregorygood morning janders and Ironic o/06:13
jandersgood morning iurygregory06:13
*** rpittau|afk is now known as rpittau06:15
rpittaugood morning ironic! o/06:16
iurygregorymorning rpittau o/06:17
rpittauhey iurygregory :)06:17
opendevreviewJacob Anders proposed openstack/ironic master: Add support for verify steps  https://review.opendev.org/c/openstack/ironic/+/80000106:26
rpittauTheJulia, JayF, glad to see reverting the patch worked, the size is back to normal, weird enough I remember testing it before approving :/06:33
jandersgood morning rpittau06:35
iurygregoryrpittau, which patch we reverted?06:47
arne_wiebalckGood morning rpittau janders iurygregory and Ironic!06:55
iurygregorymorning arne_wiebalck o/06:56
rpittauhey janders, arne_wiebalck :)07:13
rpittauiurygregory: https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/80396707:13
iurygregoryrpittau, gotcha07:14
opendevreviewMerged openstack/ironic-python-agent master: Add lower-constraints job to current development branch  https://review.opendev.org/c/openstack/ironic-python-agent/+/80345307:51
cenneGood morning Ironic!08:10
opendevreviewRiccardo Pittau proposed openstack/networking-baremetal master: Add lower-constraints job to current development branch  https://review.opendev.org/c/openstack/networking-baremetal/+/80393308:14
opendevreviewRiccardo Pittau proposed openstack/networking-generic-switch master: Add lower-constraints job to current development branch  https://review.opendev.org/c/openstack/networking-generic-switch/+/80393908:17
opendevreviewRiccardo Pittau proposed openstack/networking-baremetal master: Add lower-constraints job to current development branch  https://review.opendev.org/c/openstack/networking-baremetal/+/80393308:17
arne_wiebalckGood morning, cenne o/08:34
iurygregorymorning cenne o/08:36
cenneHey arne_wiebalck 08:36
cenneHey iurygregory 08:36
arne_wiebalckAnyone managing Arm servers with Ironic?08:37
cenneiurygregory: Do you want to shoo away Boo? Can they stay??08:37
iurygregoryarne_wiebalck, well I know that some people at RH were trying 08:38
iurygregorycenne, well not the literal emoji I would say =)08:38
arne_wiebalckiurygregory: any idea if that worked?08:43
arne_wiebalckiurygregory: we are getting some arm servers and of course I would like to move them through the Ironic pipeline08:44
iurygregoryarne_wiebalck, I don't remember but I can try to ask around in the afternoon (I think the people that want to try are US based)08:45
arne_wiebalckiurygregory: that would be great, thank you!08:46
iurygregoryI do recall that we didn't have packages for arm, rpittau can you confirm?08:46
arne_wiebalckshould I expect Zuul to work ok or do I need to go and get some cookies?08:50
cenneooh. what are cookies? Second time I'm hearing that phrase08:59
arne_wiebalck:-D09:00
arne_wiebalckcookies are sweets to feed the beast09:00
iurygregorycenne, there is HTTP cookie and the special ones we give to zuul 09:00
iurygregoryfor some reason arne_wiebalck is the only person who knows the recipe09:01
iurygregoryat CERN they have some special machines to create the cookie we need to give to zuul :D09:01
arne_wiebalck... and the legend says that Zuul will show mercy with your change when you offer cookies upfront09:02
iurygregory^ correct09:02
arne_wiebalck*wonders if Zuul follows IRC*09:02
* arne_wiebalck has to get used to IRC shortcuts again apparently09:03
iurygregorythe opendev bot's follows to provide information to zuul09:03
rpittauiurygregory: AFAIK there's no packages specifically for arm64 at the moment09:07
rpittaubut I think we're talking about managing arm64 servers, not installing ironic on arm64 servers09:09
rpittauthat should be possible, probably needs some config change, maybe a different ramdisk09:12
rpittauwe do support EFI bootloaders for arm64 in ironic-python-agent09:12
iurygregoryI remember people asking if something was required to have Ironic working for arm64, like some specific things in ipa09:12
arne_wiebalckrpittau: iurygregory: right, this is for managing arm servers with Ironic (not running Ironic on arm)09:42
arne_wiebalckI would think we would need a different ramdisk, and as we build the ramdisk ourselves I was wondering if someone has done this already09:43
iurygregoryarne_wiebalck, probably =)09:44
iurygregoryfor building the ramdisk yourself =)09:44
arne_wiebalckcenne: please see https://review.opendev.org/c/openstack/ironic/+/80142510:37
arne_wiebalckcenne: Zuul failed twice, then I offered cookies, and it succeeded10:37
iurygregoryZuul <3 cookies10:38
cennearne_wiebalck: iurygregory:  wow.. this is magik!10:42
cenneI'd have thought Zuul just randomly became happy. We don't even get to see the cookies. :)10:44
opendevreviewMerged openstack/ironic-lib master: Add lower-constraints job to current development branch  https://review.opendev.org/c/openstack/ironic-lib/+/80362810:57
opendevreviewJacob Anders proposed openstack/ironic master: Add support for verify steps  https://review.opendev.org/c/openstack/ironic/+/80000111:06
rpittauarne_wiebalck: I guess you can change the base arch in ipa-builder or dib and give it a try12:17
arne_wiebalckrpittau: thanks, will do ... once I get hold of the arm servers :)12:18
opendevreviewArne Wiebalck proposed openstack/ironic master: [Trivial] Fix typo in burn-in docs  https://review.opendev.org/c/openstack/ironic/+/80407412:23
rpittauarne_wiebalck: having the arm servers will definitely help :D12:37
arne_wiebalckIn the context of  https://review.opendev.org/c/openstack/ironic/+/801425, I had a look at how often Ironic fails to get the power state per attempt. With 8000 nodes and a 300s power sync interval, we get per 12 hours: ~10000 errors on the first attempt, ~200 on the second (~20 on the third ... ~1-2 on the ninth). Looking at how errors are bunched in time, I can see the 5min interval (which is surprising since we 12:41
arne_wiebalckhave conductor groups). Also, the errors are not equally distributed over controllers (controllers manage different deliveries and have different numbers of nodes to look after) ... it could be another thundering herd problem congesting the management network, but given the change above it looks more like some BMCs like a wake-up call before they agree to reveal the power state ... 12:41
arne_wiebalck... any insights would be more than welcome :)12:42
opendevreviewMerged x/sushy-oem-idrac master: Increase version of hacking and pycodestyle  https://review.opendev.org/c/x/sushy-oem-idrac/+/80342813:07
TheJuliaarne_wiebalck: arm folks have actually told me they use it, but had to build the binaries themselves13:13
opendevreviewMerged x/sushy-oem-idrac master: Fix missing Target@Redfish.AllowableValues  https://review.opendev.org/c/x/sushy-oem-idrac/+/80049513:13
arne_wiebalckTheJulia: thanks, the binaries of ... ?13:16
opendevreviewJulia Kreger proposed openstack/ironic-inspector master: Handle NodeLocked failures  https://review.opendev.org/c/openstack/ironic-inspector/+/80393513:18
TheJuliaarne_wiebalck: things like ipxe13:32
arne_wiebalckTheJulia: this is to run the server on arm?13:32
TheJuliaarne_wiebalck: yes13:33
TheJuliaarne_wiebalck: of course, you can also use grub, but the key boot aspect is that the machines also need to have real network boot capability13:33
arne_wiebalckTheJulia: I was not planning to be that ambitious :) I only want to manage arm servers.13:33
TheJuliaheh13:34
arne_wiebalckTheJulia: I have been pushing to move the whole life cycle to Ironic, would be great if we do not need to make an exception for arm.13:35
opendevreviewAija Jauntēva proposed x/sushy-oem-idrac stable/wallaby: Fix missing Target@Redfish.AllowableValues  https://review.opendev.org/c/x/sushy-oem-idrac/+/80402413:35
arne_wiebalckTheJulia: we do not have the servers yet, just wanted to check what to expect ...13:36
opendevreviewJulia Kreger proposed openstack/ironic master: Allow initial versions to not be created yet  https://review.opendev.org/c/openstack/ironic/+/80400313:36
opendevreviewBob Fournier proposed openstack/ironic master: [WIP] For particular vendors set the boot device prior to installing image  https://review.opendev.org/c/openstack/ironic/+/80238913:36
opendevreviewJulia Kreger proposed openstack/ironic master: Implements node history: database  https://review.opendev.org/c/openstack/ironic/+/76800913:37
opendevreviewJulia Kreger proposed openstack/ironic master: Record node history and manage events in db  https://review.opendev.org/c/openstack/ironic/+/80329213:37
opendevreviewAija Jauntēva proposed x/sushy-oem-idrac master: Add RAID mode conversion methods  https://review.opendev.org/c/x/sushy-oem-idrac/+/79950613:57
*** pmannidi is now known as pmannidi|AFK14:07
opendevreviewDanni Shi proposed openstack/ironic-python-agent master: Add an attestation extension  https://review.opendev.org/c/openstack/ironic-python-agent/+/80351014:16
opendevreviewMerged openstack/ironic-inspector master: Add lower-constraints job to current development branch  https://review.opendev.org/c/openstack/ironic-inspector/+/80357014:30
opendevreviewArne Wiebalck proposed openstack/ironic-python-agent master: Check the network burnin roles and partner  https://review.opendev.org/c/openstack/ironic-python-agent/+/80409214:39
opendevreviewVerification of a change to openstack/ironic bugfix/18.1 failed: Fix subscription vendor passthru  https://review.opendev.org/c/openstack/ironic/+/80367814:43
opendevreviewLeo McGann proposed openstack/ironic master: Adds Attestation Interface to Node  https://review.opendev.org/c/openstack/ironic/+/75583614:53
opendevreviewMerged openstack/ironic master: [Trivial] Fix typo in burn-in docs  https://review.opendev.org/c/openstack/ironic/+/80407414:55
opendevreviewArne Wiebalck proposed openstack/ironic-python-agent stable/wallaby: Force immediate NTP time sync with chronyd at IPA startup  https://review.opendev.org/c/openstack/ironic-python-agent/+/80409614:55
opendevreviewArne Wiebalck proposed openstack/ironic-python-agent stable/victoria: Force immediate NTP time sync with chronyd at IPA startup  https://review.opendev.org/c/openstack/ironic-python-agent/+/80409714:58
TheJuliafirst meeting over15:05
TheJuliayay15:05
TheJulia\o/ https://review.opendev.org/c/openstack/ironic-inspector/+/803935 passed ci15:11
arne_wiebalckBye everyone, see you tomorrow o/15:30
TheJuliao/ arne_wiebalck 15:30
*** owalsh_ is now known as owalsh15:31
cenneThank you for the review iurygregory. I've added a comment there re secure_boot change with LEGACY_BIOS. 15:59
opendevreviewAija Jauntēva proposed openstack/ironic master: Add RAID mode conversion for idrac-redfish  https://review.opendev.org/c/openstack/ironic/+/80411216:23
rpittaugood night! o/16:31
*** rpittau is now known as rpittau|afk16:31
opendevreviewMerged openstack/ironic bugfix/18.1: Fix subscription vendor passthru  https://review.opendev.org/c/openstack/ironic/+/80367817:09
opendevreviewVerification of a change to openstack/ironic-python-agent master failed: Output verbose info from efibootmgr  https://review.opendev.org/c/openstack/ironic-python-agent/+/80333119:19
cenneSo I noticed a bunch of functions have :return: in the docstring, but no return statement in the [code][1]. 19:36
cenneIs that some sort of python class magic going on or do those docstrings need to be updated?19:36
cenne[1]: https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/baremetal/v1/node.py#L83319:36
cenneI ask because I am adding a function, and am not sure if not returning anything explicitly19:36
cennedoes actually return an updated node. 19:36
JayFlooking19:41
JayFThose docstrings are pretty wrong throughout19:41
JayF>         :returns: The updated :class:`~openstack.baremetal.v1.node.Node`19:41
JayF>         return True19:42
JayFin remove_trait19:42
JayFso I'm going to look at the history for this file, and see if it was committed broken or what19:42
JayFhttps://opendev.org/openstack/openstacksdk/commit/f162b71cb84439dfeef27f84afc79d1d34c38a9b it was committed that way19:43
JayFrpittau|afk: ^ if you're around, cenne had a question around some of your code; looks like the docstring and the code don't match up19:43
JayFcenne: I'm personally super unfamiliar with openstacksdk, so I don't have a good answer for you here. Maybe rpittau or someone more familiar can have the answer19:45
cenneThanks. I'll ask them tomorrow.19:46
cenneSo for history, you did git log right?19:47
JayFWhat I did specifically was19:47
JayFhttps://opendev.org/openstack/openstacksdk/src/branch/master/openstack/baremetal/v1/node.py#L833 opened this up, hit "blame" i nthe top right19:47
JayFfound the commit to "blame" for the confusing code19:47
JayFand dug into it19:47
cenneOh cool. That's very cool. 19:48
JayFyou can effectively do the same with `git blame [filename]` on the CLI19:52
JayFbut I find digging through history/blame can sometimes be easier inside the web ui19:52
cenneYeah, tried it in the cli, right after seeing the web version. :) It works. but the webui is better.19:57
cenneThanks JayF. I had learnt earlier to use git log to see commit changes to file. But this is pretty useful too.19:57
JayFanother nice tip with git log is `-p`19:58
JayFreally git log has a plethora of options for sorting/display too19:58
JayFbut for me I usually do `git log` or `git log -p`19:58
cenneAh nice. 20:01
cenneThat'll come in handy. I usually find myself opening `git gui` just to see the diffs. This will me save a roundtrip in some cases.20:03
cenne*save me20:05
* TheJulia walks in from a day of calls and falls over20:39
NobodyCamGood afternoon Ironic Folks21:08
opendevreviewSteve Baker proposed openstack/ironic-inspector master: Handle NodeLocked failures  https://review.opendev.org/c/openstack/ironic-inspector/+/80393521:16
iurygregorymorning NobodyCam 21:26
NobodyCammorning iurygregory 21:35
opendevreviewIury Gregory Melo Ferreira proposed openstack/ironic-prometheus-exporter master: Explicity set IPE job to ML2/OVS  https://review.opendev.org/c/openstack/ironic-prometheus-exporter/+/80414921:36
jandersgood morning Ironic o/21:38
iurygregorymorning janders o/21:38
NobodyCamGood Morning janders !!21:38
jandersthank you for reviewing step overrides iurygregory21:39
iurygregoryjanders, np!21:39
jandersIf anyone has time, I'm after the second +2 :) https://review.opendev.org/c/openstack/ironic/+/803887 (if it merges it would be one stacked patch less to deploy while testing this)21:40
JayFlooking21:40
janders(it needs 3 at the moment)21:41
JayFjanders: +2A21:45
jandersThank you JayF!21:45
iurygregoryjanders, now remember to backport after it merges :D hehe21:46
jandersiurygregory good point will do! :)21:46
jandersshould be an easy one, no other changes in this part of code AFAIK21:46
iurygregoryyeah21:46
jandersthis small change was killing me while testing iDRAC/LC reset patches yesterday21:47
jandersI reinstalled bifrost to make sure I have everything I need in the gerrit change proposal, stacked the two "main" patches, forgot this one21:47
jandersand then the bug with iDRAC resets happening multiple times came back due to lack of this, so 10 minute wait each time for the iDRAC to come back before figuring out where the problem was21:48
jandershaving this in master should fix this once and for this one :)21:48
iurygregoryyeah, not having them in a chain of patches becomes a bit problematic hehehe21:50
jandersyeah and when iDRAC gets hit with a couple resets Bad Things (TM) can happen21:51
janderslooks like it's back while it's not and it may look like a sushy problem21:51
jandersbbiab, coffee/breakfast time21:52
jandershave a good rest iurygregory21:52
iurygregorytks janders o/21:55
opendevreviewJulia Kreger proposed openstack/ironic master: Allow initial versions to not be created yet  https://review.opendev.org/c/openstack/ironic/+/80400322:54
opendevreviewJulia Kreger proposed openstack/ironic master: Implements node history: database  https://review.opendev.org/c/openstack/ironic/+/76800923:05
opendevreviewJulia Kreger proposed openstack/ironic master: Record node history and manage events in db  https://review.opendev.org/c/openstack/ironic/+/80329223:05
*** pmannidi|AFK is now known as pmannidi23:41
opendevreviewMerged openstack/ironic master: Enable priority overrides to enable/disable steps  https://review.opendev.org/c/openstack/ironic/+/80388723:49
janders^^ \o/23:50
jandersand with this, back to verify steps testing, now that I have one out-of-tree patch less to stack23:50

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