
to make grenade work like havana master we need to bring in infra and oslo repositories from upstream git and apply global requirements to all the repositories. Update functions file from devstack. Attempt to uninstall oslo.config first, to deal with weird pip issues where 1.1.1 is still installed, but 1.2.x from git is in the easy repo files, and nova-manage explodes. Change-Id: I310d40a0adc9355eea91e79598bf867ad6818b79
32 lines
592 B
Bash
Executable File
32 lines
592 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# ``upgrade-infra``
|
|
|
|
# Keep track of the grenade directory
|
|
GRENADE_DIR=$(cd $(dirname "$0") && pwd)
|
|
|
|
# Import common functions
|
|
source $GRENADE_DIR/functions
|
|
|
|
# Determine what system we are running on. This provides ``os_VENDOR``,
|
|
# ``os_RELEASE``, ``os_UPDATE``, ``os_PACKAGE``, ``os_CODENAME``
|
|
# and ``DISTRO``
|
|
GetDistro
|
|
|
|
# Source params
|
|
source $GRENADE_DIR/grenaderc
|
|
|
|
# For debugging
|
|
set -o xtrace
|
|
|
|
|
|
# Upgrade Infra
|
|
# ================
|
|
cd $TARGET_DEVSTACK_DIR
|
|
source $TARGET_DEVSTACK_DIR/stackrc
|
|
source $TARGET_DEVSTACK_DIR/lib/infra
|
|
|
|
unfubar_setuptools
|
|
|
|
install_infra
|