Horizon tests fail with latest django_openstack_auth 1.1.8

Bug #1413876 reported by Lin Hua Cheng
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Critical
Lin Hua Cheng
django-openstack-auth
Fix Released
Critical
Lin Hua Cheng

Bug Description

Steps to reproduce:
1. checkout horizon master
2. ./run_tests.sh
3. checkout django_openstack_auth 1.1.8 tag
4. create a soft link from horizon .venv to django_openstack_auth

result: horizon tests fails

There has been issue with the release of django_openstack_auth 1.1.8 in pypi - this is the reason why we haven't seen the issue yet

If I revert the last commit: https://github.com/openstack/django_openstack_auth/commit/4ceb57d02b8bbed30578a8052a31b982a1339f41

The horizon tests works fine.

Changed in horizon:
assignee: nobody → Lin Hua Cheng (lin-hua-cheng)
summary: - Horizon tests fail with latest django_openstack_auth
+ Horizon tests fail with latest django_openstack_auth 1.1.8
Changed in django-openstack-auth:
assignee: nobody → Lin Hua Cheng (lin-hua-cheng)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to django_openstack_auth (master)

Fix proposed to branch: master
Review: https://review.openstack.org/149800

Changed in django-openstack-auth:
status: New → In Progress
Julie Pichon (jpichon)
Changed in horizon:
importance: Undecided → Critical
Changed in django-openstack-auth:
importance: Undecided → Critical
Changed in horizon:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to django_openstack_auth (master)

Reviewed: https://review.openstack.org/149800
Committed: https://git.openstack.org/cgit/openstack/django_openstack_auth/commit/?id=2cfe275a61125329badd6dc150a23148292afca0
Submitter: Jenkins
Branch: master

commit 2cfe275a61125329badd6dc150a23148292afca0
Author: lin-hua-cheng <email address hidden>
Date: Fri Jan 23 18:00:14 2015 -0800

    Add defaulting of services_region in User class

    Defaulting of the services_region in the User class was removed in
    commit 4ceb57d02b8bbed30578a8052a31b982a1339f41

    The change resulted to horizon tests failing, this patch restores the
    old behavior of the User class to default the services_region.

    Change-Id: If6ead2d8da9d8963ae23fc5c8e2335ae8f12773f
    Closes-Bug: 1413876

Changed in django-openstack-auth:
status: In Progress → Fix Committed
Revision history for this message
Julie Pichon (jpichon) wrote :

Great! We need to get 1.1.9 tagged and released now.

Revision history for this message
Julie Pichon (jpichon) wrote :

New library is released: https://pypi.python.org/pypi/django_openstack_auth/1.1.9

Patch to skip 1.1.8 in the global requirements proposed by Ihar at https://review.openstack.org/#/c/149996/

Matthias Runge (mrunge)
Changed in django-openstack-auth:
milestone: none → 1.1.9
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Julie Pichon (jpichon) wrote :

Marking the Horizon task as Invalid - it was useful for tracking and visibility, but only the fix in django_openstack_auth was necessary to resolve the problem.

Changed in horizon:
status: Confirmed → Invalid
David Lyle (david-lyle)
Changed in django-openstack-auth:
status: Fix Committed → Fix Released
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.