yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #87770
[Bug 1949451] Re: [OVN] Error 400 when creating stateless SG [Unrecognized attribute(s) 'stateful']
Reviewed: https://review.opendev.org/c/openstack/neutron/+/816612
Committed: https://opendev.org/openstack/neutron/commit/c95ccf0a43f8f40ed6988d88fae01b225b68b43e
Submitter: "Zuul (22348)"
Branch: master
commit c95ccf0a43f8f40ed6988d88fae01b225b68b43e
Author: Ihar Hrachyshka <ihrachys@xxxxxxxxxx>
Date: Thu Nov 4 03:02:03 2021 +0000
ovn: enable stateless-security-group api
The feature is long implemented but the list of extensions was not
updated accordingly. Because of missing tempest test cases for the
field, it was not caught before.
Closes-Bug: #1949451
Change-Id: I85f7749e7e6186b9e3a7534bce6c306b18702333
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1949451
Title:
[OVN] Error 400 when creating stateless SG [Unrecognized attribute(s)
'stateful']
Status in neutron:
Fix Released
Bug description:
Hi,
I am using neutron 19.0.0 with ovn 21.09 and ovs 2.16.0. I am trying
to create a stateless security group with openstack python3 neutron
client but its showing below error.
# openstack security group create --stateless sec02-stateless
Error while executing command: BadRequestException: 400, Unrecognized attribute(s) 'stateful'
In neutron logs I see stateful-security-group in neutron logs is not
loaded.
## Showing nothing
# neutron ext-list | grep stateful-security-group
# grep stateful-security-group neutron-server.log
2021-11-02 13:02:20.846 998 DEBUG neutron.api.extensions [req-b022ced2-f365-4ab9-9f61-25e915231e02 - - - - -] Ext name="Stateful security group" alias="stateful-security-group" description="Indicates if the security group is stateful or not" updated="2019-11-26T09:00:00-00:00" _check_extension /usr/lib/python3/dist-packages/neutron/api/extensions.py:416
2021-11-02 13:02:20.846 998 INFO neutron.api.extensions [req-b022ced2-f365-4ab9-9f61-25e915231e02 - - - - -] Extension stateful-security-group not supported by any of loaded plugins
I have added stateful-security-group extension in
neutron/common/ovn/extensions.py and SG creation goes successful.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1949451/+subscriptions
References