7999280fb9
Grenade is an OpenStack test harness to exercise the upgrade process between releases. It uses DevStack to perform an initial OpenStack install and as a reference for the final configuration. Add support of it to Manila project, doing following changes: - Add all required scripts for 'grenade' job, such as following: -- settings -- shutdown.sh -- upgrade.sh - Add optional 'resources.sh' script that performs functional tests using bash and manilaclient. List of scenarios: -- 1. create and delete share setting metadata and access rule -- 2. attach security service to share network -- 3. update quotas -- 4. create private share type and add access for project Note following: - Tempest is not used by design. - Manilaclient is used of stable version - version of 'base' devstack, which is 'stable/mitaka'. It also means that used API microversion is latest for that branch. Change-Id: I7d7e0c50933776ca1a710bcf069abb0282b821ac Depends-On: I4232382d3c944666bbf0916a3f285b84f6ff9d64 Implements blueprint grenade
24 lines
932 B
Bash
24 lines
932 B
Bash
#!/bin/bash
|
|
|
|
register_project_for_upgrade manila
|
|
register_db_to_save manila
|
|
|
|
BASE_RUN_SMOKE=False
|
|
TARGET_RUN_SMOKE=False
|
|
|
|
devstack_localrc base enable_service manila m-api m-shr m-sch m-dat
|
|
devstack_localrc base enable_plugin manila git://git.openstack.org/openstack/manila stable/mitaka
|
|
devstack_localrc base MANILA_UI_ENABLED=False
|
|
devstack_localrc base OSLO_SERVICE_WORKS=True
|
|
|
|
# NOTE(vponomaryov): stable client is used for keeping scenarios stable
|
|
# so they are not broken by changed CLI view.
|
|
devstack_localrc base MANILACLIENT_BRANCH="stable/mitaka"
|
|
|
|
devstack_localrc target enable_service manila m-api m-shr m-sch m-dat
|
|
devstack_localrc target enable_plugin manila git://git.openstack.org/openstack/manila
|
|
devstack_localrc target MANILA_UI_ENABLED=False
|
|
devstack_localrc target OSLO_SERVICE_WORKS=True
|
|
devstack_localrc target MANILA_USE_DOWNGRADE_MIGRATIONS=False
|
|
devstack_localrc target MANILACLIENT_BRANCH="stable/mitaka"
|