← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2114732] [NEW] grenade-skip-level-always job fails with: Security Group None cannot perform precommit_delete due to Callback

 

Public bug reported:

https://zuul.opendev.org/t/openstack/build/91138a9838334946927f31058f26a669/log/job-
output.txt#21331

2025-06-13 14:33:32.965853 | controller | /opt/stack/old/tempest/tempest/lib/services/clients.py:209: DeprecationWarning: Class 'tempest.lib.services.volume.v2.extensions_client.ExtensionsClient' has moved to 'tempest.lib.services.volume.v3.extensions_client.ExtensionsClient' in version 'Rocky' and will be removed in a future version
21332	2025-06-13 14:33:32.965890 | controller |   _client = klass(auth_provider=auth_provider, **kwargs)
21333	2025-06-13 14:33:38.579783 | controller | Traceback (most recent call last):
21334	2025-06-13 14:33:38.579816 | controller |   File "/opt/stack/old/tempest/tempest/cmd/verify_tempest_config.py", line 465, in take_action
21335	2025-06-13 14:33:38.579831 | controller |     main(parsed_args)
21336	2025-06-13 14:33:38.579838 | controller |   File "/opt/stack/old/tempest/tempest/cmd/verify_tempest_config.py", line 452, in main
21337	2025-06-13 14:33:38.579844 | controller |     icreds.clear_creds()
21338	2025-06-13 14:33:38.579850 | controller |   File "/opt/stack/old/tempest/tempest/lib/common/dynamic_creds.py", line 635, in clear_creds
21339	2025-06-13 14:33:38.579856 | controller |     self.cleanup_default_secgroup(
21340	2025-06-13 14:33:38.579863 | controller |   File "/opt/stack/old/tempest/tempest/lib/common/cred_provider.py", line 145, in cleanup_default_secgroup
21341	2025-06-13 14:33:38.579872 | controller |     security_group_client.delete_security_group(secgroup['id'])
21342	2025-06-13 14:33:38.579878 | controller |   File "/opt/stack/old/tempest/tempest/lib/services/network/security_groups_client.py", line 59, in delete_security_group
21343	2025-06-13 14:33:38.579897 | controller |     return self.delete_resource(uri)
21344	2025-06-13 14:33:38.579904 | controller |   File "/opt/stack/old/tempest/tempest/lib/services/network/base.py", line 42, in delete_resource
21345	2025-06-13 14:33:38.579910 | controller |     resp, body = self.delete(req_uri)
21346	2025-06-13 14:33:38.579916 | controller |   File "/opt/stack/old/tempest/tempest/lib/common/rest_client.py", line 359, in delete
21347	2025-06-13 14:33:38.579922 | controller |     return self.request('DELETE', url, extra_headers, headers, body)
21348	2025-06-13 14:33:38.579928 | controller |   File "/opt/stack/old/tempest/tempest/lib/common/rest_client.py", line 762, in request
21349	2025-06-13 14:33:38.579934 | controller |     self._error_checker(resp, resp_body)
21350	2025-06-13 14:33:38.579940 | controller |   File "/opt/stack/old/tempest/tempest/lib/common/rest_client.py", line 892, in _error_checker
21351	2025-06-13 14:33:38.579946 | controller |     raise exceptions.Conflict(resp_body, resp=resp)
21352	2025-06-13 14:33:38.579952 | controller | tempest.lib.exceptions.Conflict: Conflict with state of target resource
21353	2025-06-13 14:33:38.579981 | controller | Details: {'type': 'SecurityGroupInUse', 'message': 'Security Group None cannot perform precommit_delete due to Callback neutron.plugins.ml2.drivers.ovn.mech_driver.mech_driver.OVNMechanismDriver._delete_security_group_precommit-1884922 failed with "Cannot find Port_Group with name=pg_1e376452_6ec5_4564_a49c_744d7696a256".', 'detail': ''}
21354	2025-06-13 14:33:38.658376 | controller | ERROR: InvocationError for command /opt/stack/old/tempest/.tox/venv/bin/tempest verify-config -uro /tmp/tmp.gi730l3x96 (exited with code 1)

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2114732

Title:
  grenade-skip-level-always job fails with: Security Group None cannot
  perform precommit_delete due to Callback

Status in neutron:
  New

Bug description:
  https://zuul.opendev.org/t/openstack/build/91138a9838334946927f31058f26a669/log/job-
  output.txt#21331

  2025-06-13 14:33:32.965853 | controller | /opt/stack/old/tempest/tempest/lib/services/clients.py:209: DeprecationWarning: Class 'tempest.lib.services.volume.v2.extensions_client.ExtensionsClient' has moved to 'tempest.lib.services.volume.v3.extensions_client.ExtensionsClient' in version 'Rocky' and will be removed in a future version
  21332	2025-06-13 14:33:32.965890 | controller |   _client = klass(auth_provider=auth_provider, **kwargs)
  21333	2025-06-13 14:33:38.579783 | controller | Traceback (most recent call last):
  21334	2025-06-13 14:33:38.579816 | controller |   File "/opt/stack/old/tempest/tempest/cmd/verify_tempest_config.py", line 465, in take_action
  21335	2025-06-13 14:33:38.579831 | controller |     main(parsed_args)
  21336	2025-06-13 14:33:38.579838 | controller |   File "/opt/stack/old/tempest/tempest/cmd/verify_tempest_config.py", line 452, in main
  21337	2025-06-13 14:33:38.579844 | controller |     icreds.clear_creds()
  21338	2025-06-13 14:33:38.579850 | controller |   File "/opt/stack/old/tempest/tempest/lib/common/dynamic_creds.py", line 635, in clear_creds
  21339	2025-06-13 14:33:38.579856 | controller |     self.cleanup_default_secgroup(
  21340	2025-06-13 14:33:38.579863 | controller |   File "/opt/stack/old/tempest/tempest/lib/common/cred_provider.py", line 145, in cleanup_default_secgroup
  21341	2025-06-13 14:33:38.579872 | controller |     security_group_client.delete_security_group(secgroup['id'])
  21342	2025-06-13 14:33:38.579878 | controller |   File "/opt/stack/old/tempest/tempest/lib/services/network/security_groups_client.py", line 59, in delete_security_group
  21343	2025-06-13 14:33:38.579897 | controller |     return self.delete_resource(uri)
  21344	2025-06-13 14:33:38.579904 | controller |   File "/opt/stack/old/tempest/tempest/lib/services/network/base.py", line 42, in delete_resource
  21345	2025-06-13 14:33:38.579910 | controller |     resp, body = self.delete(req_uri)
  21346	2025-06-13 14:33:38.579916 | controller |   File "/opt/stack/old/tempest/tempest/lib/common/rest_client.py", line 359, in delete
  21347	2025-06-13 14:33:38.579922 | controller |     return self.request('DELETE', url, extra_headers, headers, body)
  21348	2025-06-13 14:33:38.579928 | controller |   File "/opt/stack/old/tempest/tempest/lib/common/rest_client.py", line 762, in request
  21349	2025-06-13 14:33:38.579934 | controller |     self._error_checker(resp, resp_body)
  21350	2025-06-13 14:33:38.579940 | controller |   File "/opt/stack/old/tempest/tempest/lib/common/rest_client.py", line 892, in _error_checker
  21351	2025-06-13 14:33:38.579946 | controller |     raise exceptions.Conflict(resp_body, resp=resp)
  21352	2025-06-13 14:33:38.579952 | controller | tempest.lib.exceptions.Conflict: Conflict with state of target resource
  21353	2025-06-13 14:33:38.579981 | controller | Details: {'type': 'SecurityGroupInUse', 'message': 'Security Group None cannot perform precommit_delete due to Callback neutron.plugins.ml2.drivers.ovn.mech_driver.mech_driver.OVNMechanismDriver._delete_security_group_precommit-1884922 failed with "Cannot find Port_Group with name=pg_1e376452_6ec5_4564_a49c_744d7696a256".', 'detail': ''}
  21354	2025-06-13 14:33:38.658376 | controller | ERROR: InvocationError for command /opt/stack/old/tempest/.tox/venv/bin/tempest verify-config -uro /tmp/tmp.gi730l3x96 (exited with code 1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2114732/+subscriptions