grenades failing eventlet 0.13.0 is installed but eventlet>=0.15.2 is required by ['oslo.vmware']

Bug #1395814 reported by Adam Gandelman
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Fix Released
Undecided
Unassigned

Bug Description

http://logs.openstack.org/29/136729/2/check/check-grenade-dsvm/3cbadc3/logs/grenade.sh.txt.gz#_2014-11-24_16_32_27_038

2014-11-24 16:32:27.038 | needed = self.resolve(parse_requirements(requirements))
2014-11-24 16:32:27.038 | File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 632, in resolve
2014-11-24 16:32:27.038 | raise VersionConflict(tmpl % args)
2014-11-24 16:32:27.038 | pkg_resources.VersionConflict: eventlet 0.13.0 is installed but eventlet>=0.15.2 is required by ['oslo.vmware']
2014-11-24 16:32:27.038 |

Revision history for this message
Adam Gandelman (gandelman-a) wrote :
summary: - stable/juno grenades failing eventlet 0.13.0 is installed but
- eventlet>=0.15.2 is required by ['oslo.vmware']
+ grenades failing eventlet 0.13.0 is installed but eventlet>=0.15.2 is
+ required by ['oslo.vmware']
Revision history for this message
Adam Gandelman (gandelman-a) wrote :

As explained on IRC:

.:fungi:. basically if you have package A already installed at version 1.2.3 and then feed pip a list of packages to install (directly or transitively) if the first dependency it sees listed on package A doesn't require newer than 1.2.3 then a later listed dependency on A>=2.3.4 will basically be ignored and won't trigger an upgrade

Issue here is ceilometer and glance both list oslo.vmware but their 'eventlet>=0.13.0' trumps oslo.vmware's 'eventlet>=0.15.1' when installed via pip. In the past, oslo.vmware was installed on its own by devstack via git checkout, but https://review.openstack.org/#/c/136335/ changed that and its now up to pip to sort this out transitively, and it turns out that doesn't work well.

I've put up https://review.openstack.org/#/c/136879/ to cap oslo.vmware on stable/icehouse to 0.5.0, which was the last version that its eventlet requirement matched the rest of stable/icehouse.

Revision history for this message
Adam Gandelman (gandelman-a) wrote :

Easier fixes here: https://review.openstack.org/#/q/I7f06a030cd9f31f3741c1ea4c97a2be3b76b978c,n,z

Unfortunately, there are no grenade icehouse->juno tests on stable/icehouse so we have no way of testing that this solves the issue pre-merge.

Revision history for this message
Adam Gandelman (gandelman-a) wrote :

Actually there are forward tests in the experimental pipeline but they are probably not functional pending https://review.openstack.org/#/c/136899/

Revision history for this message
Alan Pevec (apevec) wrote :

Easier fixes did not help, Cap oslo.vmware to <0.6.0 https://review.openstack.org/136879 was merged to stable/icehouse requirements.

Alan Pevec (apevec)
Changed in openstack-ci:
status: New → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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