← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: keystone
     Importance: Undecided
     Assignee: yuntongjin (yuntongjin)
         Status: New

** Changed in: keystone
     Assignee: (unassigned) => yuntongjin (yuntongjin)

-- 
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):
  New

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


Follow ups

References