Thursday, 2024-11-07

opendevreviewMerged openstack/tempest master: Fix "pause_teardown" help text for docutils  https://review.opendev.org/c/openstack/tempest/+/93419400:33
gmannkopecmartin: ohk02:30
*** mhen_ is now known as mhen02:39
opendevreviewAbhishek Kekane proposed openstack/devstack master: DNM glance s3 setup  https://review.opendev.org/c/openstack/devstack/+/93430708:27
opendevreviewAbhishek Kekane proposed openstack/devstack master: DNM glance s3 setup  https://review.opendev.org/c/openstack/devstack/+/93430710:13
opendevreviewAbhishek Kekane proposed openstack/devstack master: DNM glance s3 setup  https://review.opendev.org/c/openstack/devstack/+/93430710:30
opendevreviewAbhishek Kekane proposed openstack/devstack master: DNM glance s3 setup  https://review.opendev.org/c/openstack/devstack/+/93430710:51
fkrhi13:31
fkrI'm having the problem that when installing devstack on a bare-metal host with ubuntu 22.04.5 I run into the same error each and every time (did try to re-install the host OS as well):13:33
fkrhttps://pastebin.com/WP0rizVj13:33
fkrno special local.conf (actually just the local.conf from the devstack docs)13:34
clarkbfkr: https://github.com/pypa/setuptools/issues/4483 is the error (you'll see that same mesasge in your paste). I don't know why devstack in the gate would work but your system does not. Perhaps your system comes with some preinstalled libraries that the test nodes do not (they are quite minimal no cloud-init for example) and that creats the library version collision15:48
clarkbeither way you should check the versions of packaging and setuptools and determine how/why they are in conflict15:48
fkrinteresting15:48
opendevreviewAbhishek Kekane proposed openstack/devstack master: DNM glance s3 setup  https://review.opendev.org/c/openstack/devstack/+/93430716:14
fkrclarkb: thanks for the pointer.16:53
fkrclarkb: mine is a clean install from the Ubuntu 22.04 iso. Minimal install, just OpenSSH selected during install. Once installed the machine is updated via apt update/upgrade to be 22.04.5.17:11
fricklerfkr: you can compare your "dpkg -l" output against one from our recent CI runs like https://72cca74c45a724e3198f-e25d1f8bae8601aed7ec89510f7333bc.ssl.cf1.rackcdn.com/934307/4/check/devstack/ab8455d/controller/logs/dpkg-l.txt , I think it is very likely that some delta there is the cause18:12
frickleryou could also try to add "disable_service etcd3" to your local.conf to see if everything else is working18:13
fkrfrickler: that I actually tried - to no avail, did not make a difference.18:40
fkri'll do the re-install with the bare minimum and see wether that makes a difference. thanks for the pointer of the dpkg output - that is helpful.18:41
fkr(the 22.04 server installer has a minimum option that I'll try)18:42
fkryes, it seems like using the "yes, just install the bare minimun" is the route to go. That is interesting, since it used to work with the other approach as well. thanks again clarkb for the hint.19:17
sean-k-mooneyjust an fyi i started running sphinx loally on watcher and im gettign build failures with the latest sphinx on py3921:12
sean-k-mooneysphinx dropped supprot for 3.9 in the 7.x series21:12
sean-k-mooneythe buidl works fin on sphinx <7.0.021:13
sean-k-mooneyim going to quickly check nova but we may need to role back the version fo sphinx in uc if we actully intend our docs to be buildable on all supported python versions21:14
sean-k-mooneyi belive all our docs jobs run on 3.1021:15
clarkbsean-k-mooney: sphinx!=1.6.6,!=1.6.7,!=2.1.0,!=3.0.0,!=3.4.2 is the sphinx requirement21:18
clarkbI don't think anything needs to chagne?21:18
clarkbs/requirement/global requirement/21:18
clarkbSphinx===7.4.7;python_version=='3.9' and Sphinx===8.1.3;python_version>='3.10' is the constraint21:19
sean-k-mooneyyep which should work based on https://github.com/sphinx-doc/sphinx/blob/v7.4.7/pyproject.toml#L1621:19
sean-k-mooneyhowever it does not actully work on rocky921:19
sean-k-mooneysphins throws https://paste.opendev.org/show/bcqW7NsmVEI5WC0Kp8Oj/21:20
clarkbthe exception originates in openstackdocstheme not sphinx21:21
sean-k-mooneyi gues the error is actully a combination of the sphinx version, the python version and openstackdocs theme21:21
sean-k-mooneyright but using an older version of sphinx works21:21
clarkbrelative_to is a pathlib method21:21
sean-k-mooneyi can try downgrading openstackdocsthemem instead21:21
clarkbso on newer python you get paths as pathlib objects and older python you get strings? but that problem seem to be in the docs theme21:22
sean-k-mooneyyes21:22
sean-k-mooneyso i think we actuly fix that in a few other places already21:22
clarkbhttps://github.com/openstack/openstackdocstheme/blob/master/openstackdocstheme/page_context.py#L83-L8821:22
clarkbthe code is sphinx version conditional21:22
clarkbmaybe you aren't getting the older sphinx version? or that check is broken21:23
sean-k-mooneyno according to pip freeze i am21:23
sean-k-mooneyso the check is likely broken21:23
sean-k-mooney>>> sphinx.version_info21:24
sean-k-mooney(7, 4, 7, 'final', 0)21:24
sean-k-mooney>>> sphinx.version_info >= (7, 0)21:25
sean-k-mooneyTrue21:25
clarkboh I see the problem is its checkig >= 7 not 821:25
sean-k-mooneyi think that should be >= (8,0)21:25
clarkbya could be21:25
sean-k-mooneyya21:25
sean-k-mooneyso 8 drops support for 3.921:25
sean-k-mooneywhich i guess is why we have the current pin to 7.4.7 on 3.921:26
clarkbhttps://github.com/openstack/openstackdocstheme/commit/f00d2113281aacba3b59337c68221e33a33ef7d121:26
clarkbya I think the issue is just having the pivot point at the wrong location21:26
clarkbits also possible 7.0 on python3.10 gives you a pathlib and with python3.9 it gives you a string so have two axis on the check21:27
sean-k-mooney so there are a few ways to fix it21:28
sean-k-mooneywe could clamp the docstheme only on 3.9 to < 3.4.021:28
sean-k-mooneyill check if that works locally21:28
sean-k-mooneyya that works21:30
sean-k-mooneyso if pathlib came in 3.10 then we can clamp to openstackdocstheme==3.3.0 only on 3.921:30
clarkbpathlib has been around since 3.4 but you have to opt into using it I think?21:30
clarkband sphinx maybe does that conditionally on python version for some reason (feature availability?)21:31
sean-k-mooneyso i had to do this https://github.com/openstack/nova-specs/commit/39c91027a63c9e9551aa875359cbf94e04302d2e21:31
clarkblooking at that commit its addressing warnings I wuold just chagne the pivot point21:31
clarkbthe problem with pinning the docs theme is youdon't want the docs to come out different depending on your python version21:32
sean-k-mooneybecuase i think app.builder.srcdir started beign a pathlib object21:32
sean-k-mooneyok well the simplest thing is to push a patch to the repo to move the pivot21:32
sean-k-mooneyand see if it passes ci there21:33
sean-k-mooneyi do not see any 3.9 testing in https://github.com/openstack/openstackdocstheme21:33
sean-k-mooneymy guess is its all runing on 3.10 by using the defualt nodeset21:34
clarkbya doesn't seem to run unittests but does run docs generation. Might want a docs under different python versions set of jobs in that repo21:36
sean-k-mooneyporably the extreams min/max supproted21:36
clarkb++21:36
sean-k-mooneyim not going to do that tonight but ill push a patch for 8 and we can see what other think in the morning21:37
sean-k-mooneyok so tox -e docs fails on openstackdocstheme without the change and works with 821:41
sean-k-mooneyill add a commit message and push that, thanks for the help clarkb 21:42
clarkbcool I think that is the best outcome to keep doc generation consistent across python versions21:43
clarkbwould just be odd if there ended up being a difference like that (I have no idea if we would have one today but could if we split the versions)21:44
sean-k-mooneyyep for now ill just manually pin it locally, im currently enableing pre-commit and sphinx lint but i want ot make sure i dont break the docs build in the process21:44
sean-k-mooneyi just happend to be useing 3.9 becuase i was testing somethign else that only breaks on 3.921:44
sean-k-mooneyclarkb: ill ping stephen about https://review.opendev.org/c/openstack/openstackdocstheme/+/934384 on monday. i think he is at a wedding tomorrow 21:50
sean-k-mooneyim not sure who else actully maintains that at this point21:51
JayFyour assumption that he is it is mostly correct, I think it came up recently in #openstack-tc or a tc meeting22:06
*** haleyb is now known as haleyb|out22:44
*** tosky_ is now known as tosky23:40

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