Could not find a version that satisfies the requirement packaging>=20.4 (from oslo-utils)

Bug #1907117 reported by Lee Yarwood
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Lee Yarwood
Victoria
Fix Released
High
Lee Yarwood

Bug Description

Description
===========
openstack-tox-lower-constraints on openstack/nova master & stable/victoria is often failing due to the following error to find a version of the packaging module as required by oslo.utils:

2020-12-07 13:25:45.153758 | ubuntu-focal | ERROR: Could not find a version that satisfies the requirement packaging>=20.4 (from oslo-utils)
2020-12-07 13:25:45.153770 | ubuntu-focal | ERROR: No matching distribution found for packaging>=20.4

The following logstash query finds 11 hits at present:

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22No%20matching%20distribution%20found%20for%20packaging%5C%22%20AND%20tags%3A%5C%22console%5C%22

fungi was able to reproduce this and found that Nova's lower-constraints.txt is actually to blame after the following change bumped our oslo.utils requirement to 4.5:

https://review.opendev.org/c/openstack/nova/+/748059

oslo.utils having a lower-constraints.txt packaging requirement of 20.4 while Nova has a lower-constraints.txt packaging requirement of 17.1 creating the conflict. To fix this we need to bump the requirement in Nova to 20.4.

Steps to reproduce
==================

* Use a recent version of pip with the lower-constraints env.

Expected result
===============
Passes

Actual result
=============
Fails

Environment
===========
1. Exact version of OpenStack you are running. See the following
  list for all releases: http://docs.openstack.org/releases/

   master and stable/victoria

2. Which hypervisor did you use?
   (For example: Libvirt + KVM, Libvirt + XEN, Hyper-V, PowerKVM, ...)
   What's the version of that?

   N/A

2. Which storage type did you use?
   (For example: Ceph, LVM, GPFS, ...)
   What's the version of that?

   N/A

3. Which networking type did you use?
   (For example: nova-network, Neutron with OpenVSwitch, ...)

   N/A

Logs & Configs
==============

See above.

Tags: gate-failure
Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :
Changed in nova:
status: New → In Progress
importance: Undecided → High
Revision history for this message
Lee Yarwood (lyarwood) wrote :

I totally forgot to highlight that this looks like an issue uncovered by the new resolver in recent versions of pip (20.3.1 in this case).

Revision history for this message
melanie witt (melwitt) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 22.1.0

This issue was fixed in the openstack/nova 22.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 23.0.0.0rc1

This issue was fixed in the openstack/nova 23.0.0.0rc1 release candidate.

Lee Yarwood (lyarwood)
Changed in nova:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.