Tuesday, 2025-04-22

rpittaugood morning ironic! o/07:08
arne_wiebalckGood morning rpittau o/07:16
rpittauhey arne_wiebalck :)07:19
queensly[m]Good morning07:30
abongaleGood morning Ironic!08:19
AmarachiOrdor[m]Good Morning Ironic!08:22
dtantsurcid: amazing job with cherrypy. Looks like a viable path forward?10:19
dtantsurnot to distract you from that, but we can consider https://docs.pylonsproject.org/projects/waitress/en/stable/ as a fallback option probably10:22
ciddtantsur: Yeah, cherrypy seems to work with the minimalist amount of changes yet.10:32
cid  A fallback could make things a lot better, in a setup where either of cherrypy or waitress is the primary server.10:33
dtantsurTrue. And on a brief glance, it seems to support the things we need, even unix sockets10:33
dtantsurif cherrypy works and can be added to requirements, we don't need a fallback option really10:34
dtantsurcid: note that cherrypy uses https://github.com/cherrypy/cheroot internally. I wonder if cheroot is sufficient for our goals10:34
dtantsur(it has fewer dependencies)10:35
dtantsurhere is an old example: https://stackoverflow.com/questions/55366395/how-to-run-a-flask-app-on-cherrypy-wsgi-server-cheroot-using-https10:37
dtantsur(they're not rich on docs)10:37
cidThat would be interesting to find out, and cheroot already exists in upper-constraints.10:41
dtantsuroh, does it? that's a strong argument as well10:41
cidYea10:42
cidI'm thinking pushing a patch with just cheroot to see CI's reaction.10:42
dtantsurhttps://cheroot.cherrypy.dev/en/latest/pkg/cheroot.wsgi/ is the relevant part for us, combine it with https://cheroot.cherrypy.dev/en/latest/pkg/cheroot.server/#cheroot.server.HTTPServer.ssl_adapter for TLS10:42
dtantsurcid++10:42
dtantsurI don't expect surprises, it's the library behind cherrypy after all10:42
cidRight!10:43
dtantsurI cannot find it in global-requirements, but it is already in upper-constraints (I'm curious why)10:44
cidMaybe it's a dependency in some other library10:45
* cid looking10:46
dtantsurYeah. It's still an easier argument to add it to global-requirements when it's already used by something, even if indirectly.10:46
cid++, we'll also be getting rid of a layer of abstraction (which is not necessarily good or bad)10:47
dtantsurOne thing we need to be careful about, *regardless* of which server we choose. We're not in the real threading zone, so we need to check if IPA possible uses any shared global state without locking.10:48
dtantsurIt shouldn't (green threads are also threads), but it's worth an extra look.10:48
fricklerdoes this ring a bell for anyone? 11:12
fricklerJob metalsmith-integration-glance-netboot-cirros-direct not defined - https://zuul.opendev.org/t/openstack/config-errors?project=openstack%2Fopenstacksdk&skip=011:12
dtantsurfrickler: mmm, that's an ANCIENT job11:14
dtantsuras in: removed 4 years ago https://opendev.org/openstack/metalsmith/commit/048ddb57440abf8dc6875363035485309db09ab511:15
dtantsurfrickler: with metalsmith losing in importance here, it's probably fair to remove all jobs based on it from the SDK11:16
fricklerdtantsur: ok, that was kind of my implicit question: drop completely or replace with something more modern? but I'm fine with the former11:25
frickleroh, wait, there was https://review.opendev.org/c/openstack/openstacksdk/+/945308 already for master and 2025.1, does it make sense to backport?11:27
fricklercc rpittau since you approved the above11:28
iurygregorygood morning ironic o/11:29
dtantsurfrickler: you can backport it for consistency then11:36
dtantsurbut it's also fine if you decide to drop metalsmith jobs11:37
dtantsurmorning iurygregory 11:37
opendevreviewcid proposed openstack/ironic-python-agent master: WIP: Eventlet Removal- WSGI server  https://review.opendev.org/c/openstack/ironic-python-agent/+/94609111:44
opendevreviewcid proposed openstack/ironic-python-agent master: WIP: Eventlet Removal- WSGI server  https://review.opendev.org/c/openstack/ironic-python-agent/+/94609111:48
*** dking is now known as Guest1418211:56
*** Guest14182 is now known as dking11:56
opendevreviewcid proposed openstack/ironic-python-agent master: WIP: Eventlet Removal- WSGI server  https://review.opendev.org/c/openstack/ironic-python-agent/+/94609112:04
opendevreviewVerification of a change to openstack/ironic master failed: Add shared image support  https://review.opendev.org/c/openstack/ironic/+/94711512:12
rpittaufrickler: as dtantsur wrote, either is ok, what's simplest is better :)12:16
opendevreviewcid proposed openstack/ironic-python-agent master: WIP: Eventlet Removal- WSGI server  https://review.opendev.org/c/openstack/ironic-python-agent/+/94609112:23
dkingWould any folks like to comment on a strange issue I'm seeing with a node. I have a server that I've just re-provisioned, but it's failing inspection. It had worked previously, and I manually cleaned up all the left over interface files on the web server. The inspection is opening up the heartbeat callback and waiting for it, and I can even reach it from my Ironic API pod with curl. I see a log entry saying that it's going to 12:28
dkingry to _check_status, but it just eventually times out. Anybody have some thoughts?12:28
dkingOh, I just am now seeing in the logs: Heartbeat from node ... in unsupported provision state inspect failed, not taking any action. What could it be thinking the state is in ?12:33
opendevreviewJay Faulkner proposed openstack/ironic-python-agent master: SCIENCE: Remove *ALL THE EVENTLET*  https://review.opendev.org/c/openstack/ironic-python-agent/+/94774412:34
dtantsurdking: this all is not really descriptive. Inspection failed for some reason, then IPA moved into heartbeating, which Ironic is rejecting.12:43
dtantsurAll consequences of the initial inspection failure12:43
dkingdtantsur: The provision state message looks like it was later, after the inspection failed (and because of it). But I don't see in the logs how to know why it wasn't connecting. It's like I'm not seeing an attempt to connect.12:45
dtantsurTo you have IPA logs? The hint is before heartbeating started12:48
opendevreviewMerged openstack/networking-baremetal master: Drop redundant allowlist_externals  https://review.opendev.org/c/openstack/networking-baremetal/+/94769212:49
opendevreviewMerged openstack/bifrost master: Add notes to provide more clarity for bifrost installation  https://review.opendev.org/c/openstack/bifrost/+/94660312:51
dkingdtantsur: I do have the logs. I see  "Calling to inspector to check status of node..." and "Successfully released shared lock for checking hardware inspection status on node..."12:51
dtantsurdking: this is ironic, not IPA12:51
dtantsur(there might be further hints in the Inspector service logs)12:51
dkingdtantsur: Good point. I think that in my instance (using CAPI/Metal3), the logs for the API and Ironic might be combined, but inspector is separate and I didn't check.12:53
dtantsurMetal3 dropped inspector some time ago, so it's only Ironic. But I don't know how old your setup is.12:53
dtantsurand I'm talking about IPA, not API :)12:54
dtantsurThe ramdisk.12:54
opendevreviewMerged openstack/ironic master: Release notes title to "unreleased" for in-progress  https://review.opendev.org/c/openstack/ironic/+/94693312:55
dkingdtantsur: We're fairly old, I think. We're at ironic:capm3-v1.4.2 for the Ironic image we're running. I'll have to look for IPA's version. I have it version locked rather older also.12:55
dkingdtantsur: IPA is at 9.12.013:05
* TheJulia tries to wake up13:06
dkingdtantsur: However, I don't think that either of these have been updated from what has been working.13:06
dtantsurearly 202413:06
dtantsur2024.213:06
dtantsurdking: we can guess for a long time, but if you manage to SSH into the running ramdisk and check IPA logs, it will probably tell you the answer13:07
dkingdtantsur: Well, I mean we haven't updated our versions of these recently. I need to get on that.13:07
dkingdtantsur: I'm in the ramdisk. It's running, and I can watch the logs. As far as it's concerned, it posted a callback for the heartbeat and is waiting for instructions.13:07
dtantsurdking: yep, your problem is before any heartbeating13:08
dkingIt already finished all of the collectors, etc.13:08
dkingOh, I didn't check for any other errors since it went to heartbeat. One moment.13:08
dkingdtantsur: Welp. I see it now. It was an issue with a collector update. I greatly appreciate the help.13:09
dtantsurcool, np13:10
opendevreviewVerification of a change to openstack/ironic master failed: CI: Coverage for neutron with automated cleaning  https://review.opendev.org/c/openstack/ironic/+/94753513:22
opendevreviewAyo Edwin Kayode proposed openstack/bifrost master: Fix RST formatting in testenv.rst to resolve build error  https://review.opendev.org/c/openstack/bifrost/+/94783013:23
Ayo[m]rpittau: I just made the correction on the doc, please review13:33
opendevreviewMerged openstack/networking-baremetal master: Fix failing genconfig target  https://review.opendev.org/c/openstack/networking-baremetal/+/94769113:33
dkingdtantsur: On reflection, what I think threw me off is that usually if there's a collector error, that error shows up in the API call show the node status. Usually it says that there's an error and gives the error. This time, it said that there was a timeout.13:55
dkingI'm wondering what caused that.13:56
opendevreviewVerification of a change to openstack/ironic master failed: CI: Coverage for neutron with automated cleaning  https://review.opendev.org/c/openstack/ironic/+/94753514:13
opendevreviewQueensly Kyerewaa Acheampongmaa proposed openstack/bifrost master: Clarify testenv and install usage order in testenv.rst  https://review.opendev.org/c/openstack/bifrost/+/94611614:24
opendevreviewcid proposed openstack/ironic-python-agent master: WIP: Eventlet Removal- WSGI server  https://review.opendev.org/c/openstack/ironic-python-agent/+/94609114:56
TheJuliaHas anyone spent any time looking at the snmp job? https://zuul.opendev.org/t/openstack/builds?job_name=ironic-tempest-ramdisk-bios-snmp-pxe 16:09
opendevreviewVerification of a change to openstack/ironic master failed: Add shared image support  https://review.opendev.org/c/openstack/ironic/+/94711516:15
dtantsurugh, pretty red16:15
JayFTheJulia: IMO we should land https://review.opendev.org/c/openstack/ironic/+/946843 then remove that job or make it -nv16:23
JayFbecause we shouldn't explicitly break the snmp job, but it's an unmaintained driver and we shouldn't go outta our way for CI for it either16:24
JayFugh that's 2-for-2 on Length too long: 8851389 failures16:24
TheJuliaso...16:26
TheJuliahttps://www.irccloud.com/pastebin/puz6ezo5/16:26
JayFugh16:29
JayFI didn't know we had runtime deps on their mirrors for non-ipa-src jobs16:29
TheJuliaugh16:33
TheJuliaso, mirrors.dotsrc. are offline16:33
TheJuliawell, is16:33
TheJuliahttps://dotsrc.org/ 16:33
TheJuliadisk enclosure failure16:33
opendevreviewcid proposed openstack/ironic-python-agent master: WIP: Eventlet Removal- WSGI server  https://review.opendev.org/c/openstack/ironic-python-agent/+/94609116:36
opendevreviewJulia Kreger proposed openstack/ironic master: ci: mark ramdisk tests non-voting due to mirror failure  https://review.opendev.org/c/openstack/ironic/+/94785416:38
dtantsurssl.SSLError: [SSL] record layer failure (_ssl.c:2651)16:40
dtantsurbloody eventlet, when are finally getting rid of you?16:40
TheJuliahopefully making progress this cycle....16:41
dtantsurTheJulia: IPA is nearly ready, cid has done some amazing research job16:41
TheJuliai know :)16:41
dtantsurI looked at Ironic today, and while there are more actions to take there, I think the same approach will be more than actionable.16:42
dtantsurNow, why is bloody JSON RPC even using TLS at all?16:42
TheJuliabecause secrets can pass over it16:43
dtantsurYou're answering the question "why SHOULD JSON RPC use TLS" :)16:44
dtantsurIt's a valid question, and you're giving a valid answer16:44
dtantsurbut I definitely did not code TLS support for JSON RPC in ironic-standalone-operator16:45
* dtantsur reminds everyone that computers were a mistake16:45
cardoeyep. big EMP. start over.17:41
opendevreviewJulia Kreger proposed openstack/ironic master: WIP: Patch configdrive metadata  https://review.opendev.org/c/openstack/ironic/+/94667717:42
TheJuliaheh19:19
opendevreviewDr. Jens Harbott proposed openstack/ironic master: Update some docs  https://review.opendev.org/c/openstack/ironic/+/94788021:23
opendevreviewJay Faulkner proposed openstack/ironic master: Trivial: Fix spelling issue in configuration desc  https://review.opendev.org/c/openstack/ironic/+/94788121:40
JayFrpittau: dtantsur: One of you around for a quick question today? If not, we need to sync up early tomorrow morning.21:47
TheJuliaits super late for them22:22
JayFI figured, was an opportunistic ask.22:37
iurygregoryJayF, does it has to be rpittau and dtantsur only?23:12
iurygregorynot sure if I will have the answer, but happy to help23:12

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