Event Details

Please note: All times listed below are in Central Time Zone


Dynamic Policy for OpenStack with Open Policy Agent

Open Policy Agent (OPA) is gaining traction in the CNCF ecosystem. It is a lightweight policy engine which you can use as a sidecar, daemon or library. It provides its own language called rego, which gives you a rich set of features to help you write and evaluate policy decisions. There is already integration with Kubernetes, Kafka, Terraform, and other services; so we decided to give try it for OpenStack.


We wrote a translation tool to convert oslo.policy files, as they exist today, into policies in rego language; we also made oslo.policy pluggable.


Here, we present our observations when using OPA to evaluate policies for several OpenStack services instead of using the classic oslo.policy enforcer. We'll present data of how this performs, as well as recommended patterns for deploying OPA in OpenStack.


Finally, we'll talk about the next steps in this work, and how we think this will help operators have a centralized place where to store, deploy and update policies for their clusters.


What can I expect to learn?

Attendees would learn the basics of what Open Policy Agent is, how to write policies in its language (rego), how it affects performance, and how this can help you manage policies for your OpenStack services.

Tuesday, November 13, 3:10pm-3:20pm (2:10pm - 2:20pm UTC)
Difficulty Level: Intermediate
Red Hat
Juan Antonio (Ozz) is a member of Red Hat's OpenStack Identity team and acore developer on Barbican, the secret storage as a service solution forOpenStack; and TripleO (OpenStack over OpenStack), a cloud installer.In Red Hat, he has been actively working with the community to enablesecurity features in the product. FULL PROFILE