## RBAC tests Progress and discussion Date: 16/06/2021 ### Liason: svyas ### Questions: As per the research, we concluded that whenever a api is called within patrole for its testing, its the call to its client. For example, we have method create-network()...to test this method, api call would go for the neutron client. https://review.opendev.org/c/openstack/patrole/+/583340/ So while writing the RBAC test for create_log..., we got to know that openstack uses python's default logging extensions..we dont have client for it. Now, question is which api should I consider to call? Review:- https://review.opendev.org/c/openstack/patrole/+/795548 https://docs.openstack.org/api-ref/network/v2/?expanded=list-logs-detail,create-log-detail#log-resource here, we dont see any kind of assertions with expected and actual data. So, How do RBAC-tests test the api? kopecmartin's inputs:- draft a email for openstack-discuss and then wait for answers. ## 17/06/2021 - Mail has been drafted and gmann has replied to it. - https://mail.google.com/mail/u/0/#label/openstack-discuss/FMfcgzGkXmhwGHwPqtlNnwCXFqBHWPlh - Basically, yes we require client in tempest to write a RBAC test within a patrole. - But, logging resource doesnt have any client in tempest and python's logging can't be used because of debugging issues. - So, first, we require a logging resource client in tempest for the logging resource neutron coverage in patrole. ## 23/06/2021 - Needs testcases and more modifications with the log-resource client - https://review.opendev.org/c/openstack/tempest/+/796842