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
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
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
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
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