← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1949451] [NEW] [OVN] Stateless SG Extension Support

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ovn

** Tags added: ovn

-- 
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] Stateless SG Extension Support

Status in neutron:
  New

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



Follow ups