Victoria only supports focal, so the upgrade from victoria
(starting from victoria+1) should use focal.
This patch should not be backported to victoria, because the
upgrades from ussuri still need to use bionic.
In order to make it work on focal:
- do not fail if ebtables does not contain the broute table
(which happens when it is based on nft);
- when the swift loopback image is remounted on upgrade,
do not use the nobarrier option, which was removed
with the 4.19 kernel. See also the corresponding change
in devstack: I6871a7765e3e04122d8d546f43d36bb8415383fc
Change-Id: If57c54828baf4e250ad08fdd95351490010e1b41
Code was checking if $(executable) was executable. But $(executable)
would run the executable and get the output from the executable. This
output was not the path to the executable.
Fix this and also use correct name for iptables-save (was iptable-save)
Change-Id: Ie2ccd405cd01acea7201a199b4c8c12922e46e4f
Conditionally save information about rabbitmq state after
the old side of grenade is run and before the new side of
grenade is started. We need this to diagnose upgrade issues
with RabbitMQ. For example Liberty's oslo.messaging uses
auto_delete for queues and that seems to close inconsistently
Hence Mitaka oslo.messaging has switched to using TTL in:
I83a8d09dc0cdae24c12d7043ec810529a9ce57ab
Related-Bug: #1545002
Change-Id: Ie651b06940e0126e262ac4cfc2d0bed3ad390940
$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 was duplication between base and target dumps that is resolved
by use of arguments.
By extracting to function it becomes easier to make changes to how
database dumps are performed. The current setup is a bit hairy,
aggregating in a function makes it easier to improve later.
Change-Id: Ic5d4f13eaa7a4d842c9af0073de17e1cffad0a88
This adds a mapping for all process names described in BASE_SERVICES
and TARGET_SERVICES, allowing check-sanity to skip checking for running
processes of services that are disabled according to ENABLED_SERVICES.
It also updates grenade.sh and save-state to only dump databases that
exist. These changes allow grenade to pass against deployments that
have disabled non-essential services in devstack.
Change-Id: Ic4b2bab88b12f33f939b9bf7aca47e930d799f3f
Closes-bug: #1355499
If there are both a neutron and neutron_ml2 database, saving state
would fail in both save-state and grenade.sh.
neutron databases were being saved to BASE not TARGET_RELEASE
in grenade.sh
ceilometer databases were not being saved in grenade.sh
Clean up some whitespace.
Change-Id: I638c6923af65ad612d1329c8c25f534bfdad2d02
Closes-bug: 1358332
This patch brings Ceilometer services into upgrade testing process.
For now we test only from Havana to Icehouse and from Icehouse to Juno.
Implements: blueprint grenade-upgrade-testing
Change-Id: I9cb61c5b312e197db80e537bff269b7777dddb31
Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
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