← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1431737] Re: pycadf should be included in requirement.txt under keystone

 

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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1431737

Title:
  pycadf should be included in requirement.txt under keystone

Status in OpenStack Identity (Keystone):
  Invalid

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1431737/+subscriptions


References