pycadf should be included in requirement.txt under keystone

Bug #1431737 reported by yuntongjin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Invalid
Low
yuntongjin

Bug Description

keystone/notifications.py:
from pycadf import cadftaxonomy as taxonomy

so, keystone has dependency of pycadf, but pycadf is not included in requirement.txt.

How to reproduce:
When i run ./stack.sh from devstack, had an error:

2015-03-13 08:22:27.216 | File "/opt/stack/keystone/keystone/notifications.py", line 60, in <module>
2015-03-13 08:22:27.216 | 'group': taxonomy.SECURITY_GROUP,
2015-03-13 08:22:27.216 | AttributeError: 'module' object has no attribute 'SECURITY_GROUP'

The reason is that global-requirements.txt has pycadf>=0.8.0 and the version of it on my box is 0.7.
after include it in keystone requirement, the pycadf will be upgrade to 0.8 according to global-requirements.

yuntongjin (yuntongjin)
Changed in keystone:
assignee: nobody → yuntongjin (yuntongjin)
Revision history for this message
Dolph Mathews (dolph) wrote :

Is there a patch up for this?

Changed in keystone:
importance: Undecided → Low
Revision history for this message
Morgan Fainberg (mdrnstm) wrote :

Keystone already has 0.8 in the requirements. This might have just been a lag between global requirements update and keystone accepting it:

https://github.com/openstack/keystone/blob/780b51976626f5f558904a4755d1dfe395ed1582/requirements.txt#L35

Changed in keystone:
status: New → Invalid
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.