In [1] we finally got rid of the unfinished lib/neutron module and kept
only lib/neutron-legacy. It's renamed to lib/neutron now and it's the
only neutron related module in Devstack.
So this patch removes leftovers related to the old lib/neutron-legacy.
[1] https://review.opendev.org/c/openstack/devstack/+/865014
Change-Id: I2a856b15eda992f0e78ee8eff65f39646e24c936
A bug was reported for a grenade job that doesn't use tempest. Fix is to
check for existence of tempest.conf file before copying it.
Change-Id: I3a79347c8d5b84ea756e7571d0216384fbf2a05e
Closes-Bug: #1651767
This patch drops calling configure_tempest after upgrade.
As devstack has new phase called test-config and plugins
may configure tempest additionally we need to make sure
that tempest.conf is the same on base and target releases.
Change-Id: Idede322190d57491d4f7e18090aa8c29b5b87353
Without this call the new installation will not run plugin-specific tests.
The call is placed after configure_tempest just like it's done in tempest
devstack code.
Change-Id: Ia2a5b9cc535c7c46728eee6284a36340745e9043
The dependent patch here moves this code into ironic's tree as a grenade
plugin. Remove it from grenade's tree.
Change-Id: I659e3de5c64df798441798ff48ba5c9c0506585a
Depends-On: I8b065c60e9e06cd7fc10749c49bdf79d878fcc12
To successfully migrate Zaqar into a plugin, we need to also remove
reference to it in grenade and devstack. This patch is required by
Ifcf54fa2d4a5bf49b6757b593bb70cdeda8edb2a
Change-Id: Iceefabb6cd528b23075a91e8039b8264eb3f33f5
Ceilometer is moving to using in-tree devstack and grenade plugins. This
removes ceilometer from core grenade to make room for the plugin.
Change-Id: I09f47a8c24ac59e5db840bcbc7970bfb5d259591
In devstack openrc -> stackrc -> functions
I think it's fair to say nobody is really thinking about idempotency
when they write these rc files; it's assumed they're sourced once
per-run. I3ca4e576aa3fb8992c08ca44900a8c53dd4b4163 is an example of
this.
Reduce some of the duplicate imports here by just importing the
top-level (either openrc if that's wanted, or stackrc)
Change-Id: I6fbae12f950a03afab39f341132746d3db9f788c
We're going to move Devstack code to the Sahara repo and Grenade
support will be done as a in-tree plugin as well.
Currently this sourcing is just a no-op.
Partial-Implements: bp sahara-devstack-intree
Change-Id: I07c3fede473030e8a110cbf5a08309f890905abf
$GRENADE_DIR/functions pulls in devstack functions, and needs
$GRENADE_DIR/grenaderc to be sourced first. Do this for all affected
scripts.
stop-base also needs the grenade.settings file as that handles all the
partial services.
reorder clean.sh to remove warnings
Change-Id: I5baa17783abe0c235691d88e484331c7960549f9
There is currently no grenade testing of Trove, and we are working
to move trove devstack support into a plugin. Remove the few
references to trove in this repo.
Change-Id: I7671a657be48cf9ae0211a51e4bc08867a231c73
In lib/nova is set variable NOVA_BIN_DIR which is later used for setting
cli_dir in tempest.conf. Without including lib/nova the variable is
evaluated as empty string.
Change-Id: I74f0cf8a3af287b072acefab92ac9a3facb443f5
Closes-Bug: 1391436
This adds logic to upgrade_project() to call project upgrade
scripts from the within-$release directory if performing a
sideways upgrade within the same release. A symlink named
within-master is added and linked to the current development
release to allow sideways migration testing of trunk. When Juno
tags are cut and K opens, a from-kilo directoy should be created
and this symlink updated.
Change-Id: I770075442d05f38515e5dadf24f2c642d14d7845
Devstack's tempest library relies on TEMPEST_SERVICES when
configuring the service_available section of tempest.conf. This
is built as various service libraries are sourced into the environment.
This imports all relevant devstack service libraries to ensure the
services_available section of tempest.conf is accurate.
Change-Id: Iea9c08f5ce374c4343ae56adb49221737c7a55d7
DevStack's lib/keystone depends on lib/apache. When lib/keystone
depends on any change introduced in lib/apache the build is broken as
lib/apache was not being sourced before that.
This change sources lib/apache just before sourcing lib/tls, as is
done in devstack/stack.sh.
Change-Id: Id0f51c678d4f16aaece08a4e5a74c48cc2ab1e6c
With this patch grenade can be run either with nova-network or neutron.
Closes-bug: #1235149
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
Change-Id: Ib35ee2b35155f3c7e86eef5c75f70da300fa99c7
So far after upgrading openstack components there were skipped tests
marked as 'compute'. This patch enables them.
Change-Id: I86c31ce08083918fa2057d75f603aefd11c12bdb
* Source target DevStack's functions in upgrade scripts to match what the
project config functions expect.
* Source target DevStack's lib/tls in upgrade scripts that source
target's lib/keystone (is_ssl_enabled_service())
Change-Id: Iab78d1efb7e40a3a67408f6e9a071723a3e931ff
This avoid problems try to test projects that are enabled by devstack in the
gate but are not upgraded with grenade.
Change-Id: I7490e88352cdb2afcd3806cc4f62991ae2b43c5c
This allow grenade to move and test from a brand new release to master without
any change.
This way it allows to enable d-g grenade testing new-release->master where for
a just released Openstack means that we don't need any new configuration yet.
Change-Id: I3e685deb61b95116420eae9cacb6b38dc405ffe9
From now on all releases configurations will be available, which will make
easier to test more than two versions upgrade (meaning test upgrades like
g->h->i).
Notes:
* from-folsom files will not be necessary since we don't test
folsom->grizzly.
* from-havana files will be added in the next patch(with the change-id follow
change-id Iac520a8de4c3b9f14e2289cfb9b6a50c4ab0ce32).
Change-Id: I3312732b8c344ce8844a82282a032e383e07e07c
In order to let grenade run tempest tests in parallel on virtual
environments we need to create the same tiny and micro guests that
we create in a normal devstack run. Otherwise we blow memory on
the environment, causing a scheduler fail, and sadness. Also no
cake.
Removing the explicit setting of DEFAULT_INSTANCE_TYPE will make
tempest create appropriate instance sizes, and use them in it's
guests.
Change-Id: I6adde22499853d0cde53771e83ebf5c5f7041c11
Partial-Bug: 1252170
Currently, boto's 's3_materials_path' and scenario's 'img_dir' of
tempest.conf values are incorrect because the global variable of FILES
is not set and not passed to the devstack's configure_tempest().
This commit fixes it to be set the proper value.
Change-Id: Ic926d8776155a580fd84ad8d2d49b6007954de4f
Upgrade files were pointing to lib/quantum and
quantum funcions on devstack. Change to neutron
Blueprint bp/nightly-upgrade-testing
Change-Id: I136cd8e335e317a426e6a882fd154c8fd5d40a22
Add DEFAULT_INSTANCE_TYPE to upgrade tempest to ensure this is
set. This avoids recreation of existing flavors when upgrading
tempest.
Change-Id: If2e872132939faa4b8afc8dc9b7d7d9aeb026c96
Fix: Bug 1178028
This commit adds support for tempest to grenade.sh. Tempest is
cloned and configured for both the base and target sections.
Change-Id: I79d1871724eac1ecf010a61222d4ce0d60529a13