Share security groups between projects
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Share security groups between projects

by
EricS2
Created on 2022-03-31 06:55:15 (edited on 2024-09-04 14:25:29) in Public Cloud

Hello,
Is it possible to share security groups across projects ?
I saw on this topic that it was possible to share a private network between two projects :
https://community.ovhcloud.com/community/en/private-network-shared-between-two-or-more-public-cloud-projects?id=community_question&sys_id=9a46b98c585e42d02d4c51cec5fc9662

I tried these commands to share a security group between my two projects
https://docs.openstack.org/neutron/latest/admin/config-rbac.html#sharing-a-security-group-with-specific-projects

openstack network rbac create --target-project xxxx --action
access_as_shared --type security_group yyyy

The previous command returns no error but whenever I try to show my shared security groups with

openstack security group list

...there is nothing displayed.
This is probably due to my openstack user rights.

Is there a solution to share security groups between projects ?

Thanks for your help.