Contrail Ocata :: R4.0.1.0 build 30 :: keystone v3 :: horizon fails to allow user to login to newly created domain.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Invalid
|
Medium
|
Ritam Gangopadhyay | |||
R4.1 |
Invalid
|
Medium
|
Ritam Gangopadhyay | |||
Trunk |
Invalid
|
Medium
|
Ritam Gangopadhyay |
Bug Description
Setup:- R4.0.1.0 build 29 Ocata multi node setup.
Horizon accessible on VIP - 10.204.217.184
nodei19 10.204.217.131 openstack
nodec28 10.204.217.13 controller, analytics, analyticsdb
nodec10 10.204.217.176 controller, analytics, analyticsdb
nodec33 10.204.217.168 controller, analytics, analyticsdb
nodeg37 10.204.217.77 lb
nodei17 10.204.217.129 compute
nodei20 10.204.217.132 compute
*******
*******
*******
*******
Steps:-
1. create new domain
2. switch/set new domain context
3. create user under new domain
4. create project under new domain
5. add user to project with admin and member role
6. add user to domain with admin and member role
7. log out of horizon.
8. log in to horizon with new domain and new user
*******
*******
*******
*******
ERROR LOG:-
/var/lib/
[Fri Sep 15 13:26:36.313184 2017] [wsgi:error] [pid 143:tid 140074279245568] Login successful for user "admin", remote address 192.168.100.15.
[Fri Sep 15 13:27:27.437038 2017] [wsgi:error] [pid 144:tid 140074279245568] Creating domain with name "test-dm1"
[Fri Sep 15 13:27:51.715980 2017] [wsgi:error] [pid 145:tid 140074279245568] Creating user with name "u1"
[Fri Sep 15 13:28:23.782572 2017] [wsgi:error] [pid 142:tid 140074279245568] Updating domain with name "test-dm1"
[Fri Sep 15 13:28:27.842695 2017] [wsgi:error] [pid 145:tid 140074279245568] Logging out user "admin".
[Fri Sep 15 13:28:38.781263 2017] [wsgi:error] [pid 144:tid 140074279245568] Login successful for user "u1", remote address 192.168.100.15.
[Fri Sep 15 13:28:39.230834 2017] [wsgi:error] [pid 144:tid 140074279245568] Pure project admin doesn't have a domain token
[Fri Sep 15 13:28:39.231571 2017] [wsgi:error] [pid 144:tid 140074279245568] Internal Server Error: /identity/
[Fri Sep 15 13:28:39.231589 2017] [wsgi:error] [pid 144:tid 140074279245568] Traceback (most recent call last):
[Fri Sep 15 13:28:39.231595 2017] [wsgi:error] [pid 144:tid 140074279245568] File "/usr/lib/
[Fri Sep 15 13:28:39.231600 2017] [wsgi:error] [pid 144:tid 140074279245568] response = wrapped_
[Fri Sep 15 13:28:39.231604 2017] [wsgi:error] [pid 144:tid 140074279245568] File "/usr/share/
[Fri Sep 15 13:28:39.231608 2017] [wsgi:error] [pid 144:tid 140074279245568] return view_func(request, *args, **kwargs)
[Fri Sep 15 13:28:39.231612 2017] [wsgi:error] [pid 144:tid 140074279245568] File "/usr/share/
[Fri Sep 15 13:28:39.231616 2017] [wsgi:error] [pid 144:tid 140074279245568] return view_func(request, *args, **kwargs)
[Fri Sep 15 13:28:39.231620 2017] [wsgi:error] [pid 144:tid 140074279245568] File "/usr/share/
[Fri Sep 15 13:28:39.231624 2017] [wsgi:error] [pid 144:tid 140074279245568] return view_func(request, *args, **kwargs)
[Fri Sep 15 13:28:39.231628 2017] [wsgi:error] [pid 144:tid 140074279245568] File "/usr/lib/
[Fri Sep 15 13:28:39.231632 2017] [wsgi:error] [pid 144:tid 140074279245568] return self.dispatch(
[Fri Sep 15 13:28:39.231636 2017] [wsgi:error] [pid 144:tid 140074279245568] File "/usr/lib/
[Fri Sep 15 13:28:39.231640 2017] [wsgi:error] [pid 144:tid 140074279245568] return handler(request, *args, **kwargs)
[Fri Sep 15 13:28:39.231643 2017] [wsgi:error] [pid 144:tid 140074279245568] File "/usr/share/
[Fri Sep 15 13:28:39.231647 2017] [wsgi:error] [pid 144:tid 140074279245568] handled = self.construct_
[Fri Sep 15 13:28:39.231651 2017] [wsgi:error] [pid 144:tid 140074279245568] File "/usr/share/
[Fri Sep 15 13:28:39.231655 2017] [wsgi:error] [pid 144:tid 140074279245568] handled = self.handle_
[Fri Sep 15 13:28:39.231658 2017] [wsgi:error] [pid 144:tid 140074279245568] File "/usr/share/
[Fri Sep 15 13:28:39.231662 2017] [wsgi:error] [pid 144:tid 140074279245568] data = self._get_
[Fri Sep 15 13:28:39.231666 2017] [wsgi:error] [pid 144:tid 140074279245568] File "/usr/share/
[Fri Sep 15 13:28:39.231670 2017] [wsgi:error] [pid 144:tid 140074279245568] self._data = {self.table_
[Fri Sep 15 13:28:39.231690 2017] [wsgi:error] [pid 144:tid 140074279245568] File "/usr/share/
[Fri Sep 15 13:28:39.231697 2017] [wsgi:error] [pid 144:tid 140074279245568] t.domain_name = domain_
[Fri Sep 15 13:28:39.231701 2017] [wsgi:error] [pid 144:tid 140074279245568] AttributeError: 'NoneType' object has no attribute 'get'
tags: |
added: horizon ui removed: ho |
This is only seen from horizon UI and not from contrail AND/OR openstack api. So downgrading the priority.