Should not get domain_scoped token when OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT is FALSE

Bug #1738135 reported by chaoliu on 2017-12-14
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Undecided
Unassigned

Bug Description

When debug horizon, there's a mesage: "Attempted scope to domain Default failed, will attemptto scope to another domain."

(horizon)[root@k1 /]# manage.py runserver 0.0.0.0:8080 --insecure --nothreading --noreload
Performing system checks...

System check identified no issues (0 silenced).
October 25, 2017 - 19:10:34
Django version 1.8.14, using settings 'openstack_dashboard.settings'
Starting development server at http://0.0.0.0:8080/
Quit the server with CONTROL-C.
Attempted scope to domain Default failed, will attemptto scope to another domain.
Login successful for user "admin", remote address 192.168.233.1.
[25/Oct/2017 19:10:42] "POST /auth/login/ HTTP/1.1" 302 0
[25/Oct/2017 19:10:42] "GET / HTTP/1.1" 302 0

This message is caused by trying to get domain_scoped token when OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT is FALSE.

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

Changed in horizon:
assignee: nobody → chaoliu (liuchao)
status: New → In Progress
Changed in horizon:
assignee: chaoliu (liuchao) → octopuszhang (1004988384-n)

Change abandoned by chao liu (<email address hidden>) on branch: master
Review: https://review.openstack.org/527891
Reason: The error message is handled by the "try...catch" statement

Akihiro Motoki (amotoki) wrote :

The patch was abandoned, so let's clear the assignee.

Changed in horizon:
assignee: octopuszhang (1004988384-n) → nobody
status: In Progress → New
Kevin Tibi (ktibi) wrote :

Same issue on queens :

[Thu Aug 16 16:02:10.619983 2018] [:error] [pid 66] Attempted scope to domain Default failed, will attemptto scope to another domain.
[Thu Aug 16 16:02:20.193693 2018] [:error] [pid 66] Login successful for user "admin" using domain "Default", remote address 172.16.16.20.

Changed in horizon:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers