<div dir="ltr">Hi,<div>statefull security-groups are only available with iptables based drivers:</div><div><a href="https://review.opendev.org/c/openstack/neutron/+/572767/53/releasenotes/notes/stateful-security-group-04b2902ed9c44e4f.yaml">https://review.opendev.org/c/openstack/neutron/+/572767/53/releasenotes/notes/stateful-security-group-04b2902ed9c44e4f.yaml</a><br></div><div><br></div><div>For OVS and OVN we have open RFE, nut as I know at the moment nobody works on them:</div><div><a href="https://bugs.launchpad.net/neutron/+bug/1885261">https://bugs.launchpad.net/neutron/+bug/1885261</a><br></div><div><a href="https://bugs.launchpad.net/neutron/+bug/1885262">https://bugs.launchpad.net/neutron/+bug/1885262</a><br></div><div><br></div><div>Regards</div><div>Lajos Katona (lajoskatona)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Ammad Syed <<a href="mailto:syedammad83@gmail.com">syedammad83@gmail.com</a>> ezt írta (időpont: 2021. nov. 2., K, 9:00):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I have upgraded my lab to latest xena release and ovn 21.09 and ovs 2.16. I am trying to create stateless security group. But its getting failed with below error message.</div><div><br></div><div># openstack security group  create --stateless sec02-stateless<br>Error while executing command: BadRequestException: 400, Unrecognized attribute(s) 'stateful'</div><div><br clear="all"><div>I see below logs in neutron server logs.</div><div><br></div><div>2021-11-02 12:47:41.921 1346 DEBUG neutron.wsgi [-] (1346) accepted ('172.16.40.45', 41272) server /usr/lib/python3/dist-packages/eventlet/wsgi.py:992<br>2021-11-02 12:47:42.166 1346 DEBUG neutron.api.v2.base [req-b6a37fff-090f-4754-9df7-6e4314ed9481 19844bf62a7b498eb443508ef150e9b8 98687873a146418eaeeb54a01693669f - default default] Request body: {'security_group': {'name': 'sec02-stateless', 'stateful': False, 'description': 'sec02-stateless'}} prepare_request_body /usr/lib/python3/dist-packages/neutron/api/v2/base.py:729<br>2021-11-02 12:47:42.167 1346 WARNING neutron.api.v2.base [req-b6a37fff-090f-4754-9df7-6e4314ed9481 19844bf62a7b498eb443508ef150e9b8 98687873a146418eaeeb54a01693669f - default default] An exception happened while processing the request body. The exception message is [Unrecognized attribute(s) 'stateful'].: webob.exc.HTTPBadRequest: Unrecognized attribute(s) 'stateful'<br>2021-11-02 12:47:42.167 1346 INFO neutron.api.v2.resource [req-b6a37fff-090f-4754-9df7-6e4314ed9481 19844bf62a7b498eb443508ef150e9b8 98687873a146418eaeeb54a01693669f - default default] create failed (client error): Unrecognized attribute(s) 'stateful'<br>2021-11-02 12:47:42.168 1346 INFO neutron.wsgi [req-b6a37fff-090f-4754-9df7-6e4314ed9481 19844bf62a7b498eb443508ef150e9b8 98687873a146418eaeeb54a01693669f - default default] 172.16.40.45 "POST /v2.0/security-groups HTTP/1.1" status: 400  len: 317 time: 0.2455938<br></div><div><br></div><div>Any advice on how to fix it ?</div><div><br></div><div>Ammad</div></div></div>
</blockquote></div>