Commit Graph

32 Commits

Author SHA1 Message Date
Sławek Kapłoński 94814b7425 Remove lib/neutron-legacy leftovers
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
2022-12-20 11:15:47 +01:00
John L. Villalovos 192234dea9 Fix grenade runs which don't use tempest
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
2016-12-22 08:47:05 -08:00
Vasyl Saienko 2dfc5e7a48 Use same tempest.conf for base and target
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
2016-12-06 15:29:10 +02:00
Dmitry Tantsur 73b3b9a52a Add missing install_tempest_plugins call to upgrade-tempest
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
2016-07-05 11:48:07 +02:00
Jim Rollenhagen 22b3c00914 Remove ironic code from tree
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
2015-12-10 17:56:01 -08:00
Flavio Percoco 4829b365ca Remove Zaqar from devstack's tree
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
2015-09-15 14:37:54 +02:00
Jenkins 64d8a7de9f Merge "Reduce duplicate imports of functions & stackrc" 2015-08-28 21:56:28 +00:00
Chris Dent fd3b640011 Remove ceilometer in favor of plugin
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
2015-08-13 12:23:38 +00:00
Ian Wienand cc69365a5a Reduce duplicate imports of functions & stackrc
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
2015-08-07 10:10:29 +10:00
Sergey Lukjanov 5599d841e9 Remove sourcing of lib/sahara
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
2015-07-01 16:11:06 +00:00
Sean Dague 0c752781e8 reorder imports in stand alone scripts
$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
2015-04-09 14:26:53 -04:00
Jenkins afdfeff494 Merge "Remove trove" 2015-04-06 16:58:58 +00:00
James E. Blair 55a6dd32a2 Remove trove
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
2015-04-06 11:45:03 +00:00
Dean Troyer 2d8e68ad0f Source lib/neutron-legacy
This is in preparation for a new lib/neutron

Change-Id: I8e0f6881c438562644ed054895c09c0877f3d703
2015-03-27 08:38:18 -05:00
Sean Dague 180843324d remove sourcing of nova baremetal driver
nova baremetal driver is removed, remove references in grenade so we
can pull them from devstack.

Change-Id: I7c8474bd46bad4a8418c6947ea63b4e1ffb1f12e
2014-12-05 10:53:24 -05:00
Jakub Libosvar d69386a2b7 Source lib/nova when upgrading tempest
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
2014-11-11 10:37:51 +01:00
Jenkins 9aba76aed2 Merge "Source all devstack service libs for Tempest" 2014-08-28 11:11:26 +00:00
Adam Gandelman 156339e4e8 Add within-juno dir and within-master symlink
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
2014-08-26 15:17:41 -07:00
Adam Gandelman cfc9bcf080 Source all devstack service libs for Tempest
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
2014-08-26 11:16:43 -07:00
Gabriel Assis Bezerra 372055a307 Source lib/apache before lib/keystone
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
2014-05-28 19:51:14 +00:00
Jakub Libosvar 5c0ea0dc40 Support for upgrading neutron
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
2014-04-03 20:09:20 +02:00
Jakub Libosvar 94b95dc6b5 Enable compute tests after upgrade in grenade
So far after upgrading openstack components there were skipped tests
marked as 'compute'. This patch enables them.

Change-Id: I86c31ce08083918fa2057d75f603aefd11c12bdb
2014-03-27 17:18:19 +01:00
Dean Troyer 11c51c3f68 Use DevStack functions in upgrade scripts
* 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
2014-03-03 08:15:02 -06:00
Joe Gordon c248853ba9 Fix spelling mistake occured=>occurred
Change-Id: Ic4d88a8f7b97cbc8196af7d3a20a6d0a0fa136c7
2013-12-23 19:24:13 -08:00
Mauro S. M. Rodrigues 8ba22a81d1 Tempest should be configured with upgrade projects only
This avoid problems try to test projects that are enabled by devstack in the
gate but are not upgraded with grenade.

Change-Id: I7490e88352cdb2afcd3806cc4f62991ae2b43c5c
2013-12-10 12:17:26 +00:00
Mauro S. M. Rodrigues ac53d2c3f9 Modify upgrade-* scripts to allow skip configuration if not needed
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
2013-12-10 11:46:02 +00:00
Mauro S. M. Rodrigues d0654b98c0 Refactor new options into a new config file.
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
2013-12-02 11:36:03 +00:00
Sean Dague 71b8ea61f0 Don't specify a default instance size, create tiny and micro
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
2013-11-20 16:24:56 -08:00
Masayuki Igawa 007d096bc6 Fix image file path of upgrade-tempest
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
2013-10-31 19:17:16 +09:00
Adalberto Medeiros 802daa6d88 Change from quantum to neutron on upgrading
Upgrade files were pointing to lib/quantum and
quantum funcions on devstack. Change to neutron

Blueprint bp/nightly-upgrade-testing

Change-Id: I136cd8e335e317a426e6a882fd154c8fd5d40a22
2013-07-08 13:57:05 -04:00
Adalberto Medeiros 4750c7de4e Ensure default flavor is set when upgrading tempest
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
2013-05-09 14:16:21 -03:00
Matthew Treinish c60bd7bad3 Add tempest to grenade runs.
This commit adds support for tempest to grenade.sh. Tempest is
cloned and configured for both the base and target sections.

Change-Id: I79d1871724eac1ecf010a61222d4ce0d60529a13
2013-03-28 14:15:37 -04:00