I confirm it works well on Antelope. Thanks! Michel Le 05/06/2024 à 21:46, Michel Jouvin a écrit :
Hi,
Thanks for quick follow-up and for the fix I'll test it tomorrow!
Michel Sent 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. With other services, I use oslopolicy-policy-generator and use the service name as the namespace but for Magnum, "--namespace magnum" returns an error saying that there is no "magnum" namespace.
Does anybody know what is the namespace to use with Magnum? Or how to display 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] and proposed the fix (tested that and it worked).
Basically, Magnum is missing the entry point for solo policy enforcer and oslo.policy generator tool is not able to recognize the magnum namespace. Below is the fix which can be backported to old branches also:
- https://review.opendev.org/c/openstack/magnum/+/921408
[1] https://bugs.launchpad.net/magnum/+bug/2068519
-gmann
Thanks in advance. Cheers,
Michel