Similarly to main tempest installation check, we should only install
plugin on master branches (where INSTALL_TEMPEST is True), and not on
Also drop all-plugin use for tox_envlist in stadium jobs that were using
it, it is deprecated and breaks with this new variable
Co-Authored-By: Ghanshyam Mann <email@example.com>
Commit  provided new possibility to customize e.g. Ubuntu
image and e.g. install some additional packages just before
upload it to Glance in Devstack's stack.sh script.
It was done to be able to install e.g. socat package to test
But until now we don't have tests which would use this and
this customization causes sometimes job failures when
there is package and index mismatch.
So there is no need to customize image always by default.
If we will need to use this customization, we should use
OpenStack's infra mirrors of Ubuntu repositories and then
enable this option for job where its needed.
In some scenario tests there is need to use advanced image,
like Ubuntu or Centos, because Cirros doesn't provide required
It is like that in some tests from modules:
But such advanced image needs much more time to boot and to
have SSH to vm available.
There is no need to use such advanced image in all tests.
This patch makes some changes in tempest plugin config options:
* image_is_advanced - option is removed,
* advanced_image_ref - new option added - it's uuid for advanced image,
* advanced_flavor_ref - new option added - id of flavor to use with
* advanced_image_ssh_user - new option added - name of user to use
to ssh to vm booted from advanced image,
This patch also modify neutron_tempest_plugin devstack plugin that
it now can find advanced image id in installed Glance service and
configure those new config options in Tempest's config file.
This patch also modifies scenario jobs definitions that this
new advanced_image can be configured and used when it's nesessary.
Finally this patch also changes tests mentioned above that now
this advanced image is used in those tests.
All other scenario tests should works with default, Cirros image.
CI jobs for this plugin use DevStack to install and configure
OpenStack and to upload guest images to be used for tests.
This change allow to customize guest images just before
being sent to image service with the purpose of installing
new packages (like socat), configuring N network devices, etc.
This change has been created because for testing multicast
socat is required, but it was designed with the idea
of being used to allow further guest images customizations.
Instead of requiring users to install the plugin manually, add a
devstack plugin that can be enabled in order to perform the
Change the integration tests to use the globally installed plugin
instead of using TEMPEST_PLUGINS.