I confirm it works well on Antelope. Thanks!
Michel
Hi,
Thanks for quick follow-up and for the fixI'll test it tomorrow!
MichelSent from my mobile
Le 5 juin 2024 20:53:40 Ghanshyam Mann <gmann@ghanshyammann.com> a écrit :
---- On Wed, 05 Jun 2024 10:06:34 -0700 Michel Jouvin wrote ---Hi,
I'd like to see the default Magnum (Oslo) policy used with Magnum. Withother services, I use oslopolicy-policy-generator and use the servicename as the namespace but for Magnum, "--namespace magnum" returns anerror saying that there is no "magnum" namespace.
Does anybody know what is the namespace to use with Magnum? Or how todisplay the currently active policy, preferably in YAML format?
Thanks for reporting it. This is a bug in Magnum, I have reported it in LP[1] andproposed the fix (tested that and it worked).
Basically, Magnum is missing the entry point for solo policy enforcer and oslo.policygenerator tool is not able to recognize the magnum namespace. Below is the fixwhich can be backported to old branches also:
-gmann
Thanks in advance. Cheers,
Michel