Tuesday, 2025-02-04

*** mhen_ is now known as mhen02:58
opendevreviewHervĂ© Beraud proposed openstack/tooz master: deprecate the eventlet handler from the zookeeper driver  https://review.opendev.org/c/openstack/tooz/+/94037409:16
cardoefungi: is this the right place for pbr questions?18:35
fungicardoe: sure!18:36
fungiwe just released 6.1.1 today, if that's part of your question18:37
cardoeWell the release notes aren't updating. That was my first comment.18:38
fungilooking...18:38
cardoehttps://docs.openstack.org/pbr/latest/user/releasenotes.html18:38
fungicardoe: there have been no new release notes since https://review.opendev.org/c/openstack/pbr/+/885064 (build_sphinx removal) in 6.0.018:40
fungiso it looks up to date to me18:40
cardoeMy real question is that it seems like "packages" under "[files]" in setup.cfg doesn't seem to be respected or ironic has something wrong cause of this failure... https://zuul.opendev.org/t/openstack/build/0214cda124e2411197563253af056b8618:41
cardoeah I would have thought there would have been a releasenote for some of the suggested changes okay nvm on htat.18:41
cardoesetuptools.errors.PackageDiscoveryError: Multiple top-level packages discovered in a flat-layout: ['etc', 'ironic', 'devstack', 'playbooks', 'releasenotes'].18:42
fungiwe thought the changes were transparent/backward-compatible. this is the list of commits: https://paste.opendev.org/show/b6yEK4LGuBn1eXzdKtJH/18:42
JayFAs I said in #openstack-ironic; does PBR even support operation without a setup.py?18:42
cardoeIt should.18:42
JayFLots of things should; not all things are18:43
cardoeThat's why it's wanting itself as the build system in pyproject.toml18:43
fungiit does not. did setup.py get removed?18:43
cardoeYes. That's what my patch is removing.18:43
fungisetup.py is (has always been) required, because it's the only way to add the pbr entrypoint to setuptools plugins18:44
cardoeYou're own commit contradicts that.18:44
cardoehttps://opendev.org/openstack/pbr/commit/917a0196c4e9ed8f96fb5f911334e9fa4761641118:44
fungiwhere? it says "minimal setup.py"18:45
cardoePEP517 compliance means no setup.py required because the build system is defined in pyproject.toml18:45
funginot even remotely. did you read pep517?18:45
fungianyway, the minimum possible setup.py when pbr is used with a pyproject.toml build-system.requires is documented here: https://docs.openstack.org/pbr/latest/user/using.html#pyproject-toml18:46
cardoeI have but if it's required then that's fine. I can close out that patch.18:47
cardoeThe only other question I've got is when do we need to remove wsgi_scripts. I know the changes said "soon it won't work".18:48
fungithat's something i haven't tested yet. note that pep-517 build-system.requires support isn't new, it's been in pbr for a couple of years, but in 6.1.1 we added an explicit setuptools dependency in pbr itself to accommodate environments where setuptools is not preinstalled (the pyproject-build tool's isolated builds, python >=3.12, et cetera)18:50
cardoeI'll admit I didn't read your change to see that setup.py is still required by pbr. I was going on the PEP517 only.18:51
cardoeSo I apologize for being that person.18:51
fungino worries. for now, to notify setuptools that it needs to use pbr as a plugin, the only way we're aware of is to signal that through setuptools.setup() in a setup.py file18:52
fungikeep in mind that use of setup.py files is not deprecated by setuptools18:52
fungiexecution of setup.py as a script is deprecated18:53
cardoeI was just aiming to break easy_install for ironic by removing it.18:54
cardoeCause I found someone doing that.18:55
clarkbsetuptools is a pep517 and 660 compliant packaging tool. PBR continues to rely on that support to support both peps with PBR18:55
clarkbpep517 doesn't mean no more setuptools. It means here's a new interface that packaging tools use to support stuff. In this case setuptools18:55
*** iurygregory_ is now known as iurygregory18:55
clarkbre wsgi scripts I think using pyproject.toml and pep517 building may break them so when you switch you need to stop?18:56
clarkbusing the old methods it should still be supported18:56
fungicardoe: we have a series of example changes for bindep where we're demonstrating different aspects of modernized python packaging, in order to decide what aspects we'd want to standardize on recommending. the start of the series is at https://review.opendev.org/c/opendev/bindep/+/816741 18:58
fungicardoe: you'll see in that change that you probably want to switch to options.py_modules instead of files.packages, btw18:59
dcapone2004I seem to have a missing queue in an openstack deployment and am hoping for some guidance if and how to safely add the queue back in22:36
JayFQueues are, as needed, created by services. There isn't generally a case where you should be creating them manually.22:37
dcapone2004yeah that is my problem :-)22:37
JayFhttps://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/MT5ITEVQY5NBLXQXSFM5QW3XCZA3DLMZ/22:38
JayFit sounds suspiciously similar to this recent post22:38
JayFperhaps it'll be helpful22:38
dcapone2004https://paste.openstack.org/show/bms5EkJTo4tkHe9Ls8HS/22:38
JayFIf I saw that; I'd likely restart that service and/or the one it's communicating with22:39
JayFbut I don't have any specific advice beyond that. Others may have a better idea; but I'd suggest posing this question in the channel for 1) the service itself which is breaking here and/or 2) the install automation you're using (e.g. kolla-ansible)22:39
dcapone2004I have attempted to restart the nova and rabbitmq containers, but I may give that a try again later tonight22:40
JayFspecifically the openstack services in question; not the rabbit22:40
dcapone2004appreciate the guidance and reference, as the issue did pop up after a KA upgrade22:40
JayFand nova is a lot more than one service, so remember that22:40
JayFe.g. nova-api vs nova-conductor vs nova-scheduler vs nova-compute22:40
dcapone2004yeah I restarted all 522:40
JayFack22:41
dcapone2004on all cluster nodes, but I will definitely give it another try later this evening22:41
JayFif you're using k-a, asking them might be a good choice too22:41
JayFas in that thread; some ansible command fixed things for that user :D 22:42
dcapone2004should all containers be STOPPED on ALL nodes before restarting, or can they be done 1 node at a time, wondering if this is why the queue(s) are not recreating22:42
dcapone2004or is that a question for the KA group...22:42
JayFyou'll absolutely get better success in that channel I suspect; this channel is usually more for development22:44
dcapone2004ok, thanks22:44
JayFnot to mention I might be the only person awake paying attention here given the TZ of most of the oslo team :)22:44
dcapone2004yeah luckyily it isn't urgent as it is a dev cluster :-)22:44
dcapone2004JayF:  If you are still around, let me ask you this as it is more specific to RabbitMQ and messaging23:12
dcapone2004I have dug a little deeper and it seems that the queue is missing from only 1 node in the cluster....Can I attempt to restart RabbitMQ on this node only?  If I do that, does other services need to be restarted as well, or will it potentially self heal from the other 2 active nodes in the cluster running RabbitMQ?23:13
JayFI am not enough of a rabbit expert to answer that well, sorry23:14
dcapone2004neither am I :-)23:14
dcapone2004well after checking rabbitmq docs, verifying that BOTH other RabbitMQ servers in the cluster BOTH had exactly the same queues, I took the chance and restarted rabbitmq on the 3rd node in the cluster and everything self healed.... updating in case anyone else comes across this in the logs23:33

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