← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1415243] [NEW] django-openstack-auth 1.1.8+ breaks stable/icehouse devstack

 

Public bug reported:

Global requirements currently has no cap for the django-openstack-auth
dependency, which is used for Horizon and there are a few problems with
the latest releases with regards to stable/icehouse:

1. version 1.1.8 breaks unit tests as per bug #1413876 [1]
2. version 1.1.9 adds[2]  a requirement for oslo.config>=1.6.0 but stable/icehouse projects require oslo.config<1.5.0 (for example see nova [3])

This can be fixed by adding a django-openstack-auth<1.1.8 constraint to
horizon and global requirements. The fix will resolve the following
error message seen during stacking:

Traceback (most recent call last):
  File "/usr/local/bin/glance-manage", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3018, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 614, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 627, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 805, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: oslo.config<1.5,>=1.2.0

[1] https://bugs.launchpad.net/horizon/+bug/1413876
[2] https://github.com/openstack/django_openstack_auth/commit/2b10c7b51081306b4c675046fd7dfe9df375943d
[3] https://github.com/openstack/nova/blob/stable/icehouse/requirements.txt#L32

** Affects: horizon
     Importance: Undecided
     Assignee: Ryan Hsu (rhsu)
         Status: New

** Description changed:

  Global requirements currently has no cap for the django-openstack-auth
  dependency, which is used for Horizon and there are a few problems with
  the latest releases with regards to stable/icehouse:
  
  1. version 1.1.8 breaks unit tests as per bug #1413876 [1]
- 2. version 1.1.9 adds[2]  a requirement for oslo.config>1.6.0 but stable/icehouse projects require oslo.config<1.5.0
+ 2. version 1.1.9 adds[2]  a requirement for oslo.config>=1.6.0 but stable/icehouse projects require oslo.config<1.5.0
  
  This can be fixed by adding a django-openstack-auth<1.1.8 constraint to
  horizon and global requirements.
  
  [1] https://bugs.launchpad.net/horizon/+bug/1413876
  [2] https://github.com/openstack/django_openstack_auth/commit/2b10c7b51081306b4c675046fd7dfe9df375943d

** Description changed:

  Global requirements currently has no cap for the django-openstack-auth
  dependency, which is used for Horizon and there are a few problems with
  the latest releases with regards to stable/icehouse:
  
  1. version 1.1.8 breaks unit tests as per bug #1413876 [1]
- 2. version 1.1.9 adds[2]  a requirement for oslo.config>=1.6.0 but stable/icehouse projects require oslo.config<1.5.0
+ 2. version 1.1.9 adds[2]  a requirement for oslo.config>=1.6.0 but stable/icehouse projects require oslo.config<1.5.0 (for example see nova [3])
  
  This can be fixed by adding a django-openstack-auth<1.1.8 constraint to
  horizon and global requirements.
  
  [1] https://bugs.launchpad.net/horizon/+bug/1413876
  [2] https://github.com/openstack/django_openstack_auth/commit/2b10c7b51081306b4c675046fd7dfe9df375943d
+ [3] https://github.com/openstack/nova/blob/stable/icehouse/requirements.txt#L32

** Changed in: horizon
     Assignee: (unassigned) => Ryan Hsu (rhsu)

** Description changed:

  Global requirements currently has no cap for the django-openstack-auth
  dependency, which is used for Horizon and there are a few problems with
  the latest releases with regards to stable/icehouse:
  
  1. version 1.1.8 breaks unit tests as per bug #1413876 [1]
  2. version 1.1.9 adds[2]  a requirement for oslo.config>=1.6.0 but stable/icehouse projects require oslo.config<1.5.0 (for example see nova [3])
  
  This can be fixed by adding a django-openstack-auth<1.1.8 constraint to
- horizon and global requirements.
+ horizon and global requirements. The fix will resolve the following
+ error message seen during stacking:
+ 
+ Traceback (most recent call last):
+   File "/usr/local/bin/glance-manage", line 5, in <module>
+     from pkg_resources import load_entry_point
+   File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3018, in <module>
+     working_set = WorkingSet._build_master()
+   File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 614, in _build_master
+     return cls._build_from_requirements(__requires__)
+   File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 627, in _build_from_requirements
+     dists = ws.resolve(reqs, Environment())
+   File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 805, in resolve
+     raise DistributionNotFound(req)
+ pkg_resources.DistributionNotFound: oslo.config<1.5,>=1.2.0
  
  [1] https://bugs.launchpad.net/horizon/+bug/1413876
  [2] https://github.com/openstack/django_openstack_auth/commit/2b10c7b51081306b4c675046fd7dfe9df375943d
  [3] https://github.com/openstack/nova/blob/stable/icehouse/requirements.txt#L32

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1415243

Title:
  django-openstack-auth 1.1.8+ breaks stable/icehouse devstack

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Global requirements currently has no cap for the django-openstack-auth
  dependency, which is used for Horizon and there are a few problems
  with the latest releases with regards to stable/icehouse:

  1. version 1.1.8 breaks unit tests as per bug #1413876 [1]
  2. version 1.1.9 adds[2]  a requirement for oslo.config>=1.6.0 but stable/icehouse projects require oslo.config<1.5.0 (for example see nova [3])

  This can be fixed by adding a django-openstack-auth<1.1.8 constraint
  to horizon and global requirements. The fix will resolve the following
  error message seen during stacking:

  Traceback (most recent call last):
    File "/usr/local/bin/glance-manage", line 5, in <module>
      from pkg_resources import load_entry_point
    File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3018, in <module>
      working_set = WorkingSet._build_master()
    File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 614, in _build_master
      return cls._build_from_requirements(__requires__)
    File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 627, in _build_from_requirements
      dists = ws.resolve(reqs, Environment())
    File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 805, in resolve
      raise DistributionNotFound(req)
  pkg_resources.DistributionNotFound: oslo.config<1.5,>=1.2.0

  [1] https://bugs.launchpad.net/horizon/+bug/1413876
  [2] https://github.com/openstack/django_openstack_auth/commit/2b10c7b51081306b4c675046fd7dfe9df375943d
  [3] https://github.com/openstack/nova/blob/stable/icehouse/requirements.txt#L32

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


Follow ups

References