← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2049398] Re: [Tempest] neutron_tempest_plugin.api.admin.test_external_network_extension.ExternalNetworksRBACTestJSON.test_delete_policies_while_tenant_attached_to_net "Created Network is Not an External Network" Error

 

[Expired for neutron because there has been no activity for 60 days.]

** Changed in: neutron
       Status: Incomplete => Expired

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

Title:
  [Tempest]
  neutron_tempest_plugin.api.admin.test_external_network_extension.ExternalNetworksRBACTestJSON.test_delete_policies_while_tenant_attached_to_net
  "Created Network is Not an External Network" Error

Status in neutron:
  Expired

Bug description:
  Hi,

  We got BadRequest error in the following test. I think, net =
  self._create_network(external=False) should be change net =
  self._create_network(external=True). Can you check this test?

  Test:
  neutron_tempest_plugin.api.admin.test_external_network_extension.ExternalNetworksRBACTestJSON.test_delete_policies_while_tenant_attached_to_net

  Error:
  ==============================
  Failed 1 tests - output below:
  ==============================

  neutron_tempest_plugin.api.admin.test_external_network_extension.ExternalNetworksRBACTestJSON.test_delete_policies_while_tenant_attached_to_net[id-d54decee-4203-4ced-91a2-ea42ca63e154]
  ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  Captured traceback:
  ~~~~~~~~~~~~~~~~~~~
      Traceback (most recent call last):

        File "/etc/tempest/neutron-tempest-plugin/neutron_tempest_plugin/api/admin/test_external_network_extension.py", line 231, in test_delete_policies_while_tenant_attached_to_net
      self.client2.create_router(

        File "/etc/tempest/neutron-tempest-plugin/neutron_tempest_plugin/services/network/json/network_client.py", line 365, in create_router
      resp, body = self.post(uri, body)

        File "/opt/venv/tempest/lib/python3.8/site-packages/tempest/lib/common/rest_client.py", line 300, in post
      return self.request('POST', url, extra_headers, headers, body, chunked)

        File "/opt/venv/tempest/lib/python3.8/site-packages/tempest/lib/common/rest_client.py", line 742, in request
      self._error_checker(resp, resp_body)

        File "/opt/venv/tempest/lib/python3.8/site-packages/tempest/lib/common/rest_client.py", line 857, in _error_checker
      raise exceptions.BadRequest(resp_body, resp=resp)

      tempest.lib.exceptions.BadRequest: Bad request
  Details: {'type': 'BadRequest', 'message': 'Bad router request: Network 4ee07f67-3595-4061-9f5f-f516a7eae9e6 is not an external network.', 'detail': ''}

  File:
  https://github.com/openstack/neutron-tempest-plugin/blob/master/neutron_tempest_plugin/api/admin/test_external_network_extension.py 
  Line: 195

  Openstack version: Zed
  I have used admin role user in all tempest tests.

  Regards,

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



References