gnocchi use in devstack is broken

Bug #1907667 reported by Matthias Runge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Undecided
Unassigned

Bug Description

++/opt/stack/ceilometer/devstack/plugin.sh:configure_gnocchi:167 gnocchi-upgrade
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 567, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 884, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 775, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (oslo.policy 3.5.0 (/usr/local/lib/python3.6/site-packages), Requirement.parse('oslo.policy<=3.4.0,>=0.3.0'), {'gnocchi'})

This is caused by https://github.com/gnocchixyz/gnocchi/pull/1088

affects: devstack → cinder
summary: - gnocchi use in devstack is broken
+ gnocchi use in cinder devstack plugin is broken
Revision history for this message
Matthias Runge (mrunge) wrote : Re: gnocchi use in cinder devstack plugin is broken

so, gnocchi use on devstack will be broken with all projects requiring oslo.policy >= 3.5.0, this is not specific to cinder

Revision history for this message
Matthias Runge (mrunge) wrote :
summary: - gnocchi use in cinder devstack plugin is broken
+ gnocchi use in devstack is broken
Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

Ah, sorry, I mixed up ceilometer and cinder. Still, devstack doesn't use gnocchi, so it isn't affected, it's the ceilometer plugin that needs fixing.

Revision history for this message
Matthias Runge (mrunge) wrote :

There is nothing to be done in ceilometer, since gnocchi is currently incompatible with the rest of the stack.

We (as in OpenStack) probably don't want to downgrade oslo.policy.

no longer affects: aodh
no longer affects: cinder
Changed in devstack:
status: New → Invalid
Matthias Runge (mrunge)
Changed in ceilometer:
status: New → Fix Released
Changed in devstack:
status: Invalid → Fix Released
status: Fix Released → Incomplete
no longer affects: devstack
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.