Commit Graph

6 Commits

Author SHA1 Message Date
Michael Vollman
93733eb7d6 Disable tempest router ping
Tell tempest to skip attempting to ping the router namespace from
localhost because the router namespace is not accessible from localhost
in the os_neutron test scenarios.

Depends-On: https://review.openstack.org/#/c/636211
Change-Id: I20a19fd614c1d67b19bd7396b8c48e6667668fbd
2019-02-12 10:34:18 -05:00
Markos Chandras
0d833b895b Revert "Ensure LBaaSv2 deployment is tested"
This reverts commit 504c351a83.

We are not installing lbaas packages but we are still enabling the
plugin and this breaks neutron

ERROR neutron_lib.utils.runtime Traceback (most recent call last):
ERROR neutron_lib.utils.runtime   File "/usr/lib/python2.7/site-packages/neutron_lib/utils/runtime.py", line 52, in load_class_by_alias_or_classname
ERROR neutron_lib.utils.runtime class_to_load = importutils.import_class(name)
ERROR neutron_lib.utils.runtime   File "/usr/lib/python2.7/site-packages/oslo_utils/importutils.py", line 30, in import_class
ERROR neutron_lib.utils.runtime __import__(mod_str)
ERROR neutron_lib.utils.runtime ImportError: No module named neutron_lbaas.services.loadbalancer.plugin

Change-Id: If9318a9198a5051faa2717e0527ec5e2cab6c377
2018-06-08 10:02:47 +01:00
Jean-Philippe Evrard
3db2ebb1b6 Fix tempest tests
The neutron plugins are now in a new repository, and therefore
the path to the whitelist has changed.

On top of that, the "when:" condition on the include playbook
naturally didn't trigger. There is no when on play(book)s!
Due to the fact this was ignored, we were running the tempest role
twice for a while. It didn't break, because the facts were properly
gathered, but it was suboptimal. If facts failed to gather, the
os_tempest role that gets included in the dragonflow play would fail,
and that would break the functional test (not only the dragonflow test).

The "when:" condition on plays should be removed with ansible 2.4 coming
soon anyway.

Change-Id: I4e4110683182310ca662de49ca4437ca56f9ca4c
2017-12-13 13:12:18 +00:00
Major Hayden
504c351a83
Ensure LBaaSv2 deployment is tested
This patch ensures that the LBaaSv2 plugin deployment is tested.

Closes-Bug: 1736214
Change-Id: I0f09b7f3787189e60d390ca8d1a45706696e9db0
2017-12-04 15:08:44 -06:00
Jesse Pretorius
afe63f6f19 Resolve migration issues
A run_once task decides on a host without the
context of conditionals related to the task.
The filter is done prior to evaluating any
conditionals.

Also, only the neutron-server neutron.conf has
the database connection credentials as a
security measure, so it is not able to execute
the database migrations.

This patch ensures that the database migrations
are only run once, but are also executed
wherever neutron-server is. It also adds
multiple instances of neutron-server and
neutron-agents to better test against problems
of this nature happening again.

Additionally, the patch uses the handlers for
the offline migrations to ensure that
neutron-server is only restarted once when a
new tag is deployed.

Change-Id: I672ceb0848415c8f2653ebc8f7556db77f7f001c
2017-06-22 19:24:03 +01:00
Jesse Pretorius
4eb8a56fb1 Update test set and use test plugins
Previously the test set used was the default set in
the os_tempest role, which are scenario tests. Those
tests cannot run without more services deployed.

This patch implements the use of API tests and the
tempest plugins from the Neutron repository.

Additionally, the postgresql library is removed as
it is no longer required.

Change-Id: I4710511d7824ad031cafb4dac5521c0b1b34931e
2017-03-08 14:16:56 +00:00