Bug 1530194 - tempest api test_agent_management.AgentManagementTestJSON fails
Summary: tempest api test_agent_management.AgentManagementTestJSON fails
Keywords:
Status: CLOSED DUPLICATE of bug 1495692
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-networking-ovn
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Assaf Muller
QA Contact: Eran Kuris
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-02 09:00 UTC by Arie Bregman
Modified: 2019-09-09 17:12 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-10 22:31:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Arie Bregman 2018-01-02 09:00:35 UTC
Description of problem:

The following tempest class fails when RHOSP 12 deployed with OVN

neutron.tests.tempest.api.admin.test_agent_management.AgentManagementTestJSON

Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tempest/test.py", line 172, in setUpClass
    six.reraise(etype, value, trace)
  File "/usr/lib/python2.7/site-packages/tempest/test.py", line 165, in setUpClass
    cls.resource_setup()
  File "/usr/lib/python2.7/site-packages/neutron/tests/tempest/api/admin/test_agent_management.py", line 30, in resource_setup
    cls.agent = agents[0]  # don't modify this agent
IndexError: list index out of range

Version-Release number of selected component (if applicable): Latest OSP 12


How reproducible: 100%


Steps to Reproduce:
1. Deploy RHOSP 12 with OVN
2. Run tempest tests

Comment 2 Daniel Alvarez Sanchez 2018-01-15 16:48:14 UTC
Targeting it for OSP14.
This error occurs because we don't have implement this API in OVN. A possible solution would be to declare ovn-controllers/ovn-metadata-agents in DB and implement the API so that we are consistent with the reference implementation.
In OSP13, we might just disable these tests in tempest.

Comment 5 Miguel Angel Ajo 2018-06-10 22:31:04 UTC

*** This bug has been marked as a duplicate of bug 1495692 ***


Note You need to log in before you can comment on or make changes to this bug.