rbac: updating aaa_mode to no-auth via rest api doesnt reset mt flag
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.1 |
Fix Committed
|
Medium
|
Deepinder Setia | |||
R3.2 |
Fix Committed
|
Medium
|
Deepinder Setia | |||
Trunk |
Fix Committed
|
Medium
|
Deepinder Setia |
Bug Description
1) Update aaa_mode to no-auth from rbac via rest api
2) create VN
3) read back the VN would fail with below traces
aaa_mode_http_put should reset self._multi_tenancy flag when aaa-mode is updated to 'no-auth' via rest api.
self = <vnc_cfg_
self.validate_perms = <bound method VncPermissions.
request = <BaseRequest: GET http://
id = 'a893db67-
global PERMS_R = 4
id_perms = {'global_access': 5, 'owner': 'cloud-admin', 'owner_access': 7, 'share': []}
/usr/lib/
62 return (True, 'R')
63
64 owner = id_perms[
65 group = id_perms[
66 perms = id_perms[
owner undefined
id_perms = {'global_access': 5, 'owner': 'cloud-admin', 'owner_access': 7, 'share': []}
Traceback (most recent call last):
File "/usr/lib/
response = handler(*args, **kwargs)
File "/usr/lib/
response = func(api_
File "/usr/lib/
req_fields, include_shared, exclude_hrefs)
File "/usr/lib/
obj_result = self.obj_
File "/usr/lib/
if self._permissio
File "/usr/lib/
return self.validate_
File "/usr/lib/
owner = id_perms[
KeyError: 'permissions'
Changed in juniperopenstack: | |
importance: | Undecided → Medium |
Senthil, can you list exact commands in step #2 and #3 for me to reproduce this?