Hi Balazs,

Thanks for the confirmation. Since audit is not part of the hardcoded list. I am concluding that audit cannot be enabled in Placement.

Regards,
Sharath


On Thu, May 19, 2022 at 2:41 PM Balazs Gibizer <bgibizer@redhat.com> wrote:


On Thu, May 19 2022 at 11:40:34 AM +05:30:00, Sharath Ck
<sharath.madhava@gmail.com> wrote:
> Hi,
>
> Placement does not have an api-paste.ini configuration file. Also
> Placement does not have a placeholder to mention or add middleware.
> Hence keystone audit middleware is not supported in Placement ? Need
> to collect the audit events from Nova itself. Can anyone please
> confirm this.

You are right there is no api-paste.ini support in Placement. The used
middlewares are hard coded in [1].

Cheers,
gibi

[1]
https://github.com/openstack/placement/blob/03d567928e31d3dc85d4dd3f5617785e7380b6b1/placement/deploy.py#L108-L117

>
> Regards,
> Sharath