Activity log for bug #1943584

Date Who What changed Old value New value Message
2021-09-14 12:23:53 Mitya Eremeev bug added bug
2021-09-14 12:24:17 Mitya Eremeev oslo.policy: assignee Mitya Eremeev (mitos)
2021-09-14 12:25:05 Mitya Eremeev description 1. There is no main policy file (policy.yaml or policy.json), but there are 2 policy files in policy directory: # ls /etc/octavia/ certs logging.conf octavia.conf policy.d # ls /etc/octavia/policy.d/ 01-default.yaml 02-custom.yaml # cat /etc/octavia/policy.d/01-default.yaml load-balancer:member_and_owner: (role:load-balancer_member or role:member) and rule:load-balancer:owner # cat /etc/octavia/policy.d/02-custom.yaml os_load-balancer_api:loadbalancer:get_all: '!' os_load-balancer_api:pool:get_all: '!' 2. An user with member role asks loadbalancer list and gets response: Unrecognized schema in response body. (HTTP 403) 3. empty file /etc/octavia/policy.d/02-custom.yaml # cat /etc/octavia/policy.d/02-custom.yaml {} 2. An user with member role asks loadbalancer list and gets response: Unrecognized schema in response body. (HTTP 403) actual behavior: user was denied to get loadbalancer list expected behavior: User got loadbalancer list 1. There is no main policy file (policy.yaml or policy.json), but there are 2 policy files in policy directory: # ls /etc/octavia/ certs logging.conf octavia.conf policy.d # ls /etc/octavia/policy.d/ 01-default.yaml 02-custom.yaml # cat /etc/octavia/policy.d/01-default.yaml load-balancer:member_and_owner: (role:load-balancer_member or role:member) and rule:load-balancer:owner # cat /etc/octavia/policy.d/02-custom.yaml os_load-balancer_api:loadbalancer:get_all: '!' os_load-balancer_api:pool:get_all: '!' 2. An user with member role asks loadbalancer list and gets response: Unrecognized schema in response body. (HTTP 403) 3. empty file /etc/octavia/policy.d/02-custom.yaml # cat /etc/octavia/policy.d/02-custom.yaml {} 4. An user with member role asks loadbalancer list and gets response: Unrecognized schema in response body. (HTTP 403) actual behavior: user was denied to get loadbalancer list expected behavior: User got loadbalancer list
2021-09-14 12:25:32 Mitya Eremeev oslo.policy: status New In Progress
2021-09-27 16:49:58 Adam Young bug added subscriber Lance Bragstad
2021-10-21 14:22:58 OpenStack Infra oslo.policy: status In Progress Fix Released