f2b1eb3a94e8a36eb4d2bcb37c7cc42c096e1382

Neutron has 2 periodic jobs that test neutron with master oslo libraries: neutron-ovn-tempest-ovs-release-with-oslo-master neutron-ovs-tempest-with-oslo-master The intent of both jobs, as the name implies, is to test with an unreleased version of oslo libraries. When devstack creates the global virtual env, it does so with --site-packages so we can use libvirt-python from the distro because otherwise that package needs to be compiled from source with the libvirt headers that match the libvirt in-use on the system. A side-effect of that is if a package is installed on the host that depends on oslo libraries it will pollute the devstack venv. novnc prior to v0.6.0 imported code from both nova and oslo. v0.6.0 was released in 2016 but the Debian and Ubuntu packages were never updated to remove the dependencies the package requires. As a result the -with-oslo-master jobs were silently having packages overridden with the versions from Ubuntu via the incorrect dep on oslo.config in the python3-novnc package. This change works around that by installing novnc (a JavaScript project) from source instead of using the distro package. That should now mean that the -with-oslo-master jobs no longer mix 2 different version of oslo libraries together. This will resolve the nova import issue as the version of oslo.utils shipped in Ubuntu 24.04 is older the minimum version required for master or Epoxy. Related-Bug: #2109592 Change-Id: If3e264cafc6c3bb62eebe8a440662599fd97c7a6
OpenStack Neutron
Neutron is an OpenStack project to provide "network connectivity as a service" between interface devices (e.g., vNICs) managed by other OpenStack services (e.g., Nova).
To learn more about neutron:
- Documentation: https://docs.openstack.org/neutron/latest/
- Features: https://specs.openstack.org/openstack/neutron-specs
- Defects: https://launchpad.net/neutron
- Release notes: https://docs.openstack.org/releasenotes/neutron/index.html
- Source: https://opendev.org/openstack/neutron
If you would like to contribute to Neutron, please read the file CONTRIBUTING.rst or see the Neutron contributor guide:
https://docs.openstack.org/neutron/latest/contributor/contributing.html
Get in touch via email. Use [Neutron] in your subject.
Description
Languages
Python
99.7%
Shell
0.3%