Commit Graph

18 Commits

Author SHA1 Message Date
Luigi Toscano db110f17a2 Always source lib/apache when lib/tls is used
When tls-proxy is enabled, few functions in lib/tls relies on lib/apache
functions (restart_apache_server, stop_apache_server, enable_apache_site,
enable_apache_mod).
It is thus necessary to source lib/apache whenever lib/tls is used.

Change-Id: Ia9ffdc490d0cba04a084d572312e177b19791585
2019-02-18 12:10:25 +01:00
Matt Riedemann 682a8736a3 Only call save_mysql_dbs if using mysql
This adds some conditional logic around when mysql
is used based on the configured database type in
the devstack rc file. TODOs are left in place for
supporting postgresql which can be fleshed out when
we have a grenade-postgresql CI job to verify the
changes.

Change-Id: I30e7ee0c8de1add3c51824e30ca7ad103bb4a876
2018-09-18 15:29:48 -04:00
Jordan Pittier 48d1306b74 clean.sh: use $VOLUME_GROUP_NAME instead of $VOLUME_GROUP
We should be using $VOLUME_GROUP_NAME instead since Icehouse.
$VOLUME_GROUP_NAME has been introduced in devstack in
I93b8ef32832269d730c76a6dc24ddb4f20c6d9df and $VOLUME_GROUP is nowadays
only use as a fallback to $VOLUME_GROUP_NAME.

This is related to this devstack change
Id3051b5a196c45266c39fde4f08401aaacf0f6bd which tries to remove all
occurences of $VOLUME_GROUP in devstack.

Change-Id: I438973d559f7569ea5602091ed837e3d3959bf7b
2016-11-18 11:23:13 +01:00
Jenkins 061bb613aa Merge "Correct DATA_DIR value" 2015-10-28 02:00:32 +00:00
Jenkins 64d8a7de9f Merge "Reduce duplicate imports of functions & stackrc" 2015-08-28 21:56:28 +00:00
Yongfeng Du 58f3454459 Correct DATA_DIR value
Use grenaderc defined STACK_ROOT for DATA_DIR

Change-Id: Ifca295c08e56b5718954c1a7b13f54d4e53cfb5d
Closes-bug: #1487279
2015-08-21 11:17:37 +08: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
Sean Dague ee89cde492 ensure we really killed off rabbitmq
if rabbitmq doesn't shutdown correctly, the whole environment is
wedged, this kills rabbit with a vengence.

Change-Id: I148f6b46ed8926d1ba13c966584b2b06ed4ad006
2015-04-11 13:13:33 -04: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
Sean Dague e3b58e67dc add bashate (nee bash8) test support
style checks can now be run with 'tox'. This does not yet integrate
this to the gate, but it does clean up all the existing code to
work with the currently released bash8 pip.

Done as an easy example to create a pattern for other shell programs.

Change-Id: I5ecf28cfa2551f0cf3502263a379242c8803252c
2014-06-19 17:14:47 -04:00
Emilien Macchi 5f27424e59 Support Ceilometer services
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>
2014-06-02 20:46:53 +02: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
Adalberto Medeiros 1e4900d80f cleanup: change to default ubuntu package service
Change from aptitute to apt-get when removing
ubuntu packages on grenade cleanup

Blueprint: blueprint/nightly-upgrade-testing

Change-Id: I2b50c25d731f84872bbdc82a2237b98d0682b062
2013-05-22 09:37:26 -03:00
Dean Troyer 318a7e1807 Rename Grenade's DEST to STACK_ROOT
This is to avoid confusion with DevStack's DEST which is set to
${STACK_ROOT}/$BASE_RELEASE in Grenade.

Change-Id: Ibc9b94bd51e7d5dd82ec45f23557923d2f38db96
2013-03-27 16:29:43 -05:00
Sean Dague e123fa9fc8 purge the _RELEASE_DIR directories on clean.sh
if we don't do this we can't take in bug fixes to the grizzly
repo from upstream.

Change-Id: I9fab880560404ae47f42e546317ae2b1da27be04
2013-03-26 10:23:28 -04:00
Sean Dague c1e505c5de kill off swift on clean, as it doesn't live in screen
Change-Id: Ibd84f39a217a898bdc8405dd8203722cba07b7ed
2013-03-26 10:19:40 -04:00
Dean Troyer e29d9d7618 Add clean.sh
clean.sh gets rid of all residue of running Grenade (except installed
packages and pip modules).

Check that, it eradicates rabbitmq-server (and erlang dependencies)
and mysql-server.
2013-03-11 10:55:03 -05:00