The reschedule, that happens in multinode jobs quite often, does not work with multicell setup. Don't use multicell setup for our Ironic jobs. Increase the http timeout for clients in order to work around neutron issue. Change-Id: I2bbdac5cd431e72517cb1c72bb925660ec8e868b
34 lines
1.4 KiB
Plaintext
34 lines
1.4 KiB
Plaintext
# Grenade needs to know that Ironic has a Grenade plugin. This is done in the
|
|
# gate by setting GRENADE_PLUGINRC when using openstack-infra/devstack-gate.
|
|
# That means that in the project openstack-infra/project-config we will need to
|
|
# update the Ironic grenade job(s) in jenkins/jobs/devstack-gate.yaml with
|
|
# this:
|
|
# export GRENADE_PLUGINRC="enable_grenade_plugin ironic https://git.openstack.org/openstack/ironic"
|
|
# If openstack-infra/project-config is not updated then the Grenade tests will
|
|
# never get run for Ironic
|
|
|
|
register_project_for_upgrade ironic
|
|
register_db_to_save ironic
|
|
|
|
# Duplicate some setup bits from target DevStack. Use old devstack as we install base environment from it.
|
|
BASE_TOP_DIR=$TOP_DIR/../../old/devstack/
|
|
source $BASE_TOP_DIR/stackrc
|
|
source $BASE_TOP_DIR/lib/tls
|
|
source $BASE_TOP_DIR/lib/nova
|
|
source $BASE_TOP_DIR/lib/neutron-legacy
|
|
source $BASE_TOP_DIR/lib/apache
|
|
source $BASE_TOP_DIR/lib/keystone
|
|
|
|
# Update global variables like DEFAULT_IMAGE_NAME that are set in ironic devstack plugin
|
|
IRONIC_BASE_DEVSTACK_DIR=$BASE_TOP_DIR/../ironic/devstack
|
|
source $IRONIC_BASE_DEVSTACK_DIR/lib/ironic
|
|
|
|
# NOTE(jlvillal): For multi-node grenade jobs we do not want to upgrade Nova
|
|
if [[ "${HOST_TOPOLOGY}" == "multinode" ]]; then
|
|
# Remove 'nova' from the list of projects to upgrade
|
|
UPGRADE_PROJECTS=$(echo $UPGRADE_PROJECTS | sed -e 's/\s*nova//g' )
|
|
fi
|
|
|
|
# NOTE(vdrok): Do not setup multicell during upgrade
|
|
export CELLSV2_SETUP="singleconductor"
|