Friday, 2023-02-03

* TheJulia calls it a day00:00
opendevreviewVanou Ishii proposed openstack/ironic master: Deal with iRMC virtual media incompatibility  https://review.opendev.org/c/openstack/ironic/+/82379005:52
vanouTheJulia: Thanks for comment. Sorry I'm not sure the point you mentioned. Main motivation of this patch is to deal with incompatibility of iRMC firmware related to virtual floppy disk functionality support.05:53
vanouAnd I modfied patch to deal with pep8 error :)05:54
rpittaugood morning ironic, happy Friday! o/08:44
opendevreviewRiccardo Pittau proposed openstack/bifrost master: Fix jinja ansible lint error  https://review.opendev.org/c/openstack/bifrost/+/86613709:00
mnasiadkagood morning09:00
mnasiadkaAnybody willing to add second +2 to https://review.opendev.org/c/openstack/bifrost/+/871647 (kolla job rename)?09:01
jandershey rpittau, Happy Friday o/09:26
rpittauhey janders :)09:26
opendevreviewRiccardo Pittau proposed openstack/bifrost master: Fixes "too many spaces after colon" lint error  https://review.opendev.org/c/openstack/bifrost/+/87263309:34
opendevreviewRiccardo Pittau proposed openstack/bifrost master: Fixes "too many spaces after colon" lint error  https://review.opendev.org/c/openstack/bifrost/+/87263309:36
opendevreviewRiccardo Pittau proposed openstack/bifrost master: Finally fix jinja[spacing]  https://review.opendev.org/c/openstack/bifrost/+/87263409:42
opendevreviewRiccardo Pittau proposed openstack/bifrost master: Finally fix jinja[spacing]  https://review.opendev.org/c/openstack/bifrost/+/87263409:43
iurygregorygood morning Ironic11:22
kubajjGood morning ironic!11:27
opendevreviewVerification of a change to openstack/bifrost master failed: CI: Rename kolla-ansible-ubuntu-bifrost job  https://review.opendev.org/c/openstack/bifrost/+/87164712:40
opendevreviewVerification of a change to openstack/bifrost master failed: Fix jinja ansible lint error  https://review.opendev.org/c/openstack/bifrost/+/86613713:43
TheJuliagood morning!14:49
rpittaugood morning TheJulia :)14:49
dtantsurdoes anyone have access to a node that underwent inspection?14:59
dtantsurcan you check if inspection_finished_at is populated?14:59
TheJulia... hmm15:13
TheJuliaI feel like I'm having deja vu15:13
kubajjdtantsur, TheJulia: sorry to ask again, I know it is not that much of a priority for you, but I don't have much else to work on now other than https://review.opendev.org/c/openstack/ironic/+/871394/ Could I get a review?15:17
dtantsurreviewed15:22
kubajjthanks15:24
rpittaubye everyone, have a great weekend! o/15:30
TheJuliadtantsur: I feel like I have seen something suspect there at one point, but I just don't remember anymore. And I don't have a working deployment in front of me...15:33
TheJuliawell that might not be true15:33
TheJuliadtantsur: triggering an inspection in a ci environment which has not refreshed yet15:34
* TheJulia grins15:34
dtantsur:)15:34
TheJuliagah, inspection is not installed15:34
kubajjdtantsur: I am not sure I understand this https://review.opendev.org/c/openstack/ironic/+/871394/comments/1dcae2b6_a0aad030 . I thouhg this was the only way how to pass parameters to exceptions.15:39
dtantsurkubajj: the __init___? yeah, but your __init__ just pass the parameters further.15:39
dtantsurif you remove it, you can just as well call the constructor with obj=.., node=...15:40
TheJuliadtantsur: yeah, glancing at the code, I'm curious why you ask about that field :)15:43
dtantsurTheJulia: wanting to change some logic in BMO15:44
dtantsurwhile testing, I noticed that I don't have inspection_finished_at on my nodes15:44
dtantsurbut I don't remember if the inspection was actually finished, wanted to double-check, but destroyed the environment before that..15:44
dtantsur..and now podman hangs ...15:46
TheJuliaugh15:48
TheJuliaso, looking at the code, we set it in a super weird way15:48
TheJuliaonly on the verb change getting saved15:48
dtantsuryeah, I wonder if we ever try to do it in INSPECTWAIT15:49
TheJuliawe don't15:49
TheJuliawhich is kind of what I'm thinking, is we could be going from inspectwait directly to done15:49
TheJuliaand not recording the update15:50
dtantsuryep15:50
TheJuliaat least, that is my guess and gut feeling glancing at the code15:50
dtantsurbut I cannot prove this now because my lab machine is misbehaving..15:50
TheJuliaI've not looked at the introspection side, but inspectwait is a thing15:50
TheJuliaand was added later...15:50
dtantsurtrue15:50
TheJuliayup15:53
TheJuliathat is exactly it15:53
TheJuliawe only run the task in inspectwait15:53
dtantsur\o/15:54
TheJuliawhich means the conditional in the db never gets triggered15:54
dtantsur\o/ \o/15:54
TheJuliaso the question is... do we stop hiding the save of the time.... or... not ?15:54
dtantsurand nobody has noticed for a few years15:54
TheJuliayup15:54
TheJuliainspection is largely one and done on initial install15:54
TheJuliaso it makes sense that it was not directly noticed15:55
TheJuliainspector.py and explicitly set the time to the field... or api.py ?15:57
dtantsurwhat do we do with other similar fields?15:58
dtantsurI suspect I went down the db path by analogy15:58
TheJuliayeah, we do the same in the db for provision15:58
TheJuliait is always set though15:58
kubajjdtantsur: do you mean just like this https://review.opendev.org/c/openstack/ironic/+/871394/comments/1dcae2b6_a0aad030 ? (I don't want to trigger zuul until I understand 😉 )15:59
dtantsurkubajj: I don't quite understand the question, and the gerrit link is showing all comments16:02
dtantsuryou can always try locally and run unit tests16:03
TheJuliaout of curiosity, do unit tests seems lower since tox4 dropped?16:03
* dtantsur does not know16:04
kubajjdtantsur: I mean, what I have works. I just don't understand what you mean by "in favour of the parent class". I was calling the parent class before16:04
kubajjOh, now I see I posted the wrong link. https://paste.opendev.org/show/bdBtRpTYYrNNLLZRPh59/16:04
kubajjThis is what I meant ^16:05
dtantsurkubajj: __init__ like https://paste.opendev.org/show/b48rulG60XepuJ02xnSB/ never makes sense, it does not do anything16:05
dtantsur* anything that would not be done without it16:05
dtantsurself.obj/self.node are probably not used?16:06
dtantsurkubajj: https://paste.opendev.org/show/bSbYHQgH37EiIFUnwebb/16:09
dtantsurChild1 and Child2 are equivalent, __init__ of Child1 does not add anything16:10
kubajjI see, so I should take the obj and node form IronicException's kwargs, right?16:12
kubajj(That's the parent)16:12
dtantsurkubajj: look around this file: most exceptions just rely on IronicException. You only need to change the call site to use keyword arguments (I think you're currently passing them positionally)16:16
kubajjdtantsur: so I was just overcomplicating it.16:18
dtantsura bit :)16:18
TheJuliablah, I feel like I'm questioning my sanity at the moment16:23
TheJuliathis is what happens when we lack a test :)16:23
opendevreviewJakub Jelinek proposed openstack/ironic master: Erase swift inventory entry on node deletion  https://review.opendev.org/c/openstack/ironic/+/87139416:28
opendevreviewJulia Kreger proposed openstack/ironic master: fix inspectwait logic  https://review.opendev.org/c/openstack/ironic/+/87265816:37
TheJuliaso, that feels awful, but I explain in the commit message16:38
dtantsurI'll take a look on Monday, need to go now16:43
TheJuliao/16:49
opendevreviewMerged openstack/bifrost master: CI: Rename kolla-ansible-ubuntu-bifrost job  https://review.opendev.org/c/openstack/bifrost/+/87164716:54
TheJuliaNow that I have filled mailboxes with meeting invites!19:19
TheJulia#success19:19
opendevstatusTheJulia: Added success to Success page (https://wiki.openstack.org/wiki/Successes)19:19
* TheJulia always forgets about the bot19:19
TheJuliadtantsur: "inspection_finished_at": "2023-02-03T17:23:20+00:00",  <-- in tempest log \o/  Of course, moving it around the state machine more is going to null out the value, so I guess maybe be cautious with its use in general20:01
opendevreviewJulia Kreger proposed openstack/ironic-specs master: Add modify steps framework  https://review.opendev.org/c/openstack/ironic-specs/+/87234921:36
opendevreviewJay Faulkner proposed openstack/ironic master: API support for CRUD node.shard  https://review.opendev.org/c/openstack/ironic/+/86623521:54
opendevreviewJay Faulkner proposed openstack/ironic master: Allow port queries by shard list  https://review.opendev.org/c/openstack/ironic/+/87236121:54
opendevreviewJay Faulkner proposed openstack/ironic master: Add support for filtering for sharded nodes  https://review.opendev.org/c/openstack/ironic/+/87247221:54
JayF^^ TheJulia only had a couple issues with these, which are fixed. Can folks please find time to review the chain (there's a DB+Object layer PR that didn't need any revision, and already has 1x+2)21:54
JayFI'd really, really like to get this merged and completely off my plate.21:54
JayFTheJulia: dtantsur: arne_wiebalck: https://github.com/OpenStackweb/ironic-website/pull/5722:09
JayFthis is for the zoom link on the blog; I basically sent the link to the list and am linking to the list from that blogpost22:09
JayFhopefully this is enough misdirection to prevent us from getting nuked by nefarious robots22:09
TheJuliaI think they all have +2's from me now22:18

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