Wednesday, 2025-04-30

*** mhen_ is now known as mhen01:12
fricklergmaan: you are right. python3-oslo.utils gets pulled in via the novnc pkg and then somehow overrides the pkg installed in the venv. if I purge the pkg, nova-manage works: https://paste.opendev.org/show/bEWr0MsGDtU4vM7VmprU/07:54
fricklersean-k-mooney: ^^ that also explains why you could not reproduce it locally07:54
fricklerthe issue only seems to happen with editable installs, so as a workaround we could maybe drop the "-e" in devstack. but the correct solution seems to be to switch all deliverables to add a pyproject.toml file08:01
fricklerlet me know if you want access to the held node and look at it yourself08:01
frickler(and yeah I know you were up late so take your time ;)08:02
*** elodille1 is now known as elodilles10:11
opendevreviewXiang Wang proposed openstack/oslo.messaging master: Implement ConsulOperator as a service broker to support HTTP Driver  https://review.opendev.org/c/openstack/oslo.messaging/+/91249910:14
opendevreviewXiang Wang proposed openstack/oslo.messaging master: Add HTTP driver to oslo.messaging.drivers  https://review.opendev.org/c/openstack/oslo.messaging/+/91484010:14
opendevreviewXiang Wang proposed openstack/oslo.messaging master: Implement HTTPListener and HTTPClient  https://review.opendev.org/c/openstack/oslo.messaging/+/91505610:14
opendevreviewXiang Wang proposed openstack/oslo.messaging master: Add flask app for http-driver  https://review.opendev.org/c/openstack/oslo.messaging/+/93828310:14
opendevreviewXiang Wang proposed openstack/oslo.messaging master: Add Broadcaster for RPC Fanout  https://review.opendev.org/c/openstack/oslo.messaging/+/93853610:14
elodillesdamani[m]: tkajinam: hi, sorry for pinging you, but could you take a look at the 2023.2 Bobcat EOL patch of oslo please: https://review.opendev.org/c/openstack/releases/+/94819811:02
elodillesit would be nice to have an ACK from the team o:)11:03
elodillesi've checked and hashes are still all correct11:03
sean-k-mooneyfrickler: droping -e in devstack is not an option11:29
sean-k-mooneythat a core part of its design. however we could have a flag for using it or not in ci11:30
sean-k-mooneyperhaps on a pre depenency basic. kind of like libs form git.11:31
sean-k-mooneyfrickler: a better short term solution may be for neturon to just disable vnc in tehre job11:31
sean-k-mooneyif its coming form novnc they coudl just not install it11:31
sean-k-mooneyif pyproject.toml works then that would be good in general but i dont knwo if that will fix it in this case, reodering novnc install earlier in devstack coudl help as then the lib_form_git install of oslo will take precedence11:33
fricklersean-k-mooney: the latter doesn't help since we do use --system-site-packages. the error persists if I uninstall oslo.utils from the venv and re-install it11:38
sean-k-mooneyhum thats unfortunet11:38
sean-k-mooneyi think site packages is there because of libivrt or libvirt python to be more precise 11:39
frickleryes11:41
sean-k-mooneywe have the option to pull novnc form source in devstack11:41
sean-k-mooneyim not sure if that would help11:41
sean-k-mooneyhttps://github.com/openstack/devstack/blob/3fe8873a15db27d2d8b7df4e708210ee3ca1465d/.zuul.yaml#L37711:42
sean-k-mooneywe coudl set that to false perhaps11:43
sean-k-mooneytaht would avoid installing oslo in site packages11:43
sean-k-mooneyfrickler: ill push a patch toi disabel that and put a dnm to oslo to see if that helps11:44
fricklerI'm running a test on the held node now11:44
sean-k-mooneyoh ok shall i wait then. 11:45
sean-k-mooneynova vnc consol proxy can be used without horizon but we also may not need to enabel that service in devstack minimal 11:47
sean-k-mooneyoh actully its enabeld in devstack not devstack-minimal but even so 11:48
sean-k-mooneyim not saying other project should not run the 1 or 2 vnc console tempest test but if your change to neutron broke nova vnc console that some impressive python you have there11:49
fricklersean-k-mooney: ok, the test worked, I did have to clone the novnc repo manually, though. not sure if we have that in zuul so it could be added to projects list12:14
sean-k-mooneyam we shoudl its cofniguable in the jobs. i proably needs to be added as a required project to the base devstack job if we are going ot flip the default but it shoudl be in the zuul tenant12:16
sean-k-mooneyfrickler: yep https://github.com/openstack/project-config/blob/master/zuul/main.yaml#L140512:16
sean-k-mooneyit might be better to contiue this converstaion in the qa channel but we have a few options in teh short term. we could update the neutron job to use it form souce and add that as a require proejct12:18
sean-k-mooneyor we coudl do that in the main devstack job for everyone12:18
sean-k-mooneyfrickler: by the way im kind of wondering why does installing novnc form package install oslo12:19
sean-k-mooneyit does not actully depend on it12:19
sean-k-mooneyits almost entirly javascript so this sould like a ubunut? packaging bug12:19
sean-k-mooneyunless its a devstack bug?12:19
sean-k-mooneyfrickler: hum ok that weird12:23
sean-k-mooneyhttps://ubuntu.pkgs.org/24.04/ubuntu-universe-amd64/python3-novnc_1.3.0-2_all.deb.html12:23
sean-k-mooneythey list oslo.config as a dep of the python3-novnc package12:23
sean-k-mooneyand that is a dep of novnc12:24
sean-k-mooneyfrickler: ok so it is a debian packaging bug sort of 12:28
sean-k-mooneyfrickler: in the before times https://github.com/novnc/noVNC/pull/244/files novnc used to import not jsut oslo but nova code12:29
sean-k-mooneythat code was removed form the novnce packate in v0.612:31
sean-k-mooneythey are packaging 1.3.0 in noble12:32
sean-k-mooneyi think they just never drop the dep12:32

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