Friday, 2021-07-30

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/+/80296500:14
opendevreviewMerged openstack/ironic stable/ussuri: Refactor iDRAC OEM extension manager calls  https://review.opendev.org/c/openstack/ironic/+/79552400:14
opendevreviewSteve Baker proposed openstack/ironic stable/wallaby: Defer checking image size until instance info is built  https://review.opendev.org/c/openstack/ironic/+/80297800:27
*** pmannidi is now known as pmannidi|brb01:29
*** pmannidi|brb is now known as pmannidi01:59
*** pmannidi is now known as pmannidi|AFK03:14
*** pmannidi|AFK is now known as pmannidi04:48
iurygregorygood morning Ironic, happy Friday!05:48
cennemorning iurygregory 07:15
iurygregorymorning cenne o/07:15
*** rpittau|afk is now known as rpittau07:21
rpittaugood morning ironic! o/07:21
cennemorning rpittau 07:25
rpittauhey cenne :)07:25
iurygregorymorning rpittau o/07:26
rpittauhey iurygregory :)07:26
opendevreviewRiccardo Pittau proposed openstack/ironic-python-agent master: Increase version of hacking and pycodestyle  https://review.opendev.org/c/openstack/ironic-python-agent/+/80290307:32
janders hey irygregory cenne rpittau and Ironic o/07:57
rpittauhey janders :)07:57
jandersHappy Friday - and bonus is it's not FFriday this time :)07:57
rpittauheh I feel like this week has been super slow compared to the precedent one!07:58
jandersin my case maybe not slow, but definitely slower! :)08:01
jandersif you guys have the bandwidth I'd appreciate reviews on https://review.opendev.org/c/openstack/sushy/+/80269008:01
jandersI tested the patch in the lab today, worked 10/1008:01
jandersrpittau: what would be involved in making this possible to test on OCP? I know there are a couple people who would be keen to try this end to end08:02
rpittauI'll have a look in a couple of minutes, after 2nd breakfast :)08:02
jandersrpittau: no worries, no rush :)08:02
jandersrpittau (for after you're back) I expect we need to re-spin ironic-image to include this, but not sure if I should just open a PR to include this (possibly upstream and downstream) or is there a better, fit-for-purpose process (hotfix etc)?08:03
iurygregoryhey janders o/08:12
iurygregoryping missed :D irygregory is not in this channel hehe08:12
iurygregoryI'm wondering if in the scenario for patch vmedia they need Inserted/WriteProtected...08:18
iurygregorywe don't have any Lenovo to test right?08:19
rpittaudon't those will be set by default ?08:19
iurygregoryeven if they are using patch and not action?08:19
iurygregorywho knows :D08:20
jandersI will see if I can find any examples of PATCH in my test report08:20
iurygregorythis scenario was specific for Lenovo afaik08:20
jandersSupermicro 5039 uses Patch and doesn't allow setting Inserted either08:20
jandersbut - ask you said - mileage may vary08:21
rpittauthat's fantastic08:21
iurygregorytimeu, by any chance can you test if Inserted and WriteProtected are required for Lenovo when trying to use vmedia? 08:21
iurygregorysince you added the support in sushy https://github.com/openstack/sushy/commit/9e5a103565e204b9358e10580cd0346391be9bec08:21
iurygregoryand we are trying to change the payload that we will send in https://review.opendev.org/c/openstack/sushy/+/802690/5/sushy/resources/manager/virtual_media.py#115 =)08:22
jandersiurygregory if need be we can change the logics so that dropping Inserted/WriteProtected only happens if use_patch is not set08:24
iurygregoryjanders, yeah, just wondering if it would be required or not (things can be different between lenovo and SMC :D08:27
iurygregoryI'm ok with the approach and ofc we can fix later if it breaks Lenovo =X08:28
jandersI'd be quite happy to pre-emptively change my fix to treat PATCH and action based approaches differently. What do you guys think? Worth it?08:29
iurygregoryI wish we had a lenovo server so we could just test the patch hehe08:30
janderscan you think of any disadvantages of making this conditional on use_patch being set, other than extra work?08:31
iurygregoryto me it would be only the extra logic we would need to add08:32
iurygregoryin general lgtm08:32
jandersthank you iurygregory08:32
jandersrpittau dtantsur (when you're around) what do you guys think?08:33
jandersI'm happy either way, just letting my engineering paranoia speak out :)08:33
rpittaujanders: I had a glance to the latest change and it should be ok08:34
jandersI will go get some dinner, will be back later, can re-spin and re-submit the patch with default-attribute-removal being conditional on use_patch being set or not08:34
jandersrpittau: so we just leave it as-is for the time being?08:34
janders(that has it's merits, too, as quite a few people need the fix sooner than later it seems)08:34
cennehey janders o/08:36
cenneall the best on your patch 08:37
jandersthanks cenne :)08:37
timeuiurygregory: yes can test this. Should I install the sushy branch of the PR ? 08:39
rpittaujanders: I believe the sushy patch can stay as it is, yeah\08:41
iurygregorytimeu, you can probably test without the patch (just doing a curl sending only the Image in the payload) 08:41
timeuwill have a look today although i am not sure if constructing the url for me is faster than checking out the sushy branch (I have basically the steps written down to mount in the vmedia slot when I was testing my patch)08:43
iurygregoryoh08:43
iurygregoryso go ahead and apply the sushy pathc :D08:43
iurygregorypatch*08:43
iurygregoryif works for you and you can +1 the review it will be awesome =)08:44
janderstimeu: you can literally swap out sushy/resources/manager/virtual_media.py with the one from the patch08:45
jandersit's quite a simple one08:45
janders(if that makes things easier)08:45
timeuyes will do08:45
janderstimeu thank you!08:46
timeujandersiurygregory,: Unfortunately it seems that the patch breaks the patch code path: https://pastebin.com/dLZ2vLWN09:12
timeujanders & iurygregory: (no hopefully properly pinged): https://pastebin.com/dLZ2vLWN09:14
janderstimeu: thank you for testing. I will change the logic so that it doesn't change behavior for patch, only for InsertAction. I will upload the revised one shortly (having dinner)09:15
timeusounds good I can test it again09:16
*** pmannidi is now known as pmannidi|AFK09:29
iurygregorytks timeu!09:39
janderstimeu iurygregory awesome, on it, will upload updated patch shortly09:52
janderstimeu: what model of Lenovo are you testing on? I will put this in as a note09:58
iurygregoryjanders, in the releasenote for https://github.com/openstack/sushy/commit/9e5a103565e204b9358e10580cd0346391be9bec there is the model =)10:02
opendevreviewJacob Anders proposed openstack/sushy master: Removing optional fields from insert_media payload  https://review.opendev.org/c/openstack/sushy/+/80269010:16
janders^ this should work on both SuperMicro X11 and Lenovo SD530. Re-testing it in the lab on Dell/HP/SuperMicro now10:17
iurygregoryjanders, tks!10:19
jandersok, SuperMicro X11 still works10:21
janderslet's see if there is no regrssion on Dell/HP 10:21
jandersDell's cool10:22
jandersHP is cool, too10:23
janderstimeu would you have time to re-test with https://review.opendev.org/c/openstack/sushy/+/802690/6 (should be the latest)?10:24
jandersI hope this will work on both SuperMicro X11 and your Lenovo10:24
jandersallright, wrapping up for the night (gotta prepare for a trip starting early tomorrow)10:28
jandersI might drop in check messages briefly a little later10:28
janderssee you on Monday Ironic o/10:28
jandershave a great weekend everyone10:28
dtantsurg'd afternoon ironic!10:29
dtantsurhappy Friday, have a nice weekend janders 10:29
jandersthank you dtantsur :)10:29
janders(I managed to break vmedia on Lenovo while you were offline :)10:29
jandershopefully all fixed now10:29
dtantsur\o/10:29
jandershave a great weekend too dtantsur10:29
iurygregoryhave a great weekend janders o/10:32
cennebye janders 10:40
cenneGood afternoon dtantsur 10:40
opendevreviewcenne proposed openstack/ironic master: Add api endpoint for setting boot_mode and secure_boot state  https://review.opendev.org/c/openstack/ironic/+/80008410:55
cenneHay all, can I get a review here please ^10:57
opendevreviewVerification of a change to openstack/ironic stable/wallaby failed: Fix regression in ramdisk deploy kernel parameters  https://review.opendev.org/c/openstack/ironic/+/80266411:03
opendevreviewDmitry Tantsur proposed openstack/bifrost master: [WIP] Move Nginx code to a new role bifrost-nginx-install  https://review.opendev.org/c/openstack/bifrost/+/80253211:18
timeujanders & iurygregory: tested the last patchset and it now works again on Lenovo nodes (FYI: so far I only tested my original patch * the new one SD530, but we also plan to test it on SD670 and other node types).  11:30
iurygregorytimeu, tks for the feedback! 11:31
opendevreviewDmitry Tantsur proposed openstack/bifrost master: DNM test the upgrade job  https://review.opendev.org/c/openstack/bifrost/+/80067311:38
janderstimeu iurygregory thanks!11:43
jandersand \o/11:43
opendevreviewDmitry Tantsur proposed openstack/bifrost master: [WIP] Move Nginx code to a new role bifrost-nginx-install  https://review.opendev.org/c/openstack/bifrost/+/80253211:59
opendevreviewRiccardo Pittau proposed openstack/ironic master: Add lower-constraints job to current development branch  https://review.opendev.org/c/openstack/ironic/+/80135012:20
opendevreviewRiccardo Pittau proposed openstack/ironic-python-agent master: Increase version of hacking and pycodestyle  https://review.opendev.org/c/openstack/ironic-python-agent/+/80290312:34
opendevreviewDmitry Tantsur proposed openstack/bifrost master: DNM test the upgrade job  https://review.opendev.org/c/openstack/bifrost/+/80067313:05
dtantsurFedora 34 breaks bifrost \o/13:09
iurygregoryyay!13:10
iurygregoryI haven't tested in F34 only C813:10
rpittauinteresting, how?13:11
rpittauI think I tested it recently13:11
opendevreviewDmitry Tantsur proposed openstack/bifrost master: [WIP] Move Nginx code to a new role bifrost-nginx-install  https://review.opendev.org/c/openstack/bifrost/+/80253213:13
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Drop external tftp service in favor to use dnsmasq's one  https://review.opendev.org/c/openstack/bifrost/+/78253113:21
dtantsurTheJulia: FYI ^^^13:21
dtantsurrpittau, iurygregory, xinetd has been removed apparently13:22
TheJuliagood morning dtantsur 13:22
dtantsurmorning13:22
TheJuliadtantsur: awesome13:22
iurygregorydtantsur, oh nice!13:23
rpittauah... ok13:32
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Drop external tftp service in favor to use dnsmasq's one  https://review.opendev.org/c/openstack/bifrost/+/78253113:42
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/+/80296513:46
cennequick quesn: in controllers api is `@args.validate(node_ident=args.uuid_or_name, target=args.boolean)` supposed to validate 0/1 13:51
TheJuliacenne: 0/1 ?13:52
cenneAre integer  0,1 valid booleans for the api basically. 13:52
cenneInstead of false /true13:53
TheJuliaI guess they *could* be interpretted as such but they may not be13:53
TheJuliathe docs use strings true/false13:53
cenneI am writing tests, and took the case of 0 being passed for secureboot state. I was expecting it to fail. Should I change the case to a sucess case? 13:55
TheJuliaI suspect so13:56
cenneokay. thanks.13:56
rpittaubye, have a great weekend! o/14:07
*** rpittau is now known as rpittau|afk14:07
-opendevstatus- NOTICE: There will be a brief outage of the Gerrit service on review.opendev.org starting at 15:00 UTC today as part of a routine project rename maintenance: http://lists.opendev.org/pipermail/service-announce/2021-July/000023.html14:11
dtantsurcenne: I think we do allow 0/1 for booleans, although we don't document it14:14
dtantsurit's probably a property of the underlying library14:14
dtantsur(and the fact that booleans are integers in Python)14:14
dtantsurisinstance(True, int) is True14:15
cennehmm. also found 'f' / 't' /  'on' / 'off' etc as allowed values (from the error the api emits.)14:15
dtantsurokay, this is probably a side effect of using oslo_utils.strutils.bool_from_string then14:15
dtantsurbut it's useful to remember that in Python True == 1 and False == 014:15
cenneIt didn't take 2 as True :) Seems like it has it's own mind :p14:16
cenneack on the True == 1 , False ==014:16
* dtantsur would prefer boolean to be a different type, but python used to be much closer to C14:17
opendevreviewMerged openstack/ironic stable/wallaby: Fix regression in ramdisk deploy kernel parameters  https://review.opendev.org/c/openstack/ironic/+/80266414:22
opendevreviewMerged openstack/ironic-inspector master: Do not reset FSM when ironic ports cant be queried  https://review.opendev.org/c/openstack/ironic-inspector/+/79125114:28
-opendevstatus- NOTICE: There will be a brief outage of the Gerrit service on review.opendev.org in the next few minutes as part of a routine project rename maintenance: http://lists.opendev.org/pipermail/service-announce/2021-July/000023.html15:00
iurygregorybye everyone, have a great weekend!15:56
cenneBye iurygregory.  Happy weekend15:58
opendevreviewcenne proposed openstack/ironic master: Add api endpoint for setting boot_mode and secure_boot state  https://review.opendev.org/c/openstack/ironic/+/80008416:16
opendevreviewMerged openstack/ironic-python-agent-builder master: Allow configuration of paths to prune  https://review.opendev.org/c/openstack/ironic-python-agent-builder/+/80296517:51
*** melwitt is now known as jgwentworth17:55
dtantsurundionly.kpxe that I get through TFTP is one byte smaller than the same file in /tftpboot18:29
dtantsurlet's hope this one byte does not matter18:29
dtantsurhave a great weekend folks!18:29
opendevreviewDmitry Tantsur proposed openstack/bifrost master: Drop external tftp service in favor to use dnsmasq's one  https://review.opendev.org/c/openstack/bifrost/+/78253118:31
opendevreviewDmitry Tantsur proposed openstack/bifrost master: DNM test the upgrade job  https://review.opendev.org/c/openstack/bifrost/+/80067318:38
cennehappy weekend dtantsur19:05
cenneo/19:05
cenneI'll take leave too, bye everyone o/ 19:08
* cenne needs sleep. and a safe spot to wait and see some things take their course.19:15
*** pmannidi|AFK is now known as pmannidi22:05
NobodyCamgood afternoon Ironic Folks...22:30
NobodyCamand ofc...22:30
NobodyCamTGIF22:30
NobodyCamjust thinking out loud but wouldn't be cool to have openstack baremetal chassis deploy ... to deploy a hole chassis is a single command22:32
*** pmannidi is now known as pmannidi|AFK23:49

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